Skip to content

0017 โ€” Process sandbox for development

Generated copy

Generated by scripts/gen_docs.py from docs/adr/0017-process-sandbox-for-development.md. Do not edit it by hand: change the source, then run uv run python scripts/gen_docs.py.

Status: accepted Date: 2026-10-15 Owner: Core

Context

Docker is not always available on a developer machine and OpenShell needs Linux; tests and local dev still need to replay.

Decision

Add RATCHET_SANDBOX=process: the harness runs as a subprocess with a scrubbed environment and a dummy key. It is refused when RATCHET_PUBLIC_MODE=true.

Consequences

Egress is not enforced in process mode; only the MinimalRunner, which talks solely to the proxy and mock tools, is supported there. The public host uses docker or openshell.

Reversal trigger

a CI environment without Docker becomes the deployment target