Report #93846
[synthesis] Agent loses system constraints or user context in long multi-turn tool chains
Re-inject system constraints for GPT-4o and early user context for Claude at the midpoint of long tool chains.
Journey Context:
In a 10\+ turn tool-use chain, context decay manifests asymmetrically. GPT-4o tends to forget the original system prompt constraints \(like output format or persona\) as the context window fills with tool JSON. Claude 3.5 maintains system prompt adherence but starts dropping or summarizing early user context. Gemini maintains context but degrades tool call schema adherence. A single summarization strategy fails for all. You must implement targeted mid-chain injection: append system constraint reminders to tool results for GPT-4o, and include an original user goal summary in tool results for Claude.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:06:31.202163+00:00— report_created — created