AI Writes the Code. Why Am I Still Reviewing Every Line?
I no longer manually review every line of every pull request in my own projects.
That sentence can make developers uncomfortable. Code review is where we are supposed to catch mistakes, protect architecture, and share knowledge. Removing the line-by-line inspection sounds like removing responsibility.
But my involvement has not disappeared. I define the work, establish constraints, evaluate feedback, and decide which changes belong in the implementation. AI writes code. Automated checks test it. An AI reviewer challenges it. I stay involved throughout the feature or bug fix, directing what happens next.
The question I keep returning to is this: If AI can implement a change and another AI can scrutinize it, where does my attention contribute the most?
For my workflow, the answer is increasingly in understanding the problem, evaluating the evidence, and making decisions about scope. Reading every line is one tool available to me. It is no longer my default measure of whether I have done my job.
The Habit Behind the Pull Request
Many of us learned a familiar sequence: write code, open a pull request, have another developer inspect the diff, address comments, and merge. The pull request became both a technical checkpoint and a ritual of accountability.
That process bundles several different activities together. A reviewer may identify a defect, question an architectural decision, notice a security issue, explain a convention, or ask whether the change solves the right problem. Those activities require different kinds of evidence.
A type checker can settle some questions. A regression test can settle others. An AI reviewer can inspect branches and interactions I might overlook. Understanding why the customer needs a particular behavior may require a conversation that none of those tools can replace.
When we insist that every question must be answered by a human reading a diff, we make one activity carry the weight of the entire engineering process.
AI gives us a reason to reconsider that arrangement. The useful question is how each concern gets addressed and what evidence supports the decision to proceed.
Reading a Diff Is Not the Same as Understanding a Change
A diff shows the distance between two versions of the code. It rarely contains the entire explanation for the journey. The requirement may live in an issue, the compatibility constraint in an older discussion, and the reason for an unusual branch in an incident that happened months ago. A reviewer can examine every changed line and still miss the assumption that matters most.
Imagine a change that replaces an explicit check with a convenient default. The new code is shorter and easier to read. The unit tests pass because they exercise ordinary inputs. However, the old check deliberately distinguished missing data from an empty value. A downstream process depends on that distinction. The defect becomes visible only when someone asks what the default means to the rest of the system.
Human reviewers can ask that question, and so can an AI reviewer supplied with the relevant context. Neither earns confidence simply by traversing the diff. The evidence needs to connect the implementation to the behavior it is supposed to preserve.
This also changes what I expect from a pull request description. A list of edited files contributes little when the files are already visible. I want an explanation of the trigger, the previous behavior, the resulting behavior, and the constraints that shaped the solution. A concrete example often communicates that better than a long implementation summary.
For instance, “fix output handling” leaves the reviewer to reconstruct the purpose. “A script consuming JSON fails because a progress message reaches stdout; this change keeps that message out of the report stream” gives the reviewer a behavior to challenge. It also suggests a test without prescribing how the implementation must be written.
There is a related danger in treating familiarity as proof. I prefer code I would have written myself, even when another approach meets the requirements equally well. An AI implementation can make that bias more visible. Before asking it to rewrite a working section, I should distinguish a project constraint from a personal preference.
I still care about readability. Someone must maintain the result. But a useful readability objection explains a maintenance consequence: hidden side effects, unclear ownership, a surprising dependency, or an abstraction that makes a simple operation difficult to trace. “I would write it differently” needs more investigation before it becomes a required change.
The pull request remains a useful place to collect evidence and decisions. Its value grows when we judge the explanation, tests, and review findings together. My attention can then move toward unresolved questions instead of repeating an inspection that another part of the process has already performed.
My Workflow Still Has a Developer in It
My current process starts with a feature or a bug and the context around it. What should change? What must continue working? Which behavior is intentional? What would count as success?
I use Claude Code locally to work through the implementation. The repository supplies additional instructions and conventions. Once the change reaches a pull request, automated checks and CodeRabbit provide feedback. CodeRabbit reviews subsequent pushes as the implementation evolves.
I then decide what to do with that feedback. Claude can investigate the findings, explain them against the current code, and implement the corrections we select. Verification runs again, and the updated change receives another review.
The essential stages are straightforward, as Table 1 shows.
Table 1: Who handles each stage of the review workflow
| Stage | Primary contribution |
|---|---|
| Define the task | I establish intent, constraints, and expected behavior. |
| Implement | Claude develops the change with repository context. |
| Verify | Builds, type checks, tests, and security checks produce evidence. |
| Review | CodeRabbit examines the change and reports findings. |
| Decide follow-up | I assess the findings in the context of the task. |
| Correct and recheck | Claude applies selected fixes; checks and review run again. |
There is substantial automation in this process, but I still initiate the correction work. That is a deliberate choice about where I want to remain involved.
Make the Task Clear Before Asking for an Implementation
The quality of the review loop depends on the task that enters it. If I ask for a vague improvement, the implementation agent must invent part of the specification. The reviewer may then evaluate the invented specification rather than the behavior I intended.
Suppose the request is to make an application handle network failures more gracefully. That leaves important choices open. Should it retry? Which failures are temporary? Can the operation be repeated without creating duplicate work? Should the interface retain the previous result, show an error, or prevent another attempt? An implementation can look complete while making the wrong choice on each question.
I would first describe the user-visible outcome. If a read request fails temporarily, preserve the last successful result, show that it may be stale, and allow the user to retry. If a write request times out after reaching the server, do not assume it failed and repeat it blindly. Those are different problems even though both began as network errors.
The task should also identify what is outside its scope. A small error-handling change should not silently replace the application’s data layer or introduce a new retry library. Constraints help the agent choose among otherwise reasonable approaches and help the reviewer recognize when the change has expanded.
I find it useful to ask for an implementation approach before asking for edits when a task has several moving parts. The explanation can reveal a misunderstanding early. If the agent proposes caching data that must remain fresh, or retrying an operation that cannot safely be repeated, that is an inexpensive point to correct course.
This does not require a formal specification for every small fix. Sometimes a failing example and a sentence about expected behavior are enough. The amount of preparation should reflect the uncertainty. A typo correction and a change to transaction handling deserve different conversations.
Acceptance criteria should describe outcomes that can be observed. “Improve reliability” is difficult to verify. “A failed read retains the previous value and exposes a retry action” gives both implementation and review something concrete to work with. Negative behavior matters too: the retry must not duplicate a write, and an error must not be presented as a successful empty response.
As the implementation develops, new information may change the task. I want that change made explicit. If solving the bug requires a broader contract change, the agent should bring that decision back into the conversation. Otherwise, the definition of success can drift until the code and tests agree on an answer nobody actually requested.
The developer’s involvement begins here, before a line of generated code exists. Good context reduces unnecessary correction later and makes disagreement during review easier to resolve.
A Review Comment Is a Proposal
Consider a hypothetical bug fix for a command-line application. When users request JSON output, a progress message sometimes appears before the JSON document. A script consuming that output fails to parse it.
The task is clear: produce valid machine-readable output while preserving the appropriate exit behavior.
An AI reviewer might identify a second path that still prints a banner. It might also suggest consolidating output handling into a shared abstraction. Both observations could be reasonable, but they lead to different decisions.
The missed banner is part of the bug. It should be fixed and covered by a regression test. The shared abstraction may deserve its own change, especially if adopting it would affect many unrelated commands.
This is where I want the developer involved. Does the suggestion belong in this pull request? Does it increase the amount of behavior we must validate? Are we correcting a defect or starting a refactor? Is the reviewer working from an assumption that conflicts with a supported use case?
Automatically implementing every plausible suggestion can turn a focused fix into a much larger change. The resulting code may be tidy and the tests may pass, yet the implementation can still exceed the intended scope.
I want AI to help me investigate those choices. I want to understand why we are making them.
Deciding Which Findings Deserve a Change
When review feedback arrives, I want to understand the consequence of each finding. A label such as major or minor can help organize attention, but it cannot decide the outcome by itself. A supposedly small output change may break automation, while an alarming comment may depend on a state the application cannot reach.
For each finding, I ask the implementation agent to explain the relevant path through the current code. What input triggers it? Which condition is missing? What does the caller observe? Can we demonstrate the issue with a focused test or a small reproduction? That turns the review into a technical investigation.
Consider a reviewer suggesting that an empty result should cause failure. That may be correct when an empty result means the scan never ran. It may be incorrect when the input is valid and genuinely contains nothing to report. The same surface symptom can represent success or incomplete work. The decision depends on the product contract.
If the finding is valid and belongs to the task, I want a focused correction. If it is valid but unrelated, I may record it for a separate change. If it is incorrect, I want an explanation anchored in the code and expected behavior. If we cannot establish whether it is correct, it remains an open question rather than becoming an automatic edit.
Deferring a finding should have a reason that another maintainer can understand. “Out of scope” can be appropriate, but it should explain the boundary and, where necessary, identify the follow-up work. Otherwise, scope becomes a convenient way to dismiss something that genuinely threatens the current change.
Rejecting a finding also deserves care. The implementation agent has an incentive, through the task we give it, to complete the work. A persuasive defense of its original code should face the same scrutiny as a persuasive criticism from the reviewer. I should be willing to ask for a reproduction instead of choosing whichever explanation sounds more confident.
After a correction, I check whether it introduced a new assumption. A fix that suppresses all messages may make JSON parseable while hiding an important error. A fix that retries every failure may recover a read while duplicating a write. The reviewer’s original observation can be valid while the proposed remedy still needs adjustment.
This decision process leaves a useful record. A later maintainer can see why we changed one branch, deferred an abstraction, or retained behavior that initially looked suspicious. The discussion carries the reasoning that the final diff cannot show on its own.
That is the part of review I want to keep close. AI can locate issues, investigate alternatives, and implement the chosen response. I remain involved in deciding what the software should promise and how much work belongs in this change.
Passing Checks Need a Meaning
Automated verification is valuable when its checks represent promises the software actually makes.
For a command-line tool, that might include exit codes, parseable output, supported runtime versions, installation behavior, and correct handling of incomplete input. For a web application, it might include authorization boundaries, accessibility, persisted state, and behavior when a network request fails.
The relevant checks depend on the product. A long list of tools does not establish that the important behavior is covered.
Tests also need scrutiny. An AI can misunderstand a requirement and produce an implementation and a test that agree with each other. A mocked assertion can demonstrate that one function called another without showing that the user receives the correct result.
For the JSON example, a useful test runs the relevant behavior, captures stdout, and parses it. A test that only checks whether a mocked writer received a particular argument leaves a different set of questions unanswered.
One useful question for any new regression test is whether it fails when the defect is reintroduced. That question directs attention toward the behavior being protected. It can be part of AI review, and it is also a reason for a developer to inspect a particular test closely.
I am comfortable delegating detailed inspection when the surrounding evidence supports it. When a check proves less than I assumed, I need to adjust that confidence.
Build Evidence Around the Failure You Care About
Verification becomes easier to reason about when we name what each check establishes. A successful build shows that a particular compilation completed. A passing unit test establishes that its assertions held under its setup. A security scan reports what its rules and data could detect. Each result has a useful but limited meaning.
For the JSON example, I would want to know whether a real consumer can parse the report. That includes the ordinary success path, a path with warnings, and an error path if the application promises structured output there. The report may be valid for a tiny result and fail when the output grows or a different branch emits a message.
A focused regression test should reproduce the original defect. Additional tests should follow the paths affected by the fix. If output handling is shared by several report formats, the correction may need broader checks than the initial JSON example suggests. The code’s actual dependencies determine the verification scope.
It is also useful to distinguish tests of policy from tests of mechanism. A mechanism test may confirm that a helper routes a message to a stream. A policy test asks whether the command produces the intended output and exit status for a meaningful scenario. Both can help, but the mechanism test cannot stand in for the whole user-facing promise.
Fixtures deserve the same attention as assertions. A fixture described as a vulnerable dependency must actually contain the dependency relationship the test claims to exercise. A permission test must use identities and resources that can demonstrate the prohibited access. A carefully named test built on an unsuitable fixture can provide misleading reassurance.
When an AI agent adds a regression test, I can ask it to demonstrate that the test detects the unfixed behavior. One approach is to revert the relevant implementation locally and run the test. Another is to construct the failing behavior explicitly. The appropriate method depends on the change, but the question stays the same: what evidence shows that this test protects us?
External services add another complication. A test using live data may change its result because the data changed, even when the code did not. Controlled fixtures make specific behavior easier to reproduce. Separate integration checks can establish that the live service still behaves as expected. Combining those purposes in one test makes failures harder to diagnose.
I do not want every change to trigger every conceivable check. That can make feedback slow enough that people stop using it effectively. Cheap checks can fail early, and targeted tests can guide local correction. The agreed verification requirements still need to pass before acceptance.
The result should be an explanation of why the change deserves confidence. “Everything is green” is a starting point for that explanation. “The original defect is reproduced, the affected paths are exercised, and the compatibility checks pass” tells me much more about what was actually established.
Give the Reviewer the Rules That Matter
An AI reviewer is more useful when it knows what the project cares about.
Generic feedback can produce a stream of suggestions about naming, abstraction, or formatting. Some may be helpful. Others consume attention without improving the change.
Project-specific instructions focus the review. Which incorrect outcomes would be especially damaging? Which compatibility promises must be preserved? What dependencies require explicit approval? Which claims must the product never make?
In my setup, review instructions include questions about whether tests exercise real behavior and whether a change could produce a misleading result. Sensitive configuration receives different treatment from ordinary implementation changes.
# CodeRabbit Review Instructions (.coderabbit.yaml)
reviews:
path_filters:
- "!**/vendor/**"
instructions: |
- Verify that newly added tests exercise real user-facing behavior, not internal implementation details.
- Check if error handling distinguishes between missing resources and invalid parameters to avoid misleading API responses.
- Ensure sensitive configuration or secrets are not committed or logged.
These instructions are engineering decisions. Writing and maintaining them takes an understanding of the system. They also need to evolve: a defect that escapes review may reveal a missing test, an unclear requirement, or a recurring assumption worth making explicit.
The benefit compounds when a lesson can become an executable check. If we repeatedly catch the same class of problem in review, we should ask whether the build or test suite can detect it consistently.
Turn Repository Knowledge into Review Instructions
A repository often contains knowledge that experienced maintainers carry implicitly. They know that a certain dependency is intentionally avoided, that a return value distinguishes incomplete work from success, or that a public flag has compatibility requirements beyond its implementation. An AI tool needs a way to discover those constraints.
The first step is to write down the important rules in a form that can guide a decision. “Use best practices” contributes little. “Do not report a successful result when the underlying operation was incomplete” identifies an outcome to examine. “A new runtime dependency requires an explicit explanation” creates a clear point for maintainer judgment.
Rules should include the reason when that reason helps resolve trade-offs. A small runtime footprint may matter for installation time or deployment constraints. Preserving an older runtime may be a supported-product commitment. Without that explanation, an agent may regard a rule as an outdated preference and propose removing it during an otherwise useful cleanup.
The implementation instructions and review instructions should agree about the product’s promises. If one asks for minimal dependencies while another recommends a library for every repeated operation, the tools can create unnecessary rounds of correction. Shared constraints reduce that friction while leaving room for the reviewer to challenge the implementation.
I would also avoid filling the instructions with every lesson from every past issue. A long, contradictory document can become difficult for people to maintain and for tools to apply consistently. General rules belong in a shared guide; specialized concerns can live near the components they govern. References should make the relevant context discoverable.
For example, output-handling guidance can explain which stream carries reports and which carries diagnostic messages. A parser guide can describe supported input variants and how malformed data should be handled. Tests can then encode concrete examples of those promises. The prose and executable checks serve related purposes without having to duplicate each other word for word.
Review instructions need feedback too. If a rule causes repeated irrelevant comments, it may be too broad. If an important failure escapes review, it may need a better example or an automated check. The goal is to improve the usefulness of the feedback rather than maximize the number of findings.
Changes to these instructions also deserve scrutiny. Relaxing a rule can affect every later pull request, even if the edit is only one sentence. I would treat a change to the verification policy differently from an ordinary implementation correction. The process must retain a way to question changes to its own acceptance criteria.
Maintaining these guides is one concrete expression of engineering ownership. It captures the context I want the tools to use, makes expectations available to other developers, and gives us something to improve when experience reveals a gap.
Two AI Tools Do Not Guarantee an Independent Answer
Using Claude for implementation and CodeRabbit for review creates an opportunity for one tool to challenge another. It does not guarantee that their reasoning is independent.
Both may accept an incomplete requirement. Both may miss the same edge case. A convincing explanation from one model can make a weak assumption look settled to the next.
That is why agreement between tools is only one piece of evidence. Existing regression tests, external specifications, real input fixtures, and observed behavior can provide anchors outside the generated explanation.
For the output bug, parsing the actual output provides a concrete result. For an authorization change, I would want explicit evidence about access that must be refused. The checks should target the consequence we care about.
There will also be changes where I read the relevant code myself. An unfamiliar security boundary, a difficult concurrency issue, or a surprising result can justify direct inspection. Delegating routine review leaves room for that deeper attention.
Review Freshness Matters as Much as Review Quality
Even a good review applies to a particular state of the code. Once another commit arrives, we need to understand whether the earlier evidence still supports the result. An approval recorded before a significant correction cannot automatically explain the code that exists afterward.
This is especially relevant in an iterative AI workflow. The first review may identify an issue in output handling. The correction changes a shared helper. A later correction updates the tests and modifies another caller. The final state now includes interactions that were absent from the original review.
Incremental re-review makes that process practical, but I still want clarity about what was reviewed. Are the latest findings based on the current commit? Are checks still running? Did the reviewer pause? Has a new push invalidated a result I was about to rely on? A quiet pull request is not necessarily a completed review.
The same applies to local verification. If Claude runs tests and then makes another edit before pushing, the earlier test result may not cover the delivered change. The correction workflow should keep those events clear. The summary should identify the changes made and the checks run against them.
There is another boundary between the pull request branch and the branch it will join. A change can pass in isolation and interact badly with work merged in the meantime. Depending on the repository, validating the combined result or using a merge queue can address part of that uncertainty. The important point is to know which version the evidence describes.
Repeated review also needs a stopping condition. Another round can reveal a real defect, but it can also produce diminishing returns through speculative improvements. When feedback keeps expanding the scope, I return to the acceptance criteria. Does the remaining concern threaten the intended behavior, or does it describe a different piece of work?
This is where a maintainer’s decision remains valuable. A review tool can continue offering possibilities. A project needs a reasoned point at which the current change is complete. That decision should follow the unresolved consequences and verification evidence rather than fatigue with the discussion.
For a team, I would make the acceptance requirements visible. Developers should know which checks must pass, what kinds of findings block progress, and who can decide an exception. An exception needs an explanation of the specific concern being accepted. Otherwise, the process becomes unpredictable even if it contains extensive automation.
Reliable review involves both the substance of the feedback and the timing of the evidence. I want confidence in the code that will ship, rather than a collection of successful results attached to earlier versions of it.
I Considered Automating the Remaining Handoff
Once implementation, review, and verification are connected, the next step looks obvious: monitor the pull request, collect findings, invoke the coding agent, push fixes, and repeat.
I explored that direction. Then I paused.
I was uncomfortable with a system making follow-up code changes while I lost touch with the context of the feature or bug. The review feedback often contains decisions worth understanding. Even a valid finding may have several acceptable resolutions, with different effects on compatibility, complexity, and scope.
I was uncomfortable with a system making follow-up code changes while I lost touch with the context of the feature or bug.
For now, I want to participate in that conversation. I can delegate the mechanics of making a selected correction while retaining the decision about what the correction should accomplish.
A more autonomous workflow could be appropriate for a tightly bounded class of changes. That does not make unattended correction the necessary destination for every project. The amount of autonomy should follow the task, the available evidence, and the consequences of being wrong.
A Fully Automatic Loop Can Make the Wrong Change Efficiently
The attraction of unattended correction is easy to understand. Copying feedback into another tool feels repetitive. Waiting for review results interrupts concentration. When the coding agent already performs the investigation and edits, connecting those actions seems like a small final step.
The difficulty appears when the loop encounters a decision that looks like a mechanical repair. Suppose a reviewer flags a missing fallback and the implementation agent adds one. The tests now pass. But the product deliberately requires an explicit failure when the data is unavailable, because silently substituting a default would mislead users. The loop has made progress according to its immediate signals while changing the intended contract.
That example does not mean automated repair is inherently inappropriate. A formatter correcting whitespace has a narrow acceptance criterion. Updating a generated artifact from an authoritative source can also be tightly bounded. Other tasks contain choices that are harder to reduce to a simple signal. I want autonomy to follow those boundaries.
A developer who understands the feature can notice that a suggestion crosses one. That context may include a customer conversation, an operational constraint, or a design decision that has not yet reached the repository. Keeping that information out of the tools is a process weakness worth addressing. Until it is captured, however, the missing context still matters.
I also want to preserve the opportunity to learn from the feedback. If review repeatedly catches the same mistake, I should ask why. Perhaps the task description is incomplete, an instruction is unclear, or a shared helper makes the correct behavior difficult. Automatically repairing each instance can hide the pattern unless the system makes it visible.
There is a difference between approving a direction and supervising every keystroke. I do not need to tell Claude how to express each condition or where to place each local variable. I do want to decide whether the correct response is a minimal fix, a broader redesign, a deferred issue, or a rejection of the finding.
For now, that judgment is part of my interaction with the implementation agent. I can ask it to summarize the findings, compare remedies, and explain the resulting behavior. Once we choose the response, it can handle much of the execution. That arrangement saves work while keeping the decisions available to me.
The unfinished automation is therefore not something I need to conceal or rush past. It marks a boundary I currently want in the process. If I later automate a class of corrections, I want to define that class clearly and evaluate the results before extending the scope.
Understanding Remains Part of the Job
There is a practical risk in letting AI handle implementation and detailed review: developers can gradually stop understanding the systems they maintain.
I do not think reading every diff is the only defense against that. But understanding needs an explicit place in the workflow.
Before accepting a meaningful change, I should be able to explain what behavior changed, why the approach fits, what evidence supports it, and what uncertainty remains. I should know where to investigate if the behavior fails after release.
An explanation from the coding agent can help. So can walking through a concrete input, examining a boundary case, or reviewing the architectural implications. If I cannot reconcile the explanation with observable behavior, I need to investigate further.
For teams, code review also carries a learning function. A senior developer may understand the implications immediately while a newer colleague needs a walkthrough. If line-by-line review becomes less frequent, teams still need ways to share decisions and build that knowledge. Otherwise, faster implementation can leave fewer people able to maintain the result.
Bring the Team Along Without Turning Reviewers into Spectators
A workflow that suits a maintainer working closely with a familiar codebase may need adaptation for a team. People have different levels of experience, different knowledge of the system, and different responsibilities after deployment. A change in review practice needs to account for those differences.
For a newer developer, writing the task and evaluating feedback can be a learning exercise. I would ask them to explain the expected behavior, describe a failure case, and justify which review findings they accepted. That makes their reasoning visible. Accepting an AI patch and repeating its summary would not establish the same understanding.
A more experienced colleague can help by challenging assumptions rather than rewriting every implementation detail. Why is this state valid? What happens if the operation is repeated? Which caller depends on this return value? Those questions teach a way of examining software that remains useful regardless of who produced the code.
Teams also need to preserve knowledge sharing that used to happen incidentally in review. A focused walkthrough of an architectural change may be more useful than dozens of comments about local expression choices. A short decision record can explain why a design was selected and what would cause the team to revisit it.
Ownership should remain clear. If AI writes a change and AI reviews it, someone still needs to understand what happens when production behavior differs from the expectation. The team should know who can investigate, how the change can be reversed, and which evidence will reveal a problem. Delegating implementation does not answer those operational questions.
If AI writes a change and AI reviews it, someone still needs to understand what happens when production behavior differs from the expectation. The team should know who can investigate, how the change can be reversed, and which evidence will reveal a problem.
I would introduce the workflow through a limited experiment. Choose a class of changes with understandable outcomes and existing verification. Let developers use AI implementation and review while retaining the follow-up decisions. Compare the experience with the previous process and look closely at failures rather than judging success by speed alone.
Useful observations include how often the reviewer identifies an actionable defect, how often findings are rejected, and how much time developers spend resolving ambiguity. Escaped defects and rework matter too. A shorter review cycle that creates more corrective work after release may not be an improvement.
The measurements need interpretation. A high rejection rate might indicate noisy review instructions, but it might also reveal developers dismissing useful criticism. A low intervention rate could mean the tools are working well, or that people have stopped questioning them. Concrete examples help distinguish those explanations.
The team should be able to adjust the level of human inspection as it learns. Familiar, focused changes may need less direct reading. A new subsystem or a consequential contract change may need more. The purpose of the experiment is to discover where attention is useful and build a practice people can explain and sustain.
What Would Make Me Open the Code
Delegating routine inspection does not remove the need to recognize when the evidence is insufficient. I want clear reasons to stop following the normal path and investigate a change directly.
One reason is a mismatch between the explanation and the behavior. If the agent says a failure is handled but the reproduction still shows the failure, I need to trace the path. More explanation from the same tool may help, but it cannot substitute for resolving the contradiction.
Another reason is an important assumption that no check exercises. A change may rely on requests arriving in order, input always being normalized, or a database operation running exactly once. If that assumption carries the correctness of the implementation, I want evidence that it holds or a design that handles its failure.
Security boundaries deserve particular attention because ordinary success cases often say little about the access that must be denied. A test proving that an authorized user can read a record does not establish that another user cannot read it. The implementation, tests, and requirement need to agree about the prohibited behavior.
I would also investigate a change whose verification became easier because the agent modified the checks. Sometimes tests genuinely need updating when behavior changes. Sometimes a correction accidentally removes the assertion that would have caught the defect. The explanation must account for why the old expectation no longer applies.
Large, hard-to-explain diffs are another signal. If a narrow task produces unrelated refactoring, generated files, dependency changes, and a new abstraction, the review surface may be larger than the task justifies. I would ask the agent to separate the work or explain why those changes are necessary before continuing.
A repeated failure can indicate that the model is patching symptoms. Each correction addresses the latest assertion, but the overall behavior remains unclear. At that point I want to restate the contract, reduce the reproduction, and examine the underlying design. Another automatic attempt may simply add another branch.
These are practical triggers for allocating attention. They do not require me to predict every possible defect. They give me a way to recognize uncertainty and respond proportionately. The goal is to spend time where a decision or an investigation can materially change our confidence.
That is also why I resist replacing review with a blanket rule in either direction. “Always read everything” ignores the evidence available from tools. “Never inspect generated code” ignores the situations where direct examination is the fastest way to answer an important question. My workflow needs room for both delegation and intervention.
A Smaller Experiment than Abandoning Review
You do not need an autonomous pipeline to try this approach.
Choose a focused change in a system you understand. Define the expected behavior, let AI implement it, and use the existing checks and an AI review to challenge the result. Evaluate the findings yourself and direct the corrections.
Then examine where your involvement helped. Did you catch a misunderstood requirement? Reject unnecessary scope? Discover that a test did not protect the promised behavior? Did reading a specific section of code answer a question that the other evidence could not?
Those observations are more useful than counting generated lines or celebrating a green dashboard. They show where your process needs stronger verification and where your judgment contributes.
My confidence in this workflow comes from staying engaged with the work while changing how I spend my attention. AI can perform much of the implementation and detailed review. I still decide what we are trying to achieve and which follow-up changes move us toward it.
I expect to keep reading code. I no longer assume I must read every line to take responsibility for what ships.
Sonu Kapoor

