Model: each tick, every agent's wealth earns a (noisy) return, receives income, and pays a (noisy) cost-of-living bill. Agents who can't cover the bill either accrue arrears (an unpaid claim held by the king, no cash changes hands) or take a loan from a wealthier agent with spare reserve — a real cash transfer, and real risk for the lender. Debt accrues interest; agents with surplus repay their loans, then their arrears. A king can declare Jubilee — on a schedule, at random, when inequality crosses a threshold, or at will — forgiving a φ fraction of every loan and arrears balance — a collective reset that hits everyone at once. Bankruptcy is the individual counterpart: any agent whose debt (loans + arrears) stays above a multiple of subsistence cost for enough consecutive ticks gets their own discharge, on their own timeline, independent of the king — but they're locked out of new loans for a while afterward (arrears can still accrue; nobody will voluntarily lend to them). The two mechanisms can run together or separately: set Jubilee's trigger to "Manual only" to see bankruptcy operate on its own.
Hover the net-worth ladder to inspect an individual agent's cash, claims, debt, arrears, and (if relevant) their current distress streak or credit lockout.
*The textbook Gini coefficient assumes nobody's wealth is negative and is bounded to [0,1]. Once agents can carry debt, net worth goes negative and that assumption breaks — dividing by the population's mean net worth blows up whenever total debt roughly offsets total wealth. This index uses the same relative-mean-absolute-difference formula as Gini but normalizes by mean |net worth| instead, which stays numerically stable but is no longer bounded to [0,1] or directly comparable to a textbook Gini figure. Read it as directional (higher = more concentrated, a sharp drop = a jubilee just fired), and use the top-decile share and % underwater charts for a cleanly bounded reading of inequality.