Status: done (2026-11-26) Priority: 2 Size: M Arch: plans Phase: implement Design ref: design.md section 15, A controller for any pawn (the acts it lists); The API by pawn and body; docs/plans/four-scales/README.md, 3.6 (Verbs) and section 4 (the path’s acceptance tests); docs/review-jobs-2026-11-25/README.md, section 6 point 4 Touches: sim/day (dayOrder); sim/voice (ask); sim/hands (askFor); sim/offers; sim/opportunities (forPawn); page/actbar (menuHTML); sim (DEBUG); tests/commands.js; tests/voice.js; tests/helpers.js; tests/timetable.js Goal: A controller of any pawn can do everything the page lets the player do, through issue, under the same checks Acceptance criteria:
plan on its own day); leave asked (ask with the basis leave: the verb and its issue by sim/voice’s default author only; st.leaves untouched, VB-1763 replaces it with a dated grant); hands asked (ask with the basis hands: askFor issues it); an aim (the verb aim, design.md section 7, Aims and personal goods; its task VB-1784 was set aside in docs/ideas/aims/ on 25 Nov, so it stays in the allow-list); the date of a village’s work day (VB-1768); a levy laid a season ahead (VB-1767).tests/commands.js: 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; the allow-list names each gap left with its task and empties as they land.docs/plans/four-scales/README.md, 3.10), by one command: npm run verify green (a test that asserted the old behaviour updated on purpose, never skipped or quarantined, and named in the PR), and node tools/gate.js --base <the last recorded result> passing (VB-1774): no settlement extinct by hunger or collapsed (VB-1774’s bound), no more tasks held over 48 hours than the base, the stocks’ unexplained no larger.node tests/counters.js, --update with the entries listed); the result kept (--out) as the next task’s base.
Notes:Sim is unreachable through issue.ask (sim/offers) makes an offer on the row that declares it is asked for (asked: leave; hands on the saved basis
help, kept for saves); offer refuses those two; the goods ask stays on offer, outside the design’s list. The default authors
(sim/voice’s own ask, askFor) issue it with source pawn, their own rule. A pawn’s own day’s order is the op dayOrder on its own
plan (sim/day). The chain and the queue/switch are reached already (plan add, queue/auto); aim, the work day’s date and a
levy ahead wait in ACTS_LEFT on VB-1784, VB-1768, VB-1767 (fails when one lands). The facade check lists every function; the
world’s rules run out of turn (refreshRoles, updateTies, refreshInterests, countDemand) joined Sim.DEBUG; waterOf fills a cache.
Gate: holds, every run equal to the base (hungry-days 134/94/145 populous, 0 founders; no hunger deaths); counters unchanged.