Repository navigation
Add an AI checkbox - #83
Conversation
This forces the pull request creator to indicate if AI was used to generate code, and if so attest that he or she understands the generated code and is comfortable answering questions about it.
dav3r
left a comment
There was a problem hiding this comment.
I human-approve this addition! 🤖
|
I like it. But... what if it was generated by AI and I'm not comfortable explaining it? I think this should either be separated into a bullet and a sub-bullet, or we update the contributing guide to enforce this relationship. Probably the former.
I didn't want to have a single bullet under the first, since the nuns would find me and beat me. But seeing the "comfort" bullet makes me realize this probably should apply to any code in a PR regardless if AI generated it. I'm going to go dig up some examples I've seen on other projects. |
|
I like the idea of adding an We could auto apply it if the commit message had AI identifiers in it: More examples of PR templates with AI checkboxes: This has some cool ideas but is beyond adding checkboxes to the template. I think we should consider adding agent guidance that can help ensure the checkboxes are checked by humans: |
Co-authored-by: Felddy <markf@geekpad.com>
|
Please see cisagov/skeleton-generic#289. |
Co-authored-by: Felddy <markf+github@geekpad.com>
felddy
left a comment
There was a problem hiding this comment.
Very nice! Even better than I came up with.
🗣 Description
This pull request adds an AI checkbox to the pre-approval checklist.
💭 Motivation and context
This forces the pull request creator to indicate if AI was used to generate code, and if so attest that he or she understands the generated code and is comfortable answering questions about it.
🧪 Testing
All automated tests pass. I also viewed the pull request template and verified that it appears correct.
✅ Pre-approval checklist
bump_versionscript if this repository is versioned and the changes in this PR warrant a version bump.✅ Pre-merge checklist
✅ Post-merge checklist