Skip to Content
MeowKit

Review

Run a resumable multi-stage pull-request review.

mewkit review runs a pull-request review as six steps that share a session id, so a review of a large change can stop and resume across sittings. Nothing in it approves a change: compose produces a recommendation and a proof bundle for a person to read.

review

mewkit review prepare <target> [--remote <name>] [--json]
mewkit review read <path> --session <id> --as <reviewer>
mewkit review coverage --session <id> [--json]
mewkit review compose --session <id> [--json]
mewkit review submit --session <id> [--reply] [--confirm <token>] [--json]
mewkit review cleanup --session <id> [--json]
SubcommandWhat it does
prepareCaptures the diff of one pull request, bound to its commit SHA, in an isolated worktree, and opens a session. <target> is a PR URL, owner/repo#n or a number. The PR's title, body, comments and CI text are stored apart from the code as untrusted data
readRecords a receipt that the named reviewer opened one assigned artifact
coverageCompares the roster of assigned artifacts with the receipts and reports what is still unread
composeBuilds the review from the findings and applies the cap table. It refuses to run until coverage is complete
submitPosts the review to GitHub. This is the only GitHub write, and it needs --reply and the --confirm token that is bound to the composed payload
cleanupCloses the session and returns the worktree to the action recorded for it

Every subcommand after prepare takes the --session id that prepare printed. --json prints JSON instead of a summary line.

On this page