Status: done (2026-11-17) Priority: 2 Size: S Design ref: design.md, People, households and family records (Marriage, nursing and growth: The setpoint); backlog/VB-405.md Goal: The means a home must hold before a couple may marry is the marriage valve’s setpoint (Kim, 13 Nov). It becomes a rule of the registry, so that later contributions can move it with their cause, and it is explained where it binds: the pawn panel says how much of the means the home holds. Acceptance criteria:
marriage.means, declared by sim/matching in VB['sim/registry'] (combine product, base MARRIAGE.means, the context the home’s household), with no contribution yet; affords reads it through Rules.value, once a home a round under its memo as today. It shows in node tools/rules.js. Nothing else of the gate changes.Sim.meansOf(st, householdId) gives { held, asked, exempt }, where held is the years of food the home holds above its seed for its members and one more (grain, grain in sheaf, meals and the larder, less what is reserved, over YEAR_DAYS times the daily need and an adult’s ration), asked the rule’s value, and exempt true for a home with fewer than two adults; affords is exempt || held >= asked by the same function, so the words and the gate cannot part.matchBar’s reason names the numbers: “their home holds 0.9 of the 1.5 years of food it needs” (it was “their home cannot feed another mouth”); the player’s wish for a match and the offer show it as they show the reason today.node tests/smoke.js, the tests/browser*.js touched, and a screenshot under docs/img/.node tools/same.js --base REF prints same against the commit the task starts from; ruleValue rises by the homes checked at a round, reported from node tests/counters.js.tests/means.js, on populous seed 7 with the stores set by hand, not tiny.js; the exempt home is made by ageing its members): a home just under and just over the means, with the reason’s numbers; the exempt home; meansOf and affords agree over the probe’s households; the rule’s explanation (Rules.explain) gives the base and no parts.docs/architecture/modules.md or the rule’s comment says where a later contribution joins (a custom, a head’s caution, a servant’s portion: VB-637).Noted by VB-405, 16 November 2026.
AGENTS.md, Deciding without Kim, 15): presentation by icons and meters before text, and like shown alike. Waits for VB-664: the means a home holds against the means asked are shown on VB-664’s meter, the level with a mark at what is asked; the criteria’s sentences are its title and the refusal’s reason.Implementation notes (VB-631): marriage.means and meansOf in src/sim/matching.js; Sim.meansOf, Sim.marryStanding (the first bar that holds, for the panel); the line is in showPawn (src/page/words.js); test tests/means.js; later contributions join as in modules.md. same.js against 5975231: same; tests/counters.js: ruleValue 1.075 per pawn-day (in baseline), heirRank/roundRank were already out. Screenshot docs/img/vb-631-pawn-means.png. Displayed years are floored at 0 (reserved grain can push held below 0). The meter on VB-664 is not built here (it waits for that task); the words are the panel line and the reason.
Decisions: the panel’s home for a pawn is the place it would live on under the land custom, else its own household (the partner being unknown); a servant has no home. round.js’s summary “the farm cannot feed another mouth” is left (a count line).