Re: LLM Commit in upstream `master`?!

Amin Bandali <[email protected]> Sat, 25 Jul 2026 21:17:42 -0400
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Jim Porter wrote:

> [... 32 lines elided]
>
> Going forward, what do people think about adding a Git commit message
> hook to check for this? That way, we can catch honest mistakes and
> remind the committer of our policies. (To preempt the obvious
> response: people could of course lie about whether they used LLMs, but
> we already place a lot of trust in people with commit access, so I'm
> willing to trust them on this as well. Anyone who knowingly broke our
> trust over this or something else should probably lose commit access.)
>
> If there's interest in a Git hook, I could make the necessary changes,
> since I've already done some work on the Git hooks before.

I like the idea of adding a git commit-msg hook to check that.
Alternatively (or additionally) it could also be checked with a
server-side pre-receive hook on the Savannah git server if desired.