Status: done (2026-11-10) Priority: 2 Size: S Arch: life Phase: plan Design ref: Inheritance, expansion and other bodies (Leaving home; Marriage as a negotiation: Decided, 9 Nov, its details Proposed); The player and what they see (Marriage: Decided, 9 Nov). Goal: Marriages are made by the moving round’s matcher, and the player had no say until courting (slice 7). Kim decided on 9 November (gameplay review) that a marriage is a negotiation between two households in which the player takes part, for its own pawn and as head for its household’s members. Settle the details so implement tasks can be written: a first version in slice 2, terms with slice 4’s goods, courting with slice 7. Acceptance criteria:
QUESTION_ARCHIVE.md).movingRound’s matchmaking, the means to marry, the residence custom, the kin limit), with file and function, and where an offer and its two answers would sit.design.md, Marriage as a negotiation (its rows Agreed, 9 Nov), checked against the survey and corrected where the code makes a row unworkable; the Courting row and the two bullets of Leaving home brought in line.design.md, Marriage as a negotiation, were an agent’s proposals, which Kim accepted the same day (Agreed). Kim also said Swedish and continental customs may be mixed where it makes better play, so the terms need not follow one law.Decisions.answer, which slice 2’s plan left waiting “for the first question that needs the player’s answer” (docs/roadmap.md, section 3.2).st.offers with a due time 7 days on. The round goes on without it, and the pair is not free to anyone else meanwhile. A refusal waits for the next round. Why: the matcher marries as it goes, and each marriage changes the homes and heirs the next choice reads (survey, below), so the round cannot be held open in one step. (2) The player’s wish for a match is either “not this year” or a partner. A partner is offered before the matcher chooses, if the round’s rules allow the pair and its score, with the noise at its mean, reaches MARRIAGE.minScore. Until opinion enters, that score stands for the other side’s judgement. (3) An offer is made in the man’s village’s round (VB-242), and nothing is polled between rounds: the day’s end reads only the first offer’s due time. (4) “Son or daughter of the house” is a child of the holder, of the holder’s spouse or of the holder’s parent who lives in the household and is not in service. (5) The cost of consent is a memory, refusedMatch, -0.2 for 3 years, in the spokesman’s record of the pawn that refused.QUESTIONS.md, “VB-275”). Kim’s 9 November answer has every side without a player say yes in the first version, so opinion can change a decision only in a later task, which changes the run. Proposed: liking × 1.0 in the matcher’s score, and refusal at enmity (-0.5) by the young and by the spokesmen. VB-275 waits for it; the rest of the plan does not.Survey (10 Nov 2026, at 74ee065): where the round matches and marries.
| What | Where | What it does, and what the offer changes |
|---|---|---|
| The round’s phases | roundPhase, src/sim/lifecycle.js:140; called by the clock on autumn day 10 (src/sim/clock.js:105), phase 0 = marriageRound |
One six-minute step holds all the marriages and the handovers. VB-242 splits it into a village a step. |
| The pool | marriageRound, lifecycle.js:154-166 |
Living, single, not retired, fed (HUNGER.marryBelow 0.5), men from 20 and women from 18, over the whole map. A pawn in an open offer joins taken. The wish “not this year” leaves the played pawn out. |
| Where each would live | place, lifecycle.js:169, from roundHeirs (src/sim/heirs.js:103) |
A holder or the first heir to its household’s farm has a place. It is cached until a marriage changes the families (changedSince, :215). |
| The residence custom | homeFor, lifecycle.js:198; both, :192; handsOnWell, :184 |
land: the one with a place, and of two, the holder’s, else the farm best handed on, else the larger. husband and wife: that spouse’s household. An offer carries the home it computed. |
| The kin limit | kinOk, lifecycle.js:83; kinPressure, :90 |
Civil degree above 2 and at least MARRIAGE.kinDegree[cu.kinLimit] under the man’s village’s custom. kinPressure counts the unmatched and pushes the custom. Pawns in an open offer count as matched. |
| The score | marriageRound, lifecycle.js:233-250 |
For each man, oldest first and those with a place first: -|gap - 3| × 0.3 (0.15 if widowed) + 2 for the same village (else 2 × the settlements’ tie) + noise up to 1.5. The best is taken if it reaches minScore -1.5 and a draw passes goAhead 0.75. 1,455 pairs scored a year at medium-ref (VB.count.roundPairs). |
| The means to marry | affords, lifecycle.js:206; putOff, :214 |
The home holds food above its seed for 1.5 years (MARRIAGE.means) unless it has fewer than two adults. Otherwise the couple puts it off a year. This is checked before the offer, so an offer is made only where the means are there. |
| The marriage | issue(... verb: 'marry' ...), lifecycle.js:255; the verb, src/sim/commands.js:92; wed, lifecycle.js:122 |
Where the offer sits. Every answer of a side without a player is yes, so the round marries here as today. An offer the player must answer goes to st.offers instead, and changedSince is not called for it. |
| The handover a marriage brings | lifecycle.js:272-285; handOn, heirs.js:323 (a spouse’s own farm) |
Runs after all the round’s marriages. A marriage made later, at an offer’s close, runs it for its home only: the rule moves into one function. |
| The two answers | new: the verb answer and Sim.answer (sim/commands, source player); the close at the day’s end (sim/lifecycle, later VB-241’s calendar) |
The player’s yes or no, and the due time 7 days on, when silence is yes. |
| What a skip stops on | skipStop, src/sim/notable.js:176 |
It gains the reason offer, the source VB-234 left waiting. |
Plan (10 Nov 2026). Tasks: VB-293 (M, slice 2): offers both households answer, st.offers, Sim.answer, consent’s cost; with no player the golden file is unchanged. VB-273 (S, slice 2): the offer in the page. VB-274 (S, slice 2): the wish for a match. VB-275 (S, slice 2): opinion in the answers; waits for VB-240 and Kim. VB-276 (M, slice 4, arch fair): the dowry and the morning gift, and the player as head proposing a match with terms; waits for VB-183. Courting’s part is a note on VB-036 (slice 7). VB-212’s last criterion, VB-078’s played run and notes, VB-183’s and VB-242’s notes, and docs/roadmap.md (3.2 and 3.4) were brought in line.
Design (10 Nov 2026), design.md. Marriage as a negotiation: its intro names the tasks. Who negotiates defines “son or daughter of the house”. Consent gives the memory’s size and notes that only the player refuses in the first version. The offer is corrected: the offer is answered after the round, the pair is held, a refusal waits a year, and it is made in the man’s village’s round. The player’s doors gives the wish’s form. Courting says the courting couple’s wish works as the player’s wish. People: the Courting row’s “Under revision” is resolved (marriage is the round’s offer). Leaving home: both bullets. The player and what they see: Marriage names the tasks.
Cost (Rules for cost, 9). At medium-ref (1,005 living, 211 households, 26 villages) one year from the fixture gives 13 marriages, so 13 offers a year, and 1,455 pairs scored; at small-y40, 7 marriages. Without a player every offer is answered at once and none is stored, so the round’s work is today’s plus four O(1) spokesmanOf calls a match. With a player, one stored offer for each match that touches the played pawn or a member it speaks for: about 0.06 a household a year, and never more than the played household’s unmarried adults. Nothing is polled between rounds. st.offers is sorted by due time, and the day’s end compares the clock with its first entry only (Rules for cost, 4). VB-241’s calendar makes that one daily entry, guarded by an open offer. VB-275 adds two opinionOf calls for each scored pair, 1,455 pairs a year at medium-ref.
Validation (10 Nov 2026): no game code changed. npm test passes (88 scripts), with two scaling targets out that no code here touches (scaling.routeRefresh +0.11, scaling.roundPairs +0.85); tests/backlog.js passes with the five new tasks.