village-builder

VB-1155: Each farm owes its own share, and a farm’s debt outlives its household

Status: done (2026-11-19) Priority: 3 Size: S Arch: debt Phase: implement Design ref: Inheritance, Handover and shares (Shares still owed) Goal: A sibling owed shares by two farms is paid by each; today the farm that owes last takes over what the earlier farm owed (oweShare in src/sim/obligations.js, kept from pawn.owedFrom by VB-310), and a share whose debtor household dissolved is never paid though the farm lives on. Acceptance criteria:

Noted by VB-310, 18 November 2026.

Done 19 Nov 2026. Decisions: a dissolved debtor’s shares are moved at the moving round (payOwed), not at the dissolution: the farm’s new household (f.household, not dissolved) takes them by transfer and pays from the next round; a farm with none, or derelict, lapses them (told once a share, by Obligations.lapse); a farm empty but not yet derelict waits. A sibling’s shares are paid farm by farm, in the share’s id order. Left: numbers before and after (heirs, populous; seeds 7, 42; 20 years) not taken here: measured once, on the PR’s final result.