Super Testnet's kitchen sink becomes lineage's app. Lineage gives the structure; the chain adds time. - Holdings home, a tree drawn like docs/lineage.md, act and inspect panels, and a timeline grouped by beat. - Verbs: found, birth, award, decide, graduate, close. Each is a lineage/v0 inscription whose parent is the node that authorizes it. - One reducer (src/orgchain/lineage.js) folds the events into trees and vets every act before it is signed. Closing cascades through derived children; graduated (adopted) ones stay open. - Time: tempo each act / 10s / 30s / 60s / manual, Beat now, and a view slider with replay. A beat is a block; cued acts wait in the mempool. - Its own lab (orgchain:lab:v1) with save, load and reset; a yolopreneur sample of six beats. - Removed: the recursive preview, explorer UI, server, Docker and Fly files. The engine (src/adapters, src/upstream, storage, miner) is unchanged. - Tests: reducer and lab (node --test), plus a Playwright spec for desktop and mobile that also runs against a deployed copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H4upF5LVwmPDDqrhdUfnXh
3 lines
303 B
JavaScript
3 lines
303 B
JavaScript
// Runs before first paint (a plain script, so the strict CSP still applies): apply a saved theme without a flash.
|
|
try { const t = localStorage.getItem('orgchain-theme'); if (t === 'light' || t === 'dark') document.documentElement.dataset.theme = t; } catch { /* storage blocked: follow the system */ }
|