I strongly agree with DataFusion's best practices regarding AI
contributions.

I have run into many similar situations recently. As a maintainer of
iceberg-cpp, I care much more about the contributor's intent (e.g., are
they genuinely using the project? Is there potential for them to become a
committer in the future, or are they just farming open-source
achievements?), the real value of the problem being solved, as well as code
quality and maintainability. Therefore, I am thinking of adding following
actions to iceberg-cpp:

1. Limit the number of open PRs for new contributors until they earn trust
through continuous community participation.
2. Since AI-assisted development is the norm now, we should enforce a
strict PR template. Submitters (or their agents) must explicitly state the
problem the PR solves, describe the solution, and provide an AI disclosure
(including whether the PR has been human-reviewed). This forces the
submitter to at least think about the PR's value and scrutinize its content.
3. Enable GitHub's auto-stale feature with a very short timeout to
automatically close PRs that lack human involvement.
4. If a maintainer notices during the review process that an author is
mechanically relying on AI to address comments without truly understanding
or participating in the discussion, the maintainer should be empowered to
refuse further review and inform the author.

Thanks,
Gang

On Wed, Dec 2, 2026 at 7:53 PM Raúl Cumplido via dev <[email protected]>
wrote:

> El mié, 2 dic 2026 a las 12:28, Alex Dutra via dev
> (<[email protected]>) escribió:
> >
> > Hi Fokko,
> >
> > This is a real pain for all open-source projects. The DataFusion
> > policy is worth trying imho.
> >
> > FYI, there is also a feature in GitHub to limit the number of PRs that
> > contributors without write access can open:
> >
> >
> https://blog.github.com/changelog/2026-06-17-limit-open-pull-requests-for-users-without-write-access/
> >
> > That said, many contributors (like me) do not have write access. I
> > think that should still be OK if we set the limit to, say, 5 (right
> > now, as an example, I have 3 PRs open).
>
> On Arrow we save this limitation with the `bypass_users` list [1] of
> known users on the `.asf,yaml` config.
>
> As I shared on the Arrow thread, I see more projects using some kind
> of vouching system with a list of known users with permission to
> bypass limitations set for unknown users (or bots).
>
>
> [1]
> https://github.com/apache/arrow/blob/fbf6c9f846479482ddbfcd8df82a7d9a700afca8/.asf.yaml#L72-L81
>
> > WDYT?
> >
> > Thanks,
> > Alex
> >
> > On Wed, Dec 2, 2026 at 11:30 AM Fokko Driesprong via dev
> > <[email protected]> wrote:
> > >
> > > Hi all,
> > >
> > > I wanted to resurface the topic of AI generated contributions.
> Inspired by the discussion on the Arrow devlist:
> https://lists.apache.org/thread.html/94ypp500kqkqmn5dv85mptdxkfy20xx8.
> This has been discussed before in Iceberg syncs, but I wanted to bring it
> to the devlist as well.
> > >
> > > The abovementioned thread struck me because, this Monday, I tried to
> reduce the backlog on PyIceberg. That day I reviewed 34 PRs and merged 21
> of them. However, new PRs are being created at the same pace. Some of them
> are easy to review; others are harder because they touch an evaluator or
> partitioning logic. Although I use AI to help review, I'm not comfortable
> doing the reviews fully automated without a human in the loop.
> > >
> > > Some of the PRs are valid, but most of them fix some kind of edge case
> that nobody will hit in practice, while at the same time adding complexity
> to the codebase.
> > >
> > > I had hoped we would get there by tuning AGENTS.md, and over the last
> few weeks I've done some fine-tuning, but I don't think this is going to
> work. I also noticed that some authors who clearly use AI are ignoring the
> AI disclosure:
> https://github.com/apache/iceberg/pulls?q=is%3Apr+state%3Aopen+author%3AAnurag-S1ngh.
> I don't like calling people out, but 26 PRs in 24 hours for
> iceberg/PyIceberg, is pretty extreme to me.
> > >
> > > Looking at the pace at which PRs are being created, it feels obvious
> to me that we need a new policy. It is a waste of both human and compute
> resources. From the Arrow thread, I like the policy from DataFusion:
> https://datafusion.apache.org/contributor-guide/ai-policy.html#autonomous-agent-contributions,
> but I'd like to pick the community's brain on this.
> > >
> > > Cheers,
> > > Fokko
> > >
>

Reply via email to