docs: Update the AI code guidelines - #3249
Conversation
PR Summary by QodoEstablish comprehensive AI contribution policy
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
|
| Filename | Overview |
|---|---|
| AI_POLICY.md | Adds the comprehensive AI contribution policy; the new file is missing the repository-required GPL license header. |
| CONTRIBUTING.md | Replaces the abbreviated AI guidance with a link to the dedicated policy. |
Prompt To Fix All With AI
### Issue 1
AI_POLICY.md:1
**GPL Header Is Missing**
The newly created `AI_POLICY.md` starts directly with its heading instead of the required GPL license header. This violates the repository requirement for license headers in new file prologues and must be fixed before merging.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Reviews (6): Last reviewed commit: "Some more touch-ups" | Re-trigger Greptile
1db65a5 to
0e5c0f5
Compare
0455ee8 to
fbf04b2
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fbf04b2a48
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
There are unaddressed comments |
|
It does a replay check on doc edit 👀 |
This change expands upon the existing AI code generation guidelines and turns it into an AI policy.
Notably it disallows pull requests that have descriptions that are entirely AI generated (unless translated), as well as disallowing copy-pasting answers from an AI chatbot during the review process.
It also describes a way of how this policy would be enforced.
This new policy incorporates the existing TSH guidelines on AI code generation and is based on the Mastodon AI policy and the CloudNativePG AI Policy.