AI Code Review Blast Radius: How to Triage Agent Pull Requests Before They Overwhelm Your Team Engineering teams are adopting "AI code review blast-radius triage" to route review attention on agent-generated pull requests by risk rather than line count, judging changes from Codex, Claude Code, Copilot or homegrown agents by four signals: exposure, reversibility, evidence and reach. The approach holds that a 20-line schema migration can be riskier than a 500-line isolated UI component, and that green unit tests written by an agent prove only internal consistency, not that the behavior is wanted. The guidance calls for automation to collect evidence and route work while people judge intent, trade-offs and the consequences of being wrong. A faster coding agent does not make every change equally safe. The teams that keep speed are learning to route review attention by risk, not by who -or what-wrote the code. Your AI coding agent opens a pull request that looks clean. Tests are green. The diff is only 180 lines. Then a reviewer notices that one of those lines changes how a tenant is selected before an authorization check. The patch was small; its blast radius was not. That is the review problem many engineering teams have now. Agents can create more changes than a small group of people can read with uniform care. Treating every pull request as low risk and you get rubber stamps. Treating every pull request as a production incident makes the agent a very expensive autocomplete tool. The useful middle ground is AI code review blast-radius triage : a repeatable way to decide the depth of review before people start debating individual lines. It works with Codex, Claude Code, Copilot, or a homegrown agent because it judges the change, not the vendor. The central rule: use automation to collect evidence and route work. Use people to judge intent, trade-offs, and the consequences of being wrong. Traditional checklists assume a reviewer has enough time to form a mental model of every changed path. AI changes break that assumption in two ways. First, the amount of output rises. Second, a patch can be locally plausible while missing an ownership boundary, an existing policy service, or an operational constraint that lives outside the files it touched. Recent developer discussions show the pattern clearly: reviewers describe large, mixed-purpose agent diffs, difficulty retaining real comprehension, and a growing need for independent or adversarial passes. The response should not be “trust no AI” or “let the AI review itself.” It should be a system that asks the right first question: what could this change reach if it is wrong? That question gets you past a poor proxy: line count. A 20-line schema migration can be riskier than a 500-line isolated UI component. A dependency bump can change code you never reviewed. An agent that adds one permissive fallback around identity can quietly alter every request. Do not pretend risk is precise enough for a magic number. A four-signal card gives a reviewer useful shared language without hiding uncertainty. Look for public endpoints, authentication and authorization, user data, billing, secrets, shared libraries, background workers, and CI/CD. Exposure rises when code accepts untrusted input or sits before a trust boundary. A private test helper has low exposure; a default middleware path does not. Feature flags, a clean rollback, and a narrow canary make a change easier to recover from. Destructive migrations, data writes, external emails, model fine-tunes, and third-party side effects do not. Be careful: “we can revert the commit” is not a rollback plan if customers have already received an email or a backfill has mutated records. Green unit tests are evidence, but they are not all the evidence. Ask whether the patch includes a failing test from before the change, a contract test, a migration rehearsal, an end-to-end scenario, a benchmark, or a manual acceptance recording. Agent-written tests may prove that the agent’s invented behavior is internally consistent. They do not prove that behavior is wanted. Reach is the blast-radius signal that generic AI pull-request checklists often underweight. Trace callers and dependents. Check configuration defaults, generated clients, shared packages, feature-flag audiences, and deployment targets. A reviewer should be able to answer: “Which users, services, and operational paths could behave differently after this lands?” The lanes below are deliberately simple. If a policy requires a committee for every amber change, people will route around it. The goal is a default that is fast enough to use and strict enough to matter. Use this lane for isolated copy, tests that add coverage without production behavior, internal tooling, or a narrowly scoped UI adjustment behind a flag. Require CI, a clean task-to-diff summary, and an author attestation that the agent did not make unrelated edits. One owner can approve if the code area has a clear owner. Green does not mean “AI gets a free merge.” It means the review focuses on whether the stated boundary is true. A green change becomes amber the moment it touches a shared default, permission, customer data, deployment setting, or unowned dependency. Most agent pull requests belong here. Examples include a new API workflow behind a flag, a service refactor with an existing test harness, a non-destructive migration, or a performance change with reproducible measurements. Require a named human reviewer from the owning area, tests that exercise the unhappy path, and a rollback note in the pull request. This is the right place for an independent AI reviewer. Give it the task, acceptance criteria, diff, call graph, and explicit things to disprove. Do not ask “is this good?” Ask “find paths where tenant isolation, idempotency, rate limits, or error handling differ from the stated contract.” A second model is still not a sign-off. It is a fast skeptical researcher. Route authentication, permissions, payments, data deletion, schema drops, production infrastructure, security controls, shared SDK behavior, and irreversible external effects here. A red change deserves a design note, a domain owner, explicit rollout gates, and a practical recovery plan. If an agent produced it, the person submitting it should be able to explain why every changed boundary exists. In this lane, “the agent says tests pass” is almost irrelevant by itself. What matters is whether the team has exercised the high-consequence path in a realistic environment and knows how to contain a failure. The cheapest review problem is the one you prevent at task intake. Before an agent edits code, ask it to produce a short review packet. It forces scope discovery early and gives the eventual reviewer a contract to test against. task: Add a retry policy for invoice exportsmust not change: - duplicate customer charges - send an export twice - expose invoice data across tenantslikely owners: - billing-platform - data-exportchanged surfaces to check: - job idempotency key - queue retry settings - export audit logevidence required: - failed-then-successful retry test - duplicate-delivery test - tenant-boundary testrollback: - disable export retry v2 flag - drain only new retry queue This is not bureaucracy for its own sake. It catches the common agent failure mode: a patch starts as a small local fix and expands into a new pattern, dependency, or alternate path that nobody asked for. An honest packet also tells the reviewer what the agent did not inspect. Review automation is most valuable when it turns hidden facts into visible evidence. A good pull-request bot can identify changed ownership areas, list reachable routes, find policy files, detect dependency and configuration changes, summarize test deltas, and flag a missing rollback plan. Those are concrete inputs to a human decision. Approval theater begins when a bot posts a cheerful “looks good” comment with no traceable claims. A finding should link to a file, path, test, or policy it examined. It should state confidence and what it could not inspect. If the agent did not have staging access, it should say so. If its repository context was truncated, that is not a footnote; it is review risk. A useful reviewer prompt: “Compare this pull request to the acceptance criteria. First list all changed trust boundaries, persistent data writes, externally visible effects, and shared defaults. Then identify what proof is present for each. Do not approve the change. Return questions a human owner must answer.” Risk triage does not rescue a 2,000-line “AI did some cleanup” pull request. The best policy is often to reject the review unit, not to spend two days reviewing it. Ask the author or agent to split the work along independently releasable seams: preparation, new path behind a flag, migration, rollout, and cleanup. Small diffs are not a virtue by themselves. A tiny diff that silently changes an access-control default is still red. But a focused diff lets an owner check one proposition. It makes tests meaningful, keeps comments actionable, and gives a rollback a chance of being real. Ask the agent to explain why every file changed. If its explanation says “required for consistency” without a concrete dependency, split or remove that part. This simple question forces a useful distinction between a necessary implementation seam and an agent’s appetite for broad refactoring. Do not measure accepted agent lines. That rewards output, not safety or usefulness. Instead, sample each lane and look for false confidence: defects found after merge, rollback time, review turnaround, escaped authorization or data bugs, rework rate, and how often a green change had to be escalated. Also review the reasons agents are sent back. If the same issue recurs — wrong ownership discovery, missing idempotency, invented configuration — improve the task template, repository instructions, or pre-merge check. The point is to make future work easier to verify, not to build a larger review ceremony. It is equally important to watch the opposite failure: a red lane that has become a ritual. If every high-risk change produces a design note nobody reads, narrow the template to decisions that change the rollout. Good governance creates sharper decisions; it should not merely create more artifacts. Teams often write a good policy and then keep one universal merge checklist. That brings the old bottleneck back. Define “done” in terms of the evidence that matches the lane. A green change is done when its narrow boundary is confirmed and ordinary checks pass. The review should not require a meeting simply because an agent touched the files. An amber change is done when a relevant owner understands the new behavior, its failure behavior, and the escape hatch. The reviewer does not need to recreate the patch from scratch. They do need to answer whether the task contract is met and whether the planned rollback still works under load. In many services, a screenshot, a test artifact, or a staging trace is more persuasive than a longer pull-request description. A red change is done only when the team has rehearsed the failure it fears. For a migration, that may mean restoring a representative snapshot and measuring lock time. For a payment path, it may mean forcing a timeout after an external charge and proving that a retry cannot double-bill. For an authorization change, it may mean exercising both an allowed and denied tenant path with production-like identities. This is where agent speed can help: ask it to set up fixtures, enumerate paths, and prepare tests. Do not ask it to declare the risk gone. Uncertainty is itself a signal. If nobody can tell whether a helper is used only by one endpoint or by every customer-facing workflow, stop calling the change green. Route it to amber long enough to map its callers. If the owner cannot explain which table a backfill touches, it is red until that answer is clear. This prevents a subtle failure mode: teams use an agent to reduce the cost of writing code, then accept uncertainty because investigation feels slower than asking for another patch. The right move is usually the reverse. Ask the agent to conduct a read-only discovery pass, cite the paths it inspected, and return a boundary map. Its output gives the owner a starting point; the owner decides whether the map is complete enough to proceed. “Review this for quality” invites a model or a tired person to list style nits. Each lane needs a compact question set. For green: what else changed, and is the claimed boundary real? For amber: what contract changed, which unhappy path was tested, and can the flag or revert isolate it? For red: who owns the outcome, what irreversible action can occur, what monitoring will show failure, and who performs the recovery? These questions are also a better way to evaluate an AI reviewer. Did it surface an unowned database write or merely suggest renaming a variable? Did it notice a shared configuration default? Did it ask for missing evidence on an external effect? Over time, save the questions that exposed real issues as reusable review skills. That creates a living institutional memory without training everyone to write the same giant prompt. Teams do not need a flawless risk model before they use agents responsibly. They need a visible, revisable contract for where attention goes. The payoff is not merely fewer bad merges. It is preserving the scarce part of engineering: people who understand the system well enough to know which apparently small change is not small at all. No. Review depth should follow consequences and evidence, not authorship. Agent output can increase the need for scope checks, but a risky human change deserves the same serious lane. It is the set of users, services, data, and operations that could be affected if a change is wrong. It includes indirect callers, shared defaults, background jobs, deployments, and external side effects. It can provide useful independent findings, but it should not replace an accountable human approval for consequential changes. Treat it as evidence collection, especially when it has a different prompt or model than the authoring agent. Keep the lanes few, make green genuinely lightweight, and require the deeper work only when exposure, reversibility, evidence, or reach warrants it. Make review packets automatic where possible. Hard-to-reverse or high-consequence effects: identity and access changes, payments, destructive data work, production infrastructure, shared behavior, secrets, and externally visible side effects are common examples. No. Tests prove only the cases they exercise. A reviewer still needs to know whether the change reaches a sensitive boundary, whether the expected behavior is correct, and whether recovery is possible. This guide is a workflow recommendation, not a claim that agent-written code is inherently less safe. Adapt the lanes to your service boundaries, compliance obligations, and deployment controls. AI Code Review Blast Radius: How to Triage Agent Pull Requests Before They Overwhelm Your Team https://pub.towardsai.net/ai-code-review-blast-radius-how-to-triage-agent-pull-requests-before-they-overwhelm-your-team-4b4df25b5949 was originally published in Towards AI https://pub.towardsai.net on Medium, where people are continuing the conversation by highlighting and responding to this story.