Auto-summarization triggers too late — model quality degrades long before the context limit ("context rot")

Thanks for moving this into a separate thread and backing it up with solid research. That’s a really strong write-up.

One factual note about current behavior: auto-summarization doesn’t wait for the context to hit 100%. Background compaction starts before the hard limit, around 90% of the window being used. So there’s already some protection from working right at the edge, it’s just that the threshold is fixed right now and set server-side, not user-configurable.

What we don’t have today, and what you’re basically asking for, is:

  • a configurable and generally earlier trigger threshold
  • a mode where the summary is applied only at a turn boundary, not in the middle of a task

On manual checkpoints: /summarize is the way to trigger compaction manually at any time before quality starts to drop. The fact that it interrupts work instead of being queued is tracked separately in your thread 163978 Calling `/summarize` while work is being done stops it, instead of queueing it so I’ll keep that part there to avoid mixing two requests.

I’ve logged the feature request: earlier and configurable threshold plus applying at turn boundaries, for the Agents window and the CLI. If there’s an update, I’ll post it here.