Isolation Backends
The supervisor uses one Rust interface, IsolationBackend, to launch and
control the agent workload. OpenShellRuntimeBackend implements that interface
by calling openshell-sandbox over the OpenShell Sandbox Protocol. Because the
supervisor depends only on the interface, another backend can provide the same
operations with different isolation mechanisms without changing the gateway API
or policy model.
The Interface
Each step returns a new type, so the supervisor can’t start an agent on a
boundary that hasn’t been confirmed. The traits are defined in
contract.rs
in the
openshell-isolation-interface
crate. OpenShellRuntimeBackend is implemented in
openshell-sandbox-backend.
Who Owns What
For how openshell-sandbox enforces the boundary, refer to Inside the Sandbox
Boundary. For driver-specific
workload behavior, refer to Runtimes.