Status: done (2026-11-12) Priority: 3 Size: S Design ref: Naming of farms; backlog/VB-399.md Goal: founderName and its five endings go; founder and mother are generators of villageName, chosen at random by weight. Acceptance criteria:
villageName with ctx = {w, site, founder, mother}, as a seeded one is (VB-399); founderName and its five endings are gone from src/sim/names.js and src/sim/settle.js.founder: the founder’s given name with an ending of the colonisation layer that fits the site, the endings in a random order by weight: -torp and -böle anywhere, -ryd in wood, -boda on open land, -säter and -mark 12 steps or more from the mother village, -vik, -näs and -ö by the shore as an old village has them. A man’s name in the genitive (an s unless it ends in s, x or z), a woman’s bare (Kim: female founders too; the medieval form, as Gunnilbo).mother: the by to the north, south, west or east of the mother village (Norrby, Sörby, Väsby, Ösby), then Nyby, the little one of the mother’s name (Lillvalby), Nytorp, Nyböle, Utby.VILLAGE.prefs, founder 3 and mother 1; the site’s names come last, when both are taken. An old village (no founder, no mother) draws nothing for the order, so VB-399’s names stand.st.rng. Tests: tests/names.js (a man’s, a woman’s and a name in s; the mother’s; 3 in 4 by the founder over 400 streams; the site when the others are taken), tests/settle.js (the founded village bears one of the offered names).VILLAGE (src/sim/names.js); no balance depends on them. -hult went (Småland’s, not the archipelago’s); -böle came (Uppland’s and Åland’s).namePrefs holds the farms’ order only).tests/golden.json unchanged (no village is founded in its runs). No number, target or household moves: the simulation reads no name, and the naming draws from no stream of st.rng (the old one drew from st.rng.settle only when a founder’s five names were all taken).