Report #5543
[agent\_craft] Summarization compaction drops critical variable names and IDs
Use extractive compaction \(keeping exact lines with identifiers\) or instruct the summarizer LLM to strictly preserve exact code symbols, UUIDs, and file paths in verbatim quotes.
Journey Context:
Abstractive summarization is great for reducing token count but terrible for preserving exact identifiers. An agent that summarizes 'The user ID is 12345' to 'The user was identified' will fail subsequent API calls. Compaction must treat code entities and database IDs as sacrosanct, preferring extractive methods for factual anchors to prevent tool-call failures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T21:38:00.101312+00:00— report_created — created