]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Also add PowerDNS' policy on the use of AI tools
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 15 Sep 2025 13:45:13 +0000 (15:45 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 15 Sep 2025 13:45:13 +0000 (15:45 +0200)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
.github/PULL_REQUEST_TEMPLATE.md
AI_POLICY.md [new file with mode: 0644]
DCO

index 422c8d62b8e4df629c745212c6132ae11255a268..ab6f7d79d14bc751e508a2d0b13b3cfede0371a3 100644 (file)
@@ -5,7 +5,7 @@
 <!-- please indicate if any of these things are done/included with this Pull Request. Not all boxes need to be checked for the Pull Request to be accepted -->
 I have:
 - [ ] read the [CONTRIBUTING.md](https://github.com/PowerDNS/pdns/blob/master/CONTRIBUTING.md) document
-- [ ] read the [Developer Certificate of Origin](https://github.com/PowerDNS/pdns/blob/master/DCO) document and added a ["Signed-off-by"](https://github.com/PowerDNS/pdns/blob/master/CONTRIBUTING.md#developer-certificate-of-origin) on my commits
+- [ ] read and accepted the [Developer Certificate of Origin](https://github.com/PowerDNS/pdns/blob/master/DCO) document, including the AI policy, and added a ["Signed-off-by"](https://github.com/PowerDNS/pdns/blob/master/CONTRIBUTING.md#developer-certificate-of-origin) on my commits
 - [ ] compiled this code
 - [ ] tested this code
 - [ ] included documentation (including possible behaviour changes)
diff --git a/AI_POLICY.md b/AI_POLICY.md
new file mode 100644 (file)
index 0000000..4a15f95
--- /dev/null
@@ -0,0 +1,39 @@
+PowerDNS AI Usage Policy
+========================
+
+Last update: 15th September, 2025
+
+This document tries to summarize the AI Usage Policy within the
+PowerDNS Authoritative Server, Recursor and dnsdist, and the rationale behind
+it.
+
+AI is a tool which, if used correctly, can benefit users and developers a lot.
+However, just like any other tool, it may be misused.
+
+The current policy is as follows:
+
+- The use of AI tools for code contributions is **not** allowed.
+
+  The rationale behind this is that there is no way to know whether the AI has
+  been trained on code compatible with the GPL version 2 licence used by
+  PowerDNS, and which persons should deserve credit for the output of the AI.
+
+  We are also seriously worried about the ability for AI-generated code to
+  introduce subtle bugs or security issues (``to err is human; to really
+  foul things up requires a computer'') and we definitely do not want to
+  ever appear as a nominee on https://aidarwinawards.org/
+
+- The use of AI tools for documentation contributions, as well as for submitting
+  bug reports and support requests is allowed.
+
+  The rationale behind this is that an AI might be able to improve sentences
+  and make them more readable. Of course it might also make things worse or
+  introduce nonsense, so it should only be used for polishing texts, if at
+  all.
+
+- Be transparent about AI use, by which we mean that all uses of AI should be
+  explicitly disclosed as such, so that if further issues related to AI use
+  occur (ethics, intellectual property, ...) we know which contributions need
+  to be checked.
+
+This policy is in immediate effect.
diff --git a/DCO b/DCO
index f1f3d75efe8867376717acc88bb00a27f8f77e2a..73607a2053df439807146dcebb844c39edce52c1 100644 (file)
--- a/DCO
+++ b/DCO
@@ -18,7 +18,11 @@ By making a contribution to this project, I certify that:
     person who certified (a), (b) or (c) and I have not modified
     it.
 
-(d) I understand and agree that this project and the contribution
+(d) The contribution was either created without the use of an AI tool,
+    or is a documentation-only contribution, in accordance with the
+    PowerDNS AI usage policy contained in the AI_POLICY.md file.
+
+(e) I understand and agree that this project and the contribution
     are public and that a record of the contribution (including all
     personal information I submit with it, including my sign-off) is
     maintained indefinitely and may be redistributed consistent with