Status: done (2026-11-27) Priority: 2 Size: M Arch: plans Phase: implement Design ref: design.md section 7, The levy and own hours (Own hours, booked; Sovereignty); docs/plans/four-scales/README.md, 3.3 (Own hours; Sovereignty, the measure) and section 4 (the path’s acceptance test: the six parts sum to H) Touches: sim/levies (book, tally, fold); sim/legs (unleg, walked); sim/work; sim/pastimes (of); tests/lib/invariants.js; tests/levies.js Goal: Whose every working hour of a pawn was is known exactly and cheaply, for the strip, the measure and the judgements that read the tally Acceptance criteria:
helper) and a day hired out by the head, owed, out of the levy left today; the household’s or the village’s work opened by the head, levied up to the levy left and demanded past it; the same of the pawn’s own accord, levied up to the levy left and given past it; a pastime, courting, a visit, rest, leave, a self-hire and any working hour in no leg, kept; levy hours kept by a breach, taken; the head pair’s household work given. A leg across the levy left is booked in two parts. The leg carries who opened it (head or pawn). The night is the pawn’s own and unbooked.tests/lib/invariants.js): for every pawn-day the six parts sum to H (12 times its hands); checked on a tiny constructed household in the test; once, for the PR, over populous small seed 7, 1 year.Sim.hours(st, pawn, from, until) needs for the strip’s six days behind (say what is kept and why).1 - levy / H; as lived (demanded + given + kept) / H, beside taken) through Sim.hours; no rule reads it as a switch.node tools/same.js --base REF differs only in the new fields (the tally, the six days behind), listed; npm run verify passes.
Notes:legOver (sim/legs, unleg and dueLegs; sim/levies may not be looked up from the earlier sim/legs): from the last booking to the leg’s start kept (in no leg), the leg’s span by its by, clipped to 06:00 to 18:00, times the hands fixed at the day’s first booking. A walk or work leg of a household’s or village’s task carries by: ‘owed’ by basis (owed, helper), else ‘head’ when the planner’s command opened it (the head’s allotment, call, duty) and ‘pawn’ for its own or the player’s (agent.opener; restamped once the basis is set). Until VB-1762, the list past the levy is taken through the planner, so it books demanded, not given.