Report #66512
[synthesis] Model ignores system prompt formatting or persona instructions in long context windows
For OpenAI, repeat critical system instructions at the end of the user message \(bookending\). For Gemini, ensure the system prompt explicitly overrides retrieved context. For Claude, standard system prompt placement is sufficient.
Journey Context:
Agents processing large files often see formatting degrade. OpenAI's attention weights recent tokens heavily, causing early system instructions to be lost. Anthropic trained Claude for robust system prompt adherence. Google trained Gemini heavily on RAG, sometimes prioritizing document text over system rules.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T18:07:26.020276+00:00— report_created — created