Status: done (2026-11-12) Priority: 2 Size: M Arch: year Phase: implement Design ref: Work: opportunities, plans and tasks (design.md, section 7); docs/review-work.md, section 2 (The village) Goal: The village’s only work today is the fence’s stretches and plots, and the meeting sets nothing about work. The design has the meeting set the village’s routines afresh each year from the village work available, and a practice say what follows when it does not decide. Acceptance criteria:
villager basis; a routine not chosen posts nothing that year.nothing (the default: no village work that year) or asLastYear. Each culture of the generated worlds holds nothing; a test forces each.npm run verify’s hard checks pass, its targets reported with their residuals.
Cost: one decision per village a year.
Notes:QUESTION_ARCHIVE.md, “VB-164: the household’s year”): written. Edits src/sim/jobs.js and its neighbours, so the slice’s tasks run one at a time, and not beside VB-227, VB-241 or VB-247.sim/plans holds VILLAGE_ROUTINES (the fence, kinds mend; need = the stretches’ wear),
MAX_ROUTINES 4, rankRoutines/chooseRoutines, routinesWhy and the one writer setRoutines; a village’s plan holds routines,
routinesBy (‘founded’ | ‘meeting’ | ‘nothing’ | ‘asLastYear’) and routinesYear. sim/jobs asks at a village’s review only the kinds
of its routines (routineAsks). The meeting’s verb routines (sim/commands, source ‘meeting’) sets them; sim/lifecycle’s
routinesMeeting, in the meetings’ stage 2 after each settlement’s customs, counts the voices on the green (the meeting’s occasion,
o.come still standing there) against those with a voice: under half is no quorum; a tie at the fourth place is a tie. Failing, the
culture’s practice noDecision (culture.js PRACTICES, declared with the customs, held as culture.practices, copied on a split,
filled on the load of an older save) gives nothing or asLastYear, and the failure is logged as meetingFailed (kept for good,
notable as meeting, in the village’s history under “Customs and meetings”). Invariants: a village’s routines (known, once, at most
four, nothing empty), each culture’s practices among their options. Test: tests/routines.js (npm test).npm test passes (111 scripts; 4 targets out: scaling.routeRefresh, scaling.roundPairs, scaling.takeInWeighed,
counters/oppAsk; oppAsk is as on main, checked; the change adds no loop to them). tests/saves.js, tests/plaindata.js,
tests/invariants.js pass. npm run verify not run (the orchestrator runs it on the merged wave), so the last criterion stays open.
Golden: every founders and heirs entry (seed and years 1 to 3, seeds 7 and 42; 16 entries) differs in cenv only, by one line,
cenv.cultures[0].practices.noDecision: (absent) → "nothing": the state’s shape; every meeting in the golden runs decides and the run is
as today. Not re-recorded here (VB-136 re-records beside it).
Populous small, 30 years (failed meetings / village-meetings held; living at year 30): seed 3: 2 / 519 (Karinsryd, years 18 and 19:
its one voice away), 562; seed 7: 0 / 502, 583; seed 11: 2 / 549 (Arvidsboda year 19: both its voices had set out for a funeral ale in
another village; Nilstorp year 22), 578; seed 42: 0 / 384, 613. Every failed meeting was in a village founded in play, which has no
fence (the lone farms and settled villages have none), so the practice took away no fence work: no stretch fell below 0.45 at a year’s
end in any run, and no crop was lost. There is no cattle breach on this branch: VB-136 brings it, so the crops lost to it are to be
measured after both merge.routinesBy ‘founded’): the work it has.need (the fence: the summed wear of its stretches), a stand-in for the
voices’ support until VB-313’s Decisions; a tie is equal need across the fourth place, so with the fence alone there is no tie.practices.noDecision, a rule held by the culture (as its farm-name preference), not a fifteenth custom:
it does not drift, is not voted and does not change the attitudes’ draws; slice 5 may make it a custom.meeting (“Village meetings that did not decide”), shown in the notices list; the village’s
history tab “Customs” is renamed “Customs and meetings”. No screenshot: tools/shot.js shows the map only, which does not change.node tests/golden.js --dump before and after on the merged tree, the 16 state entries differ only in cenv.cultures[0].practices.noDecision (absent, now “nothing”); the households and farms reports of founders 7 and heirs 42 small over 4 years and populous 11 tiny over 5 are byte for byte the same. Crops lost in a failed meeting’s year are to be measured once VB-136 (cattle in the crop) is merged; npm run verify is run on the merged wave.