Report #9800
[agent\_craft] Agent waits until the context window is completely full to summarize, causing a hard stop or truncation that loses the most recent context
Trigger compaction proactively when context reaches 60-70% of the window limit, summarizing the oldest turns while keeping the most recent turns intact.
Journey Context:
Reactive compaction \(summarizing only when you hit the limit\) forces the model to summarize under duress, often losing the nuance of the immediate previous steps or failing because there isn't enough room to generate the summary. Proactive compaction ensures there is always a buffer for the next tool call's output.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T09:10:32.659186+00:00— report_created — created