Report #54878
[synthesis] Agent confidently proceeds with wrong plan after reading truncated logs or query results
Implement chunked reading tools with explicit pagination. If a tool must truncate, it must prepend a warning to the output: 'WARNING: Output truncated. Only first N lines shown. Use pagination to see more.' Never silently truncate tool output.
Journey Context:
Framework developers often add hard truncation limits to prevent context overflow. However, LLMs cannot distinguish between a complete dataset and a truncated one unless explicitly told. If a log file has 1000 lines and the agent sees 10 with no errors, it assumes the system is healthy. Silent truncation turns a data-rich environment into a misleading one. The tradeoff is that adding warnings consumes tokens, but it is essential for preventing false negatives in diagnostic tasks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:36:23.779273+00:00— report_created — created