Trust & governance
Confidence indicators, processing state logic, error handling and anti-patterns that keep AI interactions are transparent and trustworthy.
Confidence scale
AI outputs communicate their reliability through a 3-tier confidence system mapped to the design system's semantic color families.
Visual indicators
Confidence is communicated through color-coded badges, progress bars and inline labels adjacent to AI outputs.
Best time to post: Thursday, 2–4 PMLikely
ⓘ Why this confidence?
Processing states
Every AI interaction follows a state lifecycle. Each state has specific visual and behavioral rules.
| State | Duration | Visual | User Action |
|---|---|---|---|
| Loading / Thinking | 0-3s | Shimmer animation, "Analyzing..." text | Wait or cancel |
| Streaming / Progressive | 3-30s | Text appears word-by-word with fade-in | Read as it generates, stop early |
| Success | Instant | Content appears, confidence badge shown | Accept, edit or dismiss |
| Error | Instant | Orange stroke (#C55D27), helper text | Retry, edit prompt or dismiss |
| Timeout | After 30s | Desaturated border, retry icon | Retry or try different approach |
Error patterns
Every error uses the Amber Standard: one caution color from the error ramp, whatever the theme. Each card shows the prompt box, a short message and, where it helps, one way forward.
Validation
Empty prompt submitted
Please enter a prompt to begin. Clears in 2s.
Connection
API failure or timeout
Glow is having a moment.
Permission
Mic blocked or feature turned off
Microphone access is blocked.
Rate limit
Too many requests in a short time
Cooling down. Submit turns back on in 8s.
Anti-Patterns
Documented mistakes to avoid when designing AI interactions, each paired with the approved fix.
Overconfident AI
Present AI outputs without confidence indicators, making users assume 100% accuracy.
Always show confidence level. Use the 3-tier scale. Never hide uncertainty.
Black box responses
Provide answers without explaining reasoning or data sources.
Include "Why?" expandable sections. Link to source data. Show the reasoning chain.
Unrecoverable actions
Execute irreversible actions (sending emails, deleting records) without confirmation.
Always require explicit confirmation for destructive actions. Use "Review before sending" patterns.
Notification overload
Generate too many suggestions at once, overwhelming the user.
Use progressive disclosure. Show the top 1–3 suggestions, hide the rest behind "Show more."
AI feature checklist
Before shipping any AI feature, verify these requirements.