village-builder

VB-1176: Refactor: split sim/claims by concern

Status: done (2026-11-19) Priority: 3 Size: S Design ref: none (code structure). backlog/VB-413.md, VB-415; backlog/VB-418.md; docs/architecture/target-v2.md section 4.3 (land) Goal: sim/claims exports 18 names. VB-418 placed workStake here by ownership, Kim’s word of 18 November (place the shared helpers where they belong, ignore size). Split it by concern, each move checked with tools/same.js, or write why what is left is one concern. Acceptance criteria:

Decisions (19 Nov): sim/claims held three concerns: the claims on tiles (add, renew, drop, realise, lapse, strength), the land each holds (holdings, a read over st.owner and the claims), and disputes settled by custom. Disputes move, verbatim but for their imports, to a new sim/disputes (material layer, after claims in the manifest; speaker, support, scores, settle, rulesFor, aggrieve, DISPUTE); holdings stays, being a read of the claims’ own state. sim/claims 19 to 12 exports (its width baseline line removed), 229 to 165 lines (disputes 65). DISPUTE is named in sim/disputes (the four rules scores knows) instead of read from culture, tests/claims.js holding it equal to the custom’s options: the upward call sim/claims -> culture falls, the layers’ baseline 13 to 12. Callers: sim/stakes, sim/territory, sim/farmclaims, tests/claims.js. No owner in src/owners.json changes (household.grievance has none; ownership.md notes the move). tools/same.js --base dfdf4a3: same.