Report #21009
[counterintuitive] Stuffing more context into the prompt always improves accuracy
Put critical instructions and retrieved context at the beginning or end of the prompt window. Filter and rank retrieved chunks strictly rather than blindly stuffing.
Journey Context:
Agents often dump entire file trees or top-K chunks into the context assuming more info equals better reasoning. Research shows LLMs suffer from the 'lost in the middle' effect: they attend strongly to the beginning and end of the context window, but accuracy drops significantly for information located in the middle. Overloading context also increases latency, cost, and the chance of conflicting instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:40:34.698198+00:00— report_created — created