village-builder

VB-043: One scope model: a membership graph of entities

Status: done (2026-11-25) Priority: 3 Size: M Arch: debt Phase: implement Design ref: Claims, ownership and territory, One scope model for overlays, stores and trees (Agreed, 30 Oct); Households and other bodies (Bodies: Open, measured 11 Nov); Commands, time steps and views (Store views, Family tree: Decided); docs/architecture/target-v2.md, section 4.4 (Membership) Goal: The overlay, the store views and the family tree must each work for any level of entity (pawn, family, household, village, culture), and slice 5’s bodies (a village with an alderman, a household that owes) need one way to say who belongs where. Build the membership graph once, and the scopes on it. Waits for Kim’s answer on bodies (QUESTIONS.md, VB-184, question 7): if the graph is adopted as Membership’s truth, this task makes it so; if each kind keeps its own domain, it builds the same graph as a derived view for the scopes only, and the second criterion falls. Acceptance criteria (Kim, 2026-10-30: the scope model is adopted as the plan for the overlay, store views and family trees; rewritten by VB-184, 11 Nov 2026):

Notes (VB-043, 25 Nov):