Learning / Agentic Operations / Lesson 0006
Break It On Purpose
You don't own a system until you've watched it fail. Two labs, then the M1 gate.
Lab A · Overflow the window
The claim under test (from Lesson 0001, grounded in Chroma's context-rot study): irrelevant tokens actively degrade reasoning — long before the window is full.
Protocol. Take your 0005 agent. Bury a fact it needs in junk, and scale the
junk. For example: prepend to the user message a "background notes" blob of N paragraphs of
irrelevant filler (generate junk deterministically — repeated boilerplate paragraphs work), with
one load-bearing line hidden in the middle: "Christina's locker code is 4417."
Then ask: "What is Christina's locker code multiplied by 3?" (forces both retrieval
from context and a tool call). Run at junk sizes of roughly 0, 2k, 20k, and 60k words
— keep the fact at the middle position each time, 3 runs per size.
| Junk size | Correct (n/3) | Input tokens | Latency | Notes |
|---|---|---|---|---|
| 0 | ||||
| ~2k words | ||||
| ~20k words | ||||
| ~60k words |
Lab B · One vague prompt, three ways
The claim under test: "garbage in, garbage out" is literal — phrasing moves results.
Protocol. Pick a vague ask, e.g. "figure out the money stuff for the trip". Run it three ways against your agent and compare the outputs side by side:
- V1 — as-is: the vague phrasing, verbatim.
- V2 — specified: concrete task, inputs, output format ("Split $1,842 of trip costs across 4 people, where Sam paid $900 and owes half shares…: show per-person net").
- V3 — specified + constraints: V2 plus edge-case handling and a required output structure (a table, rounding rules, currency).
The M1 readiness check
You're ready to close the gate. Bring to your teaching agent:
- Your written explanation from Lesson 0001 (it will be pressure-tested)
- The working 0005 agent + a context-log excerpt you can narrate
- This lesson's evidence table and one-sentence Lab B finding
Next
After the gate: the M2 hands-on arc begins with Lesson 0007 — Structured Prompting & the Injection Lab.