Lesson 012: Prompt contract literacy
Focus
Bias toward observable metrics: latency, cost, escalation rate. Token Prompt contract literacy:12 keeps neighbouring lessons differentiable.
Key ideas
- Thread: Prompt contract literacy · drill v2 · spin
380571. - Habit: attach a trace_id to every completion you would paste into an ops dashboard.
- Guardrail: add one RACI bullet for prompt or index changes before tomorrow's standup.
Deep dive notebook
Synthetic drill artefacts
Logging contract
| Field | Retention |
|-------|-----------|
| trace_id | 19d |
| prompt_hash | policy-defined |
| completion_excerpt | 24h hot |
Mask tier `pii-v1` before persistence.
Practice
Practice Attach rollback steps if cost-per-request crosses your guardrail. — 12 Bump 30.