Back to Blog
AI News & Analysis

Auto-approve AI code changes only where the risk is low

What happened Meta has described a system called RADAR (Risk Aware Diff Auto Review) that approves low-risk code changes without waiting for a person. In Meta's paper , the team explains why. AI assis...

Abstract flow diagram where many small shapes pass through a narrow gate, with a few diverted to a separate path.
SG
Saksham Gupta
Founder & CEO, EduBild
November 30, 2026
3 min read
AI NewsProduction TrustAI AgentsAI Governance

What happened

Meta has described a system called RADAR (Risk Aware Diff Auto Review) that approves low-risk code changes without waiting for a person. In Meta's paper, the team explains why. AI assistants now produce far more code than reviewers can read. The amount of code per human-landed change more than doubled in a year, and review speed fell behind. Meta did not try to replace human review. It automated only the changes that meet strict safety rules.

RADAR first sorts each change by who or what wrote it. Some automated rewrites follow a blanket policy. AI-made changes go through hard exclusions, a risk score and an AI reviewer. Regulated code is never eligible. Each source must earn trust through a clean track record. Each source also gets its own risk cut-off, and each organization can tune the cut-offs. Approved changes wait in a queue where a person can still stop them. Any failed check sends the change to a human. The PyTorch project is now building an open version called GreenLight, which approves changes only from trusted maintainers.

Why it matters for enterprise teams

Your team may not write software for a living. The same problem still reaches you. AI agents now draft contracts, match invoices, answer tickets and update records. Every one of those outputs needs a check. If every output waits for a person, the queue grows and the pilot stalls. If nothing waits for a person, one bad output can hurt you.

RADAR shows a middle path. Trust is not one switch. It depends on four things:

  1. Who or what produced the work.
  2. What the work touches.
  3. How risky this particular item looks.
  4. What happened with similar work before.

This matters because many pilots treat review as all or nothing. A human reads everything, which does not scale. Or the agent acts alone, which a risk team will not accept. Neither version gets to production.

There is also a lesson in how the system keeps improving. Reverted changes and misses feed back into the rules. The thresholds are not set once. Someone owns them and adjusts them as evidence arrives.

What we'd do

We would copy the shape of this design, not the code. When we work inside a client team, we try to set up approval like this before go-live.

Sort work by source. An agent that has run well for months earns more freedom than a new one. Give each agent and each team its own limits.

Set hard exclusions first. Name the work that always goes to a person. This includes anything regulated, anything that moves money above a set amount, and anything that touches sensitive data. Do not leave these to a score. Write them as plain rules that your risk team can read.

Gate on confidence, then on risk. Let the agent act alone only when its own confidence is high and the item scores as low risk. Below that line, route the item to a person. Start with a tight line. Widen it only when the evidence supports it.

Send every failure to a human. A failed check should never retry quietly. It should land in a queue with a named owner.

Keep a way to stop it. Meta lets people reject an approved change during a delay. Build the same window into your workflow. Add a switch so each team can turn an agent off.

Review the misses every week. Look at what the agent approved, what it blocked and what it got wrong. Then test new thresholds against past cases before you change them. This is a standing job with an owner, not a one-time setup.

Here is an illustrative scenario. A finance team lets an agent match supplier invoices to purchase orders. In week one, the agent may only auto-approve exact matches from suppliers with a long clean record. Anything with a mismatch, a new supplier or a large amount goes to a person. After a month, the team reviews the misses and widens the rule a little. The team gets to production sooner because trust grows step by step.

This is the kind of design we build into AI agents work, and it is part of how we plan our process from discovery to handover. The goal is that your own people end up owning the thresholds, not us.

Next step

If your team has agents that need safe approval rules in pilot but not in production, book a discovery call.

Share this article
SG

Saksham Gupta

Founder & CEO, EduBild

Saksham Gupta is the founder and CEO of EduBild, which embeds forward-deployed AI engineers with enterprise teams to ship production AI. Ex-Daimler AG; KIT Germany.