Living Document Notice Staged 2026-09-27. Living revisions and interconnected notes live in the Stax Digital Garden.
Deterministic Stdio Multiplexing for Subprocess Agents
Long-running autonomous coding agents require strict, observable execution loops. Allocating TCP network sockets for local process orchestrations introduces socket exhaustion and rogue port listening risks.
Protocol Boundaries
- Single File Descriptor Duplex: All requests, responses, and notifications stream over standard I/O pipes.
- Line-Delimited Framing: Zero multi-line string fragmentation; each RPC frame terminates on a strict
\nboundary. - Fail-Closed Pipe Collapse: When the parent supervisor terminates, child standard input collapses immediately, halting rogue agent loops.
By binding agent subshells directly to anonymous OS pipes, execution harnesses preserve strict containment without daemon overhead.
- Directus Target: outrigger-protocol-blog
- Garden Source Reference: MOC - Outrigger Protocol, MOC - Adversarial Agent Containment, [BSN-1030 - Stdio JSON-RPC Bridging for Cross-Process IPC Without Daemon Bloat](BSN-1030 - Stdio JSON-RPC Bridging for Cross-Process IPC Without Daemon Bloat)