--- name: coagent8-review description: Independent review of Git changes by another local coding agent through the CoAgent8 review tool. Use when the user asks to review uncommitted or staged changes, a commit, a branch or a range, wants a check before committing or opening a pull request, or names CoAgent8 review. --- # CoAgent8 review Text the user typed with this command names the scope or the review focus. 1. Choose `scope`: `uncommitted` (default), `staged`, a commit, a branch or a range `a...b`. Check with Git that the scope contains the changes you mean. 2. Put the review focus in `instructions`: the goal of the change, acceptance criteria and risky areas, naming files instead of pasting code; the reviewer reads the diff from Git. Do not paste earlier review transcripts and do not ask the reviewer to answer READY. 3. Leave `backend` and `model` unset unless the user named one; `auto` prefers a different CLI than yours. For a user's price limit or range (e.g. "X-Y" means `output_price_below: Y`), pass `output_price_below` and leave `model` unset; the server picks the qualifying default or the most recently released qualifying model. The author of a change cannot supply its own independent approval. A model `coagent8-doctor` tags `ask` runs only after the user approves the server's form: tell the user before the call. Never call a model tagged `deny`. 4. Read the result. The reviewer's `VERDICT:` in the body is its judgement; the server's `Verdict: READY` or `Verdict: BLOCKED (reason)` in the footer is the gate decision. 5. A reviewer may run commands itself, but only the server's checks are evidence. Pass typecheck and tests in `checks` (such as `npm test`): the server runs them on exactly the reviewed change before the turn, gives the reviewer their results, and a failure blocks. They run with the user's rights, outside any sandbox, so the user approves each on a form or lists it in `allowedChecks`; you cannot approve them. Without `checks`, run them yourself and report their results separately. Repeating the same review does not change the verdict. 6. Fix the findings you accept, then review again. Pass the `session_handle` from the footer so the reviewer compares with its previous round. Any code change invalidates the previous verdict; do not repeat a review of unchanged code that completed with full coverage: the server then starts no turn and returns the earlier verdict (an incomplete or failed review can be retried). After two further rounds without progress, stop and ask the user. A large change is reviewed in parts by the server, then in one synthesis turn; the result lists each part with its session. A change too large even in parts fails with `INPUT_LIMIT` before any turn. Then narrow the scope: put a mechanical commit first and review the range after it, which still ends at the checked-out state, and verify the mechanical part by rerunning its command. Say which part no reviewer saw. A range ending elsewhere is refused. Report the server verdict, each finding with its location and your disposition (fixed, rejected with the reason, or deferred), and the checks you ran.