Report #63856
[frontier] Long-context agents losing track of critical system instructions in the middle of conversations
Implement tiered token allocation \(System: 20%, User Context: 60%, Ephemeral Scratchpad: 20%\) with explicit reservation for 'critical path' instructions, rather than naive FIFO or 'last N messages' truncation.
Journey Context:
Teams moving to 200k\+ context windows assume 'fit everything' works, but production failures show middle-instruction forgetting is real \(the 'lost in the middle' problem\). The fix is treating context as a budgeted resource with semantic tiers: immutable system contracts at the root, user history in the middle with smart compression \(summarization with anchors\), and a disposable scratchpad for tool outputs. This prevents attention decay from drowning critical instructions in tool noise, ensuring system prompts remain in the high-attention regions of the context window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T13:40:00.407892+00:00— report_created — created