✔ REQ-LIMIT-1: family substring matching is no longer exported (0.993829ms) ✔ sessionEnv passes only the allowlist, the repo's bin on PATH, and the run id (0.643651ms) ✔ sessionExit gives a runner's signal death back as the signal; a session credential is one whole set of nonempty variables (0.22563ms) ✔ newRun: short ids, 0700 directories, and a refusal when the socket path won't fit (1.390202ms) ✔ session file and launch log: 0600, the session file written once (0.890354ms) ✔ endReason maps the runner's exit codes; a signal is killed (0.110674ms) ✔ Registry mirrors to sessions.json; readSessions marks live entries; bad files refuse (1.151527ms) ✖ a read-only Registry never writes sessions.json, refuses add() and leaves the file on remove() (1.357741ms) ✔ REQ-THREAD-1 Registry.running keys a thread run by business, instance and thread (0.526184ms) ✔ REQ-THREAD-2 REQ-LAUNCH-1 threadStore checks both segments before the join and refuses an unsafe directory (1.243195ms) ✔ stopSession refuses an unknown run, reports a stale one, and won't signal a pid that isn't a runner (0.781332ms) ✔ a session runs in its sandbox as pid 1 of its namespace, claims, answers, and stops on mosaic stop (192.679392ms) ℹ tests 12 ℹ suites 0 ℹ pass 11 ℹ fail 1 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 266.973886 ✖ failing tests: test at packages/seat/tests/session.test.mjs:137:1 ✖ a read-only Registry never writes sessions.json, refuses add() and leaves the file on remove() (1.357741ms) AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + '{\n "sessionsVersion": 1,\n "sessions": []\n}\n' - '{\n' + - ' "sessionsVersion": 1,\n' + - ' "sessions": [\n' + - ' {\n' + - ' "business": "acme",\n' + - ' "instance": "chief",\n' + - ' "run": "r1",\n' + - ' "runnerPid": 3551219,\n' + - ' "runnerStartTime": "61011768"\n' + - ' }\n' + - ' ]\n' + - '}\n' at TestContext. (file:///mnt/storage/scratch/sage-b163/packages/seat/tests/session.test.mjs:142:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1402:25) at Test.processPendingSubtests (node:internal/test_runner/test:974:18) at Test.postRun (node:internal/test_runner/test:1542:19) at Test.run (node:internal/test_runner/test:1467:12) at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: '{\n "sessionsVersion": 1,\n "sessions": []\n}\n', expected: '{\n "sessionsVersion": 1,\n "sessions": [\n {\n "business": "acme",\n "instance": "chief",\n "run": "r1",\n "runnerPid": 3551219,\n "runnerStartTime": "61011768"\n }\n ]\n}\n', operator: 'strictEqual', diff: 'simple' }