Topic 4 of 5 · 4 min read
Approval gates for irreversible agent actions
Goal: Rank an agent's actions by reversibility and blast radius and place approval gates only where they matter.
Put a human approval in front of actions that are hard to undo or reach many people, and let everything else run. Approval is a scarce resource. Spend it where a mistake costs the most.
Check yourself · 1 of 3
Which agent action most clearly needs a human approval first?
Why it matters
Scoped tokens limit what an agent can do. Approval gates decide what it may do without asking. Some actions stay dangerous even inside a narrow scope: sending an email cannot be recalled, a payment may not reverse, a merge to the main branch reaches every user. If an injected instruction or a model error triggers one of these, a person is the last check.
But gates can fail in the other direction. If the agent asks about every file read, people click "approve" without reading. This is approval fatigue, and a rubber-stamped gate gives no protection while looking like one.
How to do it
- List the agent's actions. Every tool and every effect it can have.
- Score each on two questions. Can it be undone cheaply? How far does it reach: one record, one user, everyone?
- Auto-run the safe ones. Reads, drafts, changes on a branch or a copy.
- Gate the irreversible or wide ones. Send, delete, pay, merge, deploy, change permissions, anything that leaves your systems.
- Show the exact action. The approver sees the real recipient, the real amount, the real diff, not the agent's friendly summary. "Send the update" tells the person nothing. "Send this text to 1,240 customers" does.
- Make the gate unskippable. Enforce it in the tool, so the agent cannot approve its own request.
- Batch and tier. One approval for a reviewed plan beats twenty tiny prompts.
Before and after
Before: approve every step
read ticket? approve read order? approve draft reply? approve
send reply? approve (the person now clicks without looking)
After: gate by effect
read ticket, read order, draft reply -> run
send reply to customer -> show full text and recipient, ask
refund over the agent's limit -> ask a manager
Three prompts become one, and the one that remains is the one that matters.
What goes wrong
- Vague approval text. "Proceed with changes?" with no detail.
- Self-approval. The same agent, or a second model, approves its own request.
- Gates on everything. Fatigue turns every gate into a click.
- No gate on the quiet exits. Writing to an external URL or posting in a public channel leaks data without looking dangerous.
Examples
A deployment agent's action table
| Action | Reversible | Reach | Gate |
|---|---|---|---|
| Read logs | n/a | none | run |
| Open a pull request | yes | one repo | run |
| Merge to main | partly | all users | approve |
| Deploy to production | partly | all users | approve |
| Delete a database | no | everything | approve, two people |
Four decisions, one table, and a person reviews only the last three rows.
A good approval prompt
Send this email to 1,240 subscribers? Subject: "Price change from 1 January". [full body shown]. Sender: billing@acme.example. [Approve] [Reject] The person can judge the real action, not a summary of it.
Key points
- Gate actions by how hard they are to undo and how many people or records they reach.
- Let reads, drafts and changes on a copy run without asking.
- Show the approver the exact action, such as the real recipient, amount or diff.
- Enforce the gate in the tool so the agent cannot approve itself.
- Too many approvals cause fatigue, so keep gates rare and meaningful.
Common mistakes
- Asking for approval on every harmless step until people stop reading.
- Showing a summary such as "update records" instead of the exact change.
- Letting the agent, or another model, approve its own request.
- Forgetting quiet exits such as public posts or webhooks to outside URLs.
Check yourself · 2 of 3
An approval prompt reads "Proceed with the update?". What is wrong with it?
Check yourself · 3 of 3
An agent asks for approval before every read, search and draft. What is the likely result?
Practice items, not counted towards your mastery.
Start here
- OWASP AI Agent Security Cheat Sheet (opens in a new tab)ArticleFree
Practical controls for agent tools, permissions, human approval and monitoring.
- LLM06: Excessive Agency (OWASP Gen AI Security Project) (opens in a new tab)StandardFree
Names excessive functionality, permissions and autonomy as the root causes, with mitigations.
- GitHub Docs: Managing your personal access tokens (opens in a new tab)DocsFree
How fine-grained tokens limit repositories, permissions and lifetime.