Code Review After Code Gets Cheap
Markus Eisele · rss · 2026-10-16 source ↗ Reader 🖥️
Agent SecurityAgentic TestingCapacity to Verify AI OutputBidirectional TraceabilityChange Blast RadiusCode Was Never the BottleneckPull Requests & Async Code ReviewRisk TieringSpec-Driven DevelopmentVerifiability (as the Quality Bar)
Because agents make code cheap while human review time stays fixed, teams should stop treating line-by-line reading as the default and instead make evidence a condition of acceptance: agree on behavior and expected blast radius before generation, trace both requirement-to-code and code-to-requirement to expose unrequested drift, scrutinize what the tests actually assert, and scale direct inspection to blast radius and evidence strength.
practical · argumentative — A prescriptive process proposal (O'Reilly Radar essay) argued through a single fictional worked example (a refund-approval feature). Its propositions serve the action: make evidence a precondition of accepting agent-generated code and allocate review depth by blast radius.
Structure
| Part | Role |
|---|---|
| Problem framing: cheap code, unchanged reviewer time; reading everything cannot scale, so we need a way to decide where inspection is worth it | context / problem statement |
| Refund-service worked example: the approval feature is correct but the agent silently adds timeout retries in a shared payment client, which could double-refund | evidence (illustrative case) that a small diff can have a large blast radius and that passing tests do not expose unrequested behavior |
| Bidirectional traceability (NASA): requirement to implementation/checks, and implementation back to a reason for existing; unplanned additions become open decisions, not automatic errors | mechanism for detecting drift |
| Tests can share the mistake: the agent misreads 'above 100' and writes tests that agree; remedies are boundary examples agreed up front, assertions at the point of effect, removing the rule to see if a test fails, and a caution about AI judges (2026 study) | qualification: links and green checks are not proof of correctness |
| Review record and review of changes to checks: a short per-PR record (agreed behavior, evidence, additional behavior, blast radius, open question), evidence tied to the exact revision, and tests/acceptance criteria compared against the agreed baseline | operational prescription |
| Depth by blast radius, the recommended cycle, ownership, and containment (separate PRs, controlled rollout, reduce routine inspection as checks earn trust, audit routine changes) | conclusion / process recommendation |
Key terms
- Blast radius Agent Security
How far the effects of a mistake can spread, including how hard it is to undo (a redeployed previous version cannot recover money refunded twice). It is established before implementation as the set of operations a change may affect, then checked against the implementation. A shared-client change can reach callers outside the diff. - Drift (in both directions)
Divergence between the agreed specification and the implementation: requested behavior that is missing, and unrequested behavior that was added (like the retry). Detected by tracing in both directions. - Bidirectional traceability Bidirectional Traceability
Borrowed from NASA software-engineering guidance: every important requirement maps to implementation and checks, and every behavior change in the implementation maps back to a reason it belongs in this pull request. - Evidence
Specific checks tied to a claim and to the exact revision being approved, with results (not a generic 'tests passed'); must be refreshed if the implementation changes after the run. - Review record
A short per-PR artifact (agreed behavior, evidence, additional behavior, blast radius, open question) that is part of the definition of done; the submitter owns its accuracy even if an agent wrote it. - Open decision
An unplanned addition (such as the retry) that is not treated as an error but stays unresolved until its consequences are understood and a check for it is agreed.
Propositions
- explicitIf every increase in agent-generated code requires a proportional increase in human line-by-line inspection, human review will cap how many changes a team can accept, so inspection must be allocated rather than uniform.conf: highsupportsAgentic Code Review · p1 — Same premise: cheap code generation leaves human understanding/review capacity as the binding constraint.
- explicitEvidence should be a condition of accepting agent-generated code: behavior and expected blast radius are agreed with the requirement owner before implementation, then evidence is used to check for drift and to decide which code needs direct inspection.conf: highsupportsAgentic Code Review · p14 — Evidence as a condition of review mirrors 'refuse to review changes that arrive without evidence'.supportsAgentic AI and Code Reviews · p7 — Agreeing behavior and expected scope before generation relocates the review gate upstream to the plan/spec.
- explicitBlast radius (how far a mistake can spread and how hard it is to undo) is an independent review criterion that diff size does not reveal; a small change in a shared component can affect every caller.conf: highextendsAgentic Code Review · p7 — Both make blast radius the main driver of review depth; Eisele adds reversibility and the shared-component reach beyond the diff.
- explicitA pull request can be correct on the requested feature while an agent also adds unrequested behavior (such as timeout retries on a payment call) that a reviewer focused on the stated feature easily misses and that passing tests do not flag.conf: high
- explicitReview should check drift in both directions via bidirectional traceability: each important requirement maps to implementation and checks, and each behavior change maps back to a reason it belongs in this change.conf: high
- explicitAn unplanned addition is not automatically a mistake; it is an open decision until its consequences are understood and a check for it is agreed.conf: high
- explicitDrift detection should start from the changed files and follow them into their callers rather than from the agent's own summary, because the summary can omit the very change that matters.conf: high
- explicitTraceability links say little about correctness: when an agent writes both the implementation and the tests from the same misreading of a requirement, everything passes because code and test agree, and re-running the tests elsewhere only reproduces the agreement.conf: highsupportsFrom AI Code to Trusted Software: Harness Engineering in Practice · p11 — Same failure: one reasoning path writing both the change and the proof of correctness collapses verification into one opinion.
- explicitBoundary examples should be agreed before implementation, and tests should observe the rule at its point of effect (what the service actually sends to the payment provider) rather than a proxy such as an approval request being created.conf: high
- explicitFor important rules, a test's protective value can be checked by temporarily removing the rule in a controlled run; if the test stays green it offers little protection.conf: high
- explicitUsing a second agent to propose forgotten cases and examine assertions helps, but it does not replace human-accessible checks, because a different model can reproduce the same misinterpretation and LLM requirement-conformance judgments sometimes reject correct code and accept faulty code.conf: highsupportsAgentic Code Review · p13 — Both warn that model-based checkers share blind spots, so a confident AI 'looks good' is not enough.refinesAgentic AI and Code Reviews · p5 — Qualifies the independent-reviewer prescription: a different model can still make the same misreading, so human-inspectable checks must remain.
- explicitEach PR should carry a short review record (agreed behavior, evidence, additional behavior, blast radius, open question) that links each claim to the specific checks that ran against the revision being approved, and the evidence must be refreshed if the implementation changes afterward.conf: highsupportsAgentic AI and Code Reviews · p3 — A durable, inspectable per-decision review record is the shared prescription.
- explicitChanges to existing tests and acceptance criteria must be reviewed against the agreed baseline, since an agent updating a test to match new behavior (even innocently) changes the meaning of the check; if the requirement really should change, that decision must be recorded rather than quietly changing the spec to fit the code.conf: highsupportsHuman judgment doesn't leave the software factory. It relocates. · p5 — Agents editing tests to match new behavior makes a green run misleading; both require comparing checks to intent.
- explicitReview depth should scale with potential impact and the strength of the evidence: payment paths and unclear blast radius get direct inspection, routine well-checked changes get less, and routine changes should still be sampled so that missing assumptions found there are used to improve the checks before inspection is reduced further.conf: highsupportsAgentic Code Review · p14 — Both tier review effort by the cost of being wrong and by evidence strength.
- explicitAccountability is split: the submitting developer owns the accuracy of the review record even when an agent wrote it, and the reviewer owns the acceptance decision; a claim with inadequate evidence stays open.conf: high
- explicitBlast radius is contained by keeping features separate from shared-component redesigns in separate PRs, and by releasing through limited-exposure rollouts (A/B) while watching the affected behavior before expanding.conf: high
- implicitThe proposal presumes that a requirement owner exists and can specify exact behavior and blast radius before generation, and that the behavior is crisp enough to express as boundary examples; it leans on specification quality that vague or exploratory work lacks.conf: medium
- implicitReview effort is treated as the scarce, fixed resource, and evidence is cheap to produce relative to inspection; this ignores that the review record itself, written or generated by the author-side agent, becomes a new artifact the reviewer must trust or verify.conf: medium
Arguments
Teams should make evidence (agreed behavior, checks tied to the approved revision, stated blast radius) a precondition for accepting agent-generated code, and shift direct inspection to where blast radius is high or evidence is weak. strength: medium
Explicit premises:
- Code generation is cheap but reviewer time is unchanged, so uniform line-by-line inspection will cap acceptance throughput.
- Diff size does not predict blast radius; a small change in a shared client can reach every caller and some mistakes are irreversible.
- Passing tests do not expose unrequested behavior or shared misinterpretation between code and tests.
- Bidirectional traceability plus a review record makes missing and unexplained behavior visible.
Implicit premises:
- A pre-implementation agreement on behavior and blast radius is achievable and accurate enough to serve as the baseline.
- Evidence artifacts produced alongside the change are cheaper to check than the change itself, and are not themselves corrupted by the same agent's misreading.
- Reviewers can reliably tell routine from high-impact changes before inspecting them.
Inferences:
- The review bottleneck is partly a specification-quality problem: where requirements are vague, the evidence model collapses back into full inspection.
- Sampling routine changes turns review itself into a feedback signal for the quality of the checks.
Passing tests, and even AI-judge agreement, cannot establish that an agent's change meets the requirement; a human must check the meaning of assertions against agreed boundary examples. strength: high
Explicit premises:
- An agent that misreads a requirement will usually write tests with the same misreading.
- Re-running the tests in separate CI reproduces agreement but cannot reveal that the expected value is wrong.
- LLM requirement-conformance judgments can reject correct and accept faulty implementations (2026 benchmark study).
Implicit premises:
- Human reviewers do not share the agent's misreading when boundary examples are agreed up front.
- The benchmark study's results transfer at least partially to production review agents, despite the author's own caveat.
Inferences:
- Pre-agreed boundary examples are an oracle independent of the agent and so are worth more than the volume of tests the agent produces.
- Mutation-style checks (removing a rule) are a cheap way to audit agent-written tests.
Narratives
- Refund service: an agent implements an approval step for refunds above 100 euros and adds timeout retries to a shared payment client; a timeout may mean the provider already refunded, so a retry could issue a second refund for every caller of the client.
→ Shows that a correct feature can ship with an unrequested high-blast-radius behavior and that diff size, a passing build, and the agent's own summary conceal it. - Threshold misreading: the agent reads 'above 100' as '100 and above' and writes tests expecting approval at exactly 100; implementation and tests agree and everything passes.
→ Illustrates that agreement between code and tests is not correctness and motivates agreed boundary examples and point-of-effect assertions. - An earlier acceptance test (a 100 euro refund proceeds) is edited by the agent to expect an approval request, so the new code and test agree.
→ Shows why changes to checks must be compared with the agreed baseline rather than with the new implementation.
Questions addressed
- ✅ Once an agent has written the code, how should it be reviewed without human inspection becoming the limit on how much can be accepted?
Make evidence a condition of acceptance: pre-agreed behavior and blast radius, bidirectional traceability, scrutiny of what tests assert, a per-PR review record, and review depth scaled by blast radius and evidence strength. - ✅ How can reviewers catch behavior nobody asked for when all tests pass?
Start from the changed files, follow them into callers, and trace implementation back to a requirement; treat unexplained additions as open decisions requiring their own evidence. - ⭕ Can a second AI agent be trusted to do the verification and review for the first?
Partially: useful for proposing missed cases, but its confident explanation should not stand in for checks a human can inspect, given evidence that LLM conformance judgments are unreliable. - ⭕ Who verifies the review record when an agent produces it?
Assigned to the submitting developer and the reviewer, but the mechanism (what makes the record trustworthy) is not specified.
Gaps
- incompleteThe process rests on a pre-implementation agreement about behavior and blast radius, but the author never says how the blast radius is established reliably (who maps callers and downstream effects, with what tooling) or what happens when the agent's change reaches code nobody listed. The retry-in-shared-client example is caught only because the author constructed it; there is no account of how a reviewer finds an unknown blast radius in a large codebase.
Read next: Work on change-impact analysis and dependency/call-graph tooling for agent diffs; compare with the risk-tiering and blast-radius treatments in extract-agentic-code-review. - incompleteThe review record is authored on the submitter side, often by the same agent that wrote the code, yet is treated as trustworthy evidence. The piece does not address how to keep the record honest (the same agent can omit the retry from its summary, the failure the author describes) beyond starting review from changed files, nor the added reviewer cost of reading yet another artifact per PR.
Read next: Look for treatments of generation/evaluation separation and independent verification of agent self-reports, e.g. the corpus's material on generator-evaluator splits and shared blind spots among writer, tests, and reviewer agents. - incompleteNo empirical evidence is given that evidence-gated review reduces defects or raises throughput; the only case is a fictional refund example with an unambiguous quantitative rule. It is unclear whether the approach works for fuzzier requirements (UX, performance, exploratory work) where boundary examples cannot be written up front.
Read next: Seek field data on review policies for agent-authored changes (defect escape rates, review time) and approaches for non-crisp requirements, such as evals, telemetry-grounded development, or property-based tests. - incompleteReview's knowledge-distribution and design-feedback functions are not considered. If routine changes get less inspection and the team no longer reads each diff, the team stops absorbing how the system works; the argument treats review purely as an acceptance gate for correctness.
Read next: Revisit the knowledge-sharing and learning functions of review in the corpus (extract-agentic-code-review, extract-async-code-reviews-choking-throughput) and ask what replaces them when inspection is reduced.
Closes gaps elsewhere
- Head of Claude Code: What happens after coding is solved | Boris Cherny · g1 — Gives a concrete answer to what the human review layer should check beyond automated review: the meaning of test assertions against agreed boundary examples, unexplained additional behavior, and the blast radius of shared components.
- Harness engineering: leveraging Codex in an agent-first world · g4 — Supplies a criterion for which PRs get direct human inspection (impact and evidence strength) and names the shared-blind-spot risk of agent-to-agent review.
- How AI will change software engineering – with Martin Fowler · g2 — Offers a structural response to review volume beyond 'review everything carefully': allocate inspection by blast radius and evidence strength, and sample routine changes.
Related documents
- From AI Code to Trusted Software: Harness Engineering in Practice
- We've Stopped Arguing About Whether AI Changes Software
- Article: When Spec-Driven Development Pays Off
- Agentic AI and Code Reviews
- Agentic Code Review
- AI in Production: Panellists Highlight Silent Failures, Harness Engineering, and Agent Governance
- AWS Expands DevOps Agent with AI-Powered Release Management to Validate Code Before Production
- Comprehension at AI Speed: Building a Context Store for Evolutionary Architecture
- Fragments: February 18
- Brownfield Agentic Engineering