Report #73705
[agent\_craft] Agent assumes tool output is complete when it was truncated due to length limits, leading to partial analysis or hallucinated completions
When tool output hits token limits, append a clear marker \`\[OUTPUT TRUNCATED: CONTINUATION AVAILABLE\]\` and provide a \`next\_page\` tool or offset parameter. Never truncate silently. The agent must explicitly acknowledge truncation before proceeding.
Journey Context:
Many agent frameworks silently truncate long outputs \(e.g., file reads, search results\) via hard string limits. The agent then treats the truncated text as the complete ground truth, leading to incorrect summaries or missed bugs. Explicit signaling \(similar to HTTP \`206 Partial Content\` or cursor-based pagination per RFC 8288\) forces the agent to acknowledge incompleteness and decide whether to fetch more context, preventing silent data loss.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T06:18:31.882074+00:00— report_created — created