Status: done (2026-11-13)
Priority: 3
Size: M
Arch: year
Phase: implement
Design ref: Economy and jobs (Jobs, owners and roles: Village work days, Commons). Job review, second pass, 30 Oct 2026.
Goal: The village never works together except on a plot. Medieval villages set days for common work: closing the infield’s roundpole fence before the animals went out (Upplandslagen), clearing the commons. A work day is a scene worth watching and a test of who turns up.
Acceptance criteria (Kim’s answers of 10 November; QUESTION_ARCHIVE.md, “VB-120”):
sim/society).SOCIAL.memories; the numbers are the agent’s starting values). No tie is made for it, and the pass is over a village’s holders on two days a year (holders × the absent, within the ties’ cap).docs/roadmap.md, section 3.3; the slices Decided by Kim): moved to slice 3, arch year (from work). blocked until the slice’s plan (VB-164) confirms, rewrites or closes it; its questions in QUESTIONS.md wait for that plan, which may reframe them.QUESTIONS.md (VB-120).sim/workdays (social layer, after sim/green): the routine workdays of
VILLAGE_ROUTINES (sim/plans; available while the village has a fence; need its occupied farms, as the green), which only a meeting
sets (meeting: true: the founders’ first routines hold none, so the first work days are those of year 2, after the first autumn
meeting). Its rule (ASK.village) posts, on a work day until the end of work, workfence jobs for the stretches below
WORKDAY.fenceBelow (0.9; 2.5 h each, as a mend; done, the stretch is whole) on spring day 1, and one workclear job on summer day 2 at
the commons wood’s edge (a tile of v.wood beside open land, nearest the green; WORKDAY.clearHours 3 an adult of the village). The
village’s plan is reviewed at 5:00 of a work day (reviewWhy, ‘window’), so the jobs stand from 6:00. Both kinds are of a new work type
workday, 8 for every role but the child (ROLES), from age 14 (minAge), hands: Infinity and together (a new kind flag: the
matching’s join factor does not fall for the hands already at the job, sim/jobs). Each step worked adds to the village’s record of
the day (village.workday.hoursOf, through the kind’s worked, now passed dt and the pawn by sim/agents). At 18:00 of a work day
(a new sim/clock entry, after everyone goes home) the day is judged: an adult with 2 h or more gains WORKDAY.came 0.05 for the year,
a household none of whose adults worked their share is away, its holder WORKDAY.missed -0.1 for the year (both as pawn.workdays,
read by prestigeParts while the year lasts; sim/society refreshes them at once on the event workDay); each other holder of the
village with a tie to the absent holder remembers stayedAway (-0.05, cap -0.15, a year; no tie made); the village’s log tells the
day, how many of its adults turned out and the holders whose households stayed away (kind workday, routine: folded after 2 years);
the day’s jobs left free are taken down.together: the join factor (VB-102) spreads hands over jobs; a work day is meant to be worked by all
at once, so its kinds are exempt. (5) A day with no work (a whole fence, no wood) is not called and nobody is judged.tests/workdays.js (integration; tiny map, one village of four farms): the role priorities; the founders hold no work days
and a meeting may choose them; on year 2’s spring day 1 each worn stretch is a village job at 6:06, taken up, the fence whole by the end;
the day’s jobs taken down; the log names the household that stayed away (a lone holder played with the automatic behaviour off); each
adult’s standing and each household’s away-mark match the hours; the tied holder remembers, the untied one does not and no tie is made;
the standing is gone the year after; summer day 2’s clearing at the wood’s edge with 3 h an adult; a save keeps the record; invariants
(tests/lib/invariants.js: the record’s day, kind and hours; a pawn’s counts). tests/routines.js now expects the meeting to choose
the work days with the fence; tests/trust.js picks a wife who is not out with a herd (the test marries by day; the run’s draws moved).827c5ca -> after): living 868 -> 871, households 178 -> 185, hungry household-days
32 -> 11. Villages’ mean fence condition on spring day 1 at 19:00: year 2 0.831 -> 0.987, year 3 0.815 -> 0.964 (yearly mean 0.818 ->
0.831, 0.819 -> 0.828). Work days (after; none before): year 2 fence 19 villages, 173 of 421 adults, 51 households away; commons 18
villages, 226 of 386, 10 away; year 3 fence 17 villages, 115 of 368, 69 away; commons 18 villages, 236 of 394, 11 away. Adults’ idle
share of work hours: spring 41.2% -> 40.5%, summer 38.2% -> 37.0% (autumn 30.2 -> 29.8, winter 67.0 -> 66.0). On spring day 1 the plough
(farmer 10, son 9) outranks the fence at 8, so most farmers stay at it and a third of households are away: reported as a row of
docs/tuning.md, not tuned. Counters (tests/counters.js): oppAsk 13.72 -> 13.79 a pawn-day (the village’s one more rule), the
same seven counters and four scaling ratios out as before; new counter workdayHolders (holders weighed by an absent household, twice
a year). No page change: no screenshot.