superpowers/tests/hooks
Drew Ritter d80fc1808a fix(hooks): replace run-hook.cmd heredoc with :; label lines (#571)
bash >= 5.1 writes heredocs into a pipe pre-fork; under macOS pipe
pressure the kernel hands out 512-byte pipes and the wrapper's 1.4KB
CMDBLOCK heredoc deadlocks every hook. Label lines parse nowhere:
cmd.exe skips them as labels, POSIX shells exec away before the batch
block. Also: silent fail-open when bash or the script name is missing,
and CDPATH-proof directory resolution.
2026-08-05 15:12:47 -07:00
..
test-no-heredocs-in-hooks.sh test(hooks): fence against heredocs in the hook chain (red; #571) 2026-08-05 15:08:33 -07:00
test-session-start.sh fix(hooks): replace run-hook.cmd heredoc with :; label lines (#571) 2026-08-05 15:12:47 -07:00