Commands and File Map

Commands

CommandContract
npm run buildRebuild generated CSS/icons and runtime checksum ledger transactionally, without stamping
npm run release:stamp -- <token>Rebuild and stamp all seven release sites using a fresh single-use token
npm run checkVerify syntax, six-file release contract, release markers, and checksums
npm testRun Node contract tests
npm run test:browserRun Playwright browser contracts
npm run story -- new <slug> [--title <value>]Scaffold a story without overwrite
npm run story -- check <slug|--all> [--strict]Parse and validate story input
npm run story -- build <slug>Write canonical story.json
npm run story -- render <slug>Atomically rebuild scene SVG previews
npm run audit:localHost audit with absent host resources allowed as skips
npm run audit:productionStrict host/audio/release audit; skips are failures

(package.json:4-15, scripts/story.mjs:45-50, docs/OPERATIONS.md:62-68)

File ownership

PathOwner contract
index.htmlDOM and accessible-control shell
studio.jsUI orchestration, commands, transport, persistence, audio coordination
engine.jsv3 model, migration, normalization, evaluation, rendering, SVG export
project-history.jsimmutable revision history and transactions
asset-cache.jsIndexedDB image/audio storage, keys, quotas, eviction
studio.source.cssauthored stylesheet input
studio.cssgenerated committed stylesheet
scripts/release-manifest.mjsrelease-token sites and six-file manifest contract
scripts/release-transaction.mjsstaged generated-output transaction
scripts/story.mjsstory lifecycle
audio-service/optional same-origin audio capability
q5vault/source-owned wiki content

(README.md:19-34, SVG-Animator-BIBLE.md:95-108)