gate
Evaluates a branch against its base using built-in git, workflow, lockfile, and branch-overlap rules, returning one pass, warn, fail, or error verdict with audit evidence for pre-review checks.
Instructions
suite-gate: one verdict (pass, warn, fail or error) for ref against base, from the built-in rules: git-surface always, trust-path when workflows changed, release-drift for each changed lockfile (queries registries), git-overlap against the other local branches. Returns every tool's audit result with its evidence.
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": {
"repo": "<repo>",
"base": "<base>",
"ref": "<ref>"
},
"name": "gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Branch to judge | |
| base | Yes | Base branch, e.g. main | |
| repo | Yes | Repository directory | |
| forge | No | Whose workflow rules trust-path applies (default github; gitea and forgejo need trust-path 0.9.0 or later) |