village-builder

VB-876: Refactor: split sim/lifecycle by concern

Status: done (2026-11-17) Priority: 2 Size: M Design ref: AGENTS.md, Conventions (a module over 700 lines, VB-414); BACKLOG.md, How this backlog works (the refactor rules) Goal: sim/lifecycle comes back under the lint’s 700 lines, each concern in a module of its own. Acceptance criteria:

Noted by VB-062, 16 November 2026.

Implementation (VB-876, 17 November 2026)

Started from 125c9d3. Code moved verbatim (line ranges sliced from the old file, then Prettier); no renames.

Decisions (Deciding without Kim, 12):

What fell: the 703-line module becomes four, the largest 236; sim/lifecycle’s imports fall from 29 modules to 14 (marriage 12, meetings 10, round 20); six unused imports gone (DAY, dailyNeed, larderOf, reserved, kinDegree, heirFor) and the kinOk re-export. 25 lines added in all (three module headers and import lists).

Validation