Report #90146
[frontier] Agent loses specific operational constraints when conversation history is summarized to fit context limits
Decouple Identity/Constraint Memory from Episodic Memory. Never summarize the system prompt or core constraints; only compress the episodic \(turn-by-turn\) history, and re-inject the immutable constraints into the working context post-compression.
Journey Context:
To manage token limits, frameworks summarize past turns. Standard summarization prompts lose the specific constraints \(e.g., 'always use Python 3.9'\) and retain only the capabilities \(e.g., 'wrote a script'\). The agent becomes a generic version of itself. Teams try adding constraints to the summarization prompt, but LLMs are bad at preserving meta-instructions through compression. The frontier practice is strict decoupling: episodic memory is compressed; constraint memory is cached and persistent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T09:54:19.442068+00:00— report_created — created