village-builder

VB-1689: Invariant: a verb’s check holds alike for a played and an unplayed pawn

Status: done (2026-11-26) Priority: 2 Size: S Arch: plans Phase: implement Design ref: docs/review-principles-2026-11-24/synthesis.md (Invariant catalogue, M8); tests/commands.js; src/sim/player.js; design.md, Principles for decisions (Every act is a pawn’s); docs/architecture/target-v2.md, principle 15 Touches: tests/commands.js; sim/player Goal: The player has what its pawn has, no more and no less: a verb any pawn may use is checked the same for the played pawn, and a verb only the player has is named with its reason. Acceptance criteria:

Notes

Notes: no verb is the player alone (sleep is also a pawn’s own rule), so PLAYER_ONLY is empty and fails a new one. Every st.player field is the frame of the line (pawn, left, ended, last, days); none a pawn could hold, so no task. Check grid: 4 actors x 7 targets x 10 args per verb.