village-builder

VB-205: Agents and walking: name the largest cost, then cut it

Status: done (2026-11-09) Priority: 2 Size: M Arch: yardstick Phase: implement Design ref: none (code structure). docs/roadmap.md, section 5.3 (rules 4, 5 and 6). Goal: The largest line of the budget has no task. On 9 November, tools/bench.js reported “agents and walking (the rest of Sim.advance)” at 70 ms a game day at medium-ref (a whole game year, the mean of three runs, 68.5 to 71.9; 30% of the day), against its share of 60 ms (VB-203, docs/bench/closure.md); 57 ms at medium-y5. Spring and winter cost most (85 and 73 ms a day in one run). It is not one system: it is what is left of Sim.advance once the named systems are timed. It holds the 6-minute agent step (every living agent, every step: the walkStep counter) and whatever else is not wrapped. Name its parts, then cut the ones over the share VB-203 gives them. Acceptance criteria: