Status: done (2026-11-19) Priority: 1 Size: M Arch: life Phase: implement Design ref: design.md, Inheritance (Handover and shares: Timing); docs/plans/VB-1122.md, section 5 Goal: An unplayed holder hands on when it chooses, by a weighing of named parameters; a holder who holds out pays in its heir’s opinion. Acceptance criteria:
HANDOVER in sim/rules with the plan’s first values (custom 0.8, from 55, years 0.05, weak 0.3, wish 0.3, opinion 0.4, keep 1.0, at 1, grudge 0.05 a year up to 0.3), each a tunable with its meaning; sim/marriage’s handover weighs them at the heir’s wedding into the house and the holder’s birthday, as VB-824 calls it, in place of “at the custom’s time unless its opinion of the heir is ill”.farmstead.expected = {heir, since}: set when the custom’s time comes and the holder does not offer, cleared at the handover or when the first in line changes; its invariants in tests/lib/invariants.js, plain data, saved.expected.since), derived in the opinion (no memory stored, no daily pass); a played holder pays it too. A test on a constructed state: a holder at odds with its heir holds on at the wedding and hands on at 60; the grudge grows a year and ends at the handover.Noted by VB-1122’s plan, 19 November 2026 (docs/plans/VB-1122.md).
Decisions (19 Nov 2026, the build):
expected is kept on the household (household.expected), not the farmstead: a farm outlives its households, and a re-peopled farm would carry a stale grudge; cleared at an offer, a new first in line at a weighing, nobody grown in line, and a new head (‘newHead’). A change of first in line between weighings is seen at the next (heirRanking is too dear for the opinion’s read). Close call.due 0), so an old holder may still hand on by years, weakness and opinion. Close call.keepShare: a ration a day for the holder and its spouse living there, over last calendar year’s sheaves (ledger) and milk and butter (totals), at most 1; 0 with no year on record (a first year, a constructed state). hand: under AGES.hands[1]. wish: married in the house, or courting where neither holds a farm. The offer’s reason: ‘marriage’ when the heir is married in the house, else ‘retirement’.delivered, a latent bug the new timing reached): fixed in its own commit.