village-builder

VB-1941: Refactor: a module’s layer read from its @sys line; the modules’ list generated; NOT_STOCKS a tag on @state

Status: ready Priority: 2 Size: M Design ref: docs/plans/VB-1406-overlap.md, sections 1, 3 and 5; docs/architecture/target-v2.md, principle 20; docs/architecture/modules.md, Adding things Touches: src/layers.json; tools/dependencies.js; tests/lint.js; tools/stocks.js (NOT_STOCKS); tests/review-tools.js; docs/architecture/modules.md; tools/lib/symbols.js (IGNORED) Goal: A new module is its @sys line and its manifest line, and a new field its @state line, with nothing appended to layers.json, modules.md or NOT_STOCKS Acceptance criteria:

Noted by VB-1406, 27 November 2026.