Status: done (2026-10-30, 5fddd89) Priority: 1 Size: M Arch: food Phase: implement Design ref: Economy and jobs, Known gaps (hunger can kill, mostly infants and the old: Decided); Open questions (What hunger does). Kim, 2026-10-30: a hunger level of 1 should kill a pawn within a season; each pawn has a health stat 0–100 (a float) that hunger drains, fast at hunger 1. Goal: Today hunger only multiplies the daily death risk by 1 + k(age) × h, with k = 0.3 for ages 15–59, so an adult eating nothing for years survives (review, 2026-10-30: 6 adults at hunger 1.0 for 7 years, none died). Acceptance criteria:
p.health, a float 0–100, starts at 100 for every pawn, newborns included; @state documented.HEALTH.drain × h² with drain = 9 per day (so at h = 1 a healthy pawn dies in about 11 days, within a season of 12), times 1.5 for under 5 and 60 and over. If the pawn ate in full today, health rises by HEALTH.recover = 3 per day, to at most 100.tests/calibrate.js reports the ratios again with health in.HEALTH table in src/sim/rules.js: drain: 9, frail: 1.5, recover: 3, riskBelow: 50, riskSlope: 25, slow: 0.3.tests/health.js (in npm run verify) holds the tests and the 50-year report. Deaths by cause per decade, founders: seed 7: old age 3, 2, 2, 3 (plus starvation 12 in years 31-40), 2 (plus hunger 1, starvation 1 in years 41-50); seed 42: old age 3, 3 (plus starvation 13 in years 11-20), 2, 2, 2. A famine kills most of the village in one decade in each run, with these starting values; not tuned. tests/calibrate.js hunger is unchanged (it models hunger without health); the golden calibration hash did not change.pawns and cenv (new health field) of founders and heirs; heirs from year 1 on (agents, cenv, contacts, events, households, jobs, pathCache, pawns, unions, villages, weather, and later demand, farmsteads, owner) (the heirs run diverges from year 1; the cause was not investigated, health changes work speed and the death roll).