Status: done (2026-10-29, 997e2b4)
Priority: 1
Size: M
Design ref: none (documentation)
Goal: Document every field of the world w and the state st once, next to the code that creates it, so grep -rn "@state" src gives the whole schema.
Acceptance criteria:
st has one // @state st.<key>: <type>; <meaning, units> line where it is created; arrays of records list their fields, e.g. // @state st.households[]: {id, farmstead, holder, members[], grain (rations), wood (loads), hungryDays, dissolved}.w in gen.js: each per-tile array with its type, range and meaning (e.g. w.biome: Uint8Array per tile; B.* code), and the scalar sizes in one line.tests/lint.js fails if a top-level key of st (founders and heirs, seed 7) or of w has no @state tag in src/.tests/golden.json unchanged.
Notes / questions: