contribos_check
Review your local branch against repo rules and history before submitting: check scope, tests, changelog, AI policy, and explanation coverage to avoid common contribution issues.
Instructions
Pre-submit review of the local branch against the repo's rules and history: scope versus similar past changes, tests, changelog, sign-off, debug leftovers, AI policy, and whether the contributor's own explanation covers the change, AI-disclosure trailers, competing PRs, and (with verify_test) whether the test fails without the fix. Do not write the explanation for the user.
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": "contribos_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | branch the work started from (default: auto-detect) | |
| path | No | local checkout | . |
| issue | No | issue number, to look for competing PRs | |
| ai_note | No | how AI was used, e.g. 'Claude Code: drafted the test' | |
| explanation | No | the contributor's own explanation, as text | |
| verify_test | No | test command to run with and without the fix | |
| explain_file | No | or a file holding it |