Status: done (2026-11-16)
Priority: 1
Size: M
Arch: acts
Phase: implement
Design ref: AGENTS.md, Deciding without Kim (16)
Goal: Each pawn who comes to the round holds its own wishes, the round reads them alike for all, and the player’s are the same record on the pawn it plays.
Acceptance criteria:
src/owners.json), written by the pawn’s own choosing before the round (from ambition, opinion of a partner, its household’s means) and by the wish verb for the played pawn; wishOf reads one place.sim/wishes, a new kernel module after sim/traits, owns pawn.wish (src/owners.json): absent or null for the default
wish, else {rank, farm, partner}. rank is WISH.rungs (src/sim/rules.js: heir, match, farm, plot, party, service, stay, the
default being today’s order of the round’s steps; plan VB-682, section 3) in the pawn’s order; a rung after stay is one it would
not take. farm and partner name the one farm or partner wished, or null. The default is stored as nothing, so the save grows
only by the pawns whose wish differs.chooseWishes) runs once a year at the start of the moving round (roundPhase step 0, before the first
village’s round), over the living of an age to marry but the played pawn (wishWalk in VB.COUNTERS, one walk of the living a
year): ambition at WISH.landAmbition (0.75) or more ranks New land above A plot; a pawn at a hunger of HUNGER.marryBelow or more
ranks Stay above Marry (“not this year”). Its household’s means enter as its hunger (what the household could feed it); ambition as
the ranking; opinion of a partner: see the decisions.wish verb (Sim.wish, sim/commands) writes the played pawn’s wish on the pawn through setWish: the kinds of VB-212 and
VB-274 (out, claim, serve, match), settle (VB-392) and rank (a whole ranking). st.player.wishes is gone; an older save’s
wishes load as its pawn’s (sim/saves). Playing a pawn starts it from the default wish; a pawn the player leaves keeps its wish
until its own choosing at the next round. wishOf (moved from sim/records to sim/wishes) is the one read, by kind; Sim.wishesOf
gives all the kinds for the page.staysWhy, handOn), service and opportunities read wishOf for any pawn;
the matcher (villageRound) leaves out any pawn whose wish declines a match, and makes any wished match first (wishedMatches in
sim/matching, beside matchBar; it was the played pawn’s only); settle reads the wish to settle for the leader and each sibling.settle true heads the ranking with New land and passes the draws of SETTLE.chance (leading) and SETTLE.follow
(following); false ranks it after Stay and never leads or follows; null draws as before. The page’s round panel has a New land row
(As you would, Lead or follow, Never), docs/img/vb-680-round-wishes.png.tests/lib/invariants.js): a wish’s ranking holds each rung once, its farm exists, its partner is of the other sex; a
living pawn’s wish is never the default written out; the player has no wishes of its own.tests/wishes.js (rewritten on the pawn’s wish; new section 10: own choosing by ambition and hunger, the played pawn
skipped, an unplayed pawn’s wish read as the played pawn’s, a whole ranking), tests/settle.js (new section 5: the three values of
the wish to settle, for the leader and a sibling, with the draws forced either way; and its unit block’s fake state given the
heirPlots index it lacked, which had made the script fail on its first block at the base commit), tests/browser.js (the New land
wish set from the panel).unplayedNo, no at enmity). VB-036 writes partner through setWish. Close call (a decision note).st.demand; now asked alone, as a claimant, it is no claimant either. No outcome changes (the round reads
claimants from st.demand). Moving out (out true) declines the heir’s rung.npm test, npm run verify; node tests/settle.js (extended), node tests/smoke.js, node tests/browser.js.node tools/same.js (founders and heirs, seeds 7 and 42, tiny, 2 years; populous seed 7, small, 3 years, --keep compared in
full): the only leaves that differ are the new pawn.wish of the ambitious (and those hungry at the round): the default wish
gives today’s outcomes exactly there. The possible difference (hunger read at the start of the round’s afternoon rather than at the
village’s own step) did not occur.
Numbers before (27b1f30) and after, populous small, 15 years, no played pawn; events counted from the record and its yearly folds
(married includes the placed couples’ records): identical at every seed, so households are as well off as before, pawn by pawn.
| Seed | Living, start to end | Marriages | Left for new land | Farms claimed | Into service | Moved | Plots started | putOff |
|---|---|---|---|---|---|---|---|---|
| 3 | 333 to 462, both | 284, 284 | 14, 14 | 6, 6 | 42, 42 | 53, 53 | 21, 21 | 9, 9 |
| 7 | 350 to 441, both | 293, 293 | 14, 14 | 14, 14 | 66, 66 | 48, 48 | 21, 21 | 3, 3 |
| 11 | 324 to 452, both | 288, 288 | 9, 9 | 8, 8 | 48, 48 | 45, 45 | 25, 25 | 6, 6 |
| 42 | 347 to 495, both | 331, 331 | 15, 15 | 6, 6 | 36, 36 | 51, 51 | 24, 24 | 7, 7 |
wishWalk added (the living, once a round: 0.033 a pawn-day on the counters’ probe); the others as on the base (heirRank
and roundRank out by +0.000225 there too). npm run verify: 125/125, 8 targets out (advisory), none moved by this change, which
changes no outcome. node tests/smoke.js, node tests/browser.js pass. Screenshot: docs/img/vb-680-round-wishes.png.chooseWishes), O(1) a pawn; the matcher’s walk reads one wish a pawn (an indexOf on seven
rungs), and the wished matches are scored only for pawns that name a partner.