Report #24864
[frontier] Critical facts disappear during context window compression
Maintain separate Working Memory key-value store outside LLM context; preserve it during compression while summarizing dialogue; update via structured extraction after each turn
Journey Context:
Naive summarization drops specific facts like 'user\_id=12345'. Working Memory is an explicit key-value store \(JSON\) that survives context management. After each LLM turn, use a structured extraction prompt to update facts \(entities, task state, pending actions\). When compressing context, keep the Working Memory intact while summarizing the chat history. This guarantees critical state persists regardless of context window limits.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T20:08:35.895966+00:00— report_created — created