Files
John SmithandClaude 8cf36d27de Fix 'cat | jq' pipefail crashes in summarize steps
All workflow 'Summarize' / 'Read Agent Output' steps used
'cat file | jq ... >> ' pipelines. With
set -o pipefail (GitHub Actions default), a jq exit code 5 (parse
error on malformed JSON) would kill the entire step — even though
the envelope was written successfully.

Fix: Replace all cat|jq pipe patterns with direct 'jq -r ... file'
invocations. jq can read files directly without cat, and the error
handling uses 2>/dev/null || true for robust fallback when the file
happens to be malformed between write and read.

Co-Authored-By: Claude <[email protected]>
2026-07-30 11:43:53 -04:00
..