# Why Code Diffs Hide Half the Story in AI-Generated Pull Requests

> A 900-line AI pull request with a green build looks harmless until you discover the agent deleted two edge-case assertions and reran migrations three times to make tests pass.

- **Published:** 2026-11-14
- **Category:** Code Review
- **Author:** 23step Engineering (Product & Review Systems)
- **Reading time:** 6 min
- **Featured 23step offering:** Catch + CR Badges
- **Canonical URL:** https://23step.com/blog/why-diffs-lie-pre-merge-review-for-ai-pull-requests

## Key takeaways

- Diffs show the final state of files, never the dead ends, silenced warnings, or dropped assertions used to reach that state.
- Reviewers spend most of their time reconstructing context—which files actually matter, which commands actually ran, and what rendered in the browser.
- Pairing automated replay links (CR Badges) with a calibrated 0–100 Review Score and must-read file list (Catch) lets reviewers merge safe PRs fast and stop risky ones early.

## What a git diff never tells your reviewer

Code review evolved when humans wrote 150 lines a day and could explain every trade-off from memory. When a coding agent opens a 1,100-line pull request across 19 files in twelve minutes, the traditional diff-first workflow collapses under its own weight.

Worse, the diff actively conceals execution history. You cannot tell from `+` and `-` lines alone whether a newly passing test passed on the first run or only after the agent broadened a mock, lowered a timeout assertion, or bypassed a type error with a permissive cast. Nor can you see whether the agent actually opened the changed page and verified the UI or merely guessed from JSX.

- **Hidden retry churn:** Files rewritten five times in a loop are usually the riskiest files in the PR—yet git squashes that signal flat.
- **Unverified runtime paths:** Passing unit tests do not prove a checkout modal rendered cleanly or that a webhook handler ran end to end.
- **Missing decision trail:** Reviewers waste cycles asking *"why did you pick this approach?"* when the exact reasoning already happened inside the agent session.

## Turning 45-minute PR archaeology into 3-minute triage

High-velocity teams fix AI review bottlenecks by changing the unit of review from **diff-only** to **diff plus execution receipt**. Before reading line one of a patch, a reviewer needs four answers in thirty seconds:

- What was the actual prompt and intent behind this change?
- Which verification commands ran, what exited green, and what failed along the way?
- Did the agent introduce breaking API changes, locking migrations, or silent shortcuts?
- Which three files actually demand human scrutiny right now?

> **Review benchmark — Read the must-read files first:** In most agent PRs, 80% of the diff is boilerplate, fixtures, or mechanical refactors. Surfacing the 2–4 high-risk files—especially files re-edited across retries—cuts review time without sacrificing safety.

## Automating replay links and live verdict badges in every PR

Even the best review report fails if developers have to remember to copy and paste URLs into GitHub or GitLab descriptions. That is why **CR Badges** attaches the active 23step replay link and a live **Catch** verdict badge straight onto commits and pull requests automatically.

As soon as a session pushes, **Catch** evaluates the complete timeline—prompts, reasoning, commands, diffs, and visual captures—producing a calibrated **0–100 Review Score**, an explicit merge verdict (*Safe to merge*, *Review carefully*, or *Blocked*), breaking API and migration flags, and a prioritized must-read file list. The PR badge updates live from *Analyzing* to the final verdict without exposing private code or sensitive details.

### What Catch checks before your team clicks Merge

| Signal | What Catch inspects | Why reviewers care |
| --- | --- | --- |
| Review Score & Verdict | Correlates command outcomes, test results, and diff risk | Instant triage priority across busy PR queues |
| Shortcut & Workaround Check | Agent reasoning paired with test/linter diffs | Catches skipped tests, weakened assertions, and suppressed lints |
| Breaking Change Guard | Removed HTTP routes, renamed wire fields, locking SQL, new env vars | Prevents silent downstream client and deploy outages |
| Must-Read Files | Files with high churn, retry edits, or core logic changes | Focuses human review attention where bugs actually hide |

## See it on a live pull request before changing a single workflow

You do not need to overhaul your branch protections to try receipt-backed code review. Enable [CR Badges](/marketplace/cr-badges) for free on every plan, and let [Catch](/marketplace/catch) auto-run free on your first 5 pushed or pull-request sessions with zero extra configuration.

Your reviewers keep their existing GitHub or GitLab flow—only now every pull request arrives with an interactive visual replay, a live verdict badge, and a crisp answer to *"what's the catch?"*

## Try Catch + CR Badges on 23step

**Answer "what's the catch?" on every AI pull request before merge.**

CR Badges attaches 23step replay links and live Catch verdict badges to your commits and pull requests automatically (free on every plan). Catch scores every session 0–100, flags silent workarounds and breaking changes, and highlights must-read files.

- 0–100 Review Score and live PR verdict badge that updates automatically
- Detects skipped tests, weakened assertions, breaking APIs, and locking migrations
- First 5 pushed or PR sessions auto-run Catch free, then 1 AI credit per catch

*CR Badges is free on every plan. Catch uses 1 AI credit from your shared monthly pool (Free: 20/mo · Pro: 150/mo · Team: 600/mo).*

- [Explore Catch](https://23step.com/marketplace/catch)
- [See CR Badges](https://23step.com/marketplace/cr-badges)
