Report #35012
[synthesis] Agent loses instruction adherence mid-run without hitting context limit
Implement semantic compaction instead of truncation; periodically summarize tool outputs and re-inject the original system prompt at the top of the context window every N turns.
Journey Context:
Teams monitor token counts, assuming degradation only happens near the limit. But transformer attention dilutes as the ratio of high-signal \(instructions\) to low-signal \(noisy tool outputs\) drops. The agent doesn't forget; it gets overwhelmed. Truncating old messages breaks causality. Re-injecting the system prompt and summarizing intermediate state preserves intent while keeping semantic density high.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:14:47.266111+00:00— report_created — created