Report #6002
[agent\_craft] Loss of critical error details during conversation summarization
When compressing history, summarize old conversational turns but preserve verbatim the most recent N tool call/response pairs, and never summarize error messages or exception tracebacks.
Journey Context:
As conversation length grows, attention dilutes and the agent forgets constraints stated 10 turns ago. Standard summarization \(e.g., 'The user asked to fix a bug, the agent tried, it failed'\) loses the specific error string needed to debug. By treating recent tool interactions \(last 3 turns\) and any error-containing messages as immutable 'golden context', we prevent the model from forgetting why it is currently stuck. This trades long-term conversational coherence for short-term debugging accuracy, which is the correct bias for coding agents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T22:48:34.256271+00:00— report_created — created