PACE / Study guide / Context

Context

Feeding the window what it needs — and nothing that poisons it · 200 of 800 points

Context is the discipline of managing what the model can see: supplying the right files and facts, clearing or compacting when a session drifts, using memory across sessions, and recognizing when the window itself — stale plans, dead ends, bloated logs — has become the bug.

By WholeTech · updated 2026-08-02

Q. What actually poisons a context window?

Abandoned approaches that keep getting referenced, giant logs pasted wholesale, contradictory instructions layered over hours, and stale “facts” from earlier in the session. The model weights what it sees; if what it sees is noise, you get confident noise back.

Q. When should you clear or compact instead of pushing on?

The tell is repetition: the agent re-suggests an abandoned approach, re-reads the same files, or contradicts a decision already made. At that point more prompting adds contradiction, not clarity. Clear, restate the current goal plus the few facts that survived, and continue.

Q. What belongs in persistent memory vs the current window?

Memory is for what stays true across sessions: conventions, decisions, gotchas, who is who. The window is for what is true right now. Writing session-specific state into memory is how agents confidently act on last month’s facts.

Q. How does context discipline change what agents cost?

Tokens are the meter. Long unfocused sessions re-send the same bloated context every turn; focused sessions with warm caches serve most input at a fraction of the price. The cheapest token is the one you did not need to send twice.

Sample question — released item (not in the live bank)

Hours into a session, the agent keeps proposing an approach you abandoned this morning. Best move?

  1. Prompt harder — repeat the instruction in caps.
  2. Paste the whole morning conversation back in as a reminder.
  3. Clear/compact the context, restate the current goal and the few facts that still hold, and continue.
  4. Switch to a larger model and hope it sorts the history out.
Show the answer

C. C removes the poison instead of arguing with it. A and B add more of what caused the drift; D pays more to process the same contradictions.

Sit the beta exam — Context is 10 of your 40 questions →