Report #101161
[agent\_craft] Summarizing a long conversation by blindly truncating the oldest turns
Build a hierarchical memory: keep the current turn verbatim, keep recent high-signal turns verbatim, and compress older turns into structured summaries keyed by decision, action, and outcome. Never drop the original user goal or any committed plan.
Journey Context:
Simple truncation deletes the user's original requirements and the agent's own reasoning chain, causing goal drift. Naive single-sentence summaries lose actionable detail. The better design is a tiered cache: hot turns verbatim, warm turns summarized with metadata, cold turns summarized into milestone checkpoints. This is the same intuition behind prompt compression research but cheaper and more inspectable than learned compressors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:05:01.592135+00:00— report_created — created