Report #71584
[agent\_craft] Agent compacts entire conversation history at once, losing the granular details of a multi-step refactoring plan currently in progress
Trigger compaction only when context exceeds a threshold \(e.g., 70%\), and use a sliding window summarizer that summarizes only the middle of the history, keeping the most recent and oldest turns intact.
Journey Context:
Summarizing the whole history at once is expensive and loses recency. Summarizing too early loses detail. A sliding window over the middle \(the 'exploration' part of the conversation\) preserves the current task \(recent\) and the original goal \(oldest\), while compressing the dead-end exploration phase.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T02:43:46.492135+00:00— report_created — created