village-builder

VB-237: Refactor: stores refuses a holder that is not a household, a village or a pawn

Status: done (2026-11-11) Priority: 3 Size: S Design ref: none (code structure). AGENTS.md, Conventions (Food moves through src/sim/stores.js operations). Goal: type(holder) (src/sim/stores.js:18) names a holder by the fields it has: farmstead makes a household, center a village, and everything else a pawn. put on an agent or a farmstead object is therefore accepted and writes a stake field onto it. The module that guards food movements should refuse what it does not know. Acceptance criteria:

Implementation notes (night run, 11 Nov):

Validation: npm test 97 scripts passed (1 target out, scaling.roundPairs +0.85, as on the base); node tests/golden.js matches; node tests/counters.js 0 out. npm run verify not run (size S, no page change; the night rules ask for npm test).

Orchestrator’s decisions for Kim to overturn: pawns told by given rather than a new stake: 0 field.