In both single-agent runs and forkable multi-agent campaigns, failures happen when an untrusted workspace supplies the standards used to judge it. Four independent projects in this portfolio enforce the same architectural boundary from different angles:
1. The Four Doors (Zenity NYC paper)
In Your Agent Escaped Without Escaping the Sandbox, even a worker trapped inside a networkless bubblewrap sandbox with a read-only checker flipped FAIL to PASS simply by editing expected.json inside its writable /work directory. Keeping truth in an external controller process (CASES outside /work) rejected the broken binary immediately.
2. Host-side harnesses inside SWFactory
- Dialect Card & Requirement Trace: renders immutable commands and maps planned tests by JUnit ID against the reviewed commit.
- Ratchet: keeps a repair only if it produces a net gain (losing 1 test requires gaining 3) and reverts regressions immediately on the host.
- Delivery Guard & Adherence Audit: verifies base-passing tests stay green and inspects raw
format-patchbytes on the host to reject edits to protected paths.
3. Concurrent stale-read refusal & formal kernel proof receipts
ForgeFS records every read dependency in a session and refuses check-in (exit code 4) when a read input changed concurrently, while preserving losing writers as forks. DeltaOS Gym grades Linux and eBPF tasks with CBMC model checking over all inputs plus the Linux 7.1.4 kernel verifier — rejecting 71/71 invalid candidates across 355 runs while accepting 85/85 valid implementations.