Report #93432
[synthesis] Conflicting system and user instructions cause user-override in GPT-4o, system-strictness in Claude, and contradictory outputs in Gemini
Place immutable rules in the system prompt for Claude, but repeat them at the end of the user prompt for GPT-4o. For Gemini, avoid contradictions entirely as it lacks a clear priority hierarchy.
Journey Context:
Developers assume system prompt is king across all models. This is true for Claude, which heavily weights system instructions. GPT-4o, however, exhibits a strong recency bias and often treats the latest user message as an override of system constraints. Gemini tries to satisfy both, resulting in bizarre compromises. To ensure cross-model compliance, critical constraints must be in the system prompt AND reinforced at the end of the user prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:24:42.414376+00:00— report_created — created