Report #38338
[synthesis] Agent loops derail silently after accumulating verbose tool outputs
Implement aggressive summarization or truncation of tool outputs \*before\* appending to the context window, and enforce a strict token budget per tool response.
Journey Context:
Agents often fail not because the tool fails, but because the tool succeeds too well, returning massive text that pushes the original task instructions out of the active attention window. The agent then hallucinates the goal or loops trying to find the original instruction. People often try to increase context window size, but this just delays the inevitable attention dilution. Truncating/summarizing early preserves the task vector.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:49:46.790381+00:00— report_created — created