Lesson 028: Adapter vs prompt calculus
Focus
Document interfaces between retrieval, prompts, and policy engines. Token Adapter vs prompt calculus:28 keeps neighbouring lessons differentiable.
Key ideas
- Thread: Adapter vs prompt calculus · drill v8 · spin
516116. - 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 | 14d |
| prompt_hash | policy-defined |
| completion_excerpt | 24h hot |
Mask tier `pii-v3` before persistence.
Practice
Practice Draft three eval assertions QA must pass before prompt promotion. — 28 Bump 19.