| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR updates the contributor guidelines to require attribution in commit messages when an AI coding assistant meaningfully contributed to a commit, by adding an Assisted-by: trailer convention.
Changes:
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
Require AI generated contributions to indicate so in commit messages. Also add the CONTRIBUTING.rst file to the generated documentation.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #3406 +/- ##
==========================================
+ Coverage 92.23% 95.78% +3.54%
==========================================
Files 100 100
Lines 6172 6172
==========================================
+ Hits 5693 5912 +219
+ Misses 479 260 -219
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Sorry, something went wrong.
There was a problem hiding this comment.
@JohnVillalovos Nice, now you just need to add it to this commit as well ;-)
Sorry, something went wrong.
If you look at all my failures along the way it kind of gives away that I didn't use AI this time 😄 |
Sorry, something went wrong.
|
But we do use this policy over at LibreBooking https://github.com/LibreBooking/librebooking and I also do use AI quite often to help. If I had been smarter I would have used AI but I was lazy and thought it can't be that hard. My knowledge of RST was not as good as I thought it was. I should have just started up Claude... |
Sorry, something went wrong.
|
I'm not a big fan of this. All code is now written by LLMs and humans are just nudging it in the right direction. I would have agreed with adding this in 2025, but our work fundamentally changed in 2026 so I'm not sure this makes sense. The model should not matter, but the quality of the code does. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks @JohnVillalovos, I agree it'd be good to have something now that they've started, but would like something lightweight/generic to future-proof it. WDYT?
Sorry, something went wrong.
| When an AI coding assistant contributed meaningfully to a commit (writing or | ||
| significantly modifying code, suggesting the fix, generating tests, etc.), | ||
| add an ``Assisted-by`` trailer to the commit footer:: |
There was a problem hiding this comment.
I think this will pretty quickly get outdated, as agents are now autonomous enough that they're essentially doing the whole implementation. Likewise with models and harnesses, they change every month now and can be extended with MCPs, skills, plugins and other tools that I think muddy the water further.
WDYT about asking for the initial prompt that created the contribution, instead? As discussed offline as well, I think what's becoming more important now is the author's initial intent for a change, as that way we can better reason about whether something is well-intentioned or just slop to fill a GitHub punch card.
Though in that case, it might make more sense to include it in the original PR description as it could pollute the commit log much more than a simple trailer. We could even include it in the PR template, and have agents pick it up automatically.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks @nejch
@nejch I'm not sure. As I know in my work I don't often do an initial prompt and the result of that is what I submit. For me there is usually a lot of iterating. But it could be useful to get the plan of what they were trying to do.
I still like would to have people declare if they used an AI or not. And adding the footer seems like an initial minimal ask of people.
One of my favorite quotes is, "Don't let perfect be the enemy of good". So my thought is get a start and then keep iterating on it as time goes by and we learn more and more.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Require AI generated contributions to indicate so in commit messages.