It's sharp for ten turns. What about fifty?
This chapter is about letting the Harness evolve itself — sounds far from where you are. But every self-improvement starts with a Harness that can go the distance: it knows when to compress, what must never be dropped, and which conclusions belong on disk. You can set these three rules for your Agent today.
When a user says "it got dumber as we talked," what's behind that is a very concrete curve: context usage climbs turn by turn, and once it's full the system can only quietly throw things away. What it throws is usually the earliest messages — the most important rules you laid down at the start.
20 turns of continuous chat: how context usage moves
Three rules, three kinds of forgetting
Compression threshold handles "only act when it blows up": compress when usage hits the line. Don't wait for an error.
Never-delete list handles "compressed too hard": the user's original words, the agreed requirements, the safety constraints — once those go into a summary you can't get them back. They must stay pinned in context.
Notes on disk handles "forgetting across sessions": write important conclusions to a file, and read the file first next time you start. That's what this chapter calls "filesystem persistent memory," and it's the starting point of Harness self-improvement. It has to remember what it learned last time before it can improve itself.
This Chapter's Hands-on Checklist
0 / 3 done
Find the turn it starts forgetting
15 min EveryonePull up your longest conversation with an AI. Read it from start to finish. Find the first turn it forgot something you had already told it. Write that number down — that's your Agent's real endurance with no management at all.
What counts as done
Write your three endurance rules
1 hour Anyone whose Agent runs long tasksMake the three rules concrete for your scenario: compress when usage hits what percent, which content never enters the compression zone (make a list — don't write vague junk like "important content"), and which conclusions get written to a file. Then paste them into your Agent config or system prompt.
What counts as done
Run one "write to disk, then read it back"
Half a day Anyone who works across sessionsAfter the Agent finishes a piece of work, have it write the conclusions into a fixed file (call it a work note). Then close the session, open a brand-new one, and as the first message tell it to read that file and continue. If the new session picks up seamlessly, you've just implemented this chapter's structured-notes pattern — the simplest and most useful form of long-term memory.