Status: done (2026-11-18)
Priority: 1
Size: M
Arch: talk
Phase: implement
Design ref: design.md, People, households and family records (Traits, talk and stories: Courting; the Courting row); Inheritance, expansion and other bodies (Marriage as a negotiation: Courting); backlog/VB-186.md.
Goal: Courting, beside the round’s matchmaking and never in its place: two unmarried pawns who have come to like each other court, and their wish is offered at the moving round before the matcher chooses, as the player’s wish for a match is. A head may refuse; the couple then keeps courting, remembers it, and may leave for service. Rewritten from the plan it was by slice 7’s plan (VB-186, 15 Nov): Kim’s answers of 30 October and 9 November settled the design, so this is now the first of two implement tasks; births outside marriage are the second.
Flag: for rework (Kim, 16 November 2026). Courting as written here is not built: the marriage matching replaces it for now (the round’s matcher today, the spokesmen’s offers of VB-693 once landed). VB-682’s plan rewrites this task on every pawn’s wishes (VB-680) and the offer and answer (VB-690), and until it has, the criteria below are history, not a brief.
Acceptance criteria:
QUESTION_ARCHIVE.md).sim/courting, a module of its own (sim/relations is over the line and VB-430 splits it), owns pawn.courting: the other pawn’s id or null, the same on both sides, and pawn.courtingSince. COURT in src/sim/rules.js, each with its meaning: minAge 16, opinion 0.4, tie 1.5, end 0.2, years 3, leave 0.5. @sys, @state, src/owners.json, src/manifest.json, the save, and invariants (tests/lib/invariants.js): symmetric; both alive, unmarried, of opposite sex and 16 or more; no closer kin than the limit in force where they live.sim/relations’ talk, the kind it already draws), and both are unmarried, of 16 or more, of opposite sex, courting nobody, no closer kin than the marriage limit in force, and each holds the other at an opinion of opinion with a tie of tie, they court. A life event of both (courting, by personEvent, with its kind, the other and the village). No pass over pairs: one check at such a talk, counted by courtCheck in VB.COUNTERS.end where the pair is touched (touch), when one marries another or dies, or years after it began, looked at when the round reads the couple and when the pair is touched; an event (courtingEnded) that says why.docs/plans/VB-682.md, sections 3 and 4.1): a courting pawn’s wish (VB-680) has the one it courts as its match rung, and it asks no other. When the courtship starts, and on each asking day after while they court and hold no open offer, the pair’s offer is made on VB-690 (basis match, from the man, or from the one who speaks for itself), due at the round, if the gate allows the pair (ages 18 and 20, a place to live by the residence custom, the kin limit; the means and hunger under 0.5 are read at the round). It skips the lowest-score test, the two say yes, and a spokesman answers by opinion as for any offer (VB-275). It is answered before any arranged offer for either of them: until VB-693 lands, before the matcher chooses in the man’s village’s round; after it, the spokesman of a courting member arranges nothing else. Married, they court no more. A couple the gate does not yet allow waits, courting.SOCIAL.memories.refusedUs: -0.2, to -0.4, 3 years), the couple keeps courting, and at the next round each ranks Service above Stay at home, whatever the hands at home, when it holds that head at an opinion under 0 (a threshold in place of the chance leave, which is not added to COURT; principle 19); it then asks for a place by the round’s act for service.opinion and tie, so that between a tenth and a third of the unmarried of 16 to 30 are courting (16% of such pairs passed the gate after two populous years, 31 Oct); the values tried and what each gave; the rest to docs/tuning.md by a tuning note.tests/tiny.js), chances forced with fix: the gate (each condition in turn bars it); one at a time; a courting couple is offered before the matcher and marries when both households say yes; a couple without a place to live waits; a refusal leaves the memory and the couple courting; each ending. tests/commands.js and tests/record.js pass.npm run verify’s hard checks pass, its targets reported.
Notes:BACKLOG.md. The orchestrator sets it: node tools/backlog.js set VB-036 name="Courting: a pair that likes each other courts, and their wish is offered at the round" phase=implement size=M waits=VB-521 summary="pawn.courting from a good talk at opinion 0.4 and tie 1.5; the couple's wish offered before the matcher; a refusal remembered, and service elsewhere". It waits for VB-521 only because both change talk.backlog/VB-186.md until it has an ID; it waits for this one.QUESTION_ARCHIVE.md): courting may start from 16 for both sexes; marriage stays at 18 for women and 20 for men. A courting couple marries only with a place to live (residence custom) and kin no closer than the marriage limit; hunger ≥ 0.5 postpones the marriage, not the courting. Births outside marriage: a small daily chance while courting, about 5% of births at first; about 3 in 4 such couples marry within the year if they can. The true father is recorded and everyone knows him (no hidden paternity for now).social, VB-059). VB-059 is done (VB-060 to VB-063); this task now writes the courting implement tasks on top of them, with the answers above.QUESTIONS.md; once answered, write the courting implement tasks on top of VB-060 and VB-061.QUESTIONS.md.p.rel).docs/slices.md, section 3.7; the slices Decided by Kim): moved to slice 7, arch talk (from courting). blocked until the slice’s plan (VB-186) confirms, rewrites or closes it.design.md, Marriage as a negotiation; VB-233), so “courting replaces the yearly matchmaking” no longer stands. Proposed there: courting moves the heads to negotiate, and is enough for those who speak for themselves. This plan takes courting’s part from VB-233’s answers.movingRound, judged on the day after the leanest weeks of the year. Courting is to sit beside it: a marriage is an offer between households at the round (VB-293, done), and a courting couple’s wish is offered there as the player’s is (VB-274), so courting no longer replaces the matchmaking (Kim, 30 Oct and 9 Nov; VB-233). Births outside marriage depend on courting. Kin and the village are also to help a hungry family (Kim, 2026-10-30; VB-039). Settle the design so implement tasks can be written. Criteria: [x] Kim has answered the questions under “VB-036” (30 Oct 2026; now in QUESTION_ARCHIVE.md). [ ] New implement tasks exist for courting, marriage from courting, births outside marriage and the “Children born outside marriage” custom (how such children inherit), with numbers. (VB-039, kin help in hunger, was done on 31 Oct.)design.md, People, Marriage, nursing and growth; the means becomes the rule marriage.means with its reason in numbers (VB-631), and the master’s house is no home for a couple (VB-634). Whichever of these lands second reads the other’s matchBar; VB-633’s report shows where courting couples wait.docs/plans/VB-682.md; design.md, Courting, The pair’s own offer): rewritten, so the Flag above is met and the criteria are a brief again. Two criteria changed (the wish at the round is the pair’s own offer on VB-690; a refusal leads to service by a threshold on opinion, not a chance), and leave is dropped from COURT in the first; the rest stand: the module, the start, the end, the page, the numbers, the parameterisation, the tests and the cost. It needs VB-680 (the wish) and VB-690 (the offer), and no longer this plan; it does not wait for VB-692, since until the round concludes offers the pair’s offer is read where the matcher is. For the orchestrator: node tools/backlog.js set VB-036 waits=VB-680,VB-690.17 Nov 2026 (raised to priority 1 at the user’s request: VB-693, the head’s arranged match, priority 1 from the playtests of 16 November, waits for this alone).
src/sim/courting.js (layer social, after sim/matching), owning pawn.courting, pawn.courtingSince,
pawn.courtRefused ({by, t}: the head who refused the pair, read once by the next round) and the index st.courtships (the man of
each couple; a cache with one writer, saved, seeded for a save from before). COURT is minAge 16, opinion 0.4, tie 1.5,
end 0.2, years 3 and leaveBelow 0 (the threshold of the refusal’s criterion, named: principle 3). Not a stored quantity: no
line in tools/stocks.js. Counters courtCheck and courtWalk; record kinds courting, courtingEnded (its reason: cooled,
years, married, died) and leftRefused, in the Marriages filter of a history.sim/relations’ talk emits goodTalk (the two and their opinions as its band check read them); courting makes one
check (courtCheck, 0.36 a pawn-day in the counters’ 30 days) and, if the gate allows, the two court, a life event of both. No
pass over pairs.touch emits courtTouched only for a pair that courts (one compare a touch); the round’s first step reads the couples
(review). The years do not end a courtship while the pair’s offer is open (decided: they are about to be answered).sim/asking’s askCourted: at the event courting and on either’s asking day, due at the round, the
basis match marked courted by sim/marriage from who courts whom (not from what the offer says). The two’s yes is their own
answer at the round, by their judgement (they like each other), not given in the making: so the played pawn’s answer waits for
the player like any. The means of the home and the two’s hunger are read where it settles; unmet, it lapses and they wait.askMatch neither asks for it nor asks it, matchBar
names it (“is courting another”), and to a match arranged before the courtship began it says no, unless it holds the spokesman
who made it dearer than the one it courts (design.md, Courting, The pair’s own offer). What it remembers of yielding
(marriedAgainst) is left to VB-693.SOCIAL.memories.refusedCourting (-0.2 to -0.4, 3 years), not refusedUs: that name was taken by sim/offers for a
refusal of goods, at other values (-0.1 to -0.3, 2 years). At the next round leavers gives those who hold that head under
COURT.leaveBelow, and serveWhereShort lets each ask for a place whatever the hands at home; it still needs to be fit to serve
and a head within reach who is short. A no of one of the two is not a head’s refusal.tests/lib/invariants.js): symmetric; both living, unmarried, of opposite sex, 16 or more; never kin of degree 2
or less; the index holds each courting man once. The custom’s kin limit is read where a courtship starts and where the offer is
made, and is not an invariant: a village may tighten it under a couple, who then wait.tests/browser-bonds.js. No screenshot is committed (Kim, 18 November).tests/courting.js (in npm test): the gate, each condition; one at a time; the offer, answered before the matcher, and
the marriage; the wait without a home and under age; the refusal, its memory, and service at the next round; each ending; an
arranged match and one who courts another; the played pawn. npm run verify: 191 of 191, 9 targets out as on main
(scaling.asksMade 2 -> 1.585, asksWeighed 1.92 -> 2.067, askWalk 1.893 -> 1.943, heirRank 1.58 -> 1.522, all out before and
after against 1.15; the other five unmoved). node tests/smoke.js and node tests/browser-bonds.js pass.Numbers, before (57a1301) and after, one run each (small map; tools/waiting.js’ sums over the run, and the record’s kinds):
| Run | Living at the end | Growth a year | Hungry household-days | Marriages (per 1,000 a year) | First marriage, women / men | Never married at 45 | Waiting pawn-rounds | Courting per 100 unmarried of 16 to 30 | Courtships (ended: years / cooled / died) | Marriages of pairs that had courted |
|---|---|---|---|---|---|---|---|---|---|---|
| Populous 3, 30 y | 597 -> 602 | 1.96% -> 1.99% | 51 -> 25 | 176 (12.8) -> 167 (11.9) | 20.0 / 21.4 -> 21.2 / 21.3 | 1 of 41 -> 0 of 39 | 970 -> 1183 | 25 | 89 (45 / 16 / 1.5) | 34 of 167, 20% |
| Populous 7, 30 y | 636 -> 635 | 2.01% -> 2.01% | 47 -> 19 | 189 (13.4) -> 182 (12.8) | 20.3 / 20.8 -> 20.6 / 20.9 | 0 of 13 -> 0 of 22 | 791 -> 855 | 28 | 90 (33 / 24 / 3) | 38 of 182, 21% |
| Populous 11, 30 y | 625 -> 574 | 2.21% -> 1.92% | 61 -> 44 | 177 (12.4) -> 163 (12.1) | 20.8 / 21.2 -> 20.3 / 21.4 | 1 of 41 -> 5 of 44 | 812 -> 957 | 16 | 58 (26 / 14 / 2) | 19 of 163, 12% |
| Founders 7, 50 y | 25 -> 27 | 1.85% -> 2.01% | 0 -> 24 | 8 (7.6) -> 8 (7.4) | 18.6 / 25.9 -> 18.9 / 24.5 | 0 of 3 -> 0 of 3 | 132 -> 171 | 2.6 | 2 (1 / 0 / 0) | 1 of 8 |
| Founders 42, 50 y | 27 -> 22 | 2.01% -> 1.59% | 5 -> 8 | 6 (5.7) -> 6 (6.3) | 25.0 / 20.3 -> 25.3 / 20.3 | 1 of 2 -> 1 of 2 | 178 -> 174 | 6.7 | 2 (2 / 0 / 0) | 2 of 6 |
leftRefused 0 in all five). A
spokesman says no only at enmity (-0.5) towards the other side (VB-275), which did not happen to a courting pair. The matchRefused
events that appear (11, 8, 4 on populous; 0, 0, 1 before) are of the other kind: one who courts saying no to a match arranged for
it before it began to court (3 of 3 in a 14-year trace of seed 3). So the refusal, its memory and the leaving are shown by the
test only; they wait for heads who answer by more than enmity (VB-693, VB-276). A row of docs/tuning.md.opinion 0.4, tie 1.5), populous small, 30 years: 25, 28 and
16 of 100 unmarried of 16 to 30 are courting at a year’s end (seeds 3, 7, 11), inside the tenth to a third asked. Founders small
has 2.6 and 6.7 of 100 (seeds 7 and 42): with 25 people there are few to meet, and it is not the reference for many pawns
(principle 6). Rows of docs/tuning.md: COURT.opinion and tie; COURT.years; COURT.leaveBelow.touch; at the round one walk of the courting couples for the review and one for the leavers
(courtWalk: at most half the unmarried young; 0 in the counters’ 30 days, which hold no round with a couple). No loop over pairs
or over pawns. Times are left to the nightly bench.refusedCourting; the pair’s offer is from the man, or from her
where she speaks for herself and he does not; one who courts is out of every arranged match, the played pawn too, and there is no
verb to break off a courtship (it ends by the liking, the years, a marriage or a death); the years do not run out while their
offer is open; the kin limit of the custom is not an invariant of a courtship.refusedCourting; and the threshold is COURT.leaveBelow.