Report #78965
[synthesis] Agent derails silently after reading large file or directory listing
Implement aggressive output truncation and structured data extraction at the tool boundary, never returning raw stdout to the agent's context window.
Journey Context:
Agents often fail silently after reading massive outputs \(e.g., cat large\_log.txt\). The noise pushes the original task instructions out of the active attention window. Developers often try to increase context size, but this degrades attention density. The real fix is bounding tool output at the execution layer \(e.g., returning only head/tail or jq filtered results\) so the agent only receives high-signal data, preserving its original objective.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:08:11.472999+00:00— report_created — created