Status: done (2026-11-27) Priority: 2 Size: M Arch: plans Phase: implement Design ref: design.md section 9, Outer levies (Who names the day, Lots); section 7, Village routines, Village work days; docs/plans/four-scales/README.md, 3.3 (Lots), section 4 Q11, section 6 answers 7 and 9; docs/plans/four-scales/as-built-notes.md (what the code does until this lands: Village routines, Village work days) Touches: sim/routines (routineAsks, setRoutines, villageSteps, chooseRoutines); sim/workdays (WORKDAY, dayOf, wanted, judge, households); sim/customs; sim/levies; tests/routines.js; tests/workdays.js Goal: A village’s work is a levy each household bears by its village’s custom, and the small are not crushed by dates fixed for them Acceptance criteria:
days, source routine, enforcer the village, a household and a season window, sized by it: at each season’s turn the routine’s days are the hours left of its season’s tasks by the alderman’s estimate over OUTER.hours, rounded up, split into whole adult-days by the largest remainder (ties in turn by household id against the year), at most OUTER.lotMax (3) a household a season, the rest to the others or left to the next season and to hands given; terms: the levied names, substitute, no commute, lapse at the season’s end; days left when the work is done are released (design.md, Outer levies, The terms, the ladder and the breach: Lots).callWorkday at least three days ahead (the custom’s day by default); its households’ days are named by that date (terms together: a lot of two days is two adults that day; no other day, no commuting). Other routines’ days are named by the households (VB-1767).custom, the meeting’s decision their why), and each levied day’s why points to its routine, so Sim.why reaches the meeting.pawn.workdays.missed) is replaced, or kept as the record of it, said in a line; a routine’s work left at its window’s end is named at the next meeting as a neglected stretch is, and weighs in its choice of routines.docs/plans/four-scales/README.md, 3.10), by one command: npm run verify green (a test that asserted the old behaviour updated on purpose, never skipped or quarantined, and named in the PR), and node tools/gate.js --base <the last recorded result> passing (VB-1774): no settlement extinct by hunger or collapsed (VB-1774’s bound), no more tasks held over 48 hours than the base, the stocks’ unexplained no larger.node tests/counters.js, --update with the entries listed); the result kept (--out) as the next task’s base.
Notes:OUTER.lotMax, together, the work left named at the meeting).PRACTICES.lots, base fields, malleability 0.4), not a custom dimension: a new dimension would change every culture’s vector and drift; the meeting arguing it is not built. Lots are laid in sim/levies (split, seasonLots, listeners of routinesReviewed and workdayCalled), since sim/routines and sim/workdays may not look up sim/levies or sim/estimate (tests/dependencies.js); callWorkday moved to sim/routines (sim/workdays is social, sim/days agency).WORKDAY.missed is gone, a household levied for the day that stays away breaches (goodwill to the alderman); pawn.workdays.missed stays as its record. Households with no lot are not away.plan.routineLeft, told at the next meeting and added to the routine’s need there.workLeft.const Ob = Obligations in sim/levies read the namespace whole, so step (read by the clock registry alone) was counted; the alias is gone, the module stays at 15 counted, and no split is needed (the follow-up split task withdrawn).plan.routineLeft.days under the same setting guard as the meeting (F2); Steps.setRoutines keeps the step of a routine set again, its why the new decision, and releaseDone releases the lots of a routine whose step is gone (F3); the exports missedDay, agentOf (sim/levies) and customDays (sim/routines) no longer exported (F7). Not done: F4 (tests/lib/invariants.js re-formatted whole), F5, F6, F8 (advisory).