Status: done (2026-11-11)
Priority: 3
Size: S
Design ref: none (a tunable). Kim, 10 Nov 2026 (code review).
Goal: idleAbout (src/sim/jobs.js) sends an idle pawn to someone it likes, the green or its yard, and has it look again after 0.75 to 2 hours. At medium-ref that is about 5,460 strolls a game day and 40 ms of the day’s 204, a fifth of the budget, with about 650 of 1,031 living idle outdoors at each hour’s count. Kim decided on 10 November that an idle pawn waits 2 to 4 hours.
Acceptance criteria:
idleAbout has the pawn look again after IDLE.wait[0] + rnd * (IDLE.wait[1] - IDLE.wait[0]) hours, with IDLE.wait = [2, 4] in sim/rules.js (0.75 to 2 today, written in jobs.js:195). A pawn still takes work the moment the hourly refresh offers it one it bids for: say in the PR how an idle pawn hears of new work during its wait (awake in sim/agents wakes those whose pause ends by the hour’s end), and that no job waits longer for hands than before (hours from a job’s posting to its first hand, median and 90th centile, before and after).node tools/bench.js at medium-y5 and medium-ref (ms a day, “agents: idle strolls”, “talk and contacts”, the longest step); strolls and companies weighed a day (idleStroll, companyWeighed); talks a day, since those out strolling meet; populous and founders, small map, seeds 3, 7, 11, 42, 15 years: living, households, hunger deaths, grain per household at the lowest decile; node tools/bands.js every band as before.tools/shot.js), with a sentence on whether it still looks lived in.tests/golden.json and tests/counters.json re-recorded, the changed entries listed. npm run verify’s hard checks pass, its targets reported with their residuals. (Golden and counters re-recorded at the merge, 29fae34; verify’s targets for this task go to VB-324.)
Notes:fb35e75 on the published medium-ref (1,026 living), 24 days from the save: 5,462 strolls and 9,998 companies weighed a game day; “agents: idle strolls” 39.8 ms of 203.8 ms a day (tools/bench.js); about 650 of 1,031 living idle outdoors at each hour’s count. Which season those 24 days fall in was not checked.companyFor takes a Math.pow a candidate through tieOf where talkHour takes the pawn’s scale once; VB-240 mends that.sim/jobs.js.Implementation notes (night run):
IDLE = { wait: [2, 4] } in sim/rules.js (exported); idleAbout reads it. How an idle pawn hears of work: awake lists a pawn in working hours if its pause ends by the hour’s end, so
a new job is offered to it when its wait ends; the hourly refresh and lookUp still reach those walking or working. A pawn asked to an occasion is not affected: visit (sim/occasions) issues
attend to any pawn with canGo (no job, phase null or home), which does not read idleUntil, and attend wakes it; so a waiting pawn is still asked.Validation (partial; the night’s machine was shared, so medium-ref, bench and bands were not run; no medium fixture was made):
--report counts: idleStroll 80,210 to 44,350 (1,671 to 924 a day), companyWeighed 147,480 to 77,424 (3,073 to 1,613 a day); talkWeighed 159,341 to 156,979.docs/img/vb245-{summer,winter}-{before,after}-close1.jpg. Pawns are a few pixels at this
zoom; the village looks as lived in before and after (fewer walkers on the green is not visible at this scale).tests/golden.json entries run past year 0 with idle pawns, tests/counters.json idleStroll and companyWeighed (down about 45 %), and the anchor hash in tests/record.js.Orchestrator’s decisions for Kim to overturn:
IDLE is a new constant in sim/rules.js (not a field of SOCIAL), as the task’s criterion names it.Closed at the backlog’s curation (11 Nov 2026): merged on 11 Nov (29fae34, golden and counters re-recorded there); left ready by mistake.
Not run: tools/bench.js at medium-y5 and medium-ref, tools/bands.js, seeds 11 and 42 at 15 years; VB-324 runs them.