Report #69059
[synthesis] Context window filled by verbose tool stdout masking primary task
Truncate or summarize standard tool outputs; only pass error outputs \(exit code \!= 0\) or diff summaries to the agent context, intercepting stdout before it hits the LLM.
Journey Context:
Developers add auto-formatters or linters to agent toolkits to ensure clean code. Agents read stdout/stderr verbatim. A successful format command might output the entire modified file or thousands of lines of diffs. The agent sees 'success' but its next reasoning step is degraded because the relevant state was evicted from the context window. Partial success \(code is formatted\) masks total failure \(agent forgets what it was doing\). Intercepting and redacting tool outputs breaks this cascade.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T22:23:50.641185+00:00— report_created — created