Ankit Jain, cofounder and CEO of Aviator, explains on AI Engineer how his nine-engineer team changed its review process as AI-written pull requests piled up.

Three attempts that still left reviewers reading diffs

  • A generic AI reviewer caught a real race condition, but its other comments nearly buried the design questions people wanted to discuss.
  • The team tried approving the spec first. The implementation drifted, the spec stayed stale, and reviewers went back to the diff to find out what shipped.
  • A codebase-specific self-review caught more useful issues before submission. Its findings and the reasoning behind them still vanished when the coding session ended.

Put the decisions on the pull request

  • Argue. Give the coding agent and a separate reviewer different jobs. Record what they disputed, what they fixed, what risk they proposed accepting, and what needs a follow-up.
  • Capture. Keep the reason for the change and its acceptance criteria, the behaviors a reviewer can check. Pull them from the ticket and the decisions made during implementation.
  • Debate. People skim the settled calls, decide what the agents left open, and reopen anything they would do differently. In one example, reviewers had to decide whether to deduplicate retried webhook deliveries.
  • Own. Keep a named team responsible for the rules and a person responsible for sign-off. Use the decision log to track follow-ups and give future reviewers the reasoning behind earlier changes.

Turn recurring comments into checks

  • Codify. Mine recurring feedback into invariants: standing rules that apply to every matching change. Give each a scope, a check, a record of where it came from, and an owner.
  • Aviator says it mined 11,400 comments, found 212 candidate rules, and approved 64. It converted 19 into repeatable checks, including a source-code check for missing outbound request timeouts.
  • Run the new check alongside the model reviewer before promoting it. Agreement helps spot mismatches; validate against known passing and failing cases before relying on either verdict.
  • Prove. Match the evidence to the claim. In Jain’s preview, saving a changed setting adds one audit-log entry; saving it again without changing anything leaves that count at one.

What changed at Aviator

  • Jain reports that weekly merges rose from 102 to 409, with the same nine engineers. Median time to merge fell from 2.1 days to 3.4 hours, and reverts per 100 pull requests fell 40%. Human sign-off stayed in place.
  • Jain describes the first month as double work: people reviewed the code and checked the new rules. His starting point is to mine the last 1,000 comments and turn the 20 most common patterns into checks the team can inspect.
  • Caveat: These are Aviator’s own before-and-after figures. They describe one team’s workflow change, and the comparison cannot isolate what caused the gains.

“Every comment your team repeats is a guardrail you haven’t written.” — Ankit Jain, 13:50