Track 06 · Security & risk reviewLesson 05 of 10
Refusals and safe failure
Decide what the agent does when it shouldn't act, and make that graceful.
- Lesson library · reference
- 30 min read
- 60 min hands-on
- Pro
What you'll be able to do
01- Distinguish the ways an assistant can decline to answer (refuse, abstain, clarify, hand off) and the refusal categories behind them (policy, capability, uncertainty, out of scope, crisis).
- Design a response policy that combines risk tier, guardrail result and grounding confidence into one auditable decision, with a fail mode chosen per risk tier.
- Write refusal and handoff wording that states a reason category, offers a next step and works for screen-reader users and in every supported language.
- Build a fallback ladder in which each rung is less autonomous than the one above, and set safe tool defaults for when a guardrail times out.
- Measure refusal quality with a false-refusal rate on a benign set and an unsafe-pass rate on a harmful set, with confidence intervals, and defend the operating point to a risk team.
Before you start
- Guardrails the risk team can sign: where the signals in this concept come from.
- System prompts that survive a regulated rollout: scope boundaries and the basic refusal shape.
- Answers with receipts: grounding and citations: how a grounding score is produced.
- Retries, fallbacks and failing gracefully: retries, timeouts, circuit breakers and degradation modes.
- Handing off to a person, well: what happens after "I'm connecting you with someone".
- Golden datasets and the metrics that matter: building the labelled sets you will measure against.
The short version
Every production assistant spends part of its life not answering: it refuses, hands off, abstains, asks a clarifying question or degrades. Each is a designed outcome with its own trigger, wording, next step and metric, not an error path. You measure two errors together: over-refusal (benign requests refused, pushing members to the phone queue) and under-refusal (requests answered that should not have been). You set the operating point per risk tier, and you choose per tier whether a broken guardrail fails closed or open. The result is a small, versioned policy function plus approved wording, both tested offline.
Key takeaways:
- "Not answering" has at least four shapes (refuse, abstain, clarify, hand off). Users and metrics need them kept apart.
- Over-refusal is a defect with a number. Track a false-refusal rate on a benign set alongside the unsafe-pass rate.
- Fail closed or fail open is a per-tier decision. A timed-out guardrail means "no decision", never "allowed".
- Every refusal names a reason category and a next step. A refusal without a route is a dead end.
- Fallbacks lower autonomy as they lower quality. The last rung is always a human.
Pro lesson
The rest of this lesson is in Pro.
The mental model, worked example, field note, failure table, exercise and self-check, with the voice tutor.
- Every stage and specialisation, in full
- Every lab and every role project
- Halden weeks 2–10, on your record
- Every drill, live in the playground
- All solutions, plus the server judge
- Lab Assistant and every Teach with AI