logoalt Hacker News

verdvermyesterday at 3:12 PM6 repliesview on HN

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?


Replies

rbbydotdevyesterday at 3:52 PM

> Wouldn't the thing to do be to give AI its own account id / email so we can use standard git blame tools?

That’s a reasonable idea and something I considered. The issue is that AI assistance is often inline and mixed with human edits within a single commit (tab completion, partial rewrites, refactors). Treating AI as a separate Git author would require artificial commit boundaries or constant context switching. That quickly becomes tedious and produces noisy or misleading history, especially once commits are squashed.

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

There’s currently no friction‑less way to attribute AI‑assisted code, especially for non–turn‑based workflows like Copilot or Cursor completions. In those cases, human and machine edits are interleaved at the line level and collapse into a single author at commit time. Existing Git and blame tooling can’t express that distinction. This is an experiment to complement—not replace—existing contributor workflows.

PS: I asked for a resubmission and was encouraged to try again :)

show 1 reply
nightpoolyesterday at 3:45 PM

Many posts get resubmitted if someone finds them interesting and, if it's been a few days, they generally get "second-chance" treatment. That means they'll be able to make it to the front-page based on upvotes, if they didn't make it the first time.

show 1 reply
maartin0yesterday at 3:36 PM

I guess because 99% of generated code will likely need significant edits, so you'd never want to commit direct "AI contributions" - you don't commit every time you take something from StackOverflow, likewise I wonder if people might start adding credit comments to LLMs?

show 1 reply
weaksauceyesterday at 4:15 PM

I think the special feature is that it tracks on a per line basis in a blended commit what AI is doing vs. whole commits. not sure the utility of it.

Anonbrityesterday at 3:35 PM

Giving it its own id doesn't store all the useful metadata this tool preserves, like the model and prompt that generated the code

show 1 reply
jayd16yesterday at 3:33 PM

That would cost a seat, I'm guessing.

show 2 replies