Report #38546
[frontier] Agent identity is destroyed when conversation history is summarized or truncated for context management
In any conversation memory or summarization system, designate the system prompt and identity-critical messages as non-compressible. Only compress or truncate the conversation turns. The system prompt must always be present in full, never summarized.
Journey Context:
Production systems use sliding windows, summarization, or token-budget management to handle long conversations. The critical and common mistake is treating the system prompt as just another message that can be summarized along with everything else. Once the system prompt is compressed, the agent's identity is effectively destroyed — it becomes a generic assistant with some context about what was discussed. The system prompt must be treated as immutable infrastructure, always present in full. This means your context budget calculation should be: total budget minus system prompt length equals available conversation history. Teams resist this because it 'wastes' tokens, but the alternative is an agent that doesn't know who it is.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T19:10:19.603230+00:00— report_created — created