# Why Confirm Irreversible Actions?

> Why an AI agent should stop for a person before a step it cannot undo, how to sort which steps need a yes, and how to avoid approval fatigue, for your AI interview.

**In short:** Some agent actions can't be taken back, such as sending an email, paying money or deleting records. So a person checks those few exact steps before the tool runs, and steps that are easy to undo run on their own.

AI and LLM interview question Q243, Guardrails and AI safety. Beginner, common (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/why-confirm-irreversible-actions

## Say it in 30 seconds

Some agent actions can't be undone: money sent, an email delivered, a record deleted. A mistake there costs far more than a wrong draft. So I sort actions by how easy they are to reverse. Easy ones run on their own and get logged. Hard ones stop, and a person checks the exact amount and account before saying yes. I keep that list short, because too many prompts teach people to click yes without reading.

## Say it in 2 minutes

An AI agent does things as well as writing text. It can send mail, pay a supplier or delete a file. The model only asks for these steps, and your code runs them. That gap is where the trouble starts. If the model misreads a message, or a hidden line in a web page tells it to act, the wrong step can still run, and some steps can't be taken back.

So the first job is to sort the actions. Drafting a reply or reading an invoice is easy to undo. Paying money, sending mail to a customer or deleting records is not. OWASP, which lists the top risks for AI apps, says high-consequence or irreversible actions route to human review, while easy ones can auto-approve.

The check itself has to be real. The person should see the exact amount and account that code will use. The model's summary can differ from them. The step should wait for a clear yes, and silence should stop it. Every decision goes in a log, so you can explain it later.

The trap is confirming everything. When people get too many prompts, they click yes without reading, and the check stops working. So I keep the list of hard actions short, and I test the flow with someone who tries to trick it.

## What is an irreversible action, in plain words?

An irreversible action is one you can't cleanly take back. Sending an email, paying money or deleting records are examples. Once they happen, the harm is out in the world, and the fix is an apology, a call to the bank or a restore from backup.

A hospital pharmacist checks a high-strength drug twice before it leaves the shelf. A plain bandage gets no second check. An AI agent needs the same sorting: drafting a reply is like the bandage, and paying a supplier is like the strong drug.

- **Irreversible action:** A step you can't cleanly undo, such as money sent or mail delivered.
- **Confirmation step:** A stop in the flow that waits for a person's yes before the tool runs.
- **Approval fatigue:** People click yes so often they stop reading, and the check stops working.
- **Excessive agency:** OWASP's name for an AI app given more power than its job needs.

## Which actions should need a yes?

Sort every action by how hard it is to reverse. Don't ask for a yes on everything. OWASP's answer to excessive agency is a policy with levels: some actions pass on their own, and the hard ones go to a person.

> "A graduated enforcement policy (audit, warn, block, escalate) permits low-consequence or easily reversible actions to auto-approve, while high-consequence or irreversible ones route to human review." (OWASP, LLM03:2026)
>
> "But humans should retain control over how their goals are pursued, particularly before high-stakes decisions are made." (Anthropic)

- **Easy to undo: Let it run, and log it.** A draft email, a read of an invoice, or a store credit. A mistake is usually a quick fix.
- **Hard to undo: Stop and ask a person.** Money out, mail sent to a customer, or records deleted. The fix is slow, and it may never fully come back.

Take a supplier-payments agent at a mid-size logistics firm. It handles about 1,200 invoices a week, and most are routine. One payment of $48,000, sent to a bank account that was changed last week, is a different kind of step. If it's wrong, the money is hard to get back. That one should wait for a person. A draft reply to that same supplier should not.

## How does a confirmation step actually work?

1. **The model proposes a step:** It asks for an action, such as paying an invoice. It can't run the tool itself.
2. **Code sorts it:** A rule in code marks the step easy or hard to undo. The model does not get a say.
3. **A person checks the real details:** The box shows the amount and account that code will actually use.
4. **Only a yes runs it:** A no, or no reply in time, sends nothing. Each decision goes into a log.

*Diagram, Hard steps wait for a yes: The model only proposes. Code sorts each step, and the hard ones wait for a person. A yes runs the step; a no or silence stops it, and the log keeps both.*
1. The step goes to the easy side, such as a draft or a read.
2. The step goes to the hard side, such as money out or mail sent.
3. Easy steps run at once and are logged.
4. Hard steps wait while a person checks the real details.
5. The logged easy step runs.
6. A person's yes runs the hard step.
7. A no, or silence, stops it. Nothing is sent.

The details matter. OWASP warns that attackers can hide text so the screen shows one action while the code runs another: "Invisible-character smuggling can make the displayed action differ from the executed one." So the check should show the values the code will run.

Here is a small gate in plain Python: a check in code that each step must pass before it runs. The model proposes four steps, and the code decides which ones wait. The amounts and the account names are made-up numbers.

```python
# A supplier-payments agent's gate. The model proposes; this code decides.
UNDOABLE = {"draft_email", "store_credit", "read_invoice"}
CHANGED_RECENTLY = {"acct-7720"}  # bank details changed in the last 30 days

def route(step):
    if step["action"] in UNDOABLE:
        return "RUN: easy to undo"
    if step["account"] in CHANGED_RECENTLY or step["amount"] > 5000:
        return "ASK A PERSON: money to a risky payee"
    return "ASK A PERSON: cannot be undone"

steps = [
    {"action": "draft_email", "account": None, "amount": 0},
    {"action": "pay_supplier", "account": "acct-1184", "amount": 1200},
    {"action": "pay_supplier", "account": "acct-7720", "amount": 980},
    {"action": "pay_supplier", "account": "acct-1184", "amount": 48000},
]
for step in steps:
    print(step["action"], step["amount"], "->", route(step))
```

Output:

```text
draft_email 0 -> RUN: easy to undo
pay_supplier 1200 -> ASK A PERSON: cannot be undone
pay_supplier 980 -> ASK A PERSON: money to a risky payee
pay_supplier 48000 -> ASK A PERSON: money to a risky payee
```

OWASP puts the rule in one line: authorise in code, "rather than relying on an LLM to decide if an action is allowed or not." The gate sits next to the tool, so a fooled model can ask but can't decide.

## What goes wrong with too many yes buttons?

One real risk is approval fatigue. OWASP's words: "approval fatigue degrades reviewer judgment at volume." A check that fires for every small step protects nothing, and the one that matters gets the same quick click.

> "When using MCP tools, always enable tool approvals so end users can review and confirm every operation, including reads and writes." (OpenAI)

OpenAI's safety guide starts strict. It says to keep approvals on for MCP tools, reads and writes alike. In our view, that suits a new system nobody has tested yet. Once the logs show which steps are safe, the reads can move to the easy list.

> **Tip:** Asked how to stop approval fatigue? Keep the hard list short, show the real details, and review the approvals every month. If people approve nearly everything, the rule is too wide.

### How would you add a yes to a refund agent?

A returns bot for an online shop can issue refunds. A refund as store credit is easy to undo, so it runs on its own. A $300 refund back to the customer's card leaves the company, so it waits for a support lead. A customer message that tries to talk the bot into a second refund should not get past that gate.

- **Without a yes: Refund goes out twice.** The bot is tricked into a second refund, and nothing in code stops the card payment.
- **With a yes: Second refund waits.** Card refunds need a support lead. Store credit runs on its own, and the log shows both requests.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] A plain definition: a step you can't cleanly undo, such as money out or mail sent.
- [ ] Sort actions by how easy they are to undo, and gate only the hard ones.
- [ ] The check shows the real amount and account that code will use.
- [ ] Silence or a no stops the action, and a log records the decision.
- [ ] Too many prompts cause approval fatigue, so keep the list short and review it.

**Common traps**

- Trap: "Confirm every action, so it is safe." Better: Approval fatigue makes that check useless. Gate the few steps that can't be undone.
- Trap: "The model asks the human, then runs the tool." Better: The model only proposes. Code runs the step, and only after a yes.
- Trap: "The box shows what the model says it will do." Better: Show the values code will really use, since the model's summary can differ.

## Can you spot the step that needs a yes?

**Spot the hard step:** Which step from a supplier-payments agent should wait for a person?

A. Draft a reply to the supplier and save it in the outbox.
B. Read the last 30 invoices for the finance team.
C. Pay invoice 4471 for $48,000 to an account changed last week.
D. Add a $10 goodwill credit to a customer's account.

**Answer:** C. It moves money out to an account that changed recently, and nothing can take it back cleanly. The other three are drafts, reads or store credit, which are easy to undo.

**Quick check:** An agent can read email, write drafts and send payments. Which change stops it sending money by mistake?

A. A longer system prompt
B. A person's check in front of money going out
C. A bigger model
D. Less randomness in its answers

**Answer:** B. Money going out is the step you can't take back. A longer prompt, a bigger model or less randomness doesn't stop the agent from sending it. Only a check in front of the payment, which a person approves, stops it.

## Can you answer these from memory?

**Flash cards**

- **What is an irreversible action?** One you can't cleanly take back: money out, mail sent, records deleted.
- **Which actions run on their own?** Easy-to-undo ones: drafts, reads and store credit. They are logged.
- **Who checks a hard action?** A person, who sees the real amount and account that code will use.
- **What does a no or silence do?** Stops the action. Nothing is sent, and the log records it.
- **What is approval fatigue?** People click yes so often they stop reading, so the check fails.
- **Who decides what is risky?** Code, using a rule. The model only proposes the step.

## Likely follow-up questions

- Q172 When and how do you add a human in the loop? https://designervenkat.online/interview/ai/human-in-the-loop-for-ai-agents
- Q179 Excessive agency and least privilege? https://designervenkat.online/interview/ai/excessive-agency-and-least-privilege
- Q186 What is tool-result poisoning? https://designervenkat.online/interview/ai/what-is-tool-result-poisoning
- Q200 Build a ticket-triage agent that escalates to humans. https://designervenkat.online/interview/ai/build-a-ticket-triage-agent-that-escalates-to-humans
- Q201 What is prompt injection? https://designervenkat.online/interview/ai/what-is-prompt-injection
- Q244 How do you measure guardrail false positives and negatives? https://designervenkat.online/interview/ai/guardrail-false-positives-and-negatives

## Learn it in depth

- [Agentic AI security](https://designervenkat.online/learn/ai-guardrails/agentic-ai-security)
- [AI Agents](https://designervenkat.online/learn/ai-engineering/ai-agents)
