From 530dbc9e9785eb552d71986e4b15e78525d075d6 Mon Sep 17 00:00:00 2001 From: Titus Fortner Date: Mon, 2 Feb 2026 11:37:39 -0600 Subject: [PATCH 1/3] [docs] add AI-assisted contribution policy and PR template updates --- .github/PULL_REQUEST_TEMPLATE.md | 6 ++++++ CONTRIBUTING.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9fa86b9c5fe64..555e2e7476790 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -12,6 +12,12 @@ +### 🤖 AI assistance (if used) + +- Tool(s): +- What was generated (code/tests/docs): +- [ ] I reviewed all AI-assisted output and can explain the change + ### 💡 Additional Considerations diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 822c21f4f1c12..171c5be4f909a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,6 +59,34 @@ on Github. This document will guide you through the contribution process. +### AI-assisted contributions (Copilot, LLMs, code generators) + +We allow contributors to use AI tools to help write code, tests, and documentation. However: + +**Human-in-the-loop is required:** +- You are the author. You must read, review, and understand all AI-assisted output before requesting review. +- You must be able to explain the change and rationale without referring back to the tool. + +**Disclosure:** +- If substantial parts of the PR are AI-assisted, disclose it in the PR description +(tool name + what was generated). This is for reviewer context, not for judgment. + +**No autonomous agents:** +- Do not use agents/bots to open PRs, push commits, or post review comments without +direct human approval and ownership of the result. +- Do not add `Co-Authored-By` tags for AI tools in commits. +AI tools are not authors; disclosure belongs in the PR description, not commit metadata. + +**Quality bar / reviewer time:** +- Using AI assistance should not lower the bar. Bug fixes and features must include tests where possible +- Maintainers may ask you to reduce scope, add tests, or justify value if a PR appears to be low-effort generated content. + +**Copyright and licensing:** +- You are responsible for ensuring you have the rights to contribute your work under the project license. +Using AI tools does not remove third-party copyrights; content found to violate this will be removed. + +(Policy inspired by the [LLVM Project AI Tool Use Policy](https://llvm.org/docs/AIToolPolicy.html)) + ### Step 1: Fork & Clone Fork the project [on Github](https://github.com/seleniumhq/selenium) From 1c10f1dd5ea43c90c3bb884398560f3c2f694c70 Mon Sep 17 00:00:00 2001 From: Titus Fortner Date: Mon, 2 Feb 2026 12:10:37 -0600 Subject: [PATCH 2/3] [docs] require explicit AI disclosure choice in PR template --- .github/PULL_REQUEST_TEMPLATE.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 555e2e7476790..dd08d22563a40 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -12,11 +12,13 @@ -### 🤖 AI assistance (if used) - -- Tool(s): -- What was generated (code/tests/docs): -- [ ] I reviewed all AI-assisted output and can explain the change +### 🤖 AI assistance + +- [ ] No substantial AI assistance used +- [ ] AI assisted (complete below) + - Tool(s): + - What was generated: + - [ ] I reviewed all AI output and can explain the change ### 💡 Additional Considerations From b02b482aa98a6c17108049e9100ee843d000cfe5 Mon Sep 17 00:00:00 2001 From: Titus Fortner Date: Mon, 2 Feb 2026 13:38:00 -0600 Subject: [PATCH 3/3] [docs] fix nested list indentation in PR template --- .github/PULL_REQUEST_TEMPLATE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index dd08d22563a40..ef71212733bba 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -16,9 +16,9 @@ - [ ] No substantial AI assistance used - [ ] AI assisted (complete below) - - Tool(s): - - What was generated: - - [ ] I reviewed all AI output and can explain the change + - Tool(s): + - What was generated: + - [ ] I reviewed all AI output and can explain the change ### 💡 Additional Considerations