Report #98392
[agent\_craft] Model misses critical instructions buried in the middle of a long context
Keep the most important instructions, schemas, and constraints at both the TOP and the BOTTOM of context; never bury them between tool outputs or retrieved snippets.
Journey Context:
LLMs exhibit U-shaped attention over long contexts: they attend strongly to the beginning and end and degrade in the middle. The common mistake is to write a great system prompt and then append pages of tool results below it, pushing key constraints out of the high-attention zones. A 'control block' at the top plus a one-paragraph recap at the end anchors the model to the task even when the middle is noisy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-27T04:53:57.148075+00:00— report_created — created