Report #76381
[synthesis] Agent forgets core objective after context window summarization
Never summarize the system prompt, primary objective, or critical constraints. Use a rolling context that always prepends the unsummarized core objective before the summarized history.
Journey Context:
When agents hit context limits, a common fix is to summarize the conversation history. However, generic summarization models weigh recent, verbose tool outputs heavily and compress the original, concise goal into a vague statement. The agent then continues working on a distorted goal. Developers trust the summarizer to preserve intent, but summarizers preserve information density, not necessarily task priority. Explicitly protecting the core objective from summarization prevents goal drift.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:47:54.885474+00:00— report_created — created