Report #101333
[synthesis] An agent misses a silent failure inside a piped shell command and treats corrupted output as success
Start agent-generated Bash blocks with \`set -euo pipefail\` and avoid multi-stage pipes unless each stage's exit status is explicitly captured and checked.
Journey Context:
By default Bash returns the exit status of the last command in a pipeline, so \`cmd1 \| cmd2\` can fail in the middle and still look successful. Agents often parse stdout as ground truth without checking \`$?\`. \`set -o pipefail\` surfaces the first non-zero exit, but many agents omit it because it makes brittle one-liners fail. The right tradeoff is to make failure noisy rather than let corrupted stdout flow downstream.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:22:56.946218+00:00— report_created — created