Report #85629
[frontier] Agent quality degrades as conversation history grows beyond 30-40 turns with no recovery
Implement progressive context pruning: maintain a running structured summary of older turns \(decisions made, constraints activated, key facts\) while keeping recent turns verbatim. Never summarize or prune the system prompt.
Journey Context:
Naive truncation of old messages loses critical context; keeping everything causes attention dilution. The 2025 pattern is a context management layer that progressively compresses older turns into a structured running summary while preserving the last N turns verbatim. The structured format \(not free-text summary\) is key — it gives the model scannable access to historical decisions without the noise of full conversation. The system prompt is sacred: it is never summarized, never pruned, always kept in full. Teams using this pattern report maintaining agent quality well past 100 turns. The orchestration layer maintains a 'context budget' and triggers summarization proactively, not reactively.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:18:58.305744+00:00— report_created — created