Status: done (2026-11-01)
Priority: 1
Size: M
Arch: expansion
Phase: implement
Design ref: People, households and family records (marriage needs a place to live, by the residence custom); Inheritance and expansion. Review: docs/review-stability.md; docs/review-cities.md, sections 3.1 and 3.5.
Goal: Under the residence custom “with the land” a couple needs exactly one place, so two people who each hold a farm, or are first heir to one, could not marry: lone settlers and heiresses stayed single for years (populous tiny seed 3, year 15: 19 households of one, nearly all women of 25 to 35 who had held a farm alone for 7 to 14 years). Marriage was also early and almost universal (women first married at about 19; 0–5% of women of 45–54 never married), so hunger was the only brake once the land filled.
Acceptance criteria:
heirRanking passes over an heir whose spouse holds another farm). Of two holders, the couple lives where the other farm is best handed on (an heir who can keep it, then a landless adult of its village, then a child or nobody), then on the farm with more fields, the man’s on a tie; with two first heirs, on the farm with more fields.handOn, src/sim/heirs.js): to its next heir who can keep it (an adult, or a minor with a grown housemate as guardian), else to the landless adult of its village who has waited longest (a claim: transfer reason claim, no shares owed on it), else to a minor heir (sim/service then brings a guardian or empties it), else the farm stands empty and its grain and animals go with the holder. The holder’s minor children go too, unless one of them keeps the farm.heirFor), at a death as at a marriage: a child no longer inherits a distant farm and moves there alone.MARRIAGE.means, 1.5 as tuned in the stability review; 1 at first): the chosen match goes ahead only when the household the couple will live in holds food (grain, rations, grain in sheaf, the larder) above its seed for a year of its members and one more; otherwise they wait, and the log says how many couples of a village put it off.allot), and a cottage whose holder has married onto a farm meanwhile stands empty; transfer and finishCottage no longer take along a child who holds a farm of their own (found by tests/invariants.js: a woman who held a farm moved into her new husband’s cottage, and her farm’s holder was no longer a member). tests/plots.js and tests/fresh.js chose a holder’s wife as a landless villager; they now choose unmarried or unlanded adults.tests/marriage.js: two lone holders marry and hold one farm; with an empty store they put it off; a holder and a first heir of her village live on her farm and he leaves his line. tests/guardians.js sets up its orphans directly, since a grown heir in line now comes first.QUESTIONS.md, Towns question 5, as proposed), and marriage needs means; no later minimum ages.tests/marriage.js checks both sides. Re-recorded the golden file (heirs runs).QUESTIONS.md, “Stability review: the tuned values”. Golden file re-recorded (heirs seed 42).