remove default policy

This commit is contained in:
kevin zhao
2025-11-12 14:47:28 -05:00
parent b751be9156
commit 00757b43aa
3 changed files with 13 additions and 25 deletions

View File

@@ -45,11 +45,7 @@ prefix_rule(
- The effective `decision` is the strictest severity across all matches (`forbidden` > `prompt` > `allow`).
## CLI
- Check a command against a policy (default bundled policy shown):
```bash
cargo run -p codex-execpolicy2 -- check git status
```
- Use a specific policy file instead of the default:
- Provide a policy file (for example `src/default.codexpolicy`) to check a command:
```bash
cargo run -p codex-execpolicy2 -- --policy path/to/policy.codexpolicy check git status
```