diff --git a/lefthook.yml b/lefthook.yml index af2148cf..d1c1bca7 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -103,6 +103,18 @@ pre-push: fi govulncheck ./... + boundary-shared-types: + run: bash scripts/check-shared-types-imports.sh + + boundary-eyrie-client: + run: bash scripts/check-eyrie-client-imports.sh + + boundary-support-repo: + run: bash scripts/check-support-repo-coupling.sh + + boundary-ecosystem: + run: bash scripts/check-ecosystem-boundaries.sh + # --------------------------------------------------------------------------- # commit-msg — validate Conventional Commits and strip AI co-author trailers. # --------------------------------------------------------------------------- diff --git a/scripts/check-eyrie-client-imports.sh b/scripts/check-eyrie-client-imports.sh index 7722e6ae..13cc9676 100755 --- a/scripts/check-eyrie-client-imports.sh +++ b/scripts/check-eyrie-client-imports.sh @@ -8,7 +8,10 @@ violations="$( git grep -n 'github\.com/GrayCodeAI/eyrie/client' -- '*.go' \ ':(exclude)external/**' \ ':(exclude)internal/types/client.go' \ - ':(exclude)**/*_test.go' || true + ':(exclude)internal/types/client_test.go' \ + ':(exclude)internal/bridge/sight/bridge.go' \ + ':(exclude)internal/engine/subagent_synthesis_test.go' \ + ':(exclude)internal/testaudit/audit_test.go' || true )" if [[ -n "${violations}" ]]; then diff --git a/scripts/check-shared-types-imports.sh b/scripts/check-shared-types-imports.sh index 2be904ff..b4c0c68c 100644 --- a/scripts/check-shared-types-imports.sh +++ b/scripts/check-shared-types-imports.sh @@ -8,7 +8,7 @@ violations="$( git grep -n 'github\.com/GrayCodeAI/hawk/shared/types' -- '*.go' \ ':(exclude)external/**' \ ':(exclude)shared/types/**' \ - ':(exclude)**/*_test.go' || true + ':(exclude)internal/testaudit/audit_test.go' || true )" if [[ -n "${violations}" ]]; then