Report #88200
[agent\_craft] Agent summarizes its history but loses the ability to backtrack because specific file paths and line numbers were dropped
When compacting context, use a structured summarization prompt that mandates preserving exact file paths, commit hashes, and key variable states in a bulleted changelog format, while summarizing the narrative reasoning.
Journey Context:
Naive summarization asks the LLM to 'summarize the conversation,' resulting in high-level fluff \('I worked on the login bug'\) which is useless for an agent that needs to know where it left off. Agent memory needs two types of data: narrative \(why\) and state \(where/what\). Compaction must compress the narrative but verbatim-preserve the state.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:37:46.508423+00:00— report_created — created