AI attributions in commits?

Hi devs,

I don’t remember discussing this officially.

Do we want to have AI attributions in git commits or not?

For ex for CC, that means having Co-Authored-By: Claude <model> <noreply@anthropic.com> at the end of commits.

On my side I think it’s a good idea for transparency and the info alone can make us review more some commits or PRs.

WDYT?

Thanks

I‘m more reading code then writing. I would like to have that infromation.

+1

Yes, +1 for the transparency.

Which should also means refusing a pull request which has obviously been mostly written by an IA but does not have this information.

+1

Will this be part of the contribtuin requirements, ex. https://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HFixingbugsornewFeatures2FImprovements? I don’t mind to have it as officially rule or guide. But I don’t understand why to declear it this way

If a user asks the AI ​​to provide a commit, it will automatically add itself to the commit signature - isn’t that enough? I noticed this while analyzing code with Cursor AI and looking at what the AI ​​agent can write as a resolution, and it has already provided me with a commit message with its name at the end.

yes for the same reason: transparency.

Yes it’s enough and this is what is called an attribution :slight_smile: But it’s not true that it will automatically add it: that depends on what you told it to do (you can ask it to not do it for example).

The whole idea is to make it transparent when a LLM has been used to help write a contribution.