Skip to content

Document the Git 2.54 requirement of the co-author hook - #92

Merged
emostov merged 1 commit into
mainfrom
zeke/co-author-git-version
Oct 16, 2026
Merged

emostov merged 1 commit into
mainfrom
zeke/co-author-git-version

Conversation

@emostov

@emostov emostov commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

On a stock Mac the co-author hook silently does nothing: Git older than 2.54, including macOS's /usr/bin/git (2.50), ignores config-based hooks without an error. Testing v0.7.0 in the Hermes agent harness hit this, because Hermes puts /usr/bin ahead of Homebrew on its terminal's PATH, so commits were signed but had no trailer.

Public API changes

None. The co-author docs now show git hook list commit-msg as the check that Git runs the hook, and state the 2.54 requirement. The signing skill's step 7 tells the agent to run that check.

Review focus

  • Whether tk should also warn at signing time when the trailer is missing, rather than relying on docs.

Testing

Extended e2e tests.

… with git hook list, and assert that check in the e2e suite.

Co-authored-by: Turnkey <noreply@turnkey.com>
@emostov
emostov marked this pull request as ready for review October 16, 2026 21:22
@emostov
emostov merged commit ffca4f9 into main Oct 16, 2026
14 checks passed
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