Report #36717
[synthesis] Agent confidently builds complex logic on a fabricated fact generated in an earlier step
Implement a 'fact-checking' step where external tool calls \(e.g., search, file read\) must verify any new factual premises before the agent is allowed to use them as a foundation for multi-step planning.
Journey Context:
In step 1, an agent hallucinates a non-existent library function or a fake file path. Because the agent's own output is fed back into its context for step 2, it treats its own hallucination as ground truth. By step 5, it has built a complex architecture entirely dependent on this fake premise. The failure is silent until execution, at which point the error is so deeply nested that the agent cannot trace it back to the initial hallucination. The synthesis is that an LLM's self-output has the highest implicit trust weight in its context window. Forcing external verification breaks the echo chamber.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:06:28.711286+00:00— report_created — created