gstack/ship
Garry Tan 15adc7afa5
fix(ship): custom-hooks-path detection false-negatives on git worktrees
The pre-push guard's HOOKS_IN_GIT_DIR check compared the hooks dir against
--absolute-git-dir, which in a linked worktree is .git/worktrees/<name>
while hooks resolve to the COMMON .git/hooks — so every Conductor worktree
read as a 'custom hooks path' and the consented guard install was skipped.
Match against the resolved --git-common-dir too (with a /nonexistent
fallback so a failed resolution can't collapse the case pattern into
match-everything). Verified live: this worktree now reports yes (was no),
and the main checkout still reports yes. Goldens refreshed (--host all).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-12 10:02:13 -07:00
..
sections v1.58.1.0 feat: hermetic local E2E + Conductor prose AskUserQuestion (#2004) 2026-06-14 11:40:57 -07:00
SKILL.md fix(ship): custom-hooks-path detection false-negatives on git worktrees 2026-08-12 10:02:13 -07:00
SKILL.md.tmpl fix(ship): custom-hooks-path detection false-negatives on git worktrees 2026-08-12 10:02:13 -07:00