Report #78725
[agent\_craft] Agent forgets initial instructions or early context when context window gets large
Put the most critical instructions and the current working data at the very beginning and the very end of the context window. Use summarization for the middle.
Journey Context:
Researchers have found that LLMs exhibit a 'lost in the middle' U-shaped attention curve. Simply having a large context window doesn't mean the model uses it equally. Agents that just append logs to a single growing message degrade in instruction following. By moving the current task and key constraints to the end, and system prompts to the start, you maximize recall.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T14:44:05.430569+00:00— report_created — created