Commit Graph

2 Commits

Author SHA1 Message Date
Matthew Raymer
886baa8bea feat(git-hooks): implement conditional Husky activation system
- Implements conditional activation logic in husky.sh helper script
- Updates pre-commit hook to run linting only when enabled
- Updates commit-msg hook to validate messages only when enabled
- Adds .husky-enabled to .gitignore for user-specific activation
- Creates user activation instructions in .husky/README.md
- Provides graceful fallback when hooks are disabled

Activation: Environment variable, local file, or global config
Hooks: Pre-commit (linting) and commit-msg (validation)
Behavior: Optional activation with helpful instructions when disabled
2025-08-21 12:01:44 +00:00
Matthew Raymer
d663c52f2d feat: implement Build Architecture Guard with Husky hooks
- Add pre-commit and pre-push hooks for build file protection
- Create comprehensive guard script for BUILDING.md validation
- Add npm scripts for guard setup and testing
- Integrate with existing build system
2025-08-20 12:59:48 +00:00