Report #10562
[agent\_craft] Compaction or summarization of past conversation strips out exact identifiers, error codes, or variable names
Implement structured compaction. Instead of generic LLM summarization, extract a typed JSON scratchpad of entities \(file paths, variable names, error codes, API endpoints\) and append this structured state to the semantic summary.
Journey Context:
LLM summarization optimizes for semantic coherence but drops exact strings. When an agent needs to call a specific function, a summary saying 'tried the helper function' is useless. Structured state extraction ensures exact identifiers survive context compaction.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T11:08:05.247721+00:00— report_created — created