Re: LLM Commit in upstream `master`?!

Sean Whitton <[email protected]> Sun, 26 Jul 2026 11:37:10 +0100
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Jim Porter [25/Jul  1:27pm -07] wrote:
> 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.

Yes please.

Given that we don't use Co-Authored-By at all you could just match on
that and say something like "invalid co-authored-by trailer detected
(remember, no LLM commits or commit messages at present)."

-- 
Sean Whitton