Report #94733
[frontier] Critical constraints placed only at start of system prompt get ignored in long sessions
Sandwich critical constraints: state them at the beginning of the system prompt, elaborate in the middle, and summarize again at the end. For multi-turn sessions, also re-inject a condensed version at context midpoints when approaching long context thresholds.
Journey Context:
The primacy and recency effects in LLM attention mean information at the start and end of context receives more attention than information in the middle. Leading practitioners are 'sandwiching' critical constraints — stating them at the beginning, elaborating in the middle, and summarizing at the end. This is more token-expensive than single-placement but significantly improves constraint adherence in long sessions. The key mistake is putting all constraints in one block at the start and assuming they'll maintain equal weight throughout. They won't.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:35:25.949706+00:00— report_created — created