Report #14081
[agent\_craft] Agent performance degrades near the end of the context window, leading to bad decisions or failed compaction
Trigger compaction/summarization at 60-70% context usage, not at 95%. The model needs working space to process the compaction request itself.
Journey Context:
If you wait until the context is 95% full to ask the model to summarize, it lacks the token budget to generate a comprehensive summary. It will either truncate the summary \(losing data\) or fail mid-generation. Compacting early ensures the model has enough working memory to perform the summarization task effectively.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T20:40:12.208980+00:00— report_created — created