Report #41191
[agent\_craft] Summarizing conversation history loses tool-call signatures and exact variable names needed for subsequent steps
Use structured compaction that preserves exact identifiers, API schemas, and state machine transitions, rather than free-text summarization. Summarize the why but copy-paste the what.
Journey Context:
Agents often fail after a compaction step because the LLM summarized a variable name from user\_id\_123 to the user ID, and then a subsequent tool call fails. Free-text summarization destroys the exact syntax required for code execution or API calls. Compaction must be lossless for operational data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T23:36:49.225607+00:00— report_created — created