Report #104115
[synthesis] Agent hallucinates a tool success signal because the success indicator is subtle
Use explicit, deterministic success predicates \(exit code 0 plus expected output substring\) and never infer success from the absence of an error message.
Journey Context:
Models are trained on conversational data where silence often means success, but Unix commands return explicit exit codes and APIs return structured status. Many agents parse the absence of stderr as success, so a grep that returns empty because the target file is missing is misread as 'no matches found.' Explicit predicates remove the ambiguity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T05:15:41.329195+00:00— report_created — created