AIF-36Required
Let a person decide what matters
Never let model output alone decide something with legal, financial, medical or similar effects on a person. A named person reviews it first, with the means to overrule it.
How to do it
List the decisions each feature touches, such as credit, hiring, insurance claims, account bans, refunds over a limit or medical advice. For those, the model only drafts or ranks, and a person approves in a review screen that shows the inputs and sources. Record who approved and when. In the EU, GDPR Article 22 limits decisions based solely on automated processing, and many uses in the AI Act's high-risk list need human oversight. Actions an agent takes need a person's approval too. Decisions shaped by a model you train need an explanation and a record.
Examples
SQL example
SELECT count(*) FROM claim_decisions WHERE ai_suggested AND (reviewed_by IS NULL OR reviewed_at IS NULL);
-- PASS when the count is 0
TypeScript example
export async function decideClaim(claimId: string, reviewer: Staff, decision: 'approve' | 'reject') {
if (!reviewer.roles.includes('claims-reviewer')) throw new Forbidden();
await claims.update(claimId, { decision, reviewedBy: reviewer.id, reviewedAt: new Date() });
}
Python example
def decide_claim(claim_id: str, reviewer: Staff, decision: Literal["approve", "reject"]) -> None:
if "claims-reviewer" not in reviewer.roles:
raise Forbidden()
claims.update(claim_id, decision=decision, reviewed_by=reviewer.id, reviewed_at=datetime.now(UTC))
How to check
For each decision on the list, a test tries to complete it with no reviewer. It fails. Every completed decision in the database has a reviewer ID and a time.
Sources
Related rules
- AIF-70 Ask a person before an agent does what cannot be undone in AI features
- MLO-37 Explain each decision to the person it affects in Machine learning
- MLO-38 Keep a record of every decision about a person in Machine learning
- AIF-64 Show what the model heard before it acts in AI features
- CMP-44 Find out if a feature is high-risk in Compliance and governance
- CMP-67 Give notice and an appeal before automated decisions in Compliance and governance
- CMP-64 Handle appeals and send decisions to the EU database in Compliance and governance
- APP-67 Let people check and change what a model filled in in Web app interface
- TNS-10 Have a second person decide each appeal in Trust and safety
- TNS-21 Mark automated decisions and review a sample of them in Trust and safety
- SUP-30 Give the bot no more power than the lowest support tier in Customer support
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-features/guardrails-and-human-review/human-decides">Agent Wranglers AI features playbook</a>. In code you write, add a comment next to it with the same link.