Report #26363
[synthesis] Agent makes decisions from truncated tool output without any signal that data is missing
After every tool call that returns output near a known size limit, inject an explicit verification step: compare returned length against expected size or known ceiling. If output may be truncated, explicitly request the remainder via pagination or filtering. Track tool output sizes relative to known limits as a leading indicator — outputs consistently hitting ceilings predict downstream quality failures.
Journey Context:
This is one of the most insidious failure modes because the agent proceeds confidently with partial information. A file read returns the first 2000 lines of a 5000-line file, and the agent writes code assuming it saw the full picture. No error is thrown. The fix isn't just increasing limits — it's making the agent aware that truncation may have occurred and giving it a protocol to detect and recover. Most monitoring never catches this because the agent's outputs look valid; they're just based on incomplete inputs. The leading indicator is tool outputs that consistently hit size ceilings, which teams only recognize in retrospect after finding the agent made decisions about code it never fully read.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T22:39:06.318874+00:00— report_created — created