briefcheck_verify_report
Verifies a 4-column acceptance-criteria Markdown table for valid structure, canonical judgments, exact diff citations, and optional test-log commit alignment to catch inconsistent review reports.
Instructions
Deterministically verify a 4-column BriefCheck acceptance-criteria Markdown table (structure, canonical English/Chinese judgments, exact base/new diff hunk citations, and optional test-log commit alignment).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"report_text": "<report_text>"
},
"name": "briefcheck_verify_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | GitHub PR reference (`owner/repo#123` or full PR URL). | |
| diff | No | Raw unified diff text. | |
| staged | No | When true, read staged git changes (`git diff --cached`). | |
| fail_on | No | Optional CI judgment gate policy (default: `none`). | |
| git_base | No | Local git base ref (e.g. `origin/main`) to diff against `git_head`. | |
| git_head | No | Local git head ref when using `git_base` (defaults to `HEAD`). | |
| repo_dir | No | Optional local repository path for `git_base` or `staged`. | |
| revision | No | Optional reviewed commit SHA override. | |
| test_log | No | Optional test log text to check revision alignment. | |
| report_text | Yes | Markdown report containing a 4-column BriefCheck review table. | |
| strict_warnings | No | Fail when any warning is emitted. | |
| strict_log_revision | No | Treat mismatched test-log revisions as errors instead of warnings. | |
| allow_external_files | No | Downgrade citations to files absent from the diff from error to warning. |