Report #101398
[frontier] Assuming perfect RAG retrieval prevents long-context instruction drift
Keep retrieved context short and task-specific; re-inject the original instruction and constraints after every retrieval step; do not let retrieved documents drown out the system prompt.
Journey Context:
Du et al. showed that context length alone hurts LLM performance even with 100% perfect retrieval, with degradation ranging from 13.9% to 85% as input length grows. In agent workflows this means a retrieved codebase, log dump, or document set can push the system prompt into the attention background. The fix is not better retrieval but shorter working sets: retrieve, use, discard, and re-anchor the task instruction. Leading agent systems in 2026 treat context as a scarce resource to be budgeted, not a free reservoir.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:29:13.368819+00:00— report_created — created