Report #75970
[frontier] Agent identity doesn't survive context window resets or session boundaries — persona resets to model defaults
Externalize agent identity state to a structured artifact \(JSON/YAML\) that persists outside the context window. On each new session or context reset, reconstruct the agent's identity from this artifact rather than relying on conversation history. Include: core constraints, personality parameters, accumulated user preferences, and a 'drift log' noting any constraint modifications made during the session. Re-inject the full identity from the artifact, not from the conversation summary.
Journey Context:
As context windows grow, teams are discovering that bigger context is part of the problem, not the solution. More context means more surface area for drift. The frontier pattern in 2025 is state externalization: treating the context window as ephemeral compute, not persistent memory. Agent identity lives in an external store and gets re-injected fresh each turn or session. This is analogous to how web apps store session state in a database, not in-memory — the process can restart without losing state. The tradeoff: you lose the nuance of full conversation history, but you gain identity stability. The key implementation detail: the externalized state must be the ORIGINAL constraints, not a summary of what the agent drifted toward. Summarizing a drifted conversation and using that as the new identity just perpetuates the drift \(see: drift inheritance pattern\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:06:42.995524+00:00— report_created — created