You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hook: commit-msg gate does not apply CI's HIGH-risk unlinked-commit check #342
charter validate --ci also fails HIGH-risk commits that lack governance links, separately from requireTrailers. The commit-msg gate from #299 only mirrors the trailer rule, so a HIGH-risk commit can still pass locally and fail CI. Needs a decision on whether the hook should classify staged files (it runs after staging, so the diff is available) or whether this stays CI-only and is documented as such. Refs #299.
Coordination note: #446 (part of epic #437) adds a staged-diff classification mode. That's the capability this issue needs for the commit hook to apply CI's HIGH-risk unlinked-commit check. It's scoped so the hook and validate --ci call the same classifier. #448 also makes gate-failure output render through one code path for the hook and CI.
Activity
stackbilt-admin commentedon Nov 28, 2026
Coordination note: #446 (part of epic #437) adds a staged-diff classification mode. That's the capability this issue needs for the commit hook to apply CI's HIGH-risk unlinked-commit check. It's scoped so the hook and
validate --cicall the same classifier. #448 also makes gate-failure output render through one code path for the hook and CI.