A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live
majordomus guard hook
Judge the edit a provider's pre-tool payload (on stdin) is about to make; exit 2 with the reason and the remedy when no claim covers it, 0 otherwise
What it is
read onlyJudge the edit a provider's pre-tool payload (on stdin) is about to make; exit 2 with the reason and the remedy when no claim covers it, 0 otherwise
- Identity
executable.guard.hook- Program
- executable
- Runs
- non interactive
- Requires
- repositorylayer
No machine surface carries this command: no capability declares this command line, so no machine surface has a typed input schema to execute from
Where it appears
- Command line
majordomus guard hook- Workflow
just guard-hook- MCP tool
- —
- HTTP
- —
- Declared in
apps/majordomus-cli/src/cli.rs- Capability
- —
Arguments
| argument | values from | required | help |
|---|---|---|---|
--provider | — | The provider whose payload stdin carries; its session id on the mesh is `<provider>-<session_id>` | |
--repo | — | Where a relative path in the payload is resolved from (default: the current directory); the checkout judged is the one the written file belongs to |