Skip to content

AI policy proposal#5365

Open
lornajane wants to merge 2 commits into
OAI:mainfrom
lornajane:propose-ai-policy
Open

AI policy proposal#5365
lornajane wants to merge 2 commits into
OAI:mainfrom
lornajane:propose-ai-policy

Conversation

@lornajane

Copy link
Copy Markdown
Contributor

Following on from our discussion and some of the recent TDC meetings, I've put together a starting point for an AI policy. We're agreed that AI should be permitted, but that there's an important point about the effort ratio between contributions and maintenance tasks.

  • no schema changes are needed for this pull request

Claude proposed the outline of the doc after reviewing my preferred AI example policies, and also copyedited my document when finished.

@lornajane lornajane requested review from a team as code owners June 5, 2026 10:10

@ralfhandl ralfhandl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for preparing this!

Comment thread AI.md Outdated
Comment thread AI.md
We expect you to make good-faith contributions that are concise and to the intended point; overly verbose or general contributions will be hidden or removed.
Users who frequently have comments removed may be blocked from OpenAPI Initiative repositories.

Do not use AI to generate issue comments, discussion replies, or PR descriptions. These are the primary record of design reasoning for the project; they must reflect genuine human thought.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only one that I think we should allow here is the PR description.
I've been notoriously bad a hand writing PR descriptions, and thanks to your help, I believe I somewhat have improved.
However, lately I've been using AI to help me write better PR descriptions, based off the issue discussion, and the changes, and that's generally been much better than my poorly handwritten descriptions to set the state for other reviewers.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using AI to help me write better PR descriptions

Yeah, been doing this for quite some time. I got tired of writing of good descriptions because I was just going faster and faster. However, I ALWAYS reviewed the description before pushing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps the results are good with the tool in your hands, @baywet but that's not at all been my experience. AI-generated PR descriptions without expert input will at best describe information that is shown in the diff, and at worst both get that wrong and invent an incorrect explanation for what is changed and why.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@baywet I would also make a distinction between you writing a PR description with AI assistance to tell you if it reads well is distinct from someone generating a PR description by pointing AI at the code (which it may have written). idk if @lornajane sees a similar distinction, but I don't read your PR descriptions or comments and think "meh, AI wrote that."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aaah so the context of this sentence is essentially "don't use AI to write those things, by itself", not "don't use AI at all"? That makes sense. Is there some way we could tweak it to reflect this more closely?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I chose "generate" very intentionally. If the AI is generating the content that is shared: I don't think we want that. Those of you using the tools to augment what you want to say? I think we've already said elsewhere that sort of usage is not a problem.

Co-authored-by: Ralf Handl <ralf.handl@sap.com>
Comment thread AI.md
@@ -0,0 +1,62 @@
# OpenAPI Initiative AI Policy

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lornajane - well-crafted, pragmatic policy that strikes the right balance for a standards body.

The point about AI tools being trained on existing or outdated content is particularly astute for a standards project.

Just a thought:

No Assisted-by: git trailer convention. The broader open source ecosystem is converging on Assisted-by: as a standard commit metadata convention for AI-assisted contributions. Adopting it would make enforcement more tractable and machine-readable, especially for tooling.

Thanks @lornajane

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did consider the additional metadata requirements, but I can't see us enforcing it so I didn't include it. It's just one more thing that most contributors will ignore and that we don't have the reviewer bandwidth to get hung up on - and I don't think it helps that much so it's not included. Thanks for prompting me to explain though!

Comment thread AI.md
We expect you to make good-faith contributions that are concise and to the intended point; overly verbose or general contributions will be hidden or removed.
Users who frequently have comments removed may be blocked from OpenAPI Initiative repositories.

Do not use AI to generate issue comments, discussion replies, or PR descriptions. These are the primary record of design reasoning for the project; they must reflect genuine human thought.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using AI to help me write better PR descriptions

Yeah, been doing this for quite some time. I got tired of writing of good descriptions because I was just going faster and faster. However, I ALWAYS reviewed the description before pushing.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants