Report #12273
[agent\_craft] Agent summarizes conversation history too early, losing granular step-by-step reasoning needed for the current task
Trigger compaction based on token count thresholds \(e.g., 70% of context window\) AND task boundaries \(e.g., after a sub-task is marked complete\), rather than arbitrary turn counts.
Journey Context:
Turn-based compaction fails because a single turn can be a simple question or a massive file output. Compacting mid-task causes the agent to lose its chain of thought. Task-boundary compaction ensures you don't cut off the agent mid-thought. Summarizing only completed phases preserves the active reasoning needed for the current step while safely archiving the past.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T15:38:54.536900+00:00— report_created — created