review_change
Run a coding agent to edit files, capture the git diff, and have a reviewer judge the change, returning a PASS/WARN/FAIL verdict.
Instructions
Run the runner agent in cwd (which edits files), capture the concrete git diff of the change, then have the reviewer agent judge it and return a PASS/WARN/FAIL verdict along with the runner output, the diff, and the review. Requires a git worktree. Newly-created (untracked) files are reviewed by their contents too (bounded per file), not just by name. The diff may include pre-existing changes if the worktree was already dirty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Git working tree the runner operates in (REQUIRED) | |
| model | No | Fallback model for BOTH agents. Only useful when runner and reviewer are the same agent — model namespaces do not overlap, so one value cannot be valid for two different CLIs. For the cross-agent setup this tool recommends, use `runnerModel` / `reviewerModel`. Must match [A-Za-z0-9][A-Za-z0-9._:/-]{0,127}. | |
| prompt | Yes | Task or question to send to the runner agent | |
| runner | Yes | Adapter name of the agent that edits files | |
| reviewer | Yes | Adapter name of the agent that judges the change | |
| timeoutMs | No | Per-agent timeout in ms | |
| runnerModel | No | Model for the RUNNER agent, overriding `model`. Use this (not `model`) when runner and reviewer are different agents. | |
| reviewerModel | No | Model for the REVIEWER agent, overriding `model`. Lets you review with a different engine/tier than the one that wrote the change. |