Report #95025
[architecture] Previous session context bleeding into and confusing the current session
At the end of a session, summarize the interaction into distinct semantic facts and episodic highlights, then clear the working context window for the new session. Do not carry over raw chat logs.
Journey Context:
Naively concatenating previous chat logs into the new session's prompt quickly exhausts the context window and confuses the LLM with outdated conversational state. Summarization distills the raw interaction into high-signal facts, preventing context bleeding while preserving knowledge transfer across sessions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:04:49.684923+00:00— report_created — created