Skip to content

Add commit message normalizer#141

Open
marcus wants to merge 1 commit intocodex/release-notes-drafterfrom
feat/commit-message-normalizer-v23
Open

Add commit message normalizer#141
marcus wants to merge 1 commit intocodex/release-notes-drafterfrom
feat/commit-message-normalizer-v23

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 17, 2026

Summary

  • add td commit-message / td commit-msg to normalize loose subjects, preserve bodies and trailers, and skip git-generated merge/revert/autosquash subjects
  • install a repo commit-msg hook alongside pre-commit, with worktree-safe hook symlinks
  • update contributor and agent docs to make make install-hooks + td commit-message the canonical commit workflow

Testing

  • go test ./internal/git ./cmd
  • go test ./...
  • manual smoke test in a temp checkout covering subject rewrite, body/trailer preservation, and fixup/revert/merge exemptions

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