village-builder

VB-1847: Mend VB-1756’s review finding F2 (criterion, tests/commands.js:516)

Status: done (2026-11-27) Cause: VB-1756 Priority: 1 Size: S Design ref: criterion 2: every function of the Sim facade that changes st, but the debug mutators (Sim.DEBUG), issues a verb; the test lists them and fails on a new one that does not Touches: tests/commands.js Goal: The defect the review of VB-1756 found and its revision left: Every facade function not in ISSUES, FRAME, WORLD or DEBUG is taken for a read and called with eight fixed argument shapes; the test fails only if one of those calls changes the save. A new direct mutator that checks its argument (shaped as Sim.setAuto(st, pawn, on): it writes only when on is a bool Acceptance criteria:

Noted by VB-1756, 26 November 2026.