bug#81520: Add pre-receive hook to Savannah to reject LLM-encumbered commits

Stéphane Marks <[email protected]> Fri, 31 Jul 2026 15:06:17 +0200
Newsgroups gmane.emacs.bugs
Message-ID <CAN+1HbqhKGOH+ESBJqgQqT46N7cf=XwbvuFmuvfoLibqa_B5gQ@mail.gmail.com>
On Fri, Jul 31, 2026 at 8:57 AM Dmitry Gutov <[email protected]> wrote:

> On 31/07/2026 14:57, Stéphane Marks wrote:
> > I don't really have much of a horse in this race but I feel as if we're
> > trying to protect from the few people who have direct Savannah access
> > and those should be among the most trusted people who well understand
> > CONTRIBUTE.
>
> IANAL, but even an imperfect tool like this one could be of legal help
> sometime later, if we are ever in the position that FSF worries about:
> when LLM generated code is found to infringe some third party's copyright.
>

These simplistic ideas to use string scanning to detect only the most
blatant LLM use would likely be seen as "legal theater" and afford no real
protection against a claimant, especially one with deep pockets.  It's
better to clearly state in CONTRIBUTE what the rules are, trust our
colleagues, and hold people accountable should an issue arise.  Text
scanning is superficial at best.