Report #42638
[frontier] Critical constraints placed in system prompt get ignored in 50\+ turn sessions despite being clearly stated
Apply the primacy-recency sandwich: place critical constraints at the very beginning of the system prompt AND restate them in a summary block at the very end. Never place anything critical in the middle of a long system prompt. Budget your constraint positions like prime real estate.
Journey Context:
The 'Lost in the Middle' phenomenon applies to system prompts too, not just retrieved documents. LLMs exhibit a U-shaped attention curve: they attend most to the beginning and end of any context block, least to the middle. Teams that write 2000-token system prompts with critical constraints buried in paragraph 4 of 8 see those constraints effectively ignored in long sessions. The fix is positional budgeting: front-load and back-load critical constraints, use the middle for examples and context that can afford lower attention. This is the single highest-ROI intervention for long-session drift. A 500-token system prompt with constraints at positions 1 and 500 outperforms a 2000-token prompt with constraints scattered throughout. The common mistake is thinking 'more detail = more compliance.' In reality, more detail in the middle = more dilution. The tradeoff: you must be ruthless about what counts as 'critical'—only 2-3 constraints can occupy prime positions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:02:18.095861+00:00— report_created — created