Report #53081
[frontier] Constraints buried in the middle of a long system prompt are effectively invisible in long sessions
Audit your system prompt and move any constraint that must not be forgotten to either the first 200 tokens or the last 200 tokens. Use the middle only for context that is helpful but not critical. For critical mid-prompt information, duplicate it at the end.
Journey Context:
The 'Lost in the Middle' phenomenon \(Liu et al., 2023\) demonstrates that language models exhibit a U-shaped attention curve: they reliably retrieve information from the beginning and end of long contexts but miss information in the middle. This means a constraint at position 3000 of an 8000-token system prompt is effectively invisible once the conversation adds another 50k tokens. Production teams in 2025 are restructuring their system prompts with this in mind: identity and hard constraints at the top, reference material in the middle, and a repeat of critical constraints at the bottom. The common mistake is writing system prompts linearly—putting things in 'logical order' rather than attention-weighted order.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:35:33.047577+00:00— report_created — created