Status: done (2026-11-12) Priority: 2 Size: M Design ref: Worn paths (4, Sharing paths: lanes form between farms, the well, the fields and the commons wood); Generated villages. Kim, 12 November 2026: roads pass over fields and meadows but not buildings, the green connects to roads from all sides, and roads look nice. Goal: A road stopped at the edge of every field and meadow, since no built tile wore a path, and the green met roads on two or three sides only. Roads should run where people walk, over fields and meadows too, never through a house; meet the green from any side; and look like roads: no loose ends, meshes or kinks, and a colour and width that read on crops and grass. Acceptance criteria:
w.dev 3), set by the generator, by a house raised in play and on loading an older save.tools/village-shot.js shots of several seeds, before and after, as generated and after some years.npm run verify once at the end.sim/paths bars(w, i) is where no path wears (water, w.dev over 1); sim/routes tileCost gives a field or meadow 1 over its stage’s speed. Drawing: fields are opaque sprites over the map chunks, so gen/paths drawOver paints the chunk’s trails again on a clear canvas, kept only inside the panes of worn fields and meadows (0.92 of the tile’s radius, as the field art is cut), and page/chunks shows it in a layer above the fields (L.ways) with its chunk. No new state: the canvas is the page’s.tests/record.js: heirs seed 7 at 2.5 years, 68 events became 72. Populous small seed 7, worn in, trodden/path/lane over land that can wear: 501/216/22, after a year 735/342/38 (the count now includes fields and meadows; the figures before are to add in the wrap-up).tools/village-shot.js had gone stale against the page (the seeding hook, the hidden interface toggle, the choice of whom to play); repaired here.sim/routes tileCost is Infinity on a house (w.dev 3); a walk still starts or ends at one (the search’s closed ends). passable (what the reach searches of sim/hex count steps over) still counts a house, so a house stays within reach of its neighbours; a new through is what a route may cross. A house raised in play tells the route cache (costChanged): a plot’s house when the plot starts, a settler’s when the farm is made.sim/hex, with the other searches over the grid): cutsOff refuses a site that would leave itself or a neighbouring house no open tile, or whose open neighbours would no longer reach each other round it within 10 steps; rimFull refuses a fourth house on a green’s rim, or one beside another there. Both hold in the generator (layVillage) and in play (sim/expansion findSite; cutsOff in sim/settle newSite). Placing by hand (sim/byhand) is not held to them.layStreet): 2 from 4 farms and one more for every 6 farms over that (3 from 10, 4 from 16, at most 6); a new arm leaves well away from the others while such a side is free, then on any side no arm has taken. The street’s length is as before, so more arms are shorter arms. STREET.armFarms is the tunable (it replaces STREET.lane).tests/owners.js would have refused had it run that seed.CUT_REACH).tests/settle.js: the founders’ two unmarried young are 16 to 19 by the draw; the block takes the first seed where one of age lives in the village.tests/marriage.js: the lone holder and the heir are sought within twelve years of each other (the first pair at the seed was a man of 20 and a widow of 45, who do not marry).tests/opportunities.js: seed 5 for 4 (no grown, unmarried child at 4). tests/player.js: seed 6 for 7 (the wife is free and fetches the firewood before the farmer looks up; sound behaviour, but not what the block tests).tests/wishes.js: “every act of the round says so” is asked of the acts about moving; its pawn is now a woman of 18, who is also offered the wish for a match (VB-274), which a wish to stay does not bar. That was so before; the old pawn was too young to be offered it.tests/goods.js: a household large enough that a sack falls within the fifth its pot lacks, which the block’s sums assume. tests/counters.js: the pair probe sums four seeds of a larger village pair (it hung on seed 7, one seed in some hundreds with 30 pairs).tests/record.js (heirs seed 7 at 2.5 years: 83 events), tests/golden.json (every entry).DEMO, page/loader): of the ten seeds, five no longer held all three scenarios. The list is now the nine seeds from 1 to 130 that hold all three on the showcase island and at every map size (18, 19, 29, 32, 33, 45, 93, 114, 128; five of them kept), and START_PEOPLE its ranges (populous tiny 139 to 155, small 323 to 354, medium 809 to 865, large 802 to 833). Not judged by eye, as the old list was (“looks well from its largest”).gen/paths door): the most worn tile beside the house sends a way in under the yard’s edge; a house on the green has its door on the green. Drawing only.makeFence, open), which the open rim had left fenced on its own.PATHS.seek), measured and taken out again (Kim: the discrepancy between path-finding cost and travel cost as small as possible). Populous small, seeds 7 and 42, two years, trodden/path/lane tiles: no pull 1052/534/125 and 910/477/121; 15/30/45% cheaper 1013/525/123 and 884/457/129; 25/45/60% 950/531/124 and 832/452/136; 40/65/80% 856/516/143 and 765/441/144, with 4 to 6% of trips longer in tiles and 1.0 to 1.4% more walking time. The trips that wear a village’s ways are 3.2 tiles long on average, so there is seldom a longer way to take: the mess was in the drawing.STRAIGHT, a thousandth of a step a tile’s width off it, in the search’s key only), so the trips between two places wear one line.LOOK.from 3; Kim: a threshold where roads appear, heavy wear becomes roads, and the finer net of ways pawns use is not shown). The reason for a lane and not a path: one household alone makes some eleven crossings a day of the tile at its door (PATHS.trips: water 2, a stroll 1, three fields at 0.5, the wood 0.9, there and back), and a path is four a day, so every household drew its own and a village’s middle was a net of them; a lane is sixteen a day, a way several households share. Populous small seed 7 after a year: 1,160 trail segments drawn from a path, 234 from a lane. Trodden ground and paths are walked, counted, quicker and named on the tile’s card as before, and not drawn. A tile keeps to its two most worn neighbours (keeps), and at a meeting of three ways or more one main way runs through and the others join it at its middle.tests/hunger.js fails in verify on main too (3366b15), not from this task: “workers first: the worker is fed” expects a full ration from 1.2 of grain, and grain eaten uncooked gives 0.96 (ECON.rawGrain 1.25).tests/labour.js (another who goes may serve in a neighbouring village within SERVICE.reach, as the rule has it), tests/hay.js (natural deaths off: a holder who died in spring left a widow whose hay lay mown), tests/record.js (85 events), tests/golden.json.gen/paths greenWays, joins): the sides’ lanes are taken most worn first, each unless a side beside it is taken; a lane on a side not taken runs into the way beside it, its neighbour, one tile out. Pawns walk as before.layStreet; Kim chose side streets over a cap of three arms or the drawing alone): at most three arms leave the green, well apart; a fourth arm, or one that finds no such side free, is a side street off a tile of the street laid so far. Arms still number 2 from 4 farms and one more for every 6 over that. Villages with a blocked side change too, so most populous worlds are other worlds again.tests/offers.js seed 54 for 51 (its scene needs a bride who speaks for herself, about one seed in four), tests/causes.js seed 15 for 11 (the 60 by 40 island no longer holds the populous villages; the test only needs a seeded state), START_PEOPLE (populous tiny 135 to 155, small 324 to 358, medium 804 to 864, large 802 to 841; the nine showcase seeds still hold all three scenarios), tests/golden.json.main gave that number to the Customs tab meanwhile, so it is VB-402 since the merge of main (b5dbee6), which also brought the names’ own stream (VB-399 to VB-401). After the merge: npm test 120 scripts passed; tests/record.js (85 events, hash 39846e5b24b136a7), the golden file and START_PEOPLE re-recorded or checked (tests/start.js --people ok). npm run verify was last run before the merge of main: all passed but tests/hunger.js, which fails on main too (Flag above). Kim asked for the merge with no further runs, so verify was not run again on the merged tree.main (b5dbee6), populous small seed 7, trodden/path/lane tiles over land that can wear: worn in 299/156/19 on main, 555/234/42 here; after a year 325/220/42 and 808/358/80. The rise is mostly the fields and meadows, which wore nothing before and are counted now. Trail segments drawn after a year: 1,386 on main (every worn tile), 206 here (lanes).main 0.017, 0.026, 0.027, 0.024; here 0.021, 0.015, 0.028, 0.016. Every seed grows above 1% a year in both; hungry household-days 0.00 to 0.32% on main, 0.18 to 0.62% here, and one starvation death at seed 7. The worlds are other worlds (other villages and people), so this is not the same households compared; a description, not a target (Deciding without Kim, 1 and 2). No hunger band is out.main and 10 here, the same ten by name as far as the summary lists them. Moved by this change (residual on main, here): scaling.routeRefresh +0.498, +0.261; counters/routeSearch +0.103, +0.075; counters/routeExpand +0.497, +0.231 (routes are searched over fewer tiles with houses closed, and the cache holds); counters/routeRefresh +2.371, +2.792 (more tiles change stage now that fields wear, so more cached routes are looked at each day); scaling.takeInWeighed +0.85, +1.85 (not a counter this change touches: the scaling probe’s worlds changed with the layout). No target was raised or re-recorded.