Status: done (2026-11-23)
Priority: 2
Size: M
Design ref: design.md section 7, Reasons shown; docs/review-agency.md, section 4; docs/architecture/target-v2.md section 4.5, Agency below the head
Goal: A pawn’s card says what the pawn does, not who chose it or why (sim/agents describe; sim/jobs idleLine answers for the idle only). Build the view of design.md’s row Reasons shown: for a living pawn, who chose its present act (the head’s day with its place in the member’s list, the head’s call, a day lent or owed, the village’s work, the player’s order, its own choosing, or none) and one line of why, and show it on the pawn’s card beside what it is doing. It is a derived view, computed when asked: it reads the day’s lists (plan.day), the task’s basis and what the kind’s record already declares (its window, late, the store and target it fills); prefer those to a new hook on every kind (docs/review-jobs.md, 4.3, on the hooks). What presses is the head’s estimate (sim/estimate), never the simulation’s own knowledge. Standing duties (VB-1553) and pastimes (VB-1552) are built beside this task: leave their reasons to them (a duty and a pastime read as the head’s day and own choosing until then).
Acceptance criteria:
explainIdle; Sim exposes it) returns for a pawn {by, head?, place?, why}: every by of the row but duty is reached by a constructed state in a new test listed in tests/suites.js (tests/tiny.js, tests/lib/probe.js).st, draws from no stream and is not called by any simulation module (the dependency check or a test holds it); nothing is added to saved state unless a by cannot be told without it, and then the field has an owner, an @state line and passes tests/saves.js.node tests/smoke.js and the affected browser tests pass.npm run format and npm run verify pass; behaviour unchanged: node tools/same.js --base REF prints same.Notes:
sim/reasons (derived layer; Sim.reasonOf, Sim.reasonLine); sim/jobs and sim/agents are untouched. Nothing saved: the chooser is told from plan.day.lists, the job’s owner, late, Days.on/Hands.on and the player’s queue.late task first in the member’s list (where allot puts the one it calls); a village task in the list is the village’s work with the head’s place.why is null on the head’s day or the village’s work when nothing presses: who chose and the place are then the line (“Olof’s day, second of four”).