In 30 seconds
AI coding quadrupled the number of pull requests handled by Aviator’s nine engineers, but review could not keep up. Founder Ankit Jain says AI reviewers found bugs yet produced noise, while written specifications drifted from the code. His team now captures intent and decisions, turns repeated comments into checks, and gathers evidence of behavior for human reviewers. Jain reports that median merge time fell from 2.1 days to 3.4 hours and reverts declined over the year; he argues that humans still need to own the rules and understand the system.
- 1Four times as many changes overwhelmed the old review processAviator’s nine engineers went from roughly 100 merged pull requests a week to roughly 400 as AI became the main author of code.
- 2AI comments and specs alone did not replace reviewBots generated useful findings but also noise; specifications drifted without a check against the implemented behavior. A context-aware self-review caught more but lost its reasoning between sessions.
- 3Make agents record disagreements before opening a pull requestA coding agent and a review agent have different goals. Their disagreements, accepted risks and follow-ups become material humans can inspect.
- 4Repeated comments became 64 rules, then 19 automatic checksJain says his team mined a year of comments to derive rules and converted 19 into deterministic checks, including one requiring timeouts on outgoing requests.
- 5Require evidence that the intended behavior worksAgents can start an application and collect screenshots, requests, responses, traces and test results for a person to review.
- 6Merge time dropped while reported reverts fellJain reports a drop from 2.1 days to 3.4 hours in median merge time and a 40% decrease in reverts per 100 pull requests over a year.
Takeaways
- Capture why a change exists and the behavior that will prove it works.
- Record agent disagreements, accepted risks and follow-ups so reviewers can challenge the decisions.
- Turn repeated review comments into owned rules and, where possible, deterministic checks.
- Ask agents to collect evidence of behavior, then have people inspect that evidence and the decisions.
- Budget time to validate new rules against the existing review process before relying on them.
Read the edited text by chapter
AI quadrupled changes without adding reviewers
Aviator’s nine engineers now merge around 400 pull requests a week. AI reviewers, specifications and self-review each addressed part of the problem but left important gaps.
I am going to share what we learned from a year of struggling with code review. We also sell a tool that grew out of this work, so you should take that into account. I wrote earlier about replacing code review with several layers of checks; today I want to discuss what we learned in the months after that.

Our team has nine engineers. About a year ago we merged around 100 pull requests a week; now we merge around 400. We moved from mostly human-written code with AI assistance to mostly AI-written code with human assistance, but humans still reviewed the pull requests.
First we tried AI reviewers. They found bugs, but many bot comments were merely nice to have. We also noticed that the comments people made were often less about correctness than about the decisions behind a change.
Next we tried writing specifications and reviewing those instead of the generated code. The problem was that assumptions became stale as implementation changed. If nobody read the code or checked it against the specification, the two could drift apart without anyone noticing.
Our third attempt was a self-review skill that ran before a pull request was submitted. It knew more about our codebase than a generic bot and found better issues, but we were still reading the diff afterwards. The findings and reasoning from the agent session also disappeared when the session ended.
Reviews share knowledge as well as catch bugs
Jain argues that the discussion around a change helps a team understand the system. He separates correctness and repeated standards from decisions that require judgment.
Why do teams review code? I cite a 2013 Microsoft study in which 44% of respondents named finding bugs as a reason for review, while only 14% of the comments analyzed concerned bugs. My point is that review also builds shared mental models: teammates learn how the system works.
Human reviews do find issues, but they are difficult to do well at scale. I refer to an older study suggesting review quality declines beyond 400 lines; with AI-generated changes, I say a median pull request can exceed 600 lines. A diff tells us what changed, not necessarily why.
I categorized comments on one of our pull requests. Among 14 threads, eight concerned potential bugs but only one was a real bug; three repeated standards we had raised before, and two were decisions. Some comments were noise or minor preferences. Those categories call for different responses.
One part of review asks whether code is correct and follows the team’s standards. Another involves a developer’s choices and opinions. If we automate the whole review without preserving the second part, we lose the opportunity to discuss those decisions.
Six steps rebuild the useful parts of review
The framework separates agent disagreement, capturing intent, rules, proof, human debate and ownership. Jain says teams can implement it without buying Aviator’s product.
Our framework has six steps: let agents argue, capture intent, codify repeated comments, prove behavior, debate decisions and own the rules. The aim is to separate the valuable functions of review and rebuild them. You can do this yourself; you do not need our product.

Have agents disagree, then save the decisions
A separate review agent challenges the coding agent before a pull request. The resulting record preserves accepted risks and follow-up work.
Before a pull request exists, we use a coding agent and an independent review agent with different goals. The coding agent defends its implementation; the reviewer looks for defects. They can use different models. The important part is recording what they disagree about and what was decided.

A disagreement might end with an accepted risk rather than a fix: adding complexity is not always worthwhile. Another finding might become a follow-up in a separate pull request. Today that information often vanishes with the session; recording it gives the human reviewer something to inspect.
Capture intent and acceptance criteria
Jain’s team found it difficult to keep formal specifications current. It captures why a change is needed and what observable behavior should result.
We also need the why and the intended behavior. A specification can provide them, but it takes discipline to keep it current. We failed to update ours when the implementation changed, which meant the document no longer reliably described the system.
Instead, we capture intent—why the change exists—and acceptance criteria—how it should behave. The intent may begin in a ticket, a prompt to an agent or a specification. The criteria emerge as the user describes behavior and the agent stops to make choices. These details already exist in the session but are often discarded.
Turn repeated comments into owned checks
A scan of past comments produced rules that the team could maintain and, in some cases, convert into deterministic scripts. Each rule needs an owner.
Next, turn recurring comments into rules. We mined a year of previous review comments, selected and classified useful ones, and merged similar observations into guidelines. From 200 candidates, one scan automatically produced 64 rules, which we call invariants.
An invariant describes what to check, when it applies, how it is verified, where it came from and who owns it. Provenance lets us return to the original discussion; an owner keeps the rule from becoming stale. Some rules resemble conventional linters, while others are more complex.
A rule can become cheaper to enforce over time. An agent can try converting a natural-language rule into a deterministic script. Run the script in shadow mode alongside model-based validation, compare the results and promote it when it is reliable.

For example, we converted a recurring request-timeout comment into an AST-based check that detects outgoing calls without a timeout. Of the 64 rules, we converted 19 into deterministic checks. Every comment the team repeats is a potential guardrail we have not yet written.
Prove behavior and let humans debate decisions
Agents gather evidence using tests, requests and screenshots. People review unsettled choices, revisit decisions and retain the context after a pull request closes.
To prove behavior, we take the acceptance criteria, create a plan, start a server and ask an agent to collect evidence. Depending on the criterion, that can mean a screenshot, a request and response, network activity, a test run, a trace or a structural code check. A human’s job is to determine whether the evidence supports the claim.

Humans remain important in the debate. Decisions appear when a person corrects an agent, when coding and review agents disagree, or when a failed check leads an agent to change code or requirements. Some choices are resolved automatically; others need human judgment.

A reviewer can skim settled choices, resolve the ones left open and reopen a decision they would make differently. That discussion with the author—human or agent—is where people learn how the system works and argue about the trade-offs, not merely approve a bot’s conclusion.
The decisions can outlive a pull request. Review them over a week, ask why a particular choice was made, and give the history to an agent as context for later work. Explicit follow-ups are easier to track, and recurring choices can inform better rules.
Own the guardrails and measure the results
Jain argues that people must maintain the rules and their understanding of the system. He reports faster merges and fewer reverts, while noting that the first 90 days required extra work.
Models cannot own code or mistakes, so people remain responsible. I propose that teams own the guardrails and verification system as well as maintaining their understanding of the system. If we lose that understanding, we accumulate context debt: we no longer know what we are building or how it works.

A year later, our reported results were four times as many merged changes and a median time to merge of 3.4 hours, down from 2.1 days. The slide also shows human discussion threads per pull request falling from 6.2 to 1.3 and reverts per 100 pull requests declining 40%. We still discuss decisions, but less of the conversation takes place as line-by-line corrections.
The evidence also provides an audit trail. For a particular change we can show screenshots, requests and other proof of what was verified. Our review surface shifts from the diff alone toward the intent, the evidence and the decisions.
We now spend time refining rules, debating choices and improving verification. Each week we ask which manual testing and QA tasks we can automate. This is a system built over time, not a change a team can make immediately.
The first 90 days were hard. In the first month we did double work, reviewing both the code and the rules to check that the process worked. In the second month we began trusting the rules more; by the end of the third, intent and evidence were becoming more useful to review.
To start, mine your last 1,000 review comments and turn the top 20 into checks that run on every change. An agent can help propose the rules. Keep intent, acceptance criteria, invariants, decisions and evidence distinct: they respectively explain why, expected behavior, code-quality guardrails, trade-offs and proof.
Aviator’s Verify product captures intent, evidence and decisions, but the underlying practices can be adopted independently. You can outsource some work, but you cannot outsource your understanding of the system.
More from this channel
11:42EN
1:01:25EN
1:01:19EN
26:34EN
17:31EN
1:02:59EN