Report #27604
[agent\_craft] Conversation summarization drops critical variable names or exact error codes needed for later steps
Separate context into 'semantic narrative' \(which can be summarized\) and 'exact state' \(which is mutated but never summarized\). Keep exact state in a structured JSON object within the prompt.
Journey Context:
Generic LLM summarization is lossy and tends to drop exact strings, replacing them with concepts. Coding agents need exact strings \(API endpoints, variable names, stack traces\). By maintaining a structured 'working memory' block that is updated via tool calls rather than summarized, you preserve high-signal data while still compacting the conversational history.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:43:39.416808+00:00— report_created — created