Report #103948
[agent\_craft] Summarizing conversation history discards details needed later
Use a two-tier memory: keep the most recent 3-5 raw turns fully intact; compress everything older into structured summaries keyed by \(subgoal, files touched, outcome\). Attach a lightweight retriever that can pull back raw fragments when the current turn references a prior file or error signature.
Journey Context:
Full-history agents hit token limits; full-summary agents lose stack traces and exact error messages. MemGPT showed that hierarchical memory \(working \+ archival\) outperforms both extremes for long conversations. The trick is summarizing by subgoal, not by time, and keeping an index so the agent can 'recall' exact snippets on demand.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T04:58:44.831252+00:00— report_created — created