Why a docs-only PR failed two hook tests on main. run-hook.mjs emits different stdout per hook_event × type — and CC reads a WorktreeCreate hook's stdout as the worktree path. Pick inputs to see what it emits and why (#1990 / #1996 / #1794).
test-run-hook-dispatcher 7c: http-type must keep worktreePath. Failed because the committed src/hooks/dist was stale (gitignored plugins/ork/hooks/dist + the build SKIPS the hook rebuild when src/hooks/node_modules is missing). Fix: rebuild + commit dist.test-output-guard Tests 1/2/5: still asserted .continue:true for command-type WorktreeCreate, but #1996 made it emit empty. Fix: align the assertions.