tools/sim.jsStatus: done (2026-10-30) Priority: 2 Size: S Arch: work Phase: implement Design ref: Economy and jobs (Jobs, owners and roles: Matching); Systems overview (Work: jobs, matching, walking). Jobs review, 30 Oct 2026 (REVIEW.md, Work and jobs). Goal: Adults are idle for much of the working day: in populous medium, seed 7, year 1, farmers have no job for 35% of work hours in spring, 83% in summer, 56% in autumn and 69% in winter. Nothing says why: the pawn panel says “Resting” or “Strolling”. The work arch’s tasks need one way to see the reasons and to measure idleness before and after each change. Acceptance criteria:
explainIdle(st, pawnId) in sim/jobs, exported through Sim: for each open job the pawn may take (mayTake), its noise-free bid, or the reason it gets none: taken, not their work (role priority 0), poor fit, waits until HH:MM (priority 2 or less, waited under 2 hours), not worth the walk (bid at most 0 even with the largest noise, 0.3). Sorted by bid, best first. It draws no random numbers and writes nothing to st.node tools/sim.js --report idle prints, for the years run: the share of work hours (7–17, or 6–18 once VB-105 is done) each role spends working, walking to a job, carrying home and idle, per season; the idle hours of adults split by reason (no job they may take, or each reason above); the median and 90th-percentile wait from posting to claim per job kind; the mean number of unclaimed jobs per kind at the end of the work day. --json gives the same as JSON.npm run verify passes and tests/golden.json is unchanged, apart from the API-key hash for the new Sim export (name it in the PR).tests/tools.js: the idle report runs for 10 days of founders at seed 7 and its shares per role and season sum to 100%.