Ankit Jain: Review Decisions and Evidence, Not Just AI Code

Aviator’s nine engineers moved from reading every diff toward checking decisions, rules and evidence as AI quadrupled their output.

AJAnkit JainPonente · Aviator
Canal
AI Engineer
Publicado
4 dic 2026
Vídeo
23:31
Lectura
7 min
Diapositivas
7
Original
inglés
Abrir en YouTube
Al desplazarte, el vídeo se reduce a la esquina inferior derecha y sigue reproduciéndose. Los subtítulos siguen tu idioma de lectura.
Idioma de lecturaDisponible en 2 idiomas
Este artículo aún no está en español, así que se muestra el original en inglés.
RESUMEN

En 30 segundos

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

Conclusiones

  1. Capture why a change exists and the behavior that will prove it works.
  2. Record agent disagreements, accepted risks and follow-ups so reviewers can challenge the decisions.
  3. Turn repeated review comments into owned rules and, where possible, deterministic checks.
  4. Ask agents to collect evidence of behavior, then have people inspect that evidence and the decisions.
  5. Budget time to validate new rules against the existing review process before relying on them.
TEXTO COMPLETO

Lee el texto editado por capítulos

Solo la transcripción
01

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.

Aviator’s pull requests increased fourfold
DIAPOSITIVA 1 / 7Aviator’s pull requests increased fourfoldThe slide compares weekly merged pull requests and team size across one year.

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.

02

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.

03

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.

Six steps for a different review process
DIAPOSITIVA 2 / 7Six steps for a different review processThe framework separates agent disagreement, intent, rules, proof, human debate and ownership.
04

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.

Recording disagreements and their outcomes
DIAPOSITIVA 3 / 7Recording disagreements and their outcomesThe example marks decisions, accepted risks, follow-ups and a choice requiring human judgment.

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.

05

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.

06

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.

A repeated review comment becomes an automatic check
DIAPOSITIVA 4 / 7A repeated review comment becomes an automatic checkAn AST-based rule looks for outgoing Python requests without a timeout.

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.

07

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.

Evidence for an audit-log rule
DIAPOSITIVA 5 / 7Evidence for an audit-log ruleThe example combines a screenshot with requests and responses to verify the expected behavior.

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.

Decisions captured on a pull request
DIAPOSITIVA 6 / 7Decisions captured on a pull requestThe example shows which choices were decided, fixed, deferred or require human input.

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.

08

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.

Reported review metrics after one year
DIAPOSITIVA 7 / 7Reported review metrics after one yearJain compares merge time, human discussion threads and reverts alongside increased throughput.

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.

Más de este canal

4 diapositivas11:42EN
AI Engineer· 4 dic 2026A clean code review is not the same as a safe mergeItamar Friedman · QodoQodo’s Itamar Friedman separates potential damage, reach and behavioral complexity to decide which changes need human review.Software engineeringAgentes de programaciónEvaluaciones
6 diapositivas1:01:25EN
AI Engineer· 4 dic 2026From Coding Prompts to Delegated Projects: Factory’s WorkstreamsRoss Cefalu, Dex Horthy · FactoryRoss Cefalu and Dex Horthy show how an orchestrator, shared context and human review support long-running agent work.Agentes de programaciónAgent orchestrationFlujos de desarrollo y pruebas+2
5 diapositivas1:01:19EN
AI Engineer· 3 dic 2026Build a coding agent harness: tools, budgets and contextTejas Kumar · IBMTejas Kumar turns a chat loop into an agent, then swaps the model and tools to show which pieces can be reused.Ingeniería de agentesAgentes de programaciónIngeniería de contexto+2
5 diapositivas26:34EN
AI Engineer· 3 dic 2026Joe Zein: Turn private-equity archives into context AI agents can useJoe Zein · Soal LabsA low-cost-first pipeline extracts, reconciles and traces decades of fund records before agents can rely on them.Data quality & curationAI agentsKnowledge graphs+1
4 diapositivas17:31EN
AI Engineer· 3 dic 2026Natalie Serrino: Faster AI changes what agents can doNatalie Serrino · Gimlet LabsA two-minute agent turn breaks a builder’s flow. Faster inference can help, but tool calls and the speed–throughput tradeoff still matter.InferenceAI cost & performanceAgentes de programación+2
8 diapositivas1:02:59EN
AI Engineer· 2 dic 2026Kent C. Dodds: build a feedback loop before letting agents shipKent C. Dodds · KodyMaps of reusable components, verifiable pull requests and tested recovery help coding agents work with less human review.Agentes de programaciónIngeniería de agentesFlujos de desarrollo y pruebas+2