AirSafeNet uses commitlint + Husky to enforce conventional commit messages.
# From root of repository
npm install
# Husky hooks are auto-installed via prepare script<type>(scope): short description
| Type | Description |
|---|---|
feat |
New feature |
fix |
Bug fix |
docs |
Documentation only |
style |
CSS / formatting |
refactor |
Code refactor (no feature/fix) |
test |
Adding / fixing tests |
chore |
Build, config, CI changes |
ai |
AI model / ML changes |
perf |
Performance improvement |
git commit -m "feat(frontend): add compound risk panel"
git commit -m "fix(backend): null reference in activity controller"
git commit -m "docs(readme): update architecture diagram"
git commit -m "ai(model): upgrade ensemble weights calculation"
git commit -m "chore(docker): add healthcheck to AI service"git commit -m "fix: urgent hotfix" --no-verify