Rubric
Contents — domains, guide and mocks

Human-in-the-loop validation

CCAR-P 5.312 min read · checked 21 September 2026

Task statementApply human-in-the-loop validation strategies

Three places to put a human

Before the outcome

  • Approve before act — the agent pauses; a person approves the tool call
  • Review before release — the model drafts; a person edits and sends
  • Slower, but errors never reach the world

After the outcome

  • Sample and audit — people check a share of completed work
  • Escalate by exception — low confidence or flagged cases go to a person
  • Faster, but some errors land before anyone sees them
The same agent can use all three: a gate on irreversible actions, review on outward-facing drafts, and sampling on routine output.

Why and where humans belong

Human review is a control like any other, and it has a cost: people are slow, expensive and get tired. So the question is never “should there be a human?” but “at which points does a human change the outcome enough to be worth it?” Three signals push toward a person in the loop: the action is hard to reverse (a payment, a deletion, a letter to a customer), the decision significantly affects someone (credit, a diagnosis, a benefits claim), or the input is new or unusual enough that the model is likely to be out of its depth.

Sometimes the answer is set for you. Anthropic’s Usage Policy lists high-risk use cases — including legal, healthcare, insurance, financial, employment, housing and academic decisions — and for these requires human-in-the-loop review, with a qualified professional in the field reviewing content or decisions before they are disseminated or finalised, and disclosure that AI was used. In the EU, GDPR Article 22 gives people the right not to be subject to a decision based solely on automated processing that has legal or similarly significant effects, and where such decisions are allowed, requires safeguards including at least the right to obtain human intervention, to express a point of view and to contest the decision (the regulation itself is covered in 5.4).

Which pattern fits?

What happens if the model is wrong here?
  • Irreversible action or money moves
    Approve before actagent pauses at the tool call
  • Significant decision about a person
    Qualified human decidesmodel drafts and cites evidence
  • Outward-facing but correctable
    Review before releaseor exception routing at scale
  • Internal and low impact
    Sample and auditreview a share, track error rate
Start from the consequence of an error, not from how good the model looked in testing.

Building the gate into an agent

Anthropic’s “Building effective agents” describes agents that pause for human feedback at checkpoints or when they hit blockers, and notes that even when automated tests pass, human review of a coding agent’s work still matters for fit with the wider system. In the Claude Agent SDK, the approval gate is the canUseTool callback: any tool call not settled earlier in the permission flow reaches your callback, where your application can show it to a person and return a decision. ask rules send matching calls to the callback even in bypassPermissions mode, and plan mode sends file edits to it regardless of allow rules, so an agent can propose changes that a person approves before they are made.

An approval gate on a refund tool

Agent
Your app
Reviewer
Payments
Step 1: Agent to Your app: Request issue_refund(£240)
Step 2: Your app : Matches ask rule
Step 3: Your app to Reviewer: Show order, reason, evidence
Step 4: Reviewer to Your app: Approve (or deny with note)
Step 5: Your app to Payments: Execute refund
Step 6: Your app to Agent: Result or denial reason
The agent does the research; the person makes the one decision that moves money. The reviewer sees the evidence, not just the proposed action.

Making review real: automation bias and review design

The most common way human-in-the-loop fails is not the absence of a human — it is a human who stops looking. When a model is right 98% of the time, reviewers learn to click “approve.” That is automation bias, and it quietly turns a control into theatre. Review design is how you resist it.

Rubber stamp versus meaningful review

Rubber stamp

  • Reviewer sees only the final answer
  • One-click approve, rejection needs a form
  • Every item reviewed, no matter how routine
  • Decisions never fed back

Meaningful review

  • Claims shown with cited sources
  • Uncertain or changed items highlighted
  • Review effort targeted by risk
  • Overrides tracked and fed into evals
Same people, same model. The right-hand design makes checking cheaper than guessing, and makes “reject” a normal outcome.

Useful techniques follow directly from the guardrail docs. Asking Claude to cite a supporting quote for each claim — and to retract claims it cannot support — gives the reviewer something concrete to check. Allowing the model to say it lacks enough information creates a natural escalation path: “insufficient evidence” goes to a person rather than becoming a guess. Some teams also seed known-bad items into the queue to measure whether reviewers catch them; if they do not, the review is not a control.

Traps the wrong answers are built from

Tempting but wrongDo this instead
Asking the model in the prompt to “check with a human first” as the approval mechanism.Enforce approval in orchestration — an ask rule, canUseTool callback, hook, or a workflow that stops at a draft.
Routing every output to human review regardless of risk.Target review by consequence and confidence; sample the routine and gate the irreversible.
Showing reviewers only the final answer.Show cited evidence, highlight uncertain items, and make rejecting as easy as approving.
Removing human review from a high-risk decision because testing looked good.Keep a qualified reviewer where the Usage Policy or regulation requires one; optimise the review instead.
Discarding reviewer decisions after the fact.Log overrides with reasons and feed them into evaluations and prompt improvements.

You should now be able to

  • Choose between approve-before-act, review-before-release, exception routing and sampling based on the consequence of an error.
  • Identify when a human reviewer is required by policy or regulation, such as Usage Policy high-risk use cases or GDPR Article 22.
  • Implement approval gates outside the model, using Agent SDK permission rules, callbacks or workflow design.
  • Design reviews that resist automation bias with evidence, highlighting and measured reviewer accuracy.
  • Set measurable criteria for adjusting the level of human review over time.

Practice questions

Original questions written for this lesson, in the exam’s style. Answer first, then open the reasoning — every option is explained, including why the wrong ones are tempting.

  1. Question 1

    A retailer’s agent can issue refunds. The system prompt says “Always confirm with a supervisor before refunds over £100,” but audits show some large refunds went through without confirmation.

    What is the best fix?

    1. ARewrite the instruction in capital letters and repeat it at the end of the prompt.
    2. BEnforce the threshold in code so large refunds pause for supervisor approval.
    3. CRemove the refund tool and have supervisors issue every refund by hand.
    4. DAdd a daily report of refunds for supervisors to review afterwards.
    Show answer and reasoning
    1. AIncorrect. Stronger wording may help a little, but it is still a request the model can skip.
    2. BCorrect. An approval gate in orchestration — such as an ask rule or callback — cannot be skipped by the model.
    3. CIncorrect. This over-corrects: small refunds are low risk and the business loses most of the benefit.
    4. DIncorrect. Auditing after the fact detects the problem but does not prevent money moving without approval.
  2. Question 2

    A bank’s mortgage team uses Claude to assess applications. Reviewers approve 99% of recommendations, averaging 40 seconds per file, and a later audit finds several recommendations that misread income documents.

    Which two changes would most improve the human review? (Select 2.)

    1. AShow each recommendation with cited figures linked to the source documents.
    2. BSeed known-flawed files into the queue and track whether reviewers catch them.
    3. CRequire reviewers to process more files per hour to reduce backlog.
    4. DReplace reviewers with a second model that approves the first model’s output.
    5. EHide the model’s recommendation so reviewers form their own view first.
    Show answer and reasoning
    1. ACorrect. Evidence makes checking fast and concrete, which is the antidote to rubber-stamping.
    2. BCorrect. This measures whether the review is real and exposes automation bias.
    3. CIncorrect. More speed pressure worsens the rubber-stamping the audit revealed.
    4. DIncorrect. A model check can help, but mortgage decisions are high-risk and need a qualified human.
    5. EIncorrect. Tempting as a bias control, but it throws away the efficiency without adding evidence to check.
  3. Question 3

    An internal IT team deploys Claude to draft first responses to employee helpdesk tickets about password resets and software installs. Errors are easy to correct and employees can reply.

    Which human-in-the-loop strategy fits best?

    1. AA senior engineer approves every drafted reply before it is sent.
    2. BNo human involvement at all, since the tickets are internal.
    3. CSend replies directly, sample a share for review, escalate flagged tickets.
    4. DOnly let the assistant reply after a human edits the draft.
    Show answer and reasoning
    1. AIncorrect. Heavy review on low-impact, correctable output wastes scarce time and invites rubber-stamping.
    2. BIncorrect. Low risk still deserves some measurement; with no sampling, quality drift goes unnoticed.
    3. CCorrect. Low consequence and easy correction point to sampling plus exception routing.
    4. DIncorrect. Review before release is designed for outward-facing or higher-stakes content, not routine internal tickets.
  4. Question 4

    In the Claude Agent SDK, a team wants certain tool calls to always reach their approval callback, even if someone later runs the agent in bypassPermissions mode. Which mechanism fits?

    1. AAn ask rule for those tools in settings.
    2. BListing those tools in allowedTools.
    3. CA system prompt telling Claude to request approval.
    4. DSetting permissionMode to acceptEdits.
    Show answer and reasoning
    1. ACorrect. The docs say ask-rule matches fall through to canUseTool even in bypassPermissions mode.
    2. BIncorrect. Allow rules pre-approve tools, so the callback is skipped rather than consulted.
    3. CIncorrect. Prompt instructions are not enforced by the permission system.
    4. DIncorrect. This auto-approves file operations; it does not force approval of other tools.

Sources

Drafted with AI assistance and checked against the sources above; expert review is in progress. Spotted an error? Tell us and it gets fixed, dated and listed on how this is written.