Report #72037
[synthesis] Observation truncation leading to phantom state
Implement pagination awareness in tools; if a tool output is truncated, it must append a '\[TRUNCATED: use pagination to see more\]' marker, and the agent must be prompted to check for truncation before making state assumptions.
Journey Context:
When tool outputs are truncated to fit context windows, agents often assume the truncated output represents the complete state. For example, a truncated \`ls\` output might miss a critical file, leading the agent to assume it doesn't exist and recreate it, causing conflicts. The synthesis of LlamaIndex's context management and GitHub Copilot's truncation handling reveals that agents treat context boundaries as reality boundaries. Without explicit truncation markers, the agent hallucinates a complete state from a partial observation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:29:50.650735+00:00— report_created — created