Status: done (2026-11-18)
Priority: 1
Size: M
Arch: acts
Phase: implement
Design ref: AGENTS.md, Deciding without Kim (16); backlog/VB-682.md; backlog/VB-690.md
Goal: Every marriage is an offer made by a pawn (the pair’s own, VB-036, before any arranged one) and answered by the two and their spokesmen, by opinion, means and terms.
Acceptance criteria:
spokesmanOf; itself where it speaks for itself) offers match to the best-scoring partner the gate allows (age, the kin limit, a home under the residence custom) among VB-288’s pool narrowed by VB-289 (the villages within a day’s walk, a village visited since the last round, his last gathering when VB-298 has landed), at most ASK.pool (40) candidates, the nearest villages first, and none who holds ASK.held (5) open offers. The man’s side asks; a woman’s side that holds no offer asks from the summer asking day, and a woman who holds a farm and speaks for herself from the first. A courting member’s spokesman arranges nothing (VB-036).matchScore with two changes: the noise is drawn once, at the asking (st.rng.society), and kept on the offer; and MARRIAGE.headsLiking (0.5) times the asking spokesman’s opinion of the other spokesman is added. It must reach MARRIAGE.minScore. The village’s matcher (villageRound’s loop over men and women) and MARRIAGE.goAhead are removed; roundPairs falls to 0 and asksWeighed counts the candidates read.answersOf weighs: a spokesman, that score reaching minScore, the means of the home (marriage.means, VB-631) and the terms when VB-276 has landed; one to marry, no at SOCIAL.enemy towards the other, no while courting another unless its opinion of its spokesman is above its opinion of the one it courts (it yields), no under ‘not this year’ (plan, section 3). The gate is read at the round by marry, unchanged.SOCIAL.memories: refusedMatch as built; refusedSuit (-0.1, to -0.3, 2 years: a spokesman, of the spokesman who refused his offer; not when hers took a better offer); marriedAgainst (-0.3, 5 years: a member who yielded, of its spokesman); VB-036’s refusedUs. Events for a refusal and for a match made against a wish, by log and personEvent.tools/marriage-demography.js), growth by principle 2; a target out is reported (before, after, residual, cause), not tuned beyond five short runs over this task’s own parameters; expected and to be told from a fault: first marriages about a third of a year earlier (the go-ahead roll’s delay). The share of offers refused, by who refused; marriages against a wish; marriages by the walking hours between the two villages, as VB-288 reports them; households with an unmarried adult over 30 at year 30 (whether households, not only averages, are better off). Unticked: one target out. Marriages a year +2.0% and the age at first marriage +0.5% are within 5%; the never-married at 45 to 54 fell from 4.7% to 0%, 4.7 points, outside the 2 (on the side of fewer left unmarried; cause below). The rest is reported below.MARRIAGE.headsLiking, ASK.held and the season from which a woman’s side asks; the values tried and what each gave, the rest as a tuning row.ASK.pool, each one table read (VB-286); scaling.roundPairs and history.roundPairs are reported on asksWeighed with their residuals (before: exponent 2 against 1.15, and 13.2 against 1.25). tests/commands.js and tests/record.js pass; tests on a constructed state (tests/tiny.js), chances forced with fix: her side takes the better of two offers and the other spokesman remembers; a courting member refuses, and yields when it holds its spokesman dearer; a woman’s side asks in summer; the cap of 5. Unticked: history.asksWeighed not measured (it needs the night’s fixtures small-y5 and small-y40): owed to VB-662. scaling.asksWeighed and the counters are reported below; the tests are written and pass.docs/plans/VB-682.md; design.md, Inheritance, The round as offers): confirmed and given its numbers (plan, section 4.1). It needs the asking day, so it waits for VB-823 as well as VB-692, VB-288 and VB-036.claude/vb-693-spokesman-offer).
What was built. sim/asking askMatch asks for either side: the man’s on every asking day; a woman’s from the asking day of season ASK.womenFrom (1, the summer) until the round, if nobody asks her (herSideAsks); a woman who holds a farm and speaks for herself as a man. The score is sim/matching sideScore: matchScore plus MARRIAGE.headsLiking (0.5) a point of the asking spokesman’s opinion of the other spokesman; the noise is drawn once for each candidate weighed and the best one’s is kept on the offer (fancy). The means are no longer read at the asking. sim/marriage: the basis match takes an offer from either side (asker: 'woman' where hers asks; its subject is the one who asks, its step the village of the one asked); whyNo is each answer’s rule (one to marry: enmity, courting another unless it yields, “not this year”; a spokesman, and one who speaks for itself: the score as it reads it, with the fancy for the side that asked and the noise at its mean for the side that answers, and the means of the home). sim/round: villageRound’s loop over men and women is gone, with MARRIAGE.goAhead; answerDue answers the matches of a village’s step best first as the side asked reads them (matchRead), a courting pair’s own before any arranged one. What is left of a village’s round: its store, the played pawn’s wished match, kin pressure, and the visits of its men who hold no offer. roundPairs is 0.
Memories and events. refusedSuit and marriedAgainst are rows of SOCIAL.memories; VB-036 built its memory as refusedCourting (not refusedUs, which is the row for goods), and it is unchanged. A refusal is told by log (kind matchRefused, with by, a new field of the record, and reason: enmity, courting, wish, score) and in the lives of the two (personEvent); a match made against a wish is the kind marriedAgainst, in the log and in the life of the one who yielded. A home that cannot feed another mouth is told as putOff (as the matcher told it), remembered by nobody.
Decisions (Deciding without Kim), each a close call another agent could have made the other way:
ASK.held (5) counts those asking one who does not ask.Sim.movingRound (the drawer’s button, the tests) first holds the asking of each who seeks, as its last before the round and due at the round’s first step, so that the debug round still marries. It is a debug verb.tests/suit.js checks that a better offer taken leaves no memory, and that a spokesman who refuses a suit is remembered.
Principle candidate: none. Teleports found: none.
Numbers, populous small, 30 years (before is main at 4f968cf; a throwaway script over Sim.advance, not in the repository, the three demography measures as tools/marriage-demography.js computes them):| Seed | Marriages a year | Age at first marriage | Never married, women 45 to 54 | Growth a year | Households with one unmarried over 30, at year 30 | Unmarried of 20 to 44 |
|---|---|---|---|---|---|---|
| 3 | 5.57 to 5.63 | 21.25 to 21.44 | 1 of 19 to 0 of 15 | 1.99% to 1.66% | 12 of 136 to 7 of 141 | 51 to 35 |
| 7 | 6.07 to 6.33 | 20.80 to 20.72 | 0 of 14 to 0 of 8 | 2.01% to 2.03% | 2 of 140 to 3 of 151 | 17 to 16 |
| 11 | 5.43 to 6.17 | 20.84 to 21.07 | 3 of 22 to 0 of 23 | 1.92% to 1.93% | 5 of 141 to 2 of 148 | 16 to 17 |
| 42 | 6.50 to 5.90 | 21.19 to 21.29 | 0 of 20 to 0 of 21 | 2.14% to 2.05% | 8 of 168 to 9 of 172 | 40 to 65 |
| Mean | 5.89 to 6.01 (+2.0%) | 21.02 to 21.13 (+0.5%) | 4.7% to 0% (-4.7 points) | 2.06% to 1.97% | 27 to 21 in all | 124 to 133 in all |
Growth holds principle 2 on every seed. The target out: the never-married share, 4.7 points under its reference, against 2. Cause: this change (a woman’s side that nobody asks now asks, from the summer), on 67 to 75 women in all; it is the direction the task meant, and it is not tuned.
Not the expected third of a year earlier: the age at first marriage is 0.11 of a year later, not earlier. By sex: women 20.61 to 20.93, men 21.45 to 21.33. The go-ahead roll’s delay is gone (men marry earlier), and two things the change adds weigh the other way for women: the means are read at the round for every offer (126 couples put off, against 45), and one who began to court after a match was asked for it refuses (108 of the 147 refusals). Told from a fault by the reasons recorded on the refusals.
Refusals (4 seeds, 30 years): 147 of 1,935 offers answered (7.6%; before 45 of 976). By who refused: the man 88, the woman 46, his spokesman 6, hers 1, the head of the home 6. By why: courting another 108, the score 30, enmity 9. Put off for the means: 126 (45 before). Lapsed because the one asked married another: 928. Marriages against a wish: 1. The band refused-matches (watched, at most 0.2 of refusals to marriages and refusals) stands at 0.17.
Marriages by the walking hours between the two villages (before to after): one village 269 to 265; up to 6 hours 345 to 349; 6 to 12 hours 89 to 104; beyond 12 (a visit) 4 to 3.
Founders small, 50 years: seed 7, 27 to 29 living (2.01% to 2.15% a year), 8 to 10 marriages, first at 21.9 to 22.2; seed 42, 22 to 19 living (1.59% to 1.29%), 6 to 8 marriages, first at 22.5 to 25.6 (8 first marriages; the women’s 23.8 to 28.6). Refusals 0 to 27 and 0 to 11, all but one for the score: in a pool of two or three the asker’s fancy carries a match of ill-suited ages that the one asked, reading the noise at its mean, refuses, year after year. Households with an unmarried adult over 30 at year 50: 5 of 12 to 4 of 14, and 4 of 11 to 4 of 10. Reported, not judged (two seeds, ten founders).
Whether households are better off: fewer households hold an unmarried adult over 30 (27 to 21 over the four seeds, falling on seeds 3 and 11, rising by one on 7 and 42), and no woman of 45 to 54 is unmarried; seed 42 has more unmarried of 20 to 44 (40 to 65, with marriages a year 6.5 to 5.9), so the gain is not on every seed.
Parameterisation, five short runs (populous small, seeds 7 and 42, 15 years; marriages a year, age at first marriage, growth, refusals, put off):
| Run | Seed 7 | Seed 42 |
|---|---|---|
The plan’s values (headsLiking 0.5, ASK.held 5, ASK.womenFrom 1) |
5.33, 20.69, 1.48%, 14, 8 | 5.20, 21.12, 2.34%, 19, 9 |
MARRIAGE.headsLiking 1 |
5.33, 20.71, 1.48%, 14, 9 | 5.47, 21.07, 2.09%, 11, 13 |
ASK.held 2 |
5.00, 20.94, 1.49%, 3, 6 | 5.93, 21.06, 2.34%, 14, 7 |
ASK.womenFrom 0 (a woman’s side asks all year) |
5.60, 20.71, 1.60%, 13, 8 | 5.87, 21.39, 2.27%, 19, 8 |
ASK.womenFrom 2 (only in autumn, before the round) |
5.27, 20.76, 1.40%, 13, 16 | 5.33, 21.24, 2.14%, 22, 22 |
Nothing separates them beyond what two seeds differ by; the plan’s values stay. ASK.held 2 halves the offers that lapse for a better one (161 to 72) and the candidates weighed, at no cost seen here. Rows of docs/tuning.md.
Cost (4 seeds, 30 years, before to after): roundPairs 2,699 to 0; asksWeighed 11,175 to 6,122 (51 a seed-year, far under seekers x 4 x 40: the cap of 40 seldom binds on the small map); askWalk 1.22 million to 2.44 million (a woman’s side asks too, and each match asked reads the whole queue: VB-1169 opened for an index by village); askings 20,128 to 19,932; asksMade 852 to 1,681; offersAnswered 976 to 1,935; offerWeighed 3,295 to 4,081; visitWalk 184,000 to 197,000. scaling.roundPairs 2 to 0 (in); scaling.asksWeighed 2.07 to 2.21 against 1.15 (out before and after, residual +0.92 to +1.06: from 2 to 4 small villages the seekers double and so do the candidates each can weigh, until ASK.pool binds); scaling.askWalk 1.94 to 2.07 (out before and after: VB-1169); scaling.asksMade 1.59 to 1 (in) and scaling.asksNobody 0.81 to 1.59 (out: counts of 1 to 3 in the probe). history.asksWeighed: not measured, owed to VB-662. Kin pressure still reads pairs of the unmatched at a village’s round, uncounted: VB-1170 opened.
tests/counters.json re-recorded (node tests/counters.js --update, an intended change of the probe, which runs Sim.movingRound once in 30 days: the round run at once now holds the askings): askings 0.0045 to 0.0259 a pawn-day, askWalk 0.0214 to 0.0855, asksNobody 0.0011 to 0.0023, heirRank 0.0225 to 0.0259, roundRank 0.0169 to 0.0191, roundPairs 0.0011 to 0. Over a played year the askings are unchanged (the line above).
Validation. npm run verify: 192 of 192. New: tests/suit.js (the better of two offers; a suit refused and remembered; courting, refusing and yielding; a woman’s side from the summer and a widow holding a farm from the first; the caps for either side). Rewritten for offers asked and answered at the round: tests/offers.js; adjusted: tests/asking.js (the played pawn), tests/wishes.js (a wish is the pawn’s offer), tests/courting.js, tests/occasions.js (one of a couple still carrying a load home at the checked hour is passed over: an older quirk the new set of marriages met). Invariants: who asks is in one open match, who is asked in at most ASK.held, the fancy within 0 to 1.
Left for others. The page gives the head no way to propose a match (the note of 16 Nov): the head’s own asking now does it by the pawn’s judgement, and the player answers; choosing the partner as head is not built here (the wish names a partner for the played pawn alone). The gathering as part of the pool waits for VB-298, the terms for VB-276, the custom Who makes a match for VB-826.