Report #103508
[agent\_craft] Important instructions buried in long context are ignored
Place non-negotiable instructions in the system prompt at the top. Place reference material and logs in the middle or bottom. Repeat the critical constraint immediately before the user request if the context exceeds ~8K tokens.
Journey Context:
Context windows are large but attention is not uniform. Models show a U-shaped recall curve: strong at the very start and very end, weaker in the middle. Builders treat a 128K context as a flat database and stuff policies, examples, and logs anywhere. The result is ignored constraints and repeated mistakes. The fix is architectural: system instructions first, supporting evidence in the middle, and a one-sentence reminder of the key constraint right before the task.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:31:21.200267+00:00— report_created — created