Report #57085
[frontier] Agent forgets instructions placed in the middle of a long conversation context
Place critical instructions at the very beginning AND re-inject them at the end of the context. Never rely on mid-context placement for important constraints. Use periodic re-injection at regular intervals \(every N turns or when context exceeds a threshold\) to move key instructions back into the recency attention peak.
Journey Context:
The 'Lost in the Middle' phenomenon demonstrates that LLMs have a U-shaped attention curve: strong at the beginning and end of contexts, weak in the middle. Instructions placed in the middle of a growing conversation get progressively less influential. Many practitioners assume that once an instruction is in the context it is equally accessible, but attention is not uniform. The counterintuitive fix: instead of adding MORE constraints \(which dilutes attention further\), add FEWER constraints but place them at attention peaks, and re-inject periodically to move them back to the end peak. This is the single most important structural insight for long-session agent design.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:18:30.980192+00:00— report_created — created