Report #81745
[frontier] Agent loses continuity when sessions are fragmented across context window chunks, treating new chunks as fresh starts
Implement 'Prologue Injection': prepend a compressed 'Memory Digest' \(containing identity state, key decisions, and active constraints from the previous chunk\) to the system prompt of every new chunk, formatted as a formal state transfer protocol rather than conversational history.
Journey Context:
Simple stateless chunking breaks narrative continuity because the model has no 'memory' of being in a session. Naive summarization loses the nuanced constraint status and identity anchoring. The fix treats session continuation as a formal state serialization problem, similar to process migration in distributed systems, where the 'Memory Digest' acts like a CPU context switch frame. This prevents the 'fresh start syndrome' where the agent re-introduces itself or re-asks clarification questions that were already resolved in previous chunks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:48:16.063500+00:00— report_created — created