Long Agent Sessions Rot — Start Fresh Instead of Scrolling Back Up
After 15–20 turns, the agent starts re-litigating decisions it already made and contradicts code it wrote earlier. The fix isn't a bigger context window. It's ending the session.
After 15–20 turns, the agent starts re-litigating decisions it already made and contradicts code it wrote earlier. The fix isn't a bigger context window. It's ending the session.
An agent's claim of 'done' is worthless without a one-line command that proves it. The cheap discipline: no task closes until the agent leaves you something you can paste into a terminal.
Dumping every file into the prompt doesn't give the agent more signal — it buries the one file it actually needs. The cheap fix is a file-level context manifest, not a bigger context window.