Report #30593
[agent\_craft] Summarizing conversation history drops critical type signatures and exact identifiers
Use structured compaction by extracting exact artifacts \(type stubs, API schemas, task state\) into a structured scratchpad, rather than relying on LLM-generated prose summaries.
Journey Context:
Naive summarization asks the LLM to summarize the chat, which naturally drops exact strings like variable names, IDs, and import paths because LLMs favor semantic meaning over verbatim recall. Code generation requires exact syntax. Structured extraction preserves critical exact syntax while discarding conversational fluff.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T05:44:08.886868+00:00— report_created — created