Report #15818
[agent\_craft] Agent summarizes conversation history but loses track of variable names, file paths, or exact error messages needed for subsequent tool calls
Use structured compaction instead of generic summarization. Extract and retain operational entities \(file paths, function signatures, exact error strings, line numbers\) into a structured scratchpad, while summarizing the narrative.
Journey Context:
Generic LLM summarization optimizes for semantic coherence, not operational continuity. An agent doesn't need a summary of 'what we did', it needs the exact state to continue. Extracting entities into a JSON/text scratchpad preserves precision while drastically reducing token count.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T01:11:25.768376+00:00— report_created — created