village-builder

VB-197: The rules registry, with death.hazard as its first rule

Status: done Priority: 2 Size: M Arch: yardstick Phase: implement Design ref: none (code structure). docs/architecture/target-v2.md, sections 2 (principle 11, rules combine contributions) and 4.1 (the rules registry); docs/roadmap.md, sections 3.0 and 5.3 (rule 6, compile what is hot). Goal: Target-v2 makes the rules registry the kernel’s one new piece. A rule is a quantity one domain owns; other domains contribute factors or terms to it, each declared with a range; a panel can explain it. Today’s deathRoll (sim/deaths) is already one rule in small: a base hazard by age, times one plus hunger, times frailty, with one draw naming the cause. Build the registry with it as the first rule, behaviour unchanged. Then value() is measured from the start, and slice 1’s allowance and later contributions (disease, traits, the urban hazard) have a door. Acceptance criteria: