Episode 94 · Harness Design series

Context Is the Bottleneck (Harness Design, Part 2)

Episode 94: Context Is the Bottleneck (Harness Design, Part 2), by Sankalp Thakur

Ines finds that more than half her agent's failed runs never wrote a line: they overflowed the context window. With Gideon she works through why the history fills up, context rot, lossy versus lossless compaction, and the five tiers in Fan, Zhang et al. (arXiv:2609.20804). On SWE-Bench Verified, managing context was worth 35.7 points at a 32k window but only 2.7 at 128k, and almost all of that came from stopping overflow (78.7% of unmanaged runs overflowed at 32k, versus zero for managed runs). Eliding first and summarising later was the cheapest policy. Recoverable recall was rarely called and added no accuracy. The episode also covers window arithmetic, surprises in the tables, how compaction fails, keeping the plan outside the history, learned versus static policies, vendor features, sub-agents and the limits of the evidence.

Listen to the show on your preferred podcast platform.

Inside this episode

  1. Cold open: the runs that never wrote a line
  2. Why the bucket fills
  3. A bigger window is not a free fix
  4. Lossy and lossless: two families of fix
  5. The five tiers
  6. How the staged policy works
  7. The arithmetic of a window
  8. Finding one: management matters most when the window binds
  9. The overflow story
  10. Reading the tables: the surprises
  11. Finding two: cheap first, expensive later
  12. Finding three: the photos in the drawer
  13. What the summary says
  14. How compaction goes wrong
  15. Why the plan lives outside the history
  16. The wider toolkit: maps, memory and sub-agents
  17. Static rules and learned habits
  18. The vendors' versions
  19. What the paper does not tell you about context
  20. What Ines changed
← Explore all 96 episodes

Production credits & AI disclosure

Scripts generated with Claude Opus. Synthetic narration generated with Edge TTS. Reviewed, listened to, and approved by Sankalp Thakur.