AO2 starts from fail-closed local governance.
OPENAI_API_KEYandANTHROPIC_API_KEYare forbidden in the runtime environment.- External writes,
git push, package install, publish, deploy, destructive commands, raw secret access, parent-directory traversal, and network egress are blocked or require explicit policy handling. - Approval grants are bound to the exact action digest.
- Evidence must be written before evaluator acceptance.
- Artifacts include digest, producer, lineage, and sensitivity metadata.
The MVP avoids provider API-key paths entirely. Future provider integrations must use local CLI OAuth/session authentication and must keep transcripts redacted before persistence.
The first provider-free run simulates the local human approval path so the full
closure loop can be exercised deterministically. A later interactive approval
slice should pause the run and resume after ao2 approve.