Status: done (2026-10-30, 5bf2871)
Priority: 2
Size: S
Arch: expansion
Phase: implement
Design ref: Inheritance and expansion, Succession (the own-farm rule is a custom: Decided, 29 Oct); Customs and culture, Custom dimensions (“Heir to their own parents’ farm”: options Decided, default and malleability Proposed); Customs, How attitudes move (Self-interest).
Goal: A relative who is first in line for their own parents’ farm steps behind the other relatives in another farm’s line, so farms are not combined. The design makes this a custom, but the code hard-codes “steps behind” in heirRanking (src/sim/heirs.js:51) and DIMS has no entry for it, so no village can ever change it.
Acceptance criteria:
DIMS entry ownHeir, “Heir to their own parents’ farm”, malleability 0.6, options behind “Steps behind other relatives” and keeps “Keeps their place”, added after feedOrder; oldNordic in ARCHETYPES takes behind. Both heirs-scenario villages keep the default.heirRanking reads cu.ownHeir: behind is today’s order; under keeps nobody steps behind. An heir who comes first in two lines takes the farm with more fields (on a tie, their own parents’) and drops the other claim, which passes to the next in that line. The rule that someone who already holds a farm, or lives on a spouse’s farm, is passed over stays, so no household ever holds two farms.refreshInterests (src/sim/society.js): the first heir of their home leans keeps; a landless adult leans behind.behind the cousin is first heir of the uncle’s farm; under keeps the nephew is.DIMS drives (checked in the jsdom smoke test).node tests/calibrate.js natural 2 50 before and after: the change of the other customs stays within the ranges of the design’s Pace table (reported, not asserted).@state lines of p.att and the culture arrays need no change: their length follows Culture.TOTAL.QUESTION_ARCHIVE.md).founders and heirs entry at seeds 7 and 42 (seed and years 1-3); the fields cenv, pawns (attitudes gain two entries) and, downstream, most state fields. world/* unchanged. node tests/calibrate.js natural 2 50 before and after: the other customs identical (no flips in 2 runs of 50 years); ownHeir m=0.60, no flip. Test: tests/ownheir.js (on the heirs scenario: Nils, first heir of his parents’ farm, and his brother Per in their uncle Olof’s line; the uncle’s farm given an extra field so it wins). The jsdom smoke test passes with the new custom in the drawer.