Status: done (2026-11-24)
Priority: 1
Size: S
Design ref: src/sim/marriage.js wed, src/sim/heirs.js handOn
Goal: A run does not throw. node tools/sim.js --scenario founders --seed 5 --map small --years 50 stops in year 31 with
stores: missing or dissolved holder (sim/stores type), from heirs handOn (Stores.move(st, hh, to, 'grain', ...)) called by marriage
wed from a settled match (offers conclude). At the throw: hh 1 (members 17 and 11, holder 17), home 7 dissolved with no members, and
its holder is also 17; the giver 17 has not moved to the home (follows false, reason marriage, no heir stays, no claim). So one pawn holds
two households, and the home the couple was to live in had been dissolved before the move was issued (a suspect: goBack of a trust at
the head of wed, VB-309, or the move refused and the home left empty).
Acceptance criteria:
node tools/crops.js, founders seed 5 threw at year 31). Reproduce faster from a save:
node tools/sim.js --scenario founders --seed 5 --map small --years 30 --save F.json.gz, then --load F.json.gz --years 2 (12 s).wed re-picks a live home if its home dissolved while the trusts ended (none: no wedding); no skipped movement. New invariant: a pawn holds at most one live household (tests/lib/invariants.js). Test 9 in tests/marriage.js builds the dissolved home. Founders small seed 5 runs 50 years.