Lesson 027: Context window and chunk budgeting
Focus
Prefer explicit failure rehearsals over aspirational wording. Token Context window and chunk budgeting:27 keeps neighbouring lessons differentiable.
Key ideas
- Thread: Context window and chunk budgeting · drill v7 · spin
486099. - 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
Token CFO scratchpad
- prompt_budget: 1994
- completion_budget: 770
- cache_key: `3552`
Hypothesis: halving completions moves P95 ~5% — record actuals.
Practice
Practice Attach rollback steps if cost-per-request crosses your guardrail. — 27 Bump 22.