developers · brick · tool · planned
awgov
01problem
An agent host's own permission prompt and a platform's governance end up as two authorities, and the weaker one wins: the operator answers a dialog the platform never saw, while the platform's rules sit in a document nothing enforces. What a denial cannot say is WHY, and an approval leaves no signed record that it happened.
02install
not yet published; builds in-tree03commands
awgov
04quick start
`load_policy(path=None)` reads `AWGOV_POLICY`, else the repo'sthe sanction file `agent_policy.yaml`, else a built-in **deny floor** (reads only),and caches by mtime.## Parsing, not pattern matchingA command is split into steps on unquoted separators, `$(...)` substitutions areparsed as their own commands, and every step is resolved through `env`, `sudo`,`wsl -d X -u root --`, `nsenter`, `bash -c`, `pwsh -Command` and `cmd /c` beforeit is classified on the resolved argv. `rg -n "rm -rf.git".claude/hooks` is aread; the text it searches for is data, never a verb.## CLI05adopt it
Run one command through the decision point and read back allow, deny with the lane to use instead, or needs-owner with the reason.