Why Your AI Agent Gets Dumber with Large Specs (And How to Fix It)
· 8 min read
Your spec fits in the context window. So why does your AI agent make mistakes, ignore instructions, and produce worse code?
You paste a detailed 2,000-line architecture document into Cursor. The context window can handle it—200K tokens, plenty of room. But something's off. The AI suggests an approach you explicitly ruled out on page 3. It asks questions you already answered. The code it generates contradicts the design decisions you documented.
The problem isn't context size. It's context quality.
