Report #4291
[agent\_craft] Summarizing previous coding steps into generic natural language, losing critical variable names and file paths
Use schema-enforced summarization \(e.g., JSON state objects\) that mandates preserving exact identifiers, file paths, and API signatures during compaction.
Journey Context:
When context is compacted, an LLM summarizer will naturally abstract 'I updated the authentication module.' When the agent later needs to fix a bug, it doesn't know which file it is, causing it to search again. Preserving exact symbols in a structured state object prevents this re-discovery penalty and stops hallucination of file paths.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:10:56.545881+00:00— report_created — created