village-builder

VB-285: st.tickPart dropped from the state

Status: done (2026-11-11) Priority: 3 Size: S Design ref: backlog/VB-244.md (its unticked criterion) Goal: VB-244 left st.tickPart in the state, always 0, to keep the golden file unchanged. Remove the field and its readers, and re-record the golden file for that key only. Acceptance criteria:

Implementation notes: tickPart removed from src/sim/clock.js (@state line), scenarios.js, tests/lib/clock.js, tests/clock.js; saves.js loads an older save that has it by deleting it (setting st.t from st.tick if it carried a part); checkState now fails if the key is present. Validation notes: node tests/golden.js reports every entry as differing only in tickPart (0.0 -> (absent)); no other key differs (count of non-tickPart differences: 0). Not committed, by the night-run rule: the orchestrator re-records tests/golden.json after merging. node tests/counters.js unchanged. npm run verify skipped (night rule); saves, invariants and plaindata run instead. npm test run once at the end. Re-run after merging the integration branch: golden.js reports 16 entries differing, all in tickPart only; npm test 95 scripts passed.