AI-based contributions
I expects us to start receiving AI generated/support code contributions.We definitely can't check whether this or that piece of code is written by a person or AI so it depends on claims - but should we have some policy on dealing with such contributions?

Nicola Tuveri Tue 22 Apr 2025 11:33AM
My understanding is that authors submitting non-trivial code contributions are doing so under the conditions listed by the CLA.
Clause 5 states:
You represent that each of Your Contributions is Your original creation (see section 7 for submissions on behalf of others). You represent that Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions.
Clause 7 states:
Should You wish to submit work that is not Your original creation, You may submit it to the Foundation separately from any Contribution, identifying the complete details of its source and of any license or other restriction (including, but not limited to, related patents, trademarks, and license agreements) of which you are personally aware, and conspicuously marking the work as "Submitted on behalf of a third-party: [named here]".
@Dmitry Belyavsky aren't those sufficient to describe what are the duties of contributors when using AI tools? Do you have something specific to discuss in mind?
Dmitry Belyavsky Tue 22 Apr 2025 12:22PM
@Nicola Tuveri when the CLA text was written, there were no AI. So in theory there was a chance to get CLAs from all parties. Now it's not the case.

Nicola Tuveri Mon 28 Apr 2025 6:03AM
Maybe we do not need a new "policy" but it could be a good idea to point to https://www.apache.org/legal/generative-tooling.html
Matt Caswell · Tue 22 Apr 2025 9:31AM
It is currently a requirement that all non-trivial code contributions are accompanied by a CLA for all authors. So what happens in the event of a completely AI generated code contribution? Or perhaps an AI assisted one?