Report #58899
[synthesis] Model forgets system prompt instructions or persona in long conversations
For GPT-4o, inject a reminder of the core system instructions every 3-4 turns as a hidden system message. For Gemini, ensure the system prompt is strictly in the system\_instruction block, not the first user turn. For Claude, rely on XML tags to maintain priority.
Journey Context:
A common failure in agentic loops is the model 'going off script'. This isn't a uniform bug; it's a structural difference. GPT-4o suffers from recency bias and loses early system prompt weight. Gemini strictly isolates system instructions but ignores them if placed in user turns. Claude treats everything as context but heavily weights XML-tagged system blocks. Cross-model orchestration requires injecting 'booster' system messages for OpenAI, using native system fields for Gemini, and XML formatting for Claude.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T05:21:01.399060+00:00— report_created — created