mirror of
https://github.com/Heretek-AI/heretek-actions.git
synced 2026-10-12 02:03:46 +00:00
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]>