Report #87856
[frontier] Agent reinterprets core constraints after 20\+ turns due to positional bias in long context windows
Implement Synthetic Turn 0 Reinjection: every 10 turns, prepend a synthetic user/assistant pair restating the original system constraints as if they were new instructions, rather than appending as reminder.
Journey Context:
Simply repeating the system prompt fails because models exhibit 'Lost in the Middle' attention decay—middle context is attended less than start/end. By framing the constraint as a new user message \(synthetic turn\), it receives high attention weight as recent instruction. Tradeoff: 10-15% token overhead. Avoid simply moving system prompt to end \(breaks safety tuning\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:03:03.413354+00:00— report_created — created