martin_review_pr
Review a PR body against MartinLoop run evaluation evidence and return a verdict with specific findings to catch inaccuracies before merge.
Instructions
Review a PR body or draft against the MartinLoop run dossier and evaluation evidence, and return a verdict with specific findings. Use when you have an existing PR body and want to check whether it accurately represents the governed run evidence. Supply prBody to review a specific body string; omit it to evaluate the auto-generated dossier body. Do not use to generate a PR body from scratch — use martin_pr_summary instead. Do not use to open or create a PR — use martin_create_pr instead. This tool only reads saved run evidence and does not modify the repository or contact GitHub.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Absolute or relative path to a loop-record.json file or run directory. Mutually exclusive with loopId and latest. | |
| format | No | Dossier format used when generating the reference body for comparison. Defaults to github-pr. | |
| latest | No | When true, reviews against the most recently updated run. Mutually exclusive with file and loopId. | |
| loopId | No | MartinLoop run identifier from the run store. Mutually exclusive with file and latest. | |
| prBody | No | The PR body text to review. If omitted, the auto-generated dossier body is evaluated instead. | |
| runsDir | No | Override the default run-store root directory. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loopId | Yes | MartinLoop run identifier the review was performed against. | |
| summary | Yes | Plain-English review summary. | |
| verdict | Yes | Merge verdict: approve_with_review means safe to merge with human review; needs_changes requires fixes; blocked means do not merge. | |
| findings | Yes | Specific findings that informed the verdict. |