From: Remi Gacogne Date: Mon, 15 Sep 2025 13:45:13 +0000 (+0200) Subject: Also add PowerDNS' policy on the use of AI tools X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a88964a3015dcf3555ff9511c14c0f7af1fb48d;p=thirdparty%2Fpdns.git Also add PowerDNS' policy on the use of AI tools Signed-off-by: Remi Gacogne --- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 422c8d62b..ab6f7d79d 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -5,7 +5,7 @@ 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 index 000000000..4a15f9524 --- /dev/null +++ b/AI_POLICY.md @@ -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 f1f3d75ef..73607a205 100644 --- 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