Status: done (2026-11-13) Priority: 2 Size: M Arch: year Phase: implement Design ref: Settlements and look (Village: farmsteads around a green with a well sweep, brunnsvinge: Decided look, Agreed layout); Inheritance and expansion. Kim, 2026-10-30: when a second farmstead appears in a one-farm village, the village buildings become something it can build; they are not created automatically. Goal: After VB-003, a one-farm village has no green and no well. When it gains a second farm (VB-032 or VB-033), it can lay out a green and dig a well as village work, and is then drawn as a village. Depends on VB-003 and VB-032; if either is not done, mark this blocked. Acceptance criteria (Kim, 2026-10-30: the proposed values are accepted as starting values):
center and is owned by the village.v.green and v.well are set; water is drawn there; the map draws the green, the well sweep and the village label.QUESTION_ARCHIVE.md, VB-058.ready when VB-032 is done.ready. Today v.green and v.well are set only when a village is laid out (src/sim/layout.js), so hamlets grown by settlers joining (VB-146 to VB-149) and farms restored by claimants (VB-033) still have none; the one map label of a village of two or more farms (VB-026) stays as built.docs/roadmap.md, section 3.3; the slices Decided by Kim): moved to slice 3, arch year (from expansion). blocked until the slice’s plan (VB-164) confirms, rewrites or closes it.BUILD.wellStone (6) loads of stone from its households’ heaps
(hh.stone, through Stores.take with a reason of its own); fences and the green take none. VB-332 records the number and builds no well.sim/green (material layer, before sim/kinds): the routine green of
VILLAGE_ROUTINES (sim/plans; available while a village has no well and two or more occupied farms, or its green is under way;
need the occupied farms), so the meeting chooses it as it chooses the fence (VB-257). At a village’s review whose routines hold it,
sim/plans (greenStep) makes the green’s project plan of the village (VB-123), what: 'green', three steps on one tile: green
(clear, 10 h), well (dig and line, 40 h, after BUILD.wellStone loads are brought), sweep (raise, 10 h). The tile: open meadow or
heath within BUILD.greenReach (4) walking steps of an occupied house, not water, river, in use, the village’s wood, or another’s land
or claim (freeFor), nearest the houses’ mean position; it is the village’s (setOwner) and in use (st.used) from the plan’s making.
The green cleared: w.dev 2 (open ground the ways cross). The stone: a job wellstone per heap (at most two, the fullest first) loads
one load at a household’s house (Stores.take, reason well) and carries it to the green (no teleportation); a load beyond the six is
left lying on the green as stones. The sweep raised: v.center, v.green, v.well set, logged (green, notable, in the village’s
Land history). Water is then drawn there (sim/kinds, as before); the page moves the village’s label to the green (its signature now
holds the centre) and draws the sweep. livePlots, builtTiles, the claims’ holdings and the invariants now tell a plot from a green.duty, in ROLES (Kim’s ranks); hands 3 at the green and the sweep,
2 at the well, a stone trip 0.25 h of loading; the green waits for the meeting’s choice (VB-164: a routine), so the year runs from the
second farm to the next meeting and then about ten days of work; while no heap holds stone the well waits (Kim’s answer: stone from the
heaps; in every run measured the heaps held it). Greens of generated villages are unchanged.tests/green.js (integration; tiny map): a one-farm village with the routine forced begins nothing in half a year; after a
settler joins it, the meeting chose the work and the green and well stood 16 days after the joining, six loads taken through the stores,
the centre on the green, water posted there, invariants hold, a save keeps it. Invariants added (tests/lib/invariants.js): a well only
with a green; at most one green under way, only without a well, its steps on one tile owned by the village and in use, stone brought in
0..wellStone. Populous small, seed 7, 15 years: 6 greens and wells built by hamlets (wells 9 to 15 of 16 villages), each within a year.
Populous small, 15 years, living at years 5/10/15, before -> after: seed 3 368/409/451 -> 368/409/451; seed 7 390/417/443 -> 390/417/437;
seed 11 371/404/433 -> 368/410/450; seed 42 381/424/463 -> 381/427/478; hungry days at year 15: 1, 0, 5, 0 -> 0, 0, 1, 7 (run noise:
the duty takes hours from a hamlet’s farm work but in the slack). Screenshot: docs/img/vb058-green-well.jpg (Britaryd, populous 7
small, the sweep on its new green between two cottages).