Lk
Lab notes

Case study

Your "Human in the Loop" Is a Rubber Stamp

We keep adding approval gates to make automated systems safer. But when 97% of prompts get approved without reading, the human in the loop is just a speed bump with a yes button.

A Docker analysis of sixteen months of AI agent incidents found that 97% of permission confirmation prompts in coding tools were approved by the person sitting in front of them. Not 97% after careful review — 97% clicked through the way you click through a cookie banner.

That number has been rattling around in my head since I read it, because it confirms what I've seen on every engagement this year where teams are adopting AI coding agents. The safety model is "a human reviews and approves." The reality is that the human stopped reading after the third prompt.

The pattern is older than AI

This isn't new. AI agents just made it impossible to ignore.

I worked with a fintech team last spring that had a deployment pipeline with six approval gates. Code review. Security review. QA sign-off. Architecture review for anything touching the payments module. Change advisory board for production deploys. Final manager approval. Six separate humans had to click "approve" before code reached production.

They still shipped a broken rate calculation that overcharged 340 customers over a weekend.

When I dug into the approval history, every single gate had been approved within minutes. The architecture reviewer approved a payments change at 4:47 PM on a Friday. The security reviewer approved it eleven seconds after receiving the notification. Eleven seconds. You can't read a diff in eleven seconds. You can barely open the tab.

The team's reaction? "We need a seventh approval step." I suggested we try having fewer gates that people actually read instead.

Why more gates make things worse

There's a well-documented phenomenon in alarm systems called alarm fatigue. When ICU nurses hear hundreds of alarms per shift, they start ignoring the critical ones. The same thing happens with approval gates.

Every time you add an approval step, you do two things. You slow down the process, which creates pressure to approve faster. And you dilute responsibility across more people, so each person assumes someone else is doing the careful review. The result is paradoxical: more approval steps, less actual scrutiny.

Warning

If your approval process has more than three gates, audit how long each reviewer actually spends before approving. The numbers will be sobering.

I pulled the approval timing data for that fintech client. Median time from notification to approval across all six gates: 94 seconds. For the architecture review — supposedly the most thorough — the median was 2 minutes and 12 seconds. Some of these were multi-hundred-line diffs.

AI agents made the rubber stamp faster

Now apply this to AI coding agents. An agent asks permission to edit a file. You approve. It asks to run a shell command. You approve. It asks to delete a directory. You approve. It asks to run terraform destroy. You approve.

That last one actually happened. Earlier this year, a developer described how Claude Code replaced their current Terraform state file with an archived version and then ran terraform destroy. The agent asked permission. The human approved. The infrastructure went away.

The Replit incident from 2025 followed the same pattern. An agent deleted a production database during a code freeze. It had the credentials. It had the permissions. Nothing in the system architecture made standing down mandatory. The human oversight was theoretical.

What strikes me about these cases isn't that the agents did something wrong. They did exactly what they were allowed to do. The failure was in assuming that a human clicking "approve" on a dialog box constitutes meaningful oversight.

What actually works

After watching this pattern play out at five or six clients this year, I've landed on a few things that genuinely help:

Reduce permissions instead of adding approvals. An agent that can't access production credentials doesn't need a human to stop it from dropping the production database. The best safety gate is one that never fires because the dangerous action isn't possible. Principle of least privilege isn't a new idea, but it's newly urgent.

Make the approval costly enough to be real. One team I worked with requires that any approval of a destructive agent action includes a one-sentence written justification. Not a checkbox — actual words explaining why this action is correct. The approval rate for destructive operations dropped from 98% to 61%. People started actually reading the prompts when they had to explain their reasoning.

Separate the builder from the approver. If the same person who prompted the agent is approving its actions, you don't have a review — you have a formality. The person who set the agent in motion already has a mental model of what it should be doing, and they'll pattern-match the approval prompt against that model instead of reading what it actually says.

Use automated guardrails for the obvious stuff. A regex that blocks DROP TABLE on a production connection string is dumb. It's also more reliable than a human at 4:47 PM on a Friday. Automated checks don't get tired, don't have approval fatigue, and don't assume someone else already reviewed it.

The uncomfortable question

The industry's response to agent incidents has been to emphasize human oversight. "Keep a human in the loop." It's on every vendor's safety page, in every responsible AI framework, in every compliance checklist.

But if 97% of prompts get approved, what are we actually saying? We're saying we want the appearance of human oversight without the cost of human oversight. Because real human oversight means slowing down, reading every prompt, understanding the implications, and sometimes saying no. That's expensive. That's slow. That's what nobody actually wants.

I don't think the answer is to remove humans from the loop entirely. But I do think we need to stop pretending that a confirmation dialog is a safety mechanism. It's a liability shield. There's a difference.

The teams I've seen handle this well don't rely on humans to catch mistakes in real time. They design systems where the blast radius of an uncaught mistake is small. Sandboxed environments. Immutable infrastructure. Automatic rollbacks. Short-lived credentials that expire before damage can compound.

The human review happens before the system is designed, not after every action it takes. That's a harder sell to compliance teams, but it's the version that actually works.

What does your approval pipeline look like — and when was the last time someone actually said no?