Status: done (2026-11-11)
Priority: 2
Size: M
Design ref: Land, ecology and rights (Land and ecology: Trees per tile, The village’s wood; Infield, outland and wilderness: The commons wood). QUESTION_ARCHIVE.md, Consistency review (10 Nov)
Goal: A village cuts all its firewood on one tile, its commons wood (v.commonsWood; each farm’s f.woodlot is that tile), until the tile is bare; a bare tile is meadow for good (clearTile, src/sim/forest.js), and the village moves to the next. A household fells about 11 trees a year and a tile regrows 2 to 2.7, so regrowth never meets the cutting: populous small, seed 7, lost 623 of 2,463 forest tiles in 40 years (plots included) and the median walk to the wood went from 4 to 9 steps. Kim decided on 10 November: the wood a village is allotted is larger, an area, and a pawn cuts its tree on a random tile of it. Sized to the village’s hearths, the allotment’s regrowth meets its cutting, and the wood thins instead of vanishing.
Acceptance criteria:
v.wood, the village’s wooded tiles for cutting, plain data in the saved state, owned by sim/territory (src/owners.json, @state), replacing v.commonsWood and f.woodlot; a save with the old fields loads with an allotment reckoned at load. Its size is WOOD.perHousehold tiles (5) for each live household of the village, at least WOOD.least (6) and at most WOOD.cap (150, the declared cap of Rules for cost 2). Five, because a household fells 11 trees a year and a tile of 60 to 80 regrows 2 to 2.7.WOOD.reach (12 steps: 4 hours each way on meadow, so a trip of 3 hours’ cutting fits the 12 working hours; today’s 24 steps is 8 hours each way), first those in the village’s own land, then forest no other village holds or claims (freeFor), never a house, field, meadow or plot tile. Reckoned at the autumn meeting’s land stage (landMeeting, which moves the wood today), when a farm is founded in the village, and when a tile of it is cut bare or built on; never daily. The village’s outland claim counts the allotment’s tiles outside its land as need, wooded tiles first, as it does today for a village with no wood of its own (src/sim/territory.js:64-65).rng.forest (a new name in SYSTEMS, src/sim/rng.js): evenly among the allotment’s tiles with more than a quarter of their trees, and if there is none, among those with any. fellTree fells on the job’s site. A tile cut bare still becomes meadow (design, Cleared woodland) and leaves the allotment.kind: 'noWood'). What that costs its households is VB-327’s. Generated villages: finishLand (src/sim/layout.js) places a village only where at least WOOD.least wooded tiles lie within WOOD.reach of its centre, as newSite already asks a wood of a settlers’ site (which reads the same two numbers after this task); the seeds whose villages move are listed.src/sim/paths.js:45) follow the tiles cut.tests/lib/invariants.js): every tile of an allotment is wooded, in no other allotment and not in st.used; its length is within the cap. A test (tests/wood.js, in npm test): a village of 10 households over 30 years loses no tile of a full allotment to firewood, and its standing trees level off; with WOOD.perHousehold forced to 1 tiles are cut bare, as today.ROUTE.cacheMax 60,000; routeSearch, routeEvict and the step time are reported at small-y40 and medium-ref before and after, and if evictions rise the draw is kept for a season a farm.QUESTIONS.md, “Consistency review: wood”, questions 1 to 4.Sim.advance by the step, trees and tiles counted from st.w): populous small seed 7, 40 years: forest tiles 2,463 to 1,840, trees 169,921 to 128,797, households 56 to 156, about 10 trees felled a household-year; founders small seed 3, 30 years: 21 tiles bare for 4 households. Sandvik, a generated village of 15 households, has no forest within 24 steps from the first day; a second village had none by year 35; 13% of household-days had an empty pile and no woodlot.src/sim/territory.js, forest.js, kinds.js, layout.js, settle.js, cottage.js: one at a time with VB-328.QUESTION_ARCHIVE.md, “Consistency review”, archived 10 November): the numbers above are Agreed. No longer waits for Kim: ready.38b920d; main has moved some lines since (in src/sim/kinds.js, jobs.js, records.js), and every function and field named still stands: find them by name.v.wood (owned by sim/territory, reckonWood; woodTaken when a tile is cut bare or built on; woodOf for the
page, in Sim), WOOD in sim/rules (perHousehold 5, least 6, cap 150, reach 12, thin 0.25; SETTLE.woodReach 24 is gone), drawWood and
fellTree(st, tile) in sim/forest, the stream rng.forest. A kind may declare draw(st, j): sim/jobs’ post asks it for the site of a new
job only (the actor view’s available draws nothing). finishLand gives each generated village its first wood (nearest wooded tiles, none
another’s), seedOutland reckons it once the land is held; findSite and the lone farm take a site only with WOOD.least wooded tiles in
reach (asked only of a site that would be best so far), newSite the same (woodNear, which replaces nearestWood). seedOwners no longer
owns the wood: the outland claim takes the wood’s free tiles first (within CLAIMS.outReach, 8; tiles 9 to 12 steps out stay wilderness), and
its need is at least their number. Saves: commonsWood and woodlot dropped and the wood reckoned at load, rng.forest made. Log kind
noWood (routine, folded after a generation). Page: the tile panel says “Cut for firewood by V”; the Land overlay draws a small tree in the
village’s colour on each tile of its wood (docs/img/vb326-wood-land.jpg); wearIn sends each farm’s wood trips to a tile of the wood
in turn. tools/shot.js --land clicks the button by script (it sits in a closed menu); tools/wood.js follows fellTree(st, tile).WOOD.least tiles; a job whose drawn tile was cut bare
before the load came home fells on a tile drawn then; timber and firewood are not told apart yet (VB-328).Sim.advance by the day, populous and founders, small, 40 years; before = 8f3fabd):
| run | forest tiles y0, 10, 20, 30, 40 | standing trees y40 | cut bare: firewood, plots | walk median, longest | trips a hh-year | empty-pile hh-days | no-wood village-years |
| — | — | — | — | — | — | — | — |
| populous 7 before | 2463, 2359, 2219, 2041, 1833 | 128,100 | 628, 2 | 6, 28 | 9.8 | 11.8% | 37 |
| populous 7 after | 2463, 2456, 2456, 2456, 2456 | 164,035 | 7, 0 | 6, 19 | 9.7 | 12.9% | 38 |
| populous 42 before | 1649, 1537, 1396, 1258, 1093 | 78,932 | 553, 1 | 7, 28 | 8.5 | 21.9% | 119 |
| populous 42 after | 1649, 1637, 1636, 1620, 1594 | 106,785 | 52, 1 | 6, 19 | 9.7 | 11.7% | 68 |
| founders 7 before | 2463, 2456, 2449, 2443, 2430 | 167,609 | 33, 0 | 6, 12 | 11.1 | 0 | 0 |
| founders 7 after | 2463, 2463, 2463, 2463, 2463 | 169,643 | 0, 0 | 5, 8 | 11.1 | 0 | 0 |
| founders 42 before | 1649, 1641, 1634, 1625, 1614 | 114,190 | 35, 0 | 7, 13 | 11.0 | 0 | 0 |
| founders 42 after | 1649, 1649, 1649, 1649, 1649 | 116,027 | 0, 0 | 7, 12 | 11.1 | 0 | 0 |
Walks are route steps from the house to the tile of each trip; firewood hours are 3 a trip (29.3 to 29.0 and 25.6 to 29.2 a household-year at
populous 7 and 42). Households at year 40: 161 to 156 (seed 7), 166 to 167 (seed 42). Households are better off at seed 42 (empty-pile days
halved, half the no-wood years); not at seed 7, where Sandvik (10 farms) has only 7 wooded tiles within 12 steps, cuts them in a few years and
then has no wood (before, its one tile moved out to 24 steps): that is the cost VB-327 prices. The founders’ trees still thin slowly (a
quarter of a percent in 40 years), with no tile cut bare.START_PEOPLE, src/page/start.js).8f3fabd; the new
code loads them through the migration): small-y40 routeSearch 6,653 to 7,227, routeRefresh 933,683 to 935,061, routeEvict 0 to 0;
medium-ref routeSearch 10,034 to 9,794, routeRefresh 1,654,481 to 1,663,086, routeEvict 0 to 0; ms a game day 229 to 271 and 342 to 351
(the machine shared with another run, load about 10 on 4 cores: noise). No eviction, so the draw stays one a job.scaling.routeRefresh 1.45 to 1.98 (target 1.15, out on main too; this change’s cause: more distinct house-to-wood routes in the small
runs; at the late saves routeRefresh moved by +0.2% and +0.5%); scaling.roundPairs and scaling.takeInWeighed out as on main. 3 targets out,
as on main.Sim.woodOf); world/7, world/42 and calibrate unchanged. tests/record.js’ anchor: heirs 7 at 2.5 years
has 67 events on its pawns (77 before), the same 41 pawns.npm test passes (103 scripts; tests/wood.js new: 50 tiles for 10 households, none cut bare in 30 years, standing trees 3,260 at
year 20 and 3,218 at year 30; at one tile a household 28 cut bare). npm run verify: see the next note.npm run verify (11 Nov, at a88b8fc): 121 scripts passed (the first run failed only tests/start.js --people, the start’s people on
medium, re-recorded above); 11 targets out, as on main (main at 8f3fabd: 11 out, the same history and scaling ones). History ratios
that moved with the fixtures made anew: routeRefresh +0.38 to +0.73, roundPairs +2.74 to +9.28, occasionAsked +4.32 to +0.68, recordFold
+0.42 to +0.03, heirRank +0.12 to +0.03 (the y5 and y40 saves are other runs of a changed world: the cause is the change, the size is chance).