]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
contributing: update guidelines for AI-generated code (#17625)
authorXuan-Son Nguyen <redacted>
Sun, 30 Nov 2025 21:51:34 +0000 (22:51 +0100)
committerGitHub <redacted>
Sun, 30 Nov 2025 21:51:34 +0000 (22:51 +0100)
* contributing: update guidelines for AI-generated code

* revise

CONTRIBUTING.md
SECURITY.md

index b808fa31eaf0bbbedb54bc372d4fe477a728c53f..875eb766f35e07d337f42798df3eb28709a4769e 100644 (file)
@@ -19,6 +19,7 @@ The project differentiates between 3 levels of contributors:
 - If your PR becomes stale, don't hesitate to ping the maintainers in the comments
 - Maintainers will rely on your insights and approval when making a final decision to approve and merge a PR
 - Consider adding yourself to [CODEOWNERS](CODEOWNERS) to indicate your availability for reviewing related PRs
+- Using AI to generate PRs is permitted. However, you must (1) explicitly disclose how AI was used and (2) conduct a thorough manual review before publishing the PR. Note that trivial tab autocompletions do not require disclosure.
 
 # Pull requests (for maintainers)
 
index 9749e95b715a736c7e31a4daa75d489b001d6895..9c86ae91b5c6b9970dccfb3b41eee394717d2063 100644 (file)
@@ -65,4 +65,6 @@ However, If you have discovered a security vulnerability in this project, please
 
 Please disclose it as a private [security advisory](https://github.com/ggml-org/llama.cpp/security/advisories/new).
 
+Please note that using AI to identify vulnerabilities and generate reports is permitted. However, you must (1) explicitly disclose how AI was used and (2) conduct a thorough manual review before submitting the report.
+
 A team of volunteers on a reasonable-effort basis maintains this project. As such, please give us at least 90 days to work on a fix before public exposure.