Status: done (2026-11-02)
Priority: 1
Size: M
Arch: claims
Phase: implement
Design ref: Claims, ownership and territory, Infield, outland and wilderness (Decided 1 Nov). Review: docs/review-claims.md.
Goal: A village holds only its green, its commons wood, its plots and its empty farms; the land between villages is nobody’s, and a household of one village may make a field beside another’s green. Give each village an outland (utmark), its common pasture, wood and land to take in, claimed by need at the meetings, so villages grow towards each other and the island fills in, readable on the map. Depends on VB-042.
Acceptance criteria:
src/sim/territory.js, at each autumn meeting after the customs (landMeeting): a claim placed at an earlier meeting on a tile still free becomes village land (a year and a day; disputes are VB-157); then each village with an occupied farm claims free tiles (unowned, on land, not mountain or snow) within CLAIMS.outReach = 8 walking steps of its green, nearest first, until its outland and claims reach CLAIMS.outPerFarm = 8 tiles an occupied farm; when it holds no forest, the nearest forest tile within reach comes first. Villages claim in turn, one tile each, so none takes a contested strip first.st.used), not the green and not a plot. outland(st, v) lists it.freeFor(st, tile, village), used by chooseTile, chooseMeadow, findSite and roomAt).newSite.villageWood).tests/territory.js on tiny worlds (VB-155): two villages 10 steps apart claim towards each other and stop where their land meets; the outland grows with farms; a household never takes in another village’s tile; a village with forest in reach gets its wood; settlers’ sites avoid village land.landMeeting, and a screenshot with the Land overlay.CLAIMS in src/sim/rules.js): a farm holds 6–8 tiles of infield, so 8 tiles of outland a farm makes the outland about as large again; history had it larger.src/sim/territory.js, listed after sim/claims and before sim/forest (which now takes a felled wood’s successor from villageWood). Measured (node probe on the Node loader): populous tiny seed 7 holds 170 tiles of household land and 180 of outland at the start, 239 and 238 after 10 years (3 to 5 villages, 143 to 162 people); no tile was disputed in those years, as the nearer rule lets a village claim another’s claim only within the year before it becomes land. landMeeting costs about 1 ms on the tiny map and 1–12 ms on populous medium at seed 7 (19 villages, 809 people). Screenshot: docs/img/claims-outland-start.jpg. The Land overlay now also draws the edge of each village’s land against unheld land, and village land a little stronger (0.28). Tests changed: tests/owners.js expects the outland; tests/spacing.js passes the village to roomAt. Golden re-recorded: founders 42 and heirs years 2–3 (new fields and meadows now avoid other villages’ land).