command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/cli/tests/session-clear.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/cN0vtH
begin: {"utc": "2026-10-24T20:21:04.454+00:00", "load1": "6.35"}
launch nice: 19
usage: {"event":"usage-unknown","business":"acme","run":"re1e8c9f041be","instance":"assistant","turn":"c270432c-f982-4347-9b6c-54335b8161be","source":"@none","code":"baseline-unknown"}
usage: {"event":"usage-unknown","business":"acme","run":"rc7a6c25f02b6","instance":"assistant","turn":"9a735d7d-0596-41c2-b9f5-fbc14693cb52","source":"@none","code":"baseline-unknown"}
✔ REQ-THREAD-2 T4 D7 D8 N6: a clear of a running session stops its drained run once, retires it on the run's end, and starts the successor fresh in its own namespace (921.816268ms)
usage: {"event":"usage-unknown","business":"acme","run":"r996eba17ff51","instance":"assistant","turn":"cdb1b983-4baa-46ac-9a53-c0b39ce43983","source":"@none","code":"baseline-unknown"}
✔ REQ-THREAD-2 T4 D8: a successor start refused capacity-full is held, reported and logged once, and starts when capacity frees (4660.861219ms)
✔ REQ-THREAD-2 T4 D7 Q2: after a restart, a live survivor of the cleared run holds the clear at drained with no signal, and its exit lets it retire (505.132207ms)
usage: {"event":"usage-unknown","business":"acme","run":"rae73432d26b0","instance":"assistant","turn":"57cc8186-9786-466b-8fdf-d9e57254ddbc","source":"@none","code":"baseline-unknown"}
✔ REQ-THREAD-2 T4 D7: a drained run that outlives the stop timeout makes the clear uncertain once, with one signal, and it retires on the run's end (1776.508054ms)
usage: {"event":"usage-unknown","business":"acme","run":"r8191b93c3cbc","instance":"assistant","turn":"8b157362-9df2-48dd-af2d-2c0103d2b1dd","source":"@none","code":"baseline-unknown"}
✔ REQ-THREAD-2 T4 T6: a bus unavailable at the exit proof and then at retirement holds the clear with no retirement, successor or launch, and it resumes when the bus is back (3055.175983ms)
ℹ tests 5
ℹ suites 0
ℹ pass 5
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 11062.75705
