Skip to content

Normalize commit messages with a commit-msg hook#150

Open
marcus wants to merge 1 commit intomainfrom
feat/commit-message-normalizer-20260420
Open

Normalize commit messages with a commit-msg hook#150
marcus wants to merge 1 commit intomainfrom
feat/commit-message-normalizer-20260420

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 20, 2026

Summary

  • add a commit-msg hook that rewrites human-authored subjects to type: summary (td-<id>)
  • install the new hook alongside pre-commit and add shell coverage for normalization/rejection behavior
  • update contributor, agent, and release docs to use the canonical format and document the td: bump to vX.Y.Z automation exception

Verification

  • bash ./scripts/test_commit-msg.sh
  • make install-hooks
  • go test ./... (fails in pre-existing internal/features tests: TestKnownFeatureDefaults, TestIsEnabledForProcess_EnableDisableLists, TestIsEnabled_ProjectConfigAndEnvPrecedence)
  • make test (fails for the same pre-existing internal/features tests)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant