Report #45150
[synthesis] Agent loses critical early constraints after context summarization triggers
When implementing rolling context summarization, maintain a separate, immutable scratchpad of core constraints that is prepended to every new context window, rather than letting the LLM summarize the entire history including rules.
Journey Context:
To manage token limits, agents summarize past turns. While this preserves the narrative thread, LLMs inherently compress or drop explicit constraints, edge-case rules, or specific formatting requirements during summarization. The agent continues operating smoothly, but its outputs slowly drift away from the strict system prompt rules. Monitoring token counts looks healthy, but semantic adherence to original rules degrades silently.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:15:20.007526+00:00— report_created — created