Files
orca/src
brennanb2025andOrca 4d618795d5 fix(agent-hooks): preserve script exit code in wrapPosixHookCommand
The previous `[ -x ... ] && /bin/sh ... || true` form silently swallowed
non-zero exits from the script itself, contradicting the doc comment.
Switch to `if [ -x ... ]; then /bin/sh ...; fi` so only the
missing-script case becomes a no-op and real script failures propagate.

Co-authored-by: Orca <help@stably.ai>
2026-05-07 12:38:38 -07:00
..