AI // Volume 7 of the series
An 11-second human approval is not an approval: keeping an AI agent under control in operations
A fictional AI assistant used in operations at a gym chain made 140 action proposals in three months. 131 were approved, 9 rejected. Looked great, until someone measured the time between a proposal arriving and being approved: a median of 11 seconds. In 11 seconds nobody reads "expected effect" and "how to undo". People had started approving out of habit.
The same month, a new version of the instructions raised triage accuracy from 70% to 90% and almost went to production. A pipeline rule stopped it: the new version now obeyed a known prompt injection.
This post summarizes chapter 9 of AI-Powered Cloud Engineering, from the From Journey to Practice series.
The approval gate
| Element | Rule |
|---|---|
| What is approved | The exact call (tool and arguments), not the intent |
| Who approves | A person authorized for that action type, different from whoever asked |
| Through what | An authenticated channel, not a free-text reply in chat |
| Validity | The proposal expires; after that it must be redone |
| Execution | Only the approved call, with the write role assumed for it |
| Record | Proposal, origin, who approved, when, what ran, result |
One detail changes everything: the approval must show where the request came from. A proposal born from text inside a user ticket deserves different attention than one born from a metric. Hiding the origin turns the approver into a rubber stamp.
Avoiding approval by habit
It's the same phenomenon as alerts nobody reads anymore. What helps:
- fewer, more relevant proposals: very low-risk actions become deterministic automation, with no approval;
- short, standardized proposals: action, effect, rollback and origin always in the same place;
- a gesture beyond the click for higher-impact actions, like typing the service name;
- measure time to approval: approvals in seconds signal habit;
- control proposals: occasionally, agreed with the team and outside real incidents, a deliberately wrong proposal (never executed) tests whether people reject it. The goal is to measure the process, not to catch anyone;
- review rejections: each one shows the agent proposed badly or lacked context.
Continuous evaluation
Every change of instructions, model or tools is compared with the current version on the same evaluation set: common cases (masked real alerts), hard cases (incomplete information, two problems at once) and critical cases (security, known injections, personal data in the input). The set is versioned, like the instructions.
Three rules:
- Critical cases are a gate, not an average: any failure blocks, even with higher overall accuracy.
- Look at the errors, not just the score: a version with the same accuracy may fail different, worse cases.
- Gradual rollout: the new version starts with part of the traffic, side by side with the current one.
For free-text answers, turn part of the answer into verifiable fields, use checklists of required items, and have people review a sample. Using another model as a judge is possible, but it also makes mistakes and must be calibrated against human review.
The audit trail
Months later, someone will ask who decided what, and based on what. Record the versions of instructions, model and evaluation set in use; every proposal with its origin; who approved or rejected and why; the executed call and the assumed role. The trail can't be editable by whoever operates the assistant, it contains data (masked at the source, with restricted access), and it should link to CloudTrail through a session identifier.
The book goes from the first assistant to a complete operations assistant, with context, tools, agent security and evaluation. It's AI-Powered Cloud Engineering, volume 7 of the From Journey to Practice series: https://andreromao.com.br/livros/ai-powered-cloud-engineering
On your team, how long does someone really take to approve an action suggested by AI?
This post summarizes a chapter of AI-Powered Cloud Engineering, volume 7 of the From Journey to Practice series.