AGENTS.md: Updated text with latest policy revisions. · libsdl-org/SDL@83ab835

GitHub

3 min read Original article ↗
Original file line numberDiff line numberDiff line change

@@ -1,20 +1,11 @@

1-

AI must not be used to generate code for contributions to this project.

1+

Generative AI, including large language models (LLMs), should not be used in

2+

any way when contributing to SDL.

23
3-

"AI" in this case means a Large Language Model ("LLM"), such as ChatGPT,

4-

Claude, Copilot, Grok, etc.

5-
6-

AI-generated code is based upon sources of unknown origins and may not be

7-

compatible with the Zlib license, or may introduce conflicting license terms

8-

if they include code from other projects.

9-
10-

AI can be used to identify issues with contributions to this project, but the

11-

solutions to those issues should be authored by humans.

12-
13-

We have found that AI will frequently hallucinate issues that are not actually

14-

problems in practice, report incorrect information, and describe problems that

15-

are actually not issues at all. If AI identifies a problem with this codebase,

16-

please make sure you understand what it is saying and have independently

17-

confirmed that the issue exists before submitting a bug report or pull request.

4+

We want our code to be art. We want to interact with real humans. Please don't

5+

submit AI-generated comments or code in bug reports or pull requests. We

6+

understand some people consider AI to be a useful tool, but we want to connect

7+

with you, not your computer.

188
199

Any pull request to this project will ask you to confirm that you are the

20-

author and that you are contributing your changes under the Zlib license.

10+

author and that you are contributing your changes under the zlib license.

11+
Original file line numberDiff line numberDiff line change

@@ -1,22 +1,11 @@

1-

AI must not be used to generate code for contributions to this project.

1+

Generative AI, including large language models (LLMs), should not be used in

2+

any way when contributing to SDL.

23
3-

"AI" in this case means a Large Language Model ("LLM"), such as ChatGPT,

4-

Claude, Copilot, Grok, etc.

5-
6-

AI-generated code is based upon sources of unknown origins and may not be

7-

compatible with the Zlib license, or may introduce conflicting license terms

8-

if they include code from other projects.

9-
10-

AI can be used to identify issues with contributions to this project, but the

11-

solutions to those issues should be authored by humans.

12-
13-

We have found that AI will frequently hallucinate issues that are not actually

14-

problems in practice, report incorrect information, and describe problems that

15-

are actually not issues at all. If AI identifies a problem with this codebase,

16-

please make sure you understand what it is saying and have independently

17-

confirmed that the issue exists before submitting a bug report or pull request.

4+

We want our code to be art. We want to interact with real humans. Please don't

5+

submit AI-generated comments or code in bug reports or pull requests. We

6+

understand some people consider AI to be a useful tool, but we want to connect

7+

with you, not your computer.

188
199

Any pull request to this project will ask you to confirm that you are the

20-

author and that you are contributing your changes under the Zlib license.

21-
10+

author and that you are contributing your changes under the zlib license.

2211