Live data from Hacker News

Stop Advertising in Your Commits

akselmo.dev

51–60 of 178 posts

Re: Stop Advertising in Your Commits

#51

I have to assume these aren’t just ads, but also a critical RLHF avenue for Anthropic. I imagine they scrape these commits from GitHub and compare them against what Claude provided to the user. If the diff that is pushed is different it means the human had to refine the LLM output and that can be fed back in as training data. Presumably semantic search could enable you to find the matching Claude Code session.

they already have enough data to make this correlation almost 100% accurate

they know things like your git author line, your github handle, and the exact codebase you were working on

the general shape of commits

even if you change extensively, they will probably be able to match this with claude code sessions

sure the atribution at the end of commits is a signal, but I doubt it's much valuable

if anything it's more valuable to anthropic competitors, that don't have claude code session data to match to open source contributors, and will have to guess if any given code is AI generated, and by how much

Re: Stop Advertising in Your Commits

#52

I much prefer this over the alternative where people use AI to code without anyone knowing.

Who really cares, though? AI is just a tool. If the code is good, the code is good.

Bad AI code can look superficially good in a way that bad human code doesn’t. That’s why AI attribution is useful. That’s before you know whether the code is actually good.

Re: Stop Advertising in Your Commits

#53

I much prefer this over the alternative where people use AI to code without anyone knowing.

Who really cares, though? AI is just a tool. If the code is good, the code is good.

I don't agree. The process that produced the code is an essential part of code review. I frequently run into hacks that I'll approve if, and only if, I trust that some competent human being has explored the alternatives and judged they're the best way forward.

Re: Stop Advertising in Your Commits

#54

Is AI responsible for the committed code? Should AI be blamed when services go down due to the change? The answer is absolutely not - the developer is responsible whether the code was AI assisted or not, and the dev's name should be attached to it just like any change. The OP is right: these are ads, plain and simple, and it's a dark pattern for these companies to have attribution enabled by default

I don't agree at all. I think it was a dark pattern when attribution was not enabled by default and angrily demanded it from everyone who sent me AI-generated code. It's not OK to declare sole authorship of something that you did not in fact author simply because you're volunteering to take responsibility for it.

The dark pattern was adding the name of the product. An acceptable pattern would be “Written with the help of an LLM”.

Re: Stop Advertising in Your Commits

#55

    commit 85cd835e5923cddc1882e74354eac8dba6a925c1 (HEAD -> master, origin/master, origin/HEAD)
    Author:     John
    AuthorDate: Fri May 22 13:25:33 2026 -0000
    
    Merged PR #197
    
    Tired of planning for dinner every day? FoodDrop™ is the premier ready-to-cook meal-by-drone delivery service in the greater Vancouver area and Belize. Get one month of food dropped onto your driveway by FoodDrop™ for only $12.95 when you use this commit's hash as a coupon code! Offer expires Fri May 25 13:25:33 2026 -0000.

Re: Stop Advertising in Your Commits

#57
post #3

Huh? It's not advertising, it's disclosure that the code was not fully (or at all) written by you.

it absolutely is advertising, you can even call it a growth hack if you want to feel good about it co-authorship implies ability to hold author rights, which afaik an algorithm can't do. are folks adding speakeasy/stainless co-authorship lines to their commits? should i add alembic as a co-author after making some changes to the database schema? Co-authored-by: buf generate

If co-authorship implies holding rights, then what gives the "primary author" who just prompted for the code the right to add their own name?

Re: Stop Advertising in Your Commits

#58

Is AI responsible for the committed code? Should AI be blamed when services go down due to the change? The answer is absolutely not - the developer is responsible whether the code was AI assisted or not, and the dev's name should be attached to it just like any change. The OP is right: these are ads, plain and simple, and it's a dark pattern for these companies to have attribution enabled by default

It's not the gun's responsibility when you shoot it but we still need to have discussion and rules about guns. Enough with this tired, worthless semantics argument.

Re: Stop Advertising in Your Commits

#59
I think this is more of a corporate metrics tracking than advertising. Decision makers aren't seeing these ads in commits but they certainly are seeing a report from Anthropic that "75% of your commits last quarter are from Claude code".

Re: Stop Advertising in Your Commits

#60
post #39
post #4

I don't know, it is a useful signal that the person did not think deeply about their code changes, and should be treated as such.

Reminds me of 25 years ago, the default BitchX config on most distributions contained something that would crash the client with a message "I did not read the configuration". If someone remembers what it was actually, that would really bring back memories

I'm too lame to read BitchX.doc

https://www.irchelp.org/clients/unix/bitchx.html

Post reply on HN