Re: Attribution of AI assisted code generation

Ruediger Pluem <[email protected]> Thu, 23 Apr 2026 08:44:01 +0200
Newsgroups gmane.comp.apache.devel
Message-ID <[email protected]>

On 4/22/26 5:33 PM, Joe Orton wrote:
> On Wed, Apr 22, 2026 at 01:35:27PM +0200, Ruediger Pluem wrote:
>> Maybe we should follow something like the Attribution section of https://docs.kernel.org/process/coding-assistants.html
>> for our own commits as well.
>> I saw Joe already doing something like this in his commits, but we probably should agree on a standard template / line
>> for us here.
> 
> There is some suggestion from ASF policy at 
> https://www.apache.org/legal/generative-tooling.html

Thanks for the pointer.

> 
> I've used "Co-Authored-By:" since Claude writes that and Github parses 

I like Co-Authored-By: or Assisted-by: more than Generated-by: in the case where the human
author did substantial work on its own. Generated-by seems to be a good choice for e.g.
tests that are are taken more or less completely from what the AI generated.
If Github can parse Co-Authored-By: I would suggest that we use this unless not much human
work was put into the work where Generated-by seems more appropriate.
Regarding the content I like the detailed stuff suggested by
https://docs.kernel.org/process/coding-assistants.html but I wouldn't demand it if
this information is unavailable or if it is otherwise not appropriate for the committer
to disclose these details.
Are there any requirements by Github for the format of the Co-Authored-By: tag?
Does it need to be "some name e.g. Model" <some email address>?
I saw that you used [email protected] as mail in your commits.

Regards

RĂ¼diger