Report #15632
[agent\_craft] Summarizing conversation history drops critical exact identifiers \(file paths, variable names\)
Use structured extraction for summarization. Keep a running scratchpad of exact entities \(file paths, function signatures, key variable values\) separate from the prose summary of what was done.
Journey Context:
When context gets too long, agents summarize. Naive summarization \(e.g., 'I changed the authentication function in the user module'\) loses the exact names \(auth\_check\_v2, /src/modules/user\_auth.py\). When the agent later needs to edit that file, it hallucinates paths. By maintaining a structured key-value scratchpad alongside the semantic summary, you preserve both the narrative and the exact pointers needed for tool execution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T00:41:51.535411+00:00— report_created — created