salvacybersec
aa8daf8de2
feat(07-05): implement keyhunter hook install/uninstall with embedded pre-commit script
- cmd/hook.go: install/uninstall subcommands with --force flag
- cmd/hook_script.sh: embedded via go:embed, runs keyhunter scan on staged files
- KEYHUNTER-HOOK v1 marker prevents accidental deletion of non-owned hooks
- Backup existing hooks on --force install
- cmd/hook_test.go: 10 tests covering fresh install, non-repo, force/backup, overwrite, uninstall lifecycle
- Remove hookCmd stub from cmd/stubs.go
2026-04-05 23:58:44 +03:00
..
2026-04-05 12:26:36 +03:00
2026-04-05 23:58:44 +03:00
2026-04-05 23:58:44 +03:00
2026-04-05 23:58:44 +03:00
2026-04-05 23:39:07 +03:00
2026-04-05 23:37:25 +03:00
2026-04-05 15:46:11 +03:00
2026-04-05 12:26:36 +03:00
2026-04-05 23:41:38 +03:00
2026-04-05 23:42:01 +03:00
2026-04-05 15:21:37 +03:00
2026-04-05 15:52:57 +03:00
2026-04-05 23:41:38 +03:00
2026-04-05 23:58:44 +03:00