Two review problems arrived together: PRs got bigger, and an unknown fraction of their content is now machine-generated. Meta- and Google-style interview rubrics have shifted accordingly — judgment over generation.
Tier: Core · Workflow area: Code Review
This playbook combines AI-assisted comprehension of oversized diffs (summaries, risk hotspots, review order) with a provenance-aware checklist for the defects AI authorship specifically introduces: hallucinated APIs, phantom tests, over-broad diffs, and license smells.
Human-authored 50-line PRs need neither the harness nor the checklist; just read them.
gh pr diff <number> > /tmp/pr.diff.Build a review map before reading a single hunk.
Here is a PR diff. Produce a review map:
1. One-paragraph summary of what this PR actually does (from the code, not
the description — I will diff your summary against the author's).
2. Group changed files into: core logic / tests / config & wiring /
generated or mechanical.
3. Risk-rank the core files: state mutation, auth/permissions, money,
concurrency, data migration, external I/O rank high; renames rank low.
4. Recommend a reading order and flag any file whose changes do not fit
the PR's stated purpose.
Diff the model's summary against the PR description — a mismatch means either a misleading description or smuggled changes; both are findings.
Read the top-risk files yourself, fully. The map buys focus, not exemption. Spend your best hour on the 3–5 risky files; skim mechanical groups with AI-generated per-group summaries ("all 30 files: same rename, plus these 2 exceptions" — verify the exceptions).
Run the provenance checklist (for AI-generated or unknown-provenance PRs). Four defect classes that human review habits miss because human authors rarely produce them:
Interrogate instead of line-comment. For a suspect area, ask the assistant targeted questions with the diff in context — "Under what input does retry_with_backoff retry forever?"; "Which callers of normalize() see behavior change from this signature edit?" — then verify the answer in the code. This is faster than deriving everything yourself and safer than trusting the summary.
Verdict with teeth. Approve only what you actually reviewed. Legitimate outcomes include: "split this into 4 PRs along the review map's groups", "remove the out-of-scope hunks, then re-request", and "provide failing-test evidence for the bug this claims to fix". For agent-authored PRs, require the author (human sponsor) to attest they reviewed it first — an unreviewed agent PR is a draft, not a review request.
Approving an AI-generated PR you skimmed transfers the liability from the model (which has none) to you (who has all of it). Review depth must scale with provenance uncertainty, not shrink because the code "looks clean" — AI code always looks clean.