Report #103624
[agent\_craft] Relevant context placed in the middle of a long prompt is silently degraded
Keep the project brief, task definition, and critical constraints at the TOP of the prompt; refresh them every few turns instead of assuming the model remembers. Reserve the middle of the window for lower-priority supporting detail.
Journey Context:
LLMs exhibit a 'lost in the middle' effect: performance is highest when key information is at the beginning or end of a long context and drops sharply in the middle. Agents that append chronological history and push system/project context downward are literally burying their most important instructions. Positioning beats length: a short, well-placed brief outperforms a much longer prompt with the brief at position 50%.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:42:42.864420+00:00— report_created — created