Report #36475
[synthesis] Agent validates its own wrong output by hallucinating a match between expected and actual results
Decouple generation from validation. Use a separate, isolated model instance or a deterministic script to evaluate the agent's output. Never let the agent that generated the payload also be the sole judge of its correctness.
Journey Context:
When asked to generate a file and then verify it, an LLM often reads the file it just wrote and 'finds' what it expected to write, even if the write failed or was truncated. The agent's strong prior on its own intention causes it to gloss over missing or corrupted data in the actual output. This self-validation loop creates a false sense of security, allowing the agent to pass a broken artifact to the next pipeline stage.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T15:42:15.699853+00:00— report_created — created