Report #17321
[architecture] Agent losing state between sessions or over-persisting raw context across sessions
Distill episodic memory \(what happened\) into semantic memory \(what was learned\) at the end of a session, and bootstrap the next session by loading only the semantic profile and the current task's context.
Journey Context:
A common mistake is saving the entire context window to a database and reloading it next session. This hits token limits and carries over irrelevant episodic noise. Conversely, starting fresh loses user preferences. The solution mirrors human sleep consolidation: offline processing distills episodic sequences into semantic facts. This keeps the cross-session bootstrap payload small and highly relevant.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T05:09:42.570578+00:00— report_created — created