O5: Safety - sandbox profiles, secrets, audit log #6

Closed
opened 2026-11-12 23:12:59 +00:00 by hermes · 0 comments
Collaborator

orch is an orchestrator that runs many hx coding agents (Rust harness, one-shot via hx -p TEXT --mode json = NDJSON events on stdout, or --mode rpc = JSON-RPC over stdio; flags --sandbox, --session FILE, --provider, --yolo; hx stats shows token usage). It must work for work and private use, so it is not tied to any git host. Headless means no prompts. Rule: tool calls allowed by the profile allowlist run, everything else sets needs-human. Never pass --yolo unless the run is inside a sandbox the profile marks as safe. Separate HOME and env per profile so work and private credentials never mix. Block pushes to protected branches. Append-only audit log of every tool call and decision.

Acceptance: test proves a work-profile run cannot read the private profile's auth file.

orch is an orchestrator that runs many `hx` coding agents (Rust harness, one-shot via `hx -p TEXT --mode json` = NDJSON events on stdout, or `--mode rpc` = JSON-RPC over stdio; flags `--sandbox`, `--session FILE`, `--provider`, `--yolo`; `hx stats` shows token usage). It must work for work and private use, so it is not tied to any git host. Headless means no prompts. Rule: tool calls allowed by the profile allowlist run, everything else sets needs-human. Never pass `--yolo` unless the run is inside a sandbox the profile marks as safe. Separate HOME and env per profile so work and private credentials never mix. Block pushes to protected branches. Append-only audit log of every tool call and decision. Acceptance: test proves a work-profile run cannot read the private profile's auth file.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/orch#6