hunkbot review
Reviews a pull request whole: its head checked out, two finders a unit, every finding checked by code and verified by another model. hunkbot <pull request> does the same.
Arguments
[pull request]
optional
The pull request: its address, <owner>/<name>#<n>, or <n> inside its repository. The current branch's by default.
Flags
--agent
bool
The review as JSON, for an agent, instead of Markdown for a person.
--gate <severity>
critical | major | minor | trivial
Exit 1 on a confirmed finding at or above it. high, medium and low stand for major, minor and trivial. Without it, the repository's gate.
--post
bool
Post it on the pull request once done, without asking.
--any-author
bool
Review it whoever opened it, past the repository's authors and skip_authors.
--at <commit>
commit
Review the pull request as it was at this commit of its history, not at its head. Cannot go with --post.
Output
Progress on standard error, then the review in Markdown: the verdict and the counts (confirmed, possible, dropped; files, units, left out), the agents and what each cost, the review's id, then the findings by state, what was not reviewed and the files left out. With --agent, the review whole as JSON.
Exit 0 passed, 1 blocked, 2 incomplete, 3 not reviewed. See Incomplete Reviews.