OPEN DESIGN · DAEMON TEST EVIDENCE
Natural exit vs. forced shutdown
Pi RPC public Run close · recorded 25 October 2026
macOS arm64 · Node 24.19.0 · pnpm 10.33.2 · retry = 0
Same fixture on both sides: emits
Only the test's shutdown deadline selection differs. Production code and assertions are unchanged.
agent_end, then exits 143 after 80 ms.Only the test's shutdown deadline selection differs. Production code and assertions are unchanged.
BEFORE · unconditional 10 ms
4 pass / 1 fail
Five-case file · 13.19 seconds
Natural-exit host grace10 msExpected Run statusfailedObserved Run statussucceeded
FAIL nonzero → failed AssertionError: expected 'succeeded' to be 'failed'
AFTER · production grace for natural exit
5 pass / 0 fail
Same five-case file · 13.02 seconds
Natural-exit host grace5000 ms (default)Observed Run statusfailedExit code / signal143 / null
Test Files 1 passed (1)
Tests 5 passed (5)
Other modes retain the 10 ms deadline.✓ Related tests: 64 passed✓ Close cases: 3 fixed runs passed✓ guard + root typecheck
Scope: rendered evidence page, not a product UI or native-terminal capture. Before is upstream plus the explicit 80 ms fixture delay. Local tests do not claim hosted CI or native Windows/Linux validation.
Base: 9724c4414 · Test fix: ffd7ca711 · Raw excerpts and structured results accompany this image.
Base: 9724c4414 · Test fix: ffd7ca711 · Raw excerpts and structured results accompany this image.