Module 07 · Lesson 7.6
Human Review for High-Impact Actions
On this page
- What you will learn
- How to decide an action's impact level
- What a good review screen shows
- Two-person review, queues and timeouts
- Measure whether human review is working
- Impact levels and a review card in Python
- Conclusion and your next step
- Common errors and fixes
- Validation checklist
- Hands-on exercise
- Knowledge check
- Frequently asked questions
- References
In a bank, a small withdrawal is handled at the counter. A very large transfer needs a manager's signature, and sometimes two. Nobody thinks this is slow. The size of the risk decides how much checking is worth the time.
An agent that can act needs the same thinking. You already met approval gates in Human-in-the-Loop Approval and Escalation. This lesson goes one step further: how to decide how much review each action needs, what the review screen should show, when two people should look, and how to tell if your reviewers are doing a good job. Most of it needs no coding.
What you will learn
- Sort agent actions into low, medium and high impact using clear questions.
- Describe what a review card shows so a person can decide in seconds.
- Explain when to ask two people to review one action, and how review queues and timeouts work.
- Run a Python script that classifies actions and prints a compact review card.
Before you start
- Module 5, especially Human-in-the-Loop Approval and Escalation, and Authentication, Secrets and Least-Privilege Access.
- No coding experience is needed for most of this lesson.
- Optional: Python 3.10 or later, if you want to run the example yourself.
How to decide an action's impact level
The earlier lesson gave a rule of thumb: ask for approval on writes, money and anything hard to undo. That works for two levels, "runs alone" and "needs a person". Real systems need a little more. An impact level says how bad it would be if the action were wrong, and it decides how much review the action gets.
Four questions help you place an action. Answer them for each tool and for each way a tool can be used.
- Can it be undone? A saved draft can be deleted. A sent email cannot be unsent.
- Who is affected? One customer, or many?
- How much money or harm is involved? A refund of 20 is not a refund of 2,000.
- Does it touch private data? Reading a help page is different from exporting customer records.
| Impact | Typical actions | Review |
|---|---|---|
| Low | Reading an order, searching the help centre | None. The agent runs alone, and the action is logged. |
| Medium | Creating a return request, sending a message in the shop's name, a small refund | One reviewer says yes or no. |
| High | A refund above the limit, deleting data, changing who may access what | Two reviewers, or one senior reviewer, and a written reason. |
Impact can depend on the details, not only the tool. At Quillfeather Cycles, the staff-only note KB-15 says refunds above 500 must be approved by a store manager. So a refund of 120 is medium impact and a refund of 640 is high. Write rules like this in code. The model may suggest a level, but it must not choose one. That is the same principle as in Tool Permission Boundaries and Sandboxing: the permission lives outside the model.
What a good review screen shows
A reviewer is often busy and has seen a hundred similar requests today. The screen must let them decide in seconds, with everything needed on one card. Call it a review card.
| Part of the card | What it says | Why it matters |
|---|---|---|
| Proposed action | The tool and its exact inputs | The reviewer approves a specific action, not a general idea. |
| Evidence | The sources and records the agent used, such as KB-05 and the order record | The reviewer can check a claim instead of trusting it. |
| The agent's reason | One or two sentences in the agent's words | Shows the thinking. It is a hint, not proof, because a model can sound sure and be wrong. |
| Risk | The impact level and why | Tells the reviewer how carefully to look. |
| If yes, if no | What happens after each answer, including no answer | No surprises. |
| Alternatives | A smaller or safer action that would also help | Gives the reviewer a better option than a plain refusal. |
Show the evidence, not only the opinion
A reviewer who sees only "the agent thinks this refund is fine" has to trust the agent, which defeats the review. Show the facts the agent used, so the reviewer can check them quickly. This links back to Vector Search, Metadata Filters and Source Grounding: sources are what make a claim checkable.
Do not let the agent write the whole story
Build the card in code from real fields: the tool name, the arguments and the source ids. Let the model add only the short reason. If the model wrote the entire card, a poisoned document could make a risky action look harmless. See Prompt Injection and Untrusted Tool Outputs.
Two-person review, queues and timeouts
For the highest-impact actions, one pair of eyes may not be enough. Two-person review (sometimes called the four-eyes rule) means two different people must approve before the action runs. It protects against honest mistakes and against one person acting alone.
- Two different people. The same person clicking twice does not count. Check the user ids in code.
- The requester cannot approve. If a staff member started the case, someone else reviews it.
- Each approval is recorded. Keep who, what and when, as in the audit record from the earlier lesson, without personal data.
- Keep it rare. Use it only for the top level. If everything needs two people, the queue will clog and people will find shortcuts.
Review queues
A review queue is a waiting list of cards. Reviewers take the next card, decide, and move on. A queue lets a team share the work and lets you see how long requests wait.
- Show the oldest and the most urgent cards first. A weak-brakes safety report should not wait behind a gift-card question.
- Send high-impact cards to people who are allowed to decide them, such as a store manager for refunds above 500.
- Show the queue length. If it keeps growing, you need more reviewers or fewer review rules.
Timeouts
Decide how long a card may wait, for example one working day. When the time is up, the card ends as not approved and the customer is told that a person will follow up. A timeout must never quietly turn into a yes. Managing Long-Running Tasks and Checkpoints explains how a waiting task is saved while it waits.
Measure whether human review is working
A review step can fail quietly. Reviewers may approve everything out of habit, or reject so much that the agent is useless. Two simple numbers show what is happening.
- Override rate
- The share of cards where the reviewer says no, or changes what the agent proposed. If it is zero for months, either the agent is perfect or nobody is really reading.
- Reviewer agreement
- How often two reviewers give the same answer to the same card. Low agreement means the rules or the card are unclear.
- Time to decision
- How long a card waits before someone answers. Long waits push people to look for shortcuts.
Read these numbers with care. Small counts swing a lot: three overrides out of ten cards is 30 percent, and one fewer is 20. Report the counts as well as the percentages. Measuring Accuracy, Task Completion and Tool Selection goes deeper into reading small samples.
- Very low override rate: secretly insert a few test cards with a known wrong action, and see whether reviewers catch them. Tell the team that such checks exist.
- Very high override rate: the agent is proposing poor actions. Read the overridden cards and fix the instructions or the tools.
- Low agreement: write down clearer rules, with examples of approve and reject.
- Every override is a lesson: add it to your test cases, so the agent is checked against it from now on.
Impact levels and a review card in Python
Imagine a later version of the Quillfeather agent that can propose refunds. The script below classifies five actions into impact levels and prints a review card for the high-impact one. There is no model in it, and the output is the same every time.
REVIEWERS = {"low": 0, "medium": 1, "high": 2}
def impact(action, args):
if action == "lookup_order":
return "low"
if action in ("request_return", "send_customer_email"):
return "medium"
if action == "issue_refund":
return "high" if args["amount"] > 500 else "medium" # KB-15: above 500 is a manager's call
return "high" # unknown actions are treated as the riskiest
def review_card(case, action, args, evidence, reason, alternative):
level = impact(action, args)
lines = [
f"REVIEW CARD {case} | impact: {level.upper()} | reviewers needed: {REVIEWERS[level]}",
f" Proposed: {action} {args}",
f" Evidence: {', '.join(evidence)}",
f" Agent says: {reason}",
" If approved: the action runs once.",
" If not: nothing happens. No answer by 2026-11-19 10:00 counts as no.",
f" Alternative: {alternative}",
]
return "\n".join(lines)
for action, args in [("lookup_order", {"order_id": "QF-1042"}),
("request_return", {"order_id": "QF-1044", "reason": "damaged"}),
("issue_refund", {"order_id": "QF-1044", "amount": 120}),
("issue_refund", {"order_id": "QF-1044", "amount": 640}),
("delete_account", {"user": "u-12"})]:
print(f"{action} {args.get('amount', '')}".strip(), "->", impact(action, args))
print()
print(review_card("C-017", "issue_refund", {"order_id": "QF-1044", "amount": 640},
["KB-05", "KB-15", "order QF-1044: delivered"],
"Bike arrived damaged and the customer sent photos.",
"Refund 500 now, which the support team may approve."))Runs offline with any Python 3.10 or later. Save it and run python review_card.py.
What each part does
REVIEWERSis a dictionary, a set of labelled entries. It maps each impact level to the number of people who must review: none, one or two.impact(action, args)is the classification rule, written in code. Reading an order is low. Return requests and messages are medium. A refund is medium, or high when the amount is above 500.- The last line of
impactreturns"high"for any action it does not know. That is the "unknown means high" rule. review_card(...)builds the card from real fields: the case id, the action, its inputs and the evidence list. Onlyreasoncomes from the agent.- An f-string such as
f"... {level.upper()} ..."puts values inside text.', '.join(evidence)joins the list of sources with commas. - The lines for "If approved" and "If not" are fixed text, so the card always says what happens after each answer, including no answer.
"\n".join(lines)glues the lines into one block of text with line breaks.- The
forloop prints the level for five sample actions. The last call prints the full card for the 640 refund.
lookup_order -> low
request_return -> medium
issue_refund 120 -> medium
issue_refund 640 -> high
delete_account -> high
REVIEW CARD C-017 | impact: HIGH | reviewers needed: 2
Proposed: issue_refund {'order_id': 'QF-1044', 'amount': 640}
Evidence: KB-05, KB-15, order QF-1044: delivered
Agent says: Bike arrived damaged and the customer sent photos.
If approved: the action runs once.
If not: nothing happens. No answer by 2026-11-19 10:00 counts as no.
Alternative: Refund 500 now, which the support team may approve.The unknown action delete_account is classed as high, even though no rule mentions it. The card tells the reviewer what is proposed, why, what the evidence is and what the safer option would be, all in seven lines.
Conclusion and your next step
Match the amount of review to the size of the risk. Rate actions as low, medium or high with rules in code, and treat unknown actions as high. Give reviewers a short card with the action, evidence, reason, risk and alternatives. Use two people only for the top level, give every card a timeout that ends in no, and watch override rates and agreement to see whether the review is real.
Your next step: list five actions your agent could take, give each an impact level, and write a review card for the riskiest one. Then continue to Practical Lab: Threat-Model and Harden an Agent, where you put this module's protections into a working agent.
Want more? Read Budget Limits, Rate Limits and Runaway Execution Controls for the limits that sit alongside review, or the Agent Launch Safety Checklist before you go live.
Common errors and how to fix them
Reviewers approve everything without reading.
Why it happens: Too many routine cards, and every card looks the same.
Fix: Keep low-impact actions out of review, and make high-impact cards look different from the rest.
A new tool runs without any review.
Why it happens: The impact rules have no default, so an unknown action passes through.
Fix: Make the default high impact, as the last line of impact() does.
A timeout approves the request automatically.
Why it happens: The code treats "no answer" as "no objection".
Fix: Only a clear yes is a yes. Everything else, including silence, means no.
The review card is misleading.
Why it happens: The model wrote the whole card, so wrong or poisoned text can make a risky action look safe.
Fix: Build the card from real fields in code. Let the model supply only the short reason.
Validation checklist
Tick each item once you have confirmed it.
Hands-on exercise
Add a customer-email rule and a card for it
Extend the impact function so send_customer_email is medium impact normally, but high impact when the email mentions a refund, a safety problem or legal action. Then print a review card for a refund email.
You will need
- The impact and review_card functions from this lesson.
- An email action with args {"order_id": "QF-1044", "text": "We have approved your refund."}.
- A list of three trigger words: refund, brake, legal.
Acceptance criteria
Your work is done when every one of these is true.
Hints (3)
- Put the trigger words in a list and use
any(word in text.lower() for word in TRIGGERS). - Handle
send_customer_emailbefore therequest_returnline, or give it its ownif. - A safer alternative might be: send a neutral message and let a person write about the refund.
Show a model answer
Add TRIGGERS = ["refund", "brake", "legal"] and give send_customer_email its own branch that returns "high" when any trigger word appears in args["text"].lower(), and "medium" otherwise. Remove it from the tuple that returns medium directly. The dispatched email then stays medium, and the refund email becomes high with two reviewers. A word list is a blunt tool, so a message about a refund written without that word would slip through. That is why such a rule is a first net, and why the real protection is that a person reviews messages that speak for the shop.
Knowledge check
Choose an answer, then check it. Nothing is recorded — this is for you.
Show the answer and explanation
Answer: B. A safe default means a new, unreviewed tool waits for a person. Letting it run is tempting because it is faster, but it lets an unchecked action through. A model's choice of level can be wrong or manipulated.
Show the answer and explanation
Answer: A. The tool name, inputs and sources come from code, so they are reliable. A story written entirely by the model can be wrong or influenced by a poisoned document, and a confidence score tells the reviewer nothing they can check.
Show the answer and explanation
Answer: B. Silence is not consent. Approving after a timeout is tempting because it keeps things moving, but then a lunch break can approve a risky action.
Frequently asked questions
What is human review for AI agents?
It means a person looks at an action the agent proposes and says yes or no before it runs. It is used for steps where a mistake is costly or hard to undo, such as payments, deletions and messages sent in the company's name.
How do I decide which agent actions need human approval?
Ask whether the action can be undone, who it affects, how much money or harm is involved and whether it touches private data. Read-only steps usually run alone. Writes, money and anything hard to undo get a reviewer, and the riskiest get two.
What is two-person review?
It is a rule that two different people must approve an action before it runs. The person who started the case cannot be one of them. It is used only for the highest-risk actions, because it is slower.
How can I tell whether reviewers are really checking?
Track how often reviewers say no or change the action, and how often two reviewers agree. A rate of exactly zero for a long time is suspicious. You can also add a few cards with a known mistake and see whether they are caught.
- Written by
- PromptFable Editorial
- Last updated 18 Nov 2026
- Review
- Reviewed by Waseem Nadir, Technical Reviewer
- Last reviewed 27 Nov 2026
References
Primary sources for the technical details in this lesson. Vendor platforms change — check the official page if anything here looks different from what you see.
- LLM06:2025 Excessive Agency(opens in a new tab)
OWASP Foundation · Official documentation · Covers the risk of agents with too much power, and human approval as one control.
- OWASP Top 10 for LLM Applications(opens in a new tab)
OWASP Foundation · Official documentation · The full list of risks covered in this module.
- AI Risk Management Framework(opens in a new tab)
NIST · Official documentation · General guidance on managing AI risk, including human oversight.
- Building effective agents(opens in a new tab)
Anthropic · Official documentation · Discusses where agents should pause for human feedback.
- Python tutorial: data structures(opens in a new tab)
Python Software Foundation · Official documentation · Background for the dictionaries and lists in the example.
PromptFable is independent and is not affiliated with, endorsed by or sponsored by Anthropic, Google, OpenAI or any other vendor. Claude, Gemini, Google AI Studio and other product names are trademarks of their respective owners.