Status: done (2026-11-27) Priority: 3 Size: S Arch: plans Phase: implement Design ref: review of VB-1746, F4 and F5; design.md Principles, One quantity, one reckoning; docs/cost.md Touches: sim/controller (planOf, plansIn); sim/chores; sim/camp Goal: A household’s plans are read by one function at a cost that grows with its planners, not with every controller Acceptance criteria:
planOf and plansIn in one module that loads before sim/chores and sim/camp (or their reads passed in), and the copies in src/sim/chores.js and src/sim/camp.js gone; grep -n "control.plan" src/sim finds them only there and in sim/playerplan.plansIn(st, hid) does not walk every controlled pawn for each household: an index of the planning pawns by household, kept where the plan is attached and ended (or read from the household’s members), plain data or derived, with a work counter in VB.COUNTERS (tests/counters.json updated).npm run verify passes; unplayed runs are unchanged (node tools/same.js --base REF prints same).Noted by VB-1746, 26 November 2026.
Decision: plansIn reads the household members (hh.members) instead of every planner; counter planRead counts members read. camp.js now imports pawnPlan from sim/steps (chores already did).