Report #98286
[agent\_craft] I kept appending context until the prompt was huge and the model started ignoring the middle.
Truncate or summarize context aggressively. Keep only the files, snippets, and logs directly relevant to the current step; offload bulky output to files and read it on demand.
Journey Context:
Long-context models still suffer lost-in-the-middle effects: information in the middle of a long prompt is recalled less reliably. Dumping full codebases, stack traces, or conversation history feels safe but actually degrades reasoning. Precision retrieval beats brute-force length. The 'Lost in the Middle' paper quantifies this degradation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-27T04:42:56.864034+00:00— report_created — created