intent — delegate the why, not the how
Commander's Intent from ADP 6-0 (US Army, 2012): state the purpose and the end state so the person (or
subagent) doing the work can adapt when the plan stops matching reality. Clarent turns it into a contract with
verification commands, stop conditions and allowed/forbidden paths; lint checks the contract, verify
compares the git change with it and runs the checks, and hook makes a Claude Code subagent fix drift before it
can stop.
When to use
Delegating more than a few minutes of work to a subagent or a teammate, especially when some paths must not be touched or "done" can be checked by a command.
When NOT to use this
- One-line changes or exploration with no end state yet.
- As a review: it checks scope and the contract's own commands, not whether the change is good.
- With contracts you did not write:
verifyruns the shell commands listed in them.
Real case from the eval
A real subagent was asked to write a file in src/ and one in the forbidden infra/. The SubagentStop hook
blocked its first stop (exit 2), it deleted the forbidden file, and the second stop passed. The first attempt
exposed a bug (untracked files that predated the contract counted as drift), fixed since.
Recorded run.
Try it
clarent intent lint methods/intent/examples/httpx-migration.md
clarent intent init && clarent intent verify
methods/intent/CARD.md.