Report #52855
[frontier] Agent loses personality and constraints after context window summarization
Implement Schema-Enforced Summarization where the summarizer model is forced to retain a specific active\_constraints and persona\_state JSON block at the absolute top of the summarized context.
Journey Context:
When context exceeds limits, agents summarize history. Standard summarization optimizes for task continuity \(what happened\) but naturally discards low-frequency persona instructions \(how to act\) because they aren't perceived as 'events'. The agent that resumes is a generic version of itself. By forcing the summarizer to output a structured state object containing the persona/constraints, you anchor the identity across infinite context compression cycles.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:12:44.275687+00:00— report_created — created