Skip to content

feat: normalize commit message subjects#152

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

feat: normalize commit message subjects#152
marcus wants to merge 1 commit intomainfrom
feat/commit-message-normalizer-20260420-fix3

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 20, 2026

Summary

  • add a commit-msg hook that normalizes type[(scope)]: summary (td-<id>) subjects
  • preserve the final trailing task token when summaries mention other td-... ids
  • document the canonical format and keep td: bump to vX.Y.Z as the explicit automated release exception

Verification

  • bash ./scripts/test_commit-msg.sh
  • make test-hooks
  • go build -o td .
  • env -u TD_FEATURE_SYNC_AUTOSYNC -u TD_FEATURE_SYNC_CLI go test ./...
  • make install-hooks
  • manual hook checks for scoped subjects and multi-token summaries

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