diff --git a/.githooks/commit-msg b/.githooks/commit-msg index 2577592..49bdcf0 100755 --- a/.githooks/commit-msg +++ b/.githooks/commit-msg @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# F∆I Platform — commit-msg hook. +# Ch∆In — commit-msg hook. # Validates the commit message: Conventional Commits subject, DCO # sign-off, no Claude co-author trailer, no banned phrases. exec "$(git rev-parse --show-toplevel)/tools/security/check-staged.sh" message "$1" diff --git a/.githooks/pre-commit b/.githooks/pre-commit index d8022a4..861b19a 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# F∆I Platform — pre-commit hook. +# Ch∆In — pre-commit hook. # Activated via `tools/install-hooks.sh` (sets core.hooksPath=.githooks). # Scans staged files for secrets, banned phrases, forbidden filenames. # Same script runs in Forgejo CI — see .forgejo/workflows/ci.yml. diff --git a/tools/install-hooks.sh b/tools/install-hooks.sh index d5299a0..fbf5efa 100755 --- a/tools/install-hooks.sh +++ b/tools/install-hooks.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# F∆I Platform — one-time hook activation for this clone. +# Ch∆In — one-time hook activation for this clone. # Points git at the versioned `.githooks/` directory so pre-commit and # commit-msg checks run on every commit (including amends and rebases). # diff --git a/tools/security/check-staged.sh b/tools/security/check-staged.sh index 9768c4f..0ee3ff5 100755 --- a/tools/security/check-staged.sh +++ b/tools/security/check-staged.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# F∆I Platform — staged-content security check. +# Ch∆In — staged-content security check. # Runs from .githooks/pre-commit, .githooks/commit-msg, and Forgejo CI. # # Modes: diff --git a/tools/security/test-check-staged.sh b/tools/security/test-check-staged.sh index f951ad6..d6c59e4 100755 --- a/tools/security/test-check-staged.sh +++ b/tools/security/test-check-staged.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# F∆I Platform — smoke tests for `tools/security/check-staged.sh`. +# Ch∆In — smoke tests for `tools/security/check-staged.sh`. # # Spins up an isolated tempdir per scenario, stages a tripwire, # and asserts the security script either passes or fails with the