Self-check items
self_check_itemsCall before opening or updating a pull request: the ids (captain facts, reviewFirst hunks, check questions) from the review brief that a pre-PR self-check should fix or explain.
Instructions
Call before opening or updating a pull request: the ids (captain facts, reviewFirst hunks, check questions) from the review brief that a pre-PR self-check should fix or explain. Fix the diff, or write a one-line reason (<=140 chars) it does not need fixing, for each one; when an id names a real, unresolved problem you can't fix yourself right now, mark it needs-fix with a one-line reason instead, then write your verdicts as a JSON array into your head commit's own message inside a <!-- opendrs-self-check:v1 ... --> block (e.g. [{"id":"","verdict":"fixed"},{"id":"","verdict":"explained","note":""},{"id":"","verdict":"needs-fix","note":""}]). Advisory only: never part of the auto-approve gate or the captain's priority.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base ref to diff against. Defaults to "origin/HEAD", or "main" when that is not set. | |
| head | No | Head ref to score. Defaults to "HEAD". | |
| repoDir | Yes | Absolute path to the git repository (any directory inside the work tree). | |
| maxTokens | No | Token budget for the underlying brief (default 2500, min 300, max 6000). |