Skip to content

feat(cli): run with complete policy files - #51

Draft
tumberger wants to merge 1 commit into
codex/policy-authoring-1from
codex/policy-authoring-2
Draft

tumberger wants to merge 1 commit into
codex/policy-authoring-1from
codex/policy-authoring-2

Conversation

@tumberger

Copy link
Copy Markdown
Contributor

Summary

  • add sandy run --policy-file PATH using the same bounded SandboxPolicy JSON accepted by the Rust API
  • treat the document as complete caller policy and disable automatic integration discovery for that invocation
  • resolve relative paths against one trusted working-directory snapshot and protect the policy source
  • expose every fixed launcher contribution in dry-run schema version 7
  • reject policy shapes the CLI cannot enforce, including disabled target execution

Stack

  1. refactor(policy): separate launcher and subprocess capabilities #50 — separate launcher and subprocess capabilities
  2. This PR — complete CLI policy files
  3. simplify built-in agent defaults

Verification

  • strict parsing, source-bound, conflict, redaction, and dry-run tests
  • sacrificial macOS and Linux policy-file coverage included in the following stack layer
  • make check

Draft until the complete stack is reviewed together.

@tumberger
tumberger force-pushed the codex/policy-authoring-1 branch from e339204 to 5a59444 Compare September 1, 2026 18:32
@tumberger
tumberger force-pushed the codex/policy-authoring-2 branch from 007ade4 to fae2c1e Compare September 1, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant