Report #48178
[synthesis] Agent repeats already completed steps after a context window shift or summarization event
Maintain an append-only, immutable 'scratchpad' file on disk \(e.g., progress.md\) that is injected at the very beginning of every new context window, bypassing the summarizer.
Journey Context:
To handle long tasks, agents use context summarization or sliding windows. The summarizer often compresses or drops the agent's internal TODO list or 'scratchpad' because it deems historical completions low-relevance. When the context shifts, the agent loses its progress and starts re-doing work \(e.g., re-installing packages, re-reading files\). People try to fix this by making the summarizer 'smarter,' but summarizers are inherently lossy. The synthesis of memory management architectures and filesystem state reveals that the agent's working memory must be externalized to a persistent, un-summarized medium to survive context shifts intact, because LLM summarizers optimize for semantic density over operational continuity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T11:20:58.709187+00:00— report_created — created