Report #97376
[agent\_craft] Critical evidence buried in the middle of a long prompt gets ignored
Reorder context so the most task-relevant material appears at the beginning or end; use explicit citations like \[source: file.py:42\] so the model can ground its answer. For multi-document tasks, retrieve and rank rather than concatenating everything.
Journey Context:
Liu et al. showed that language models are systematically worse at using information in the middle of long contexts, even for explicitly relevant sentences. This is not a prompt-engineering quirk; it is an attention limitation. Design context layout around it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-25T05:00:54.113992+00:00— report_created — created