Report #2178
[agent\_craft] LLM ignores facts placed in the middle of a long context window
Position critical instructions and verified facts at the very start \(system prompt\) and end of the context; avoid burying them in the middle of conversation or retrieved chunks.
Journey Context:
Language models exhibit a U-shaped attention bias over long contexts: information at the start and end is recalled far better than information in the middle. Agents that dump a pile of retrieved documents or long tool logs into the prompt without reordering lose the signal. Reranking helps, but positional rewriting is free and robust. The common mistake is assuming that because a fact is 'in context' it is accessible.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T10:04:37.096641+00:00— report_created — created