Review Gate
review_gateGate a change for merge and return a PASS, WARN, or FAIL verdict by running local checks or evaluating an open GitHub PR.
Instructions
Gate a change for merge and return a PASS / WARN / FAIL verdict. Omit pr to run the local, no-GitHub gate against a base ref (changed files, secret safety, risk-sensitive paths, release discipline, validation commands, dependency audit, policy profile). Set pr to gate an open GitHub PR via gh (PR state, review decision, CODEOWNERS approvals, unresolved conversations, branch protection, status checks). A check the mode cannot evaluate is SKIPPED and never changes the verdict. Use review_verdict instead when you want the full impact + review + gate composite, or review_context when you want diff/comment context with no verdict.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "review_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | PR selector (number, URL, or branch). Set, runs the GitHub gate on that PR; omitted or blank, runs the local gate. | |
| base | No | Base ref for the local gate. Defaults to origin/main, then HEAD. Ignored in PR mode. | |
| head | No | Gate exactly base..head; uncommitted files play no part. Cannot be combined with staged. Ignored in GitHub PR mode. | |
| path | No | Repository path. Defaults to current working directory. | |
| intent | No | Declared intent from change_impact declare (record, JSON, or path): fails the gate when a changed file was never declared. | |
| policy | No | Policy profile: standard, company, or high-risk. Omitted, the repository's .solumberc.json or user config decides, else standard. | |
| staged | No | Gate the Git index instead of the working tree. Ignored in GitHub PR mode. | |
| receipt | No | Convergence receipt: inputs hash, JSON object, or path. A head- or staged-bound receipt verifies only in that mode. | |
| request | No | Optional change request for context evidence output. | |
| governance | No | Governance: team or solo. Omitted, the repository's .solumberc.json or user config decides, else team. | |
| minConvergence | No | Optional minimum convergence score (0–100). Enables a failing gate when the task/diff score is below this floor. |