-
Notifications
You must be signed in to change notification settings - Fork 9
rfc: AI Tool Policy #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
erickzhao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wholeheartedly agree with the ethos of this policy.
While reading through this RFC, TIL of git interpret-trailers as well.
|
|
||
| We encourage disclosure of AI tool assistance in code contributions. This practice helps facilitate productive code reviews, and is not used to police tool usage. | ||
|
|
||
| When AI tools meaningfully assist in your contribution, note it in the commit message with a [trailer](https://git-scm.com/docs/git-interpret-trailers): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're defining rules for agents, does this mean that there should be some kind of Claude Code attribution setting we can add to the .claude folder in Electron core?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Claude Code should default to attributing itself to commits generated with CC. If users commit manually there's not a lot you can do other than just eyeball it (and have this in the policy)
MarshallOfSound
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine and reasonable to me all round. I'm interested in what enforcement looks like and what we can do to force people to read this policy.
E.g. Link it in the PR template and auto-close any third-party PR that hasn't explicitly checked that box (we can even cheat and "prompt" any model reading the PR template to never check that box by itself in an html comment or something)
This RFC proposes an official policy on AI-assisted contributions to Electron. The goals are to:
📄 Read the rendered RFC & Policy