village-builder

VB-174: Household and village food in sim/stores, every movement recorded

Status: done Priority: 2 Size: M Arch: ownership Phase: implement Design ref: none (code structure). VB-172’s map, docs/architecture/ownership.md, sections 5.3, 5.7 and 7.1; Kim’s answers of 3 November (QUESTION_ARCHIVE.md, “VB-172: the ownership map”, questions 1 to 3 and 7). Goal: Household and village food has ten writer modules and no owner, and only harvests, gifts, meat, milk and butter leave a record. Give it one owner, a new module sim/stores, through which every other module changes food, and record every movement in the ledger, so a household’s balance can be read from it (VB-092, tools/balance.js). Kim chose to record everything in this task (answer 3), so it changes behaviour on purpose: the golden file is re-recorded, and only the ledgers may change in it. Acceptance criteria:

Implementation report (6 November 2026):