check_pr_readiness
Run a pre-PR checklist on the current local branch to verify commits, tests, sign-off, changelog, template, issue-first, and security rules before opening a pull request; returns pass/fail results.
Instructions
Run the pre-PR checklist on the current branch of the local clone: not on the default branch, commits exist, tests added/changed, DCO sign-off on every branch commit (if required), changelog fragment (if required), PR template sections present in pr_body (required when the repo has a template), issue-first satisfied (finding.issue_url) when required, finding not a security bug (those go private), AI policy not banned. Re-run after any code change. Returns passed, checks[{name, ok, detail}] and next. Lite does not record the result.
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>",
"finding_id": "<finding_id>"
},
"name": "check_pr_readiness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| pr_body | No | ||
| finding_id | Yes |