Re: LLM Commit in upstream `master`?!

Collin Funk <[email protected]> Sat, 25 Jul 2026 18:29:18 -0700
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Amin Bandali <[email protected]> writes:

> 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.

I like the commit-msg hook idea in theory. However, I wonder how much of
a chore it will be to keep track of of slop companies who believe their
LLM is sentient, such that it can take authorship credit.

Collin