logoalt Hacker News

GitHub Browser Plugin for AI Contribution Blame in Pull Requests

59 pointsby rbbydotdevyesterday at 2:35 PM31 commentsview on HN

Comments

operator-nameyesterday at 4:46 PM

I'm not sold at the idea - for most projects it makes sense that the author of the PR should ultimately have ownership in the code that they're submitting. It doesn't matter if that's AI generated, generated with the help of other humans or typed up by a monkey.

> A computer can never be held accountable, therefore a computer must never make a management decision. - IBM Training Manual, 1979

Splitting out AI into it's own entity invites a word of issues, AI cannot take ownership of the bugs it writes or the responsibility for the code to be good. That lies up to the human "co-author", if you want to use that phrase.

show 2 replies
shayiefyesterday at 3:40 PM

It seems like something like this should be added to the commit object/message itself, instead of git notes. Maybe as addition to Co-Authored-By trailer.

This would make sure this data is part of repository history (and commit SHA). Additional tooling can be still used to visualize it.

show 1 reply
verdvermyesterday at 3:12 PM

Wouldn't the thing to do to give them their own account id / email so we can use standard git blame tools?

Why do we need a plugin or new tools to accomplish this?

Don't know why this has been resubmitted and placed on the front of HN. (See 2day old peer comment) What's the feature of this post that warrants special treatment?

show 6 replies
ottahtoday at 12:57 AM

Why!? What possible benefit is there to stuffing my git commit history with this noise?

Alxc1yesterday at 5:52 PM

I believe GitLens has a version of this feature that I tried. To others points, seeing the person who actually committed it was more helpful.

nilespotteryesterday at 3:30 PM

Why not just look at the code and see if it's good or not?

show 2 replies
Our_Benefactorstoday at 3:01 AM

> Projects like Zig may never allow ai contributions

Good luck enforcing that.

This extension is solving for the wrong problem and is actually only useful as some kind of ideology cudgel, it literally can only create friction. Nobody important cares if code is ai generated, they care if it solves problems correctly.

maximgeorgeyesterday at 3:57 PM

[dead]