sim/agentsStatus: done
Priority: 2
Size: S
Arch: ownership
Phase: implement
Design ref: none (code structure). VB-172’s map, sections 5.6 and 7.3; Kim’s answer 1 of 3 November (QUESTION_ARCHIVE.md, “VB-172: the ownership map”).
Goal: sim/agents writes 21 of the 26 sites of a pawn’s movement; four other modules write past it. A talk stops an idle pawn by setting its path, animation and idle time directly (relations.js:162), past the idle verb; the dawn places pawns indoors by their door (clock.js:37); a death stops the pawn (lifecycle.js:28); and the verbs goHome and idle set fields themselves (commands.js:40, 45). A pawn the player holds (VB-169) should change only by its commands and the rules every pawn has, through one module.
Acceptance criteria:
sim/agents for each: a pawn halted for a talk until a time, placed by its door, stilled at death; the verbs call agents’ functions.node tools/writes.js --field agent.path (and phase, anim, inside, idleUntil, x, y) lists only sim/agents, apart from seeding and the save codec.BACKLOG.md: behaviour unchanged, tests/golden.json unchanged, npm run verify passes.
Notes:docs/roadmap.md places this task in slice 2 (a life), before VB-169.Implementation review (6 November 2026):
sim/agents. No new module, saved state, random draw or growing loop.haltForTalk is a command so the earlier relations module reaches movement through the established
deferred issue boundary. It preserves the original guard and Math.max deadline. Dawn’s placeByDoor
deliberately moves only coordinates, unlike placeAtHome, which resets activity.stillAtDeath preserves release-before-stop order; goHome sets its own phase; idle sets its deadline.npm run verify passed all 81 scripts (Node 24.22.1, system Chromium,
VB_TEST_JOBS=2 VB_SOFTWARE_RENDER=1 VB_CHROMIUM=/usr/bin/chromium); golden states and work counters unchanged.
python3 build.py --check, lint, owner audit and git diff --check pass. All four published fixtures
were exercised, using their compatible stale-golden-hash saves as allowed by the fixture loader.
The initial sandbox-only run could not launch some child processes; the successful rerun had the
required process/network access.