gate_check
Run local validation, linting, and commit-gate checks on changed Markdown wiki IDs before ending a session or fast-forwarding to main.
Instructions
Local gate: validate + lint + commit_gate. Use at session end over the IDs you wrote, or before fast-forwarding to main. changed_ids alone lints just those (no whole-KB structure checks); empty changed_ids: whole KB, no commit gate; scope: a path prefix. severity_min sets the lint floor (default warning); pass ignores it.
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": {
"changed_ids": "<changed_ids>"
},
"name": "gate_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| changed_ids | Yes | ||
| severity_min | No | info, warning (default) or error | |
| scope_neighbors | No | Also lint 1-hop neighbors |