bug#81520: Add pre-receive hook to Savannah to reject LLM-encumbered commits
Stéphane Marks <[email protected]> Fri, 31 Jul 2026 13:57:32 +0200
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <CAN+1HbpX133tKQ=-naWSFkwmyD8Fn_Goeaup4Nje+GWn=ujTBA@mail.gmail.com> |
On Fri, Jul 31, 2026 at 7:30 AM Sean Whitton <[email protected]> wrote: > > Sorry, I don't understand the scenario. If the attribute is removed, > > how could the hook that searches attributions work in the first place? > > The assumption is that the LLM is committing and the user is manually > pushing, which is, I think, a common arrangement. > > The LLM will only decide to remove the attribution if it runs into a > hook failure. But it won't ever run into that if it's a pre-push hook. > Instead the user will, and they'll learn of the problem at that point. > So that commit would still be in history, just as a lie? Many harnesses omit LLM attribution anyway these days and those won't get caught. 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. For the rest of the patches that appear on the mailing list, if one smells like an LLM, it will appear so and not be pushed by a Savannahnian, right? This is a lot of fuss for a very low risk among a trusted group, of which a single one made a mistake.