Status: done (2026-10-29, be6aa67) Priority: 1 Size: S Design ref: none (documentation) Goal: A file every agent reads first, so it can find the right code in a few greps instead of reading whole files. Short, each fact once, nothing grep can tell. Acceptance criteria:
AGENTS.md at the root, at most 100 lines, with these parts:BACKLOG.md and its rules.build.py --check, test, golden.js --update, lint and --update, calibrate, play locally.grep -rn "^// @sys" src (module map), grep -rn "@state" src (state schema, VB-015), definitions are function name( or const name = (, VB['<path>'] for a module and its users, and // ---- section headers.ArchGen.generate makes the world w; Sim.seed makes the state st; Sim.advance runs it; Culture holds customs; the page script in src/body.html draws and only reads st, writing to it only through the Sim API and the flags it sets today (list them: visualDirty, naturalDeaths, driftMul).mulberry32; no Math.random or Date in src/ outside the page script); time in game hours, calendar constants in one place; ids are array indexes and never reused; where the tunables live (ECON, ROLES, KINDS, the culture’s DIMS and ARCHETYPES), and which tables a new job kind or custom touches (check each claim against the code).index.html before committing, keep @sys and @state lines current.npm test passes.
Notes / questions: