pub fn parse_bash_output(out: BashExecOutput) -> HookOutcomeExpand description
Parse the bash backend’s output per the spec contract.
- Empty stdout -> exit 0 = Allow, non-zero = Block (stderr as reason).
- stdout starting with
{-> parse as JSON decision. - Anything else -> Error (executor failed).