Skip to content

Harden commit message normalizer edge cases#92

Open
marcus wants to merge 2 commits intomainfrom
feat/commit-message-normalizer-v3
Open

Harden commit message normalizer edge cases#92
marcus wants to merge 2 commits intomainfrom
feat/commit-message-normalizer-v3

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 1, 2026

Summary

  • accept GitHub (#123) suffixes for revert exemptions in the commit message validator
  • install worktree-safe hook wrappers and remove legacy hook symlinks before writing new hooks
  • document the revert and worktree behavior in the contributor guide

Testing

  • bash -n scripts/commit-msg.sh
  • validator smoke tests for revert, trailers, and Merge cleanup rejection
  • worktree hook install smoke test
  • go test ./...

marcus added 2 commits April 1, 2026 03:30
Tighten merge exemptions, validate PR commit ranges from merge-base, and install hooks through Git's resolved hooks directory.

Nightshift-Task: commit-normalize
Nightshift-Ref: https://github.com/marcus/nightshift
Accept GitHub revert suffixes, replace symlink installs with runtime-resolved wrappers, and safely overwrite legacy hook links during install.

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