Outcall
SpecificationsS005 · Agent Shim

Edge cases

S005 Edge Cases

IDScenarioExpected Behavior
S005-EC-001Agent socket absent at startupExit 5 before check-in or child spawn.
S005-EC-002Agent socket disappears mid-actionHeartbeat or API call fails; active child is killed and reaped; exit 5.
S005-EC-003Daemon stalls during a checkTimeout expires; no child starts; exit 5.
S005-EC-004Timeout environment is malformed, zero, or over 300Configuration is rejected; exit 5 rather than silently using a default.
S005-EC-005API response is malformed or exceeds 64 KiBTreat daemon channel as untrustworthy; do not execute; exit 5.
S005-EC-006Several shim processes run concurrentlyEach checks in and receives its own session; daemon per-container rate limits still apply.
S005-EC-007Check-in peer cannot be mapped to a managed containerDaemon returns 403; shim exits 5.
S005-EC-008Socket path exists but no listener acceptsConnection fails; shim exits 5.
S005-EC-009Agent tries to overwrite an enabled helper mountRead-only bind mount rejects the write.
S005-EC-010fetch or file receives an allow verdictProbe exits 0 but performs no network or file operation.
S005-EC-011Requested child exits with any nonzero statusShim returns action-error exit code 1.
S005-EC-012SIGTERM arrives while verdict is pendingFinish the in-flight verdict request, start no child, and exit 0.

On this page