Report #91522
[counterintuitive] Putting the primary task instructions and constraints in the system prompt assuming it has absolute priority over user messages
Put the core constraints and task definition in the user message \(or the latest turn\), using the system prompt only for persistent persona/safety guardrails.
Journey Context:
Early models heavily weighted the system prompt. Modern models exhibit 'recency bias' and can sometimes ignore long system prompts if the user message contradicts them \(prompt injection\). For agentic loops where the agent is dynamically generating the prompt, putting the specific task constraints in the user message ensures they are processed with the highest attention weight, right next to the input data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:12:38.857176+00:00— report_created — created