CI / build (push) Has been cancelled
- prompts/onboarding.md: Step 2c installs git pre-commit hook for new projects - scripts/upgrade.sh: Installs pre-commit hook during upgrade (with symlink detection) - scripts/install.sh: Mentions hook installation in post-install next steps
711 B
711 B
Hook Installation in Onboarding and Upgrade
Goal
Add pre-commit hook installation to both the new-project onboarding process and the existing-project upgrade process, so enforcement is set up automatically.
Requirements
- Onboarding prompt includes a step to install the git pre-commit hook
- upgrade.sh installs the hook during upgrade (with symlink detection)
- install.sh mentions hook installation in post-install next steps
Acceptance Criteria
- prompts/onboarding.md includes Step 2c for hook installation
- scripts/upgrade.sh installs hook and detects existing hooks
- scripts/install.sh mentions hook installation
- Shell scripts pass syntax check
- All 200 tests pass