cd /news/ai-agents/how-to-trust-agent-code-when-review-… · home › topics › ai-agents › article
[ARTICLE · art-179627] src=falkordb.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

How to Trust Agent Code When Review Can’t Keep Up

At the AI Engineer Code Summit 2026 in San Francisco (November 10 to 12), engineering leaders from Factory, Cognition, AWS and SpaceXSI reported that coding agents now produce far more pull requests than humans can review, and described replacing line-by-line review with automated evidence. AWS Principal Product Manager Doug Clauson said his Kiro Crew team has merged about 16,500 PRs since launch and that "we've stopped reviewing code a long time ago," while Lauren Tan's SpaceXSI team shipped 11,000 PRs in one month with about 0.5% reverted. ZoomInfo Principal Engineer Brian Kennedy reported that an LLM judge was right 65% of the time on 500 real agent steps, and on one fabricated "scheduled email" step that ran 1,081 times, a typed decision model called Jev caught it 876 times versus the judge's once.

recommendation

Grade your LLM judge against real agent steps before trusting it, and add typed deterministic checks for high-frequency actions; ZoomInfo's judge scored 65% while Jev caught a fake step 876 of 1,081 times.

more in playbook: Verifying model output
by read19 min views1 publishedDec 1, 2026
How to Trust Agent Code When Review Can’t Keep Up
Image: Falkordb (auto-discovered)

Coding agents now open more pull requests than a team can read. At AI Engineer Code Summit 2026 (November 10 to 12, San Francisco), Factory showed about 800 PRs merged in 1 week of October, 99% written by its agent, Droid. Cognition showed 999 of 1,134 pull requests on Devin for Android merged with no human approval. Doug Clauson, Principal Product Manager for Kiro at AWS, said his Kiro Crew team has merged about 16,500 PRs since launch. Later in the talk he said, "we've stopped reviewing code a long time ago."

So what replaces line-by-line agent code review? Speakers showed 4 rules, each with a number behind it. After the 4 rules comes a graph you can build this week: 8 Cypher queries, and 1 of them lists every merge that touched billing, auth or CI with no human review and no test older than the agent.

Key takeaways. When agents write most of the code, teams trust evidence instead of reading every line. ZoomInfo's LLM judge was right 65% of the time on 500 real steps. On 1 fake "scheduled email" step that ran 1,081 times, Jev, a typed decision model, caught it 876 times and the judge once. Bun checked an agent-built compiler against tests that predated the project. At SpaceXSI, Principal Engineer Lauren Tan ("poteto" on X) and her team turn every correction into a check in code, and shipped 11,000 PRs in 1 month, about 0.5% reverted. Sonar keeps people on billing, auth and CI workflows. A graph of PRs, checks, files, risk areas and owners answers each audit question in 1 query.

Why can't people review every agent PR anymore? #

There are too many. Lauren Tan's team at SpaceXSI shipped 11,000 PRs to production in 1 month. The recap has the full table of volumes from the stage. The question here is what the people on those teams do instead of reading every diff.

Clauson described where his team topped out, at 2 or 3 agent sessions per person: "if you make yourself the feedback loop, you are now the bottleneck." His team now runs 6 reviewers on each PR: 2 code reviewers on different model families, plus design, first principles, UX and security. Each gets 1 vote, yes or no. If all 6 are green, the PR merges. If not, a prepare-pr skill fixes the findings and pushes again.

Then he said what the people on the team own now: "what we're responsible for is not the code itself." He named it: "what we were responsible for is the review record. Did it follow the process as we expected and did we get the results we wanted? If not, we fixed the review process."

I took the slide pictures in this post at the summit.

A review record is only worth answering for if the checks in it are worth trusting. That is what the next 4 rules are about.

What are the 4 rules of agent code review? #

Rule Speaker The number behind it
1. Grade your judge before you trust it Brian Kennedy, Principal Engineer, ZoomInfo The LLM judge was right 65% of the time on 500 real steps
2. Use tests the agent did not write Jarred Sumner, founder of Bun (Anthropic) test262 alone is 53,578 tests
3. Turn every correction into a check in code Lauren Tan, Principal Engineer, SpaceXSI Her team: 11,000 PRs in a month, about 0.5% reverted
4. Keep people where the risk is Andrew Finch, Staff Software Engineer, Sonar 4 verification loops, people on billing, auth and CI workflows

1. Why should you grade your AI judge before you trust it?

Brian Kennedy is a Principal Engineer at ZoomInfo, where he works on Agent Teams. After each step an agent takes, a second model, the judge, decides: move on, redo or stop. He opened with a real step. The agent reported that it had scheduled an email for Tuesday, and the judge accepted. The tool results, which Kennedy calls the receipts, showed that the Salesforce record failed and only a to-do task was created. "The agent doesn't even have a tool that can send an email. The agent made it up and the judge approved it."

So the team measured the judge. They took 500 real production steps, had a larger model regrade them, and hand-checked every grade. "It turned out the judge was right 65% of the time, so more or less a coin flip. It accepted 118 steps that it should have sent back." That was more than 1 in 4 of everything it accepted. The judge had both the agent's confident summary and the receipts, and "it went with the story."

The fix was to stop asking 1 big question ("is this good?") and ask 7 small yes or no questions on every step, each small enough to answer from the receipts. ZoomInfo sends them to Jev, a typed decision model (not a generative one) that returns a probability for accept, redo and stop in 1 call. At 30% or more for accept, the step moves on. At 5% or less, it is redone or stopped. Anything in between goes to the LLM judge. The team picked those cutoffs from the 500 labeled steps.

The results:

  • The 500 labeled steps. Jev was confident on about 7 in 10 of them. In that set, the LLM judge had accepted 82 bad steps, and Jev caught 74.
  • Shadow mode. Both judges read every step, and only the LLM judge decides. Over 37,000 verdicts, 728 steps had a tool that clearly failed. The LLM judge caught 294 and Jev caught 623.
  • The fake email. "The same step ran 1,081 times and almost every time the agent said it had scheduled an email, the LLM judge only caught it once. Jev caught that 876 times."

Jev was also 10x faster and 40x cheaper per verdict. Kennedy closed with the steps to copy: pick 1 judgment an LLM makes in your system, rewrite it "as a few simple yes or no questions that can be answered from the evidence", ship it in shadow mode next to what you have, then read the cases where the 2 disagree. His last line: "We had trusted our judge until we measured it. Measure yours."

2. Why use tests the agent did not write?

Jarred Sumner created Bun, the JavaScript runtime that Claude Code runs on, and now works at Anthropic. He recently merged a PR of several million lines that adds an ahead-of-time compiler to Bun. His question for the talk was how to "confidently ship millions of lines of code written by agents." His answer started before the first line of code: the way you build it "is entirely driven by how do you verify that it actually is going to work and not be buggy and that you can trust it."

That choice decided what the team built. The goal was a Claude Code that starts faster and uses less memory, and the team had considered rewriting Claude Code in Rust. Bun was an easy project to rewrite, because its tests are written in TypeScript and ran unchanged on the old and new versions. Claude Code was not: "we would have to port Claude Code's test suite, and as soon as you're rewriting the tests then you can't really trust the tests anymore." So they made JavaScript faster instead. In their test, Claude Code with bun compile started in 194 ms instead of 430 ms and used 36 MB of memory instead of 158 MB.

His slide "How do you trust it?" listed 5 layers: existing tests (Claude Code, WebKit, Bun, Node.js), test262 with 53,578 tests, the Fuzzilli fuzzer extended for TypeScript types, 352 fuzz generators of their own, and benchmarks. About the tests, he said: "None of these tests for the most part are things that are made up. They're things that predated the project. So that way we know that the agent couldn't have messed with it." He added 1 more step: check that your tests catch things, "because it's really easy to fool yourself that it's finding bugs when it's not finding bugs."

3. Why turn every correction into a check in code?

Lauren Tan ("poteto" on X), Principal Engineer at SpaceXSI, titled her talk "All Code Is Slop (Except Mine)". Her slide "how do i trust my agents more?" stacks the layers, widest first: codebase, static analysis (lints, types, compilers, tests, CI), verification (formal and runtime), prose (rules, skills, AGENTS.md), and human review at the tip.

Explaining why the codebase comes first, she gave the rule: "whenever you're correcting your agent, think about how you can make that a deterministic check instead of adding another line to your rules or your agents.md because it's far more reproducible when it's in code and it lets you trust it more."

Her example was code comments. In a Cursor codebase, agents patched problems with quick-fix timers and wrote comments "explaining why this quick fix was justified." Her own team then banned 99% of comments: "the worst part about comments though is that they're not enforceable." The team now uses lint rules. The result, in her words: the team shipped 11,000 pull requests to production last month, about 227 people contributed at least 1 PR in October, and the share of PRs reverted "is steady at about half a percent."

4. Where does agent code review still need a person?

Andrew Finch is a Staff Software Engineer at Sonar, where he works on AI code review. Early in the talk he quoted Sonar's CEO: "code is abundant, confidence is not." His answer is defense in depth, with 4 loops around a software factory: PR checks, post-deploy verification, maintenance, and knowledge.

The PR checks loop ends in a merge gate. "It's important to gate that merge decision not just on the fact that a test ran or that it passed, but on the evidence," he said, meaning review findings, quality gate results, vulnerabilities and the risk level. "When you record that evidence to the PR, it just makes the merge gate much stronger." Among those inputs is a risk score of low, medium or high, which "can actually help us determine if this is a PR that a human even needs to look at at all." Finch said teams are beginning to auto-approve some low-risk changes, which frees reviewers "to review the more high risk changes."

"I like to say the factory runs dim, not dark," Finch said. His slide marks where people step in: audit risky code (billing, auth, CI workflows), verify evidence (proofs, not diffs), and handle exceptions (rollbacks, incidents). He added reviewing architecture and supplying the why: the product intent, the trade-offs and the business decisions.

How do you start using these rules this week? #

Each rule has a first step you can take on the repo you already have.

Rule First step
Grade your judge Pick 1 AI reviewer. Label 50 to 100 of its past verdicts by hand, then count how often it passed a PR that was later reverted.
Tests the agent did not write Tag each test suite with the date it was written. A PR that passed only tests the agent wrote has not passed a test you can trust.
Corrections become checks Next time you correct an agent in review, write a lint rule or a test for it instead of a line in AGENTS.md, and link it to the PR it came from.
People where the risk is List the folders that are high risk (billing, auth, CI workflows are Sonar's) and who owns each one. Route only those PRs to a person.

Every step in that table leaves a record: which reviewer passed which PR, which test is older than the agent, which correction became which check, and who owns which risky file. That record is what Clauson's team answers for and what Finch's merge gate reads. Without a home, it is spread across CI logs, review comments and a CODEOWNERS file. The next section puts it in 1 place.

How do you build an evidence graph for agent PRs? #

An evidence graph stores each PR with the proof behind its merge: the files it touched, their risk areas and owners, and every check and review it passed. The questions you ask of a review record cross several kinds of data at once. "Which merged PRs touched a high-risk folder and passed only AI review?" goes from a PR to its files, from the files to their risk area, and from the PR to its checks. In a table of PRs, each of those is another join. In a graph database like FalkorDB, each one is a link you follow, and the path is the query.

The model has 7 kinds of node. Every query below ran on falkordb/falkordb:latest (version 6.0.4).

Node What it is Links
PR A pull request, with dates and whether it merged or was reverted WRITTEN_BY an Agent,TOUCHES Files,RAN Checks (with the result)
Agent The coding agent that wrote the PR
Check An AI reviewer, a test suite, a lint rule or a human review, with a flag for whether it predates the agent
File A path in the repo IN_AREA an Area,OWNED_BY an Owner
Area A part of the codebase, with a risk level
Owner The team that answers for an area
Correction A fix a person asked an agent for in review ON a PR,BECAME a Check

Step 1. Map the codebase. Load the risk areas, the files and their owners, then the checks you run. The high-risk areas here are the 3 from Finch's slide. unit-tests-2024 is a suite written before the agent arrived, like Bun's existing tests. agent-tests are tests the agent wrote.

UNWIND [
  {path: 'src/billing/charge.ts',        area: 'billing', risk: 'high', owner: 'payments-team'},
  {path: 'src/auth/session.ts',          area: 'auth',    risk: 'high', owner: 'platform-team'},
  {path: '.github/workflows/deploy.yml', area: 'ci',      risk: 'high', owner: 'platform-team'},
  {path: 'src/ui/button.tsx',            area: 'ui',      risk: 'low',  owner: 'web-team'}
] AS row
MERGE (a:Area {name: row.area}) SET a.risk = row.risk
MERGE (o:Owner {name: row.owner})
MERGE (f:File {path: row.path})
MERGE (f)-[:IN_AREA]->(a)
MERGE (f)-[:OWNED_BY]->(o)
RETURN count(f) AS files

Then the checks you run, with a flag for whether each one is older than the agent.

UNWIND [
  {name: 'ai-review-a',          kind: 'ai_review',    predates_agent: false},
  {name: 'ai-review-b',          kind: 'ai_review',    predates_agent: false},
  {name: 'unit-tests-2024',      kind: 'test',         predates_agent: true},
  {name: 'agent-tests',          kind: 'test',         predates_agent: false},
  {name: 'lint-no-timer-retry',  kind: 'lint',         predates_agent: false},
  {name: 'human-review',         kind: 'human_review', predates_agent: true}
] AS c
MERGE (k:Check {name: c.name})
SET k.kind = c.kind, k.predates_agent = c.predates_agent
RETURN count(k) AS checks

Try it. Start free on FalkorDB Cloud and run these 2 blocks as your first queries. The next 6 queries work on the graph they create.

Step 2. Record each PR. The sample data has 7 PRs. Each row is 1 PR: the agent that wrote it, the files it touched, and every check it ran with the result. A check that failed and then passed after a fix appears twice. In production this row comes from your CI and your Git host's webhook.

UNWIND [
  {id: 'pr-101', opened: '2026-11-02', merged: true,  reverted: true,  files: ['src/billing/charge.ts'],
   runs: [{c: 'ai-review-a', r: 'pass'}, {c: 'agent-tests', r: 'pass'}]},
  {id: 'pr-102', opened: '2026-11-03', merged: true,  reverted: false, files: ['src/auth/session.ts'],
   runs: [{c: 'ai-review-a', r: 'pass'}, {c: 'unit-tests-2024', r: 'pass'}]},
  {id: 'pr-103', opened: '2026-11-04', merged: true,  reverted: false, files: ['.github/workflows/deploy.yml'],
   runs: [{c: 'ai-review-a', r: 'pass'}]},
  {id: 'pr-104', opened: '2026-11-05', merged: true,  reverted: false, files: ['src/ui/button.tsx'],
   runs: [{c: 'ai-review-b', r: 'pass'}]},
  {id: 'pr-105', opened: '2026-11-09', merged: true,  reverted: false, files: ['src/billing/charge.ts'],
   runs: [{c: 'lint-no-timer-retry', r: 'fail'}, {c: 'lint-no-timer-retry', r: 'pass'},
          {c: 'unit-tests-2024', r: 'pass'}, {c: 'ai-review-a', r: 'pass'}, {c: 'ai-review-b', r: 'pass'}]},
  {id: 'pr-106', opened: '2026-11-10', merged: false, reverted: false, files: ['src/billing/charge.ts'],
   runs: [{c: 'lint-no-timer-retry', r: 'fail'}]},
  {id: 'pr-107', opened: '2026-11-11', merged: true,  reverted: false, files: ['src/auth/session.ts'],
   runs: [{c: 'ai-review-b', r: 'pass'}, {c: 'human-review', r: 'pass'}]}
] AS row
MERGE (ag:Agent {name: 'coding-agent'})
CREATE (pr:PR {id: row.id, opened: row.opened, merged: row.merged, reverted: row.reverted})-[:WRITTEN_BY]->(ag)
FOREACH (p IN row.files |
  MERGE (f:File {path: p})
  CREATE (pr)-[:TOUCHES]->(f))
FOREACH (run IN row.runs |
  MERGE (k:Check {name: run.c})
  CREATE (pr)-[:RAN {result: run.r}]->(k))

Step 3. Record a correction and the check it became. In review of pr-101, a person told the agent not to retry a failed charge with a timer. Tan's rule says that correction becomes a check in code, so the graph links the correction to the PR it came from and to the lint rule it became.

MATCH (pr:PR {id: 'pr-101'}), (k:Check {name: 'lint-no-timer-retry'})
CREATE (pr)<-[:ON]-(c:Correction {at: '2026-11-03',
  text: 'Do not retry a failed charge with setTimeout. Use the retry queue.'})-[:BECAME]->(k)
RETURN c.text AS correction, k.name AS check

Step 4. Find the merges that need a person. This is Finch's rule as a query: merged PRs that touched a file in a high-risk area, passed an AI review, and passed no test that predated the agent and no human review. It follows 3 links from each PR (to the file, to the area, to the owner) and checks 3 more patterns on the PR's check results. The last column says who to ask.

MATCH (pr:PR {merged: true})-[:TOUCHES]->(f:File)-[:IN_AREA]->(a:Area {risk: 'high'})
MATCH (f)-[:OWNED_BY]->(o:Owner)
WHERE (pr)-[:RAN {result: 'pass'}]->(:Check {kind: 'ai_review'})
  AND NOT (pr)-[:RAN {result: 'pass'}]->(:Check {kind: 'test', predates_agent: true})
  AND NOT (pr)-[:RAN {result: 'pass'}]->(:Check {kind: 'human_review'})
RETURN pr.id AS pr_id, a.name AS area, f.path AS file, o.name AS ask
ORDER BY pr_id
pr_id area file ask
pr-101 billing src/billing/charge.ts payments-team
pr-103 ci .github/workflows/deploy.yml platform-team

pr-102 and pr-105 also touched high-risk files, but both passed unit-tests-2024, a suite older than the agent. pr-107 passed a human review. pr-104 touched only low-risk UI code. None of the 4 needs a second look.

Step 5. Count what each correction prevented. Which correction became which check, and how many later PRs did that check block? The query goes from the PR where the correction was made, to the correction, to the check, and back out to every later PR where that check failed.

MATCH (origin:PR)<-[:ON]-(c:Correction)-[:BECAME]->(k:Check)
OPTIONAL MATCH (later:PR)-[:RAN {result: 'fail'}]->(k)
WHERE later.opened > c.at
RETURN origin.id AS from_pr, c.text AS correction, k.name AS check,
       count(DISTINCT later) AS later_prs_blocked
from_pr correction check later_prs_blocked
pr-101 Do not retry a failed charge with setTimeout. Use the retry queue. lint-no-timer-retry 2

A line in AGENTS.md gives you no count like this. A check in code, linked to the correction it came from, shows that 1 review comment stopped the same mistake twice.

Step 6. Grade your AI reviewers. Kennedy's rule, on your own data: for each AI reviewer, how many merged PRs did it pass, and how many of those were later reverted?

MATCH (pr:PR {merged: true})-[:RAN {result: 'pass'}]->(k:Check {kind: 'ai_review'})
RETURN k.name AS reviewer, count(DISTINCT pr) AS passed,
       count(DISTINCT CASE WHEN pr.reverted THEN pr.id END) AS later_reverted
ORDER BY reviewer
reviewer passed later_reverted
ai-review-a 4 1
ai-review-b 3 0

Each revert is a verdict worth a second look. Label those by hand, as ZoomInfo did with its 500 steps, and you have a first measure of each AI reviewer.

Step 7. Prove the merge gate held. This query must return 0 rows: a merged PR where a check failed and never passed. Run it on a schedule. Any row means something merged past a failing check.

MATCH (pr:PR {merged: true})-[:RAN {result: 'fail'}]->(k:Check)
WHERE NOT (pr)-[:RAN {result: 'pass'}]->(k)
RETURN pr.id AS pr_id, k.name AS failed_check

On this graph it returns no rows. pr-105 failed the lint rule and merged only after it passed, and pr-106 failed it and did not merge.

Frequently asked questions #

How do teams trust code that no person reviewed?

They trust evidence instead of reading every line. At AI Engineer Code Summit 2026, teams showed 4 rules: grade the AI judge before trusting it, use tests the agent did not write, turn each correction into a check in code, and keep people on the high-risk parts of the codebase.

How accurate is an LLM judge for agent work?

ZoomInfo measured its judge on 500 real production steps and found it right 65% of the time. It accepted 118 steps it should have sent back. Sending each step to Jev, a typed decision model that makes 1 accept, redo or stop choice and answers 7 yes or no questions from the tool results, caught far more bad steps, at 10x the speed and 40x lower cost per verdict.

Why should tests predate the coding agent?

An agent can change tests it wrote, so passing them proves less. Jarred Sumner checked Bun's agent-built compiler against tests that predated the project, so the agent could not have changed them. They include 53,578 test262 tests.

Should every agent PR get human review?

Not at the volumes shown at the summit. Sonar scores each PR's risk as low, medium or high and keeps people on billing, auth and CI workflows, verifying evidence and handling incidents. Andrew Finch called it a factory that "runs dim, not dark."

What is an evidence graph for pull requests?

It is a graph that links each PR to the agent that wrote it, the checks it ran and their results, the files it touched, the risk area and owner of each file, and the corrections that became checks. Audit questions such as "which high-risk merges passed only AI review" become 1 query.

Start your evidence graph this week #

Every query in this post runs on FalkorDB. Load last week's merged PRs, mark your high-risk folders, and run the step 4 query. The rows it returns are the merges to look at first. That query follows the files a PR touched. Rule 4 has 1 gap a diff can't fill: a change to a shared helper can break the billing endpoint that calls it, while the diff never touches the billing folder.

Auryn, FalkorDB's open source code graph, fills that gap. It reads your repo (16 languages plus SQL) into a graph of functions, types, tables and endpoints, and the calls between them, and your coding agent asks it over MCP. Install it with pip install falkordb-auryn and run auryn quickstart path/to/your/repo. Before merge, your agent asks Auryn what the PR's changed functions reach. If the answer lands in billing, auth or CI, route the PR to a person, the same as one that touched those folders. Run Auryn's graph and your evidence graph on 1 free FalkorDB Cloud instance, and every person and agent on the team asks the same graphs.

Not ready to build yet? Join the FalkorDB Discord to get help from our engineers and share what you build.

── more in #ai-agents 4 stories · sorted by recency
── more on @ai engineer code summit 2026 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-trust-agent-c…] indexed:0 read:19min 2026-12-01 · —