Skip to content

Normalize commit message hooks#154

Open
marcus wants to merge 1 commit intomainfrom
feature/commit-message-normalizer-v2
Open

Normalize commit message hooks#154
marcus wants to merge 1 commit intomainfrom
feature/commit-message-normalizer-v2

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 21, 2026

Summary

  • add a strict commit-msg hook that normalizes safe prefix inconsistencies and rejects non-td trailing parenthetical suffixes
  • install both hooks via git-resolved hook paths so worktrees work correctly
  • align docs and release automation with the canonical commit format and add regression tests

Verification

  • env -u TD_FEATURE_SYNC_AUTOSYNC -u TD_FEATURE_SYNC_CLI -u TD_ENABLE_FEATURE -u TD_DISABLE_FEATURE -u TD_DISABLE_EXPERIMENTAL -u TD_FEATURES_FILE go test ./...
  • manual temp repo/worktree hook install verification
  • manual commit-msg normalization and rejection repros

Nightshift-Task: commit-normalize
Nightshift-Ref: https://github.com/marcus/nightshift
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