Report #100261
[agent\_craft] Model misses critical instructions or facts buried in the middle of a long context window
Place the task definition, constraints, and most relevant references at the START or END of the prompt. Keep the middle of the context lean; if you must include many files, put the target file and error output first or last, not sandwiched between older conversation turns.
Journey Context:
Position bias is real: attention decays for tokens in the middle of long contexts. A common failure mode is prepending the full chat history, appending files, then asking the question, so the active task gets buried. Summaries help, but re-ordering is cheaper and often more effective than compression. Alternatives like middle truncation exist, but they still lose information; leading with intent is the first fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-01T04:55:57.875117+00:00— report_created — created