village-builder

VB-211: The player argues for a cause

Status: done (2026-11-10) Priority: 2 Size: S Arch: life Phase: implement Design ref: The player and what they see (The meeting: Decided, 7 Nov: advocacy only); Customs and culture (How attitudes move: Agreed); docs/review-life.md, section 4. Goal: Kim chose advocacy as the player’s one door to the meeting (7 Nov): the player’s pawn takes up a cause as any pawn may, and its argument weighs with those it has ties to by its prestige. The verb exists for debugging (argue, src/sim/commands.js:136); make it the player’s, with a way to drop the cause and a view of how the village leans. Acceptance criteria:

Implementation (10 Nov 2026): argue now writes the cause record event; new verb dropCause (refused with no cause; Culture.advocate(p, null) lays it down, so culture keeps the write). The pawn panel’s Causes list queues argue/dropCause (args carried through the button), and shows the cause, years left, and the last meeting’s support for it against the practice’s and the margin to pass (causeNote, src/page/play.js). Test in tests/commands.js: the player’s cause pulls as a natural one (same slot, same culture.js path). Meeting unchanged; no ballot. Screenshot docs/img/vb211-cause.png. Validation: npm test passes; golden unchanged. verify: only tests/history.js fails (routeExpand 1.38, routeRefresh 1.98 over small-y5/y40, stale fixtures), identically with my change stashed.