STATE OF AI CONTRIBUTION POLICIES · NOVEMBER 2026 · Data and code on GitHub ↗

AI contribution policies in the top 25,000 GitHub repositories

— of the 25,000 most-starred GitHub repositories (—) have an AI contribution policy. — accept AI, almost always with conditions. — reject it.

Repos with an AI policy

—

— of the top 25k

In favor of AI

—

of policies, with or without conditions

Against AI

—

of policies, with or without exceptions

Policies that set duties for the human

—

of — policies that accept AI

Policies that ask for AI disclosure

—

of — policies

Policies with a countermeasure against AI slop

—

of — policies

01 · ADOPTION OF AI POLICIES

Over a thousand top projects already set rules for AI

1,284 of the top repositories already have an AI contribution policy, most of them as a section of CONTRIBUTING.md. Adoption is highest among the most popular projects and in Rust projects.

From repository to AI policy

Share with an AI policy, by popularity rank

Share with an AI policy, by main language

Language is GitHub’s detected primary language.

Examples

02 · AI ALLOWANCE

“Yes, but”: AI is accepted, on conditions

Nearly every policy that allows AI asks for something in return, even if only that you understand the code you submit.

AI allowance at a glance

AI allowance in the 1,284 policies

AI allowance by popularity rank

  • In favor
  • Against
  • Neutral
  • Undetermined

In favor, no condition accepts AI with no extra request. In favor, with conditions asks for anything at all: disclosure, understanding the code, review, no autonomous agents. Against, with exceptions bans or discourages AI but allows narrow uses such as translation. Neutral regulates only PR text, volume or attribution.

Examples

03 · THE HUMAN

Policies put a human in charge

Three in four policies that accept AI set duties for the human, often under the name “human in the loop”: understand and explain the change, own it, review and test what the tool produced, and speak for yourself in reviews.

Policies that set duties for the human

—

of — policies that accept AI

Share of policies that set duties for the human

—

of — policies that accept AI

What policies ask of the human

Share of the policies that accept AI. A policy can ask for several of these.

Examples

04 · AI DISCLOSURE

Say you used AI, usually in the PR description

About a third of all policies ask contributors to say when they used AI, and most of those make it mandatory. The pull request is the usual place. Many policies don’t say where.

Policies that ask for AI disclosure

—

of — policies

Share of policies that ask for AI disclosure

—

of — policies

Where to disclose

  • Required
  • Recommended

What to include (share of the 412 policies that ask for disclosure)

A disclosure that satisfies most policies

## AI usage
Tool: Claude Code (Claude Opus 4.8)
Use: drafted the parsing function and its tests; I rewrote the error handling.
Verification: ran the test suite locally and reviewed the full diff.

Examples

Git trailers: Assisted-by is the most requested

Assisted-by: AGENT:MODEL is the most requested and least contested trailer. Co-authored-by is mentioned most, but more policies forbid it than ask for it: one side wants transparency in git history, the other says authorship belongs to people.

Trailer examples

05 · COUNTERMEASURES AGAINST AI SLOP

How projects defend their review time

The first line of defense is accountability: disclose AI use and keep autonomous agents out. Enforcement follows from closing without review to public bans. Newer and rarer are barriers to entry and traps aimed at agents.

Policies with a countermeasure against AI slop

—

of — policies

Share of policies with a countermeasure against AI slop

—

of — policies

Counts any mechanism below except disclosure, which is covered in section 04.

Examples

06 · EXPLORE

Every repository with an AI policy

Download CSV (GitHub)
RepositoryStarsMain languageAI allowancePolicy on GitHubPolicy excerptAI disclosureHuman duties

REFERENCES

  1. Hora, A., Robbes, R. and Zacchiroli, S. “We Permit the Use of AI, but [...]”: The Landscape of AI Policies in Popular Open Source Projects. arXiv:2609.07542.
  2. Hora, A. and Robbes, R. AI Policy, Disclosure, and Human in the Loop: How Are Contribution Guidelines Adapting to GenAI? International Conference on Software Maintenance and Evolution (ICSME), 2026.

METHODOLOGY