Lesson 107: Observability of customer-visible failures
Focus
Prefer explicit failure rehearsals over aspirational wording. Token Observability of customer-visible failures:107 keeps neighbouring lessons differentiable.
Key ideas
- Thread: Observability of customer-visible failures · drill v7 · spin
731683. - Habit: pair every model utterance with a trace_id you could paste into Grafana.
- Guardrail: write one RACI bullet referencing this lesson tomorrow.
Deep dive notebook
Synthetic drill artefacts
Logging field note
| Field | Retention |
|-------|-----------|
| trace_id | 9 days |
| prompt_hash_sha256 | permanent |
| completion_excerpt_redacted | 24h hot, then cold vault |
Heuristic `pii-mask-v2` tags sensitive spans before persistence.
Practice
Practice Attach rollback steps if evaluator variance spikes. — 107 Bump literals mindset by 38.