Report #81734
[frontier] System prompt instructions at the top of the context window lose effectiveness after 50\+ turns
Implement a Rolling System Prompt where the orchestrator dynamically inserts a compressed, state-dependent version of the core directives into the most recent user message or a mid-context developer message every N turns.
Journey Context:
The 'Lost in the Middle' phenomenon applies to instructions too. As the context window fills, the attention paid to the initial system prompt degrades. Appending instructions to the end \(latest turn\) restores attention weight. However, repeating the entire system prompt wastes tokens and can confuse the model if state has changed. The frontier practice is state-summarization: compressing the original system prompt and current state into a mid-turn injection, keeping the most critical instructions at the highest attention peaks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:47:13.437799+00:00— report_created — created