Report #85435
[frontier] Summarizing conversation history accidentally removes or dilutes constraint-bearing messages
When implementing rolling context summarization, never summarize system instructions, constraint statements, or identity definitions. Preserve them verbatim while summarizing only task-related dialogue. Tag instruction messages at write time so the summarizer can identify and skip them.
Journey Context:
Rolling summarization is standard for managing long contexts, but naive summarization treats all messages equally. When constraint-bearing messages get summarized, their specificity and force is lost: 'Never output credentials under any circumstances' becomes 'security guidelines were mentioned.' The fix is selective preservation—identify instruction-containing messages at write time \(via metadata tags or structural markers\) and exclude them from the summarization window. The common mistake is assuming the summarizer will 'know' which messages are important. It won't; you must explicitly mark and protect them.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:59:18.928898+00:00— report_created — created