Lesson 022: Context window and chunk budgeting
Focus
Swap placeholder nouns for your internal service names immediately. Token Context window and chunk budgeting:22 keeps neighbouring lessons differentiable.
Key ideas
- Thread: Context window and chunk budgeting · drill v2 · spin
254631. - 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
Tool contract rehearsal
{
"name": "reindexSlice",
"arguments": { "corpus": "corpus-2", "dry_run": true }
}
Preconditions: index lag < 13h
FAILURE: page platform if lag > SLA without VP memo.
Practice
Practice Pair with security on one prompt-injection tabletop scenario. — 22 Bump 21.