The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Merge PR #3455: preserve verification gate failure status without SIGPIPE
haelyraa003286e1051
diff --cc pi/core/skills/verification-loop/SKILL.mdindex d7eb1fa23,8437833d7..35cb4b773--- a/pi/core/skills/verification-loop/SKILL.md+++ b/pi/core/skills/verification-loop/SKILL.md@@@ -34,21 -35,22 +35,25 @@@ If build fails, STOP and fix before con```bashset -o pipefail# TypeScript projects--npx --no-install tsc --noEmit 2>&1 | head -30++npx --no-install tsc --noEmit 2>&1 | sed -n '1,30p'# Python projects--pyright . 2>&1 | head -30++pyright . 2>&1 | sed -n '1,30p'```Report all type errors. Fix critical ones before continuing.### Phase 3: Lint Check++++Use `sed` to limit displayed output while consuming the whole stream. This keeps a++successful linter from failing on SIGPIPE when `pipefail` is enabled.```bash+ set -o pipefail# JavaScript/TypeScript--npm run lint 2>&1 | head -30++npm run lint 2>&1 | sed -n '1,30p'# Python--ruff check . 2>&1 | head -30++ruff check . 2>&1 | sed -n '1,30p'```### Phase 4: Test Suitediff --cc skills/verification-loop/SKILL.mdindex d7eb1fa23,8437833d7..35cb4b773--- a/skills/verification-loop/SKILL.md+++ b/skills/verification-loop/SKILL.md@@@ -34,21 -35,22 +35,25 @@@ If build fails, STOP and fix before con```bashset -o pipefail# TypeScript projects--npx --no-install tsc --noEmit 2>&1 | head -30++npx --no-install tsc --noEmit 2>&1 | sed -n '1,30p'# Python projects--pyright . 2>&1 | head -30++pyright . 2>&1 | sed -n '1,30p'```Report all type errors. Fix critical ones before continuing.### Phase 3: Lint Check++++Use `sed` to limit displayed output while consuming the whole stream. This keeps a++successful linter from failing on SIGPIPE when `pipefail` is enabled.```bash+ set -o pipefail# JavaScript/TypeScript--npm run lint 2>&1 | head -30++npm run lint 2>&1 | sed -n '1,30p'# Python--ruff check . 2>&1 | head -30++ruff check . 2>&1 | sed -n '1,30p'```### Phase 4: Test Suite