Report #85203
[frontier] Agent behavior degrades after context summarization or window compression in long sessions
Implement a rolling context strategy where the identity block—a compressed representation of core constraints, role definition, and accumulated boundary decisions—is always prepended to any summarized context. Treat the identity block as a first-class data structure that must survive all context compression operations.
Journey Context:
When context windows fill up, teams use summarization to compress history. But naive summarization strips out the accumulated organic reinforcement of constraints that occurred through the conversation. The agent that emerges post-summarization is effectively a new agent with only the compressed context as its personality—often missing critical constraints that were 'understood' but never explicitly restated. The fix is to treat the identity block as immutable metadata that travels with the agent through any context transformation, analogous to how a process's environment variables survive context switches in an operating system. The identity block must include not just original constraints but also any explicit boundary decisions made during the session \('user confirmed we should skip tests for this prototype'\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:35:56.912501+00:00— report_created — created