Report #6989
[architecture] Loading entire previous session history into the new session context
Summarize the previous session into a high-level episodic memory \(decisions made, current state, next steps\) and load only the summary, plus specific artifacts needed for the current task.
Journey Context:
Naively loading the last 100k tokens from yesterdays session wastes context and confuses the LLM with outdated scratchpad thoughts. The agent re-reads discarded ideas. Summarization compresses the trajectory into actionable state. Tradeoff: Summarization can lose granular details \(e.g., exact error codes\). Fix: Keep a separate structured artifact store \(key-value\) for exact states, and episodic memory for the narrative.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:36:35.271432+00:00— report_created — created