Add AI-Assisted Development Policy (#23865)

This commit is contained in:
Alexandre ZANNI
2026-09-10 17:38:36 +02:00
committed by GitHub
parent 8375c60dab
commit 3b00a06e58
3 changed files with 26 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ https://cla-assistant.io/tldr-pages/tldr
- [ ] The page(s) follow the [content guidelines](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#guidelines).
- [ ] The page(s) follow the [style guide](/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md).
- [ ] The PR contains at most 5 new pages.
- [ ] The PR is authored by me, or has been human-reviewed if it was created with AI or machine translation software.
- [ ] The PR is authored by me, or has been human-reviewed if it was created with AI or machine translation software (see [AI-Assisted Development Policy](/tldr-pages/tldr/blob/main/contributing-guides/AI-policy.md)).
- [ ] The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#commit-message-and-pr-title).
- **Version of the command being documented (if known):**
- Reference issue: #
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
"The page(s) follow the [content guidelines](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#guidelines).",
"The page(s) follow the [style guide](/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md).",
"The PR contains at most 5 new pages.",
"The PR is authored by me, or has been human-reviewed if it was created with AI or machine translation software.",
"The PR is authored by me, or has been human-reviewed if it was created with AI or machine translation software (see [AI-Assisted Development Policy](/tldr-pages/tldr/blob/main/contributing-guides/AI-policy.md)).",
"The PR title conforms to the recommended [templates](/tldr-pages/tldr/blob/main/CONTRIBUTING.md#commit-message-and-pr-title)."
]
const body = context.payload.pull_request.body || "";
+24
View File
@@ -0,0 +1,24 @@
# AI-Assisted Development Policy
We recognize the value of AI tools in accelerating development. However, we have strict rules regarding their use to maintain content quality and security.
## Human interactions
- Automated agents, bots, or AI assistants must not open Pull Requests directly.
- A PR must be opened by a human maintainer or contributor.
- This ensures that the contributor is actively engaged in the process, has verified the PR rules (e.g., passing CI, signed commits), and facilitates necessary human-to-human interaction during the review process.
## AI usage is permitted, but review is mandatory
- You are permitted to use AI tools to help generate pages, translate them, or suggest improvements.
- You must thoroughly review, test, and correct the AI-generated output before submitting a Pull Request (PR).
- Do not submit commands you do not understand. You must be able to explain the logic and reasoning behind every line you contribute, even if it was initially generated by an AI.
## You are responsible for the AI's output
- Contributions submitted by AI agents (non-human) will result in you PR getting closed. Repeated AI agents submissions will result in a ban from the project. Same for not reviewed AI-generated contents submitted manually.
- By submitting contributions generated by AI, you assume full responsibility for the contributions.
- This includes responsibility for:
- **Intellectual Property & Licensing**: Ensuring the generated contribution does not violate any licenses or plagiarize existing work.
- **Security**: Ensuring the contribution is free of vulnerabilities or dangerous behaviors.
- **Maintainability**: Ensuring the contribution adheres to the project's style guide and is readable for human maintainers.