Просмотр исходного кода

policy: Updated AI-related text based on excellent feedback.

(cherry picked from commit 4711119605651549950c244137eedfba6d66b91c)
Ryan C. Gordon 1 месяц назад
Родитель
Сommit
2e90ed4290
2 измененных файлов с 14 добавлено и 15 удалено
  1. 1 8
      .github/PULL_REQUEST_TEMPLATE.md
  2. 13 7
      AGENTS.md

+ 1 - 8
.github/PULL_REQUEST_TEMPLATE.md

@@ -1,11 +1,4 @@
-<!--
-PLEASE NOTE THAT WE DO NOT ACCEPT ANY CODE THAT WAS AI-GENERATED.
-
-IF AN AI AGENT WROTE OR ASSISTED IN THE WRITING OF YOUR CODE, DO NOT OPEN A PR.
-
-THANK YOU.
--->
-
+- [ ] I confirm that I am the author of this code and release it to the SDL project under the Zlib license. This contribution does not contain code from other sources, including AI generated code.
 
 <!--- Provide a general summary of your changes in the Title above -->
 

+ 13 - 7
AGENTS.md

@@ -1,11 +1,17 @@
-The SDL project does not accept contributions that are in any part created by
-AI agents.
+AI may not be used to generate code for contributions to this project.
 
-We reject any pull requests that have any amount of code generated by an LLM,
-generative AI, or anything other than a human being.
+AI-generated code is based upon sources of unknown origins and may not be
+compatible with the Zlib license, or may introduce conflicting license terms
+if they include code from other projects.
 
-Any code that was produced this way must be disclosed when submitting it to
-the project.
+AI can be used to identify issues with contributions to this project, but the
+solutions to those issues should be authored by humans.
 
-Thank you!
+We have found that AI will frequently hallucinate issues that are not actually
+problems in practice, report incorrect information, and describe problems that
+are actually not issues at all. If AI identifies a problem with this codebase,
+please make sure you understand what it is saying and have independently
+confirmed that the issue exists before submitting a bug report or pull request.
 
+Any pull request to this project will ask you to confirm that you are the
+author and that you are contributing your changes under the Zlib license.