Status: done (2026-11-27) Priority: 1 Size: S Design ref: src/sim/exchange.js ledHome; src/sim/relations.js addGoodwill Goal: A run does not throw: a cow’s worth is booked only between two living holders, or the deal lapses when one has died. Acceptance criteria:
ledHome (or where a holder’s death should close the want), not by skipping the booking silently:
a cow’s worth is booked between two living holders; a test on a small constructed state (a holder dies while the cow is led home).Sim.advance(st, Sim.DAY)).
Notes / questions:Sim.advance(st, Sim.DAY) from the seed, populous small seed 3, on
main at f6c906d): Error: goodwill: cannot add 20 between 6 and 76 at relations addGoodwill < book < exchange ledHome < deliver <
agents deposit < arrived < walkEnd. After VB-691 the same seed’s trajectory differs and runs 15 years, so the defect may lie hidden.Decision: ledHome lets a deal lapse (want opened) when either holder has died, before the animal is paid; kin starts are not booked so unchanged. Test in tests/exchange.js.