SDL: policy: Updated AI-related text based on excellent feedback. (2e90e)

From 2e90ed429057a86835a052ea87a4a3f9f05fc175 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 11 Apr 2026 10:11:19 +0100
Subject: [PATCH] policy: Updated AI-related text based on excellent feedback.

(cherry picked from commit 4711119605651549950c244137eedfba6d66b91c)
---
 .github/PULL_REQUEST_TEMPLATE.md |  9 +--------
 AGENTS.md                        | 20 +++++++++++++-------
 2 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index f66bf697d10b1..b210acaa95048 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.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 -->
 
diff --git a/AGENTS.md b/AGENTS.md
index 58ac294068871..93842ddbb5451 100644
--- a/AGENTS.md
+++ b/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.