logoalt Hacker News

yarn_today at 4:02 PM2 repliesview on HN

"Why would I commit something written by AI with myself as author?"

Because you're the one who decided to take responsibility for it, and actually choose to PR it in its ultimate form.

What utility do the reviews/maintainers get from you marking whats written by you vs. chatgpt? Other than your ability to scapegoat the LLM?

The only thing that actually affects me (the hypothetical reviewer) and the project is the quality of the actual code, and, ideally, the presence of a contributer (you) who can actually answer for that code. The presence or absence of LLM generated code by your hand makes no difference to me or the project, why would it? Why would it affect my decision making whatsoever?

Its your code, end of story. Either that or the PR should just be rejected, because nobody is taking responsibility for it.


Replies

Krsssttoday at 4:08 PM

As someone mostly outside of the vibe coding stuff, I can see the benefit in having both the model and the author information.

Model information for traceability and possibly future analysis/statistics, and author to know who is taking responsibility for the changes (and, thus, has deeply reviewed and understood them).

As long as those two information are present in the commit, I guess which commit field should hold which information is for the project to standardise. (but it should be normalised within a project, otherwise the "traceability/statistics" part cannot be applied reliably).

show 2 replies
waisbrottoday at 4:13 PM

Claude adds "Co-authored by" attribution for itself when committing, so you can see the human author and also the bot.

I think this is a good balance, because if you don't care about the bot you still see the human author. And if you do care (for example, I'd like to be able to review commits and see which were substantially bot-written and which were mostly human) then it's also easy.

show 1 reply