docs(Contribute): add guidelines for contributing ai generated code#4680
Merged
nicolethoen merged 16 commits intoSep 3, 2025
Conversation
Collaborator
edonehoo
requested changes
Jul 2, 2025
Collaborator
edonehoo
left a comment
There was a problem hiding this comment.
Looks good! Mostly some formatting things. Just lmk if you have opinions/disagree with any!
edonehoo
requested changes
Jul 3, 2025
Collaborator
edonehoo
left a comment
There was a problem hiding this comment.
A few wonky tab formatting things in the lists
edonehoo
reviewed
Jul 7, 2025
Collaborator
edonehoo
left a comment
There was a problem hiding this comment.
these guys are refusing to tab in. if this doesn't work, we'll just leave the spacing and manually set the list numbers if needed
Comment on lines
+66
to
+70
| - **Treat AI-generated code as suggestions, not final code.** Review all generated code and modify as appropriate. Thoroughly review and test all code that you intend to integrate into your work. | ||
|
|
||
| - **Do not automatically trust the code assistant output.** Always apply your own judgment and expertise. AI coding assistants can introduce security vulnerabilities if not used carefully, and AI models can sometimes hallucinate and provide incorrect or non-functional code. | ||
|
|
||
| - **Make sure you thoroughly understand any AI-generated code.** If the generated code you intend to incorporate in your work is outside your expertise, consult with someone knowledgeable in the area prior to making it available to others within Red Hat or externally. |
Collaborator
There was a problem hiding this comment.
Suggested change
| - **Treat AI-generated code as suggestions, not final code.** Review all generated code and modify as appropriate. Thoroughly review and test all code that you intend to integrate into your work. | |
| - **Do not automatically trust the code assistant output.** Always apply your own judgment and expertise. AI coding assistants can introduce security vulnerabilities if not used carefully, and AI models can sometimes hallucinate and provide incorrect or non-functional code. | |
| - **Make sure you thoroughly understand any AI-generated code.** If the generated code you intend to incorporate in your work is outside your expertise, consult with someone knowledgeable in the area prior to making it available to others within Red Hat or externally. | |
| - **Treat AI-generated code as suggestions, not final code.** Review all generated code and modify as appropriate. Thoroughly review and test all code that you intend to integrate into your work. | |
| - **Do not automatically trust the code assistant output.** Always apply your own judgment and expertise. AI coding assistants can introduce security vulnerabilities if not used carefully, and AI models can sometimes hallucinate and provide incorrect or non-functional code. | |
| - **Make sure you thoroughly understand any AI-generated code.** If the generated code you intend to incorporate in your work is outside your expertise, consult with someone knowledgeable in the area prior to making it available to others within Red Hat or externally. |
e44bcc4 to
57110d4
Compare
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
…d/contribute.md Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
57110d4 to
46f36ae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes patternfly/pf-roadmap#255