Skip to content

Conversation

@welttowelt
Copy link

@welttowelt welttowelt commented Feb 4, 2026

Problem

  • Installing GSD from a git clone (dev flow: node bin/install.js --claude --local) often has no hooks/dist yet, so hooks silently do not install.

Fix

  • If hooks/dist is missing but hooks/ exists, the installer now:
    • attempts to run scripts/build-hooks.js (if present)
    • falls back to copying gsd-check-update.js and gsd-statusline.js into hooks/dist

Result

  • Hooks reliably install for both published npm tarballs and local clone installs.

Verification

  • Deleted hooks/dist, ran local install, confirmed hooks end up in .claude/hooks/.

@glittercowboy glittercowboy added the priority: low Nice-to-haves, edge cases, exploration label Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: low Nice-to-haves, edge cases, exploration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants