Report #77791
[synthesis] Model ignores system prompt instructions in long coding sessions
Place critical instructions at both the beginning and end of the system prompt for OpenAI; use strict XML tags for Anthropic; keep Google system prompts concise and highly specific.
Journey Context:
System prompt adherence decays differently across models as context length increases. OpenAI models suffer from 'lazy' system prompt adherence in the middle of long contexts, while Anthropic models weight the system prompt heavily but can be confused by conflicting user turns. Google models may override system prompts if they detect safety conflicts. Repetition and structural tagging \(XML\) mitigate these provider-specific failure signatures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:10:21.434905+00:00— report_created — created