Skip to content

Should we have an AI policy? #649

Open

Description

@samcunliffe

What is the Topic of Your Question

Other

Add Your Question Below

I'm just thinking a section in the CONTRIBUTING.md about whether AI assisted code is allowed (I assume yes) and whether agent-only PRs are allowed (I assume no???).

We can link to the ARC policy when it's published. But just wondering about the vibe for this particular project.

@paddyroddy @dstansby @matt-graham Any thoughts? Should I make a proposal?

Activity

  1. self-assigned this
    on Oct 7, 2026
  2. dstansby commented on Oct 7, 2026

    @dstansby
    Contributor

    hello from the past, my opinion shouldn't really carry any weight now. My two cents is no AI (co)authorship, because you should take responsibility for your code even if AI wrote it, PRs should be reviewable by humans (including keep them well focused and as short as possible), AI code is fine.

  3. paddyroddy commented on Oct 9, 2026

    @paddyroddy
    Member

    I think it's probably a good idea to have such a policy in this modern world. Surprised this didn't get flagged in the ARC work recently, i.e. glass-dev/glass#1185. Agree with @dstansby.

  4. pradeeppeddineni commented on Oct 25, 2026

    @pradeeppeddineni

    I'd say yes go for the proposal, the replies here already agree on most of it. Something this short would cover it:

    You can use AI tools to help write code, docs or tests. You're the author, so you need to understand everything in your PR, be able to explain it in review, and you're responsible for it. Don't list AI tools as co-authors. If a tool wrote a big part of the change, say so in the PR description. PRs opened by an agent without a person reviewing them first will be closed. Keep PRs small enough to review.

    That's close to what LLVM does (human in the loop, label substantial tool output, no agents acting without approval: https://llvm.org/docs/AIToolPolicy.html) and the kernel, where only a human can add Signed-off-by (https://docs.kernel.org/process/coding-assistants.html).

    One thing to decide is if this is only for contributions to this repo, or if the template should also put a section in generated projects. The {{cookiecutter.project_slug}} folder has no CONTRIBUTING.md right now so that's probably a separate issue tbh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions