VB-1762: Own hours given by the pawn’s judgement: no rule fills a pawn’s hours
Status: done (2026-11-27)
Priority: 2
Size: M
Arch: plans
Phase: implement
Design ref: design.md section 7, The levy and own hours (What own hours are for); Work beats idling (Replaced); Own time; docs/plans/four-scales/README.md, 3.3 (Own hours), section 4 Q8 and Q9, section 6 answer 6
Touches: sim/levies (give); sim/pastimes (ownTime, options); sim/jobs (lookForWork); sim/fit (jobsFor, explainIdle); tests/pastimes.js; tests/levies.js
Goal: What a pawn does beyond its levy is its own choice, and households still eat
Acceptance criteria:
Beyond its levy, and with the levy hours the day left it (the head’s demand of VB-1779 standing), a pawn’s hours are its own: when its levied work ends it weighs, by The member’s judgement (design.md: J > 0, GIVE, one leg at a time from its list past the levy, judged again at each leg’s end), giving them to its household’s or village’s open work against a pastime, courting or rest; no rule of the simulation fills its hours (lookForWork’s Work beats idling removed; explainIdle names the choice).
Hours given are booked given; a check on a constructed household: of two sons alike but in diligence, the diligent one gives at least three times the hours of the idle one over a season.
Q8: households’ hours of work fall by at most 8%, windows missed and hungry household-days rise by at most 15%, one-adult households unchanged (populous small, seeds 7, 11 and 42, 3 years); a shortfall is recorded in docs/tuning.md for Kim’s measurement (the mechanism stands: Kim decided it). Q9: the third of levied members highest in diligence give at least three times the hours of the lowest third.
Cost: 1,000 pawns × about one judgement a day, a few reads each (under 1 ms a game day).
The gate (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.
Reported in the PR from the same output, not gated: hungry household-days and deaths by hunger in the six runs, before and after, and the work counters (node tests/counters.js, --update with the entries listed); the result kept (--out) as the next task’s base.
Notes:
25 Nov 2026: Path step 6, the largest change to behaviour in the design (3.3). A failed gate is mended inside the mechanism: the judgement’s starting values may be set so that no village dies out (AGENTS.md: a measured defect may adjust a named bound), recorded in docs/tuning.md with before and after; Work beats idling is not restored.
25 Nov 2026, after the review of the arch’s tasks: rewritten to its findings (the review’s IDs and outcomes are in the arch’s summary).
25 Nov 2026, VB-1759 (design.md, The levy and own hours): criterion 1 names the judgement, GIVE and its starting values in design.md, The member’s judgement; the floor from VB-1760’s bracket comes as a tuning note.
27 Nov 2026, VB-1858’s bracket (six gate runs, no own hours given): the gate holds at zero giving, so no value of GIVE can fail it; hungry household-days rise ×2 to ×5 in populous (112→587, 129→257, 220→852), so this task’s +15% bound is the real floor: giving must restore nearly all of today’s own hours worked. Q8 measured: 11.5% of levied hours lie beyond the levy spring to autumn, 14.9% in winter (predicted under 5%).
27 Nov 2026, VB-1762 built: a levied member takes the head’s tasks of its list while its levy has room; past it, or with only entries past the levy left (fit < 0), it judges one leg of the first with room (sim/levies gives, J > 0), opened by the pawn (booked levied up to the levy left, the rest given), and else goes to its own time; lookForWork skips a member with no levy left; explainIdle marks a job its judgement gives nothing to “its own hours: it gives none”. The head pair are unchanged (their plan), so one-adult households are too. tests/levies.js 12: the diligent son 8 hours of his own accord against 0 over a season (little work in the tiny world).
Q8 (populous small, seeds 7, 11, 42, 3 years, scratch probe, before at night-base a536186c): household work hours a day 29.80/28.66/29.71 to 28.31/28.14/29.09 (-3.0%); hungry household-days 11/82/90 to 11/17/82 (183 to 110); windows missed 39/41/70 to 46/38/80 (+9.3% over the three; seed 7 +18%, over the bound: a tuning note); one-adult households’ work 10.1/10.5/10.5 to 9.8/11.6/10.9 hours a day, hungry 6/18/0 to 10/0/2 (their numbers drift with the populations). Q9: own-accord hours a levied day, the most diligent third 1.86 to 1.88, the least 0.23 to 0.36 (5 to 8 times); booked given 0.07 to 0.11 against 0.003 to 0.012.
Cost: giveJudged 30-34k to 34-40k over 144 days (about 0.7 judgements a pawn a day at about 355 pawns), giveLeg 6.8k to 9.5k; a judgement reads traits, opinion, goodwill and today’s hours. Time left to the nightly bench.
Gate (10 years) holds; hungry household-days populous 83/140/139 to 192/119/173 (+34% over the three), founders 0/4/0 to 0/5/0, no death by hunger: a tuning note. Kept as docs/gate/base.json.