Status: done (2026-11-23)
Priority: 2
Size: M
Design ref: design.md section 7, Own time; section 4, Where pawns meet; docs/review-agency.md, section 4; docs/architecture/target-v2.md section 4.5, Agency below the head
Goal: A pawn with no task strolls and waits (sim/jobs idleAbout, sim/relations companyFor): a fifth to two thirds of working hours by role and season, read on the card as “Strolling” or “Resting”. Build design.md’s row Own time: a new module sim/pastimes (Social layer; listed after what it reads) owns a table of pastimes, each saying who may choose it, where it is spent, with whom, what weighs for it and its words for the card; the first table is the row’s (company, a visit, the green, the fire, play, by the herd). idleAbout moves out of sim/jobs into it and becomes the choice among them: a weighted draw from the stream talk, by sociability, ties and liking, and the walk. A pastime is a walk and a wait: it lasts as the idle wait did, is cut as any leg is, makes and uses no good, and its only effects are those of the encounter it puts the pawn in (sim/encounters); it reads no plan, no store and no mood. It is chosen through a verb pastime (sim/commands), which the played pawn has in its Actions under Myself. Nothing teleports: a visit is walked.
Acceptance criteria:
sim/pastimes with an @sys header, its place in src/manifest.json, its owner line in src/owners.json for the state it writes (the pawn’s pastime, plain data, @state, saved: tests/saves.js and tests/plaindata.js pass) and its entry in docs/architecture/modules.md; idleAbout is gone from sim/jobs (a move and a change in separate commits).tests/suites.js: a child of 7 to 13 plays, a herder stays by its herd, a pawn with a friend at home on another farm of its village may visit and walks there, the fire weighs more in winter and for the old.pastime checks what holds for any pawn (free, of an age, the place in reach) and returns why not; the planner’s choice and the played pawn’s pass the same check (tests/commands.js passes); the played pawn’s Actions list the pastimes open to it.describe says the pastime and with whom (“Visiting Karin at Norrgård”).idleStroll, companyWeighed; a new loop has its counter in VB.COUNTERS); node tests/counters.js reported before and after, an intended change recorded with --update.--report idle), hungry household-days, marriages and births, friends and close friends as shares of relations (--report relations). Whether households were better off is said in a line.npm run format, npm run verify and node tests/smoke.js pass.Notes (VB-1552):
sim/pastimes (Social) reads sim/relations (companyFor, opinionOf), sim/encounters (atHome), sim/ties, sim/traits, sim/records, sim/pose; writes agent.pastime only, through the verb pastime, which walks and waits by the verbs walkTo, goHome and idle. sim/clock calls ownTime; Sim.describe and sim/reasons (by self) read of/line. sim/jobs fell from 644 to 605 lines; sim/agents is untouched (707, VB-1487).agent.pastime: of says whether it still runs, from the pawn’s own state (its wait, no task, no occasion, the day), as the latest talk is kept. So the head’s call, a task and the night cut it with no new call from Work into Social.pawn.bands); the fire is indoors in winter and for the old and the weak, the yard else; children under 14 play or stay home.tests/commons.js, tests/hay.js, tests/meadows.js; probe and tiny scenes, their seeds); the green at 1 or play at 2, in four neighbouring settings, all pass. Set: 2, 1, 1, 2. The more own time is spent away from the farm, the later such work begins: for the tuning run. The wait is drawn on work as it was; the choice and the spot on talk.tests/head.js asks a raised hay target for three winters at the peak and two at winter (the target is reckoned while mowing; tuning row); the invariant of a cart left standing allows one being led home (it failed on the run’s branch too, founders seed 7, hour 994.4). tests/relations.js allows a tie to one who died to be dropped.