From 23b3e3c1a86698dc7ab6cc4f669a44624c46676f Mon Sep 17 00:00:00 2001 From: Pavel Tisnovsky Date: Tue, 25 Nov 2025 12:19:04 +0100 Subject: [PATCH 1/2] Updated pull request template --- .github/PULL_REQUEST_TEMPLATE.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index faa835e0e..eadaba657 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -21,6 +21,13 @@ - [ ] End to end tests improvement +## Tools used to create PR + +Identify any AI code assistants used in this PR (for transparency and review context) + +- Assisted-by: (e.g., Claude, CodeRabbit, Ollama, etc., N/A if not used) +- Generated by: (e.g., tool name and version; N/A if not used) + ## Related Tickets & Documents - Related Issue # From 9ef5478b698639b55737cb318c9fbce73310c246 Mon Sep 17 00:00:00 2001 From: Pavel Tisnovsky Date: Tue, 25 Nov 2025 12:19:25 +0100 Subject: [PATCH 2/2] Info how to use AI tools added into contributing guide --- CONTRIBUTING.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index abac58f80..878c13264 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,9 @@ * [PR description](#pr-description) * [Definition of Done](#definition-of-done) * [A deliverable is to be considered “done” when](#a-deliverable-is-to-be-considered-done-when) +* [AI assistants](#ai-assistants) + * [“Mark” code with substantial AI-generated portions.](#mark-code-with-substantial-ai-generated-portions) + * [Copyright and licence notices](#copyright-and-licence-notices) * [Automation](#automation) * [Pre-commit hook settings](#pre-commit-hook-settings) * [Code coverage measurement](#code-coverage-measurement) @@ -109,6 +112,38 @@ Happy hacking! * Code changes reviewed by at least one peer * Code changes acked by at least one project owner +## AI assistants + +### “Mark” code with substantial AI-generated portions. + +Nontrivial and substantial AI-generated or AI-assisted content should be +“marked” in appropriate cases. In deciding how to approach this, consider +adopting one or more of the following recommendations. (This assumes you have +not concluded that a suggestion is a match to some existing third-party code.) + +In a commit message, or in a pull request/merge request description field, +identify the code assistant that you used, perhaps elaborating on how it was +used. You may wish to use a trailer like “Assisted-by:” or “Generated-by:”. For +example: + +``` +Assisted-by: +``` + +In a source file comment, indicate the use of the code assistant. For example: + +``` +Generated by: +``` + +### Copyright and licence notices + +If the contents of an entire file or files in PR were substantially generated +by a code assistant with little to no creative input or modification by you +(which should typically not be the case), copyright protection may be limited, +but it is particularly appropriate to mark the contents of the file as +recommended above. + ## Automation ### Pre-commit hook settings