Live data from Hacker News

Stop Advertising in Your Commits

akselmo.dev

121–130 of 178 posts

Re: Stop Advertising in Your Commits

#121

In the case of Claude or others, it is not just an advertisement, it's the weird shape the industry is spinning LLM-assisted-coding as a "co-author" relationship where it should be thought of more like a user-using-a-tool relationship. When you make a design with Photoshop or InDesign, it's not "co-designed by Photoshop", it's just a tool and you used the filters it provides. It is slightly weird that people accepted…

Additional context on the kernel guidelines:

- https://github.com/torvalds/linux/blob/master/Documentation/...

- https://lwn.net/Articles/1049830/

Re: Stop Advertising in Your Commits

#122
post #95

Earlier quoted context omitted.

Notably though, Linux's requirement (Assisted-by) is different from what Claude Code actually does (Co-Authored-By). I'm not sure, but it might be intentional (to make the signaling explicit).

My projects also require Assisted-by attribution as that's what the Fedora AI policy requires and that was the first major org with a coherent AI policy that I found when choosing it. Not sure which came first, that or Claude hijacking Co-Authored-By. Personally, I prefer Assisted-By. Co-Authored-By implies a level of respect and self-direction I don't think LLM's deserve.

Claude hijacking Co-authored-by was a big influence on Fedora saying "AI thingies can't claim authorship or co-authorship".

Re: Stop Advertising in Your Commits

#123

> Disclose your "AI" tools in a merge request if needed but leave them out of the damn commits, those are for technical information and not for advertising. I think this is very poor advice. Knowing who/what changed the code is often crucial for understanding why it changed.

I don’t agree/disagree, but why does knowing Claude vs. Codex did it become crucial? What can you do with that information?

It could be more helpful for comparing model performance than just vibes or benchmarks. For example, you could run analyses to compare average line count per change or revert rate by model. Perhaps there will be a paper out in the near future that scrapes AI usage in public repos for a broader dataset.

Re: Stop Advertising in Your Commits

#124

Earlier quoted context omitted.

Why put anything in commit messages at all? You can just figure it out by reading the diff.

We don't need comments in the code either. Well written code is easily grokd Ugh

I feel that pain to my soul - I was once threatened with disciplinary action for putting comments in my code

Re: Stop Advertising in Your Commits

#125
post #99

Earlier quoted context omitted.

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

That's exactly what you're supposed to do - if a tool generated the code in a commit, you should be using a commit trailer for that. Whether that's uniffi, an rpc preprocessor, dependabot or renovate, or some AI tool.

There's a Generated-by trailer for that sort of thing.

Re: Stop Advertising in Your Commits

#126
post #76

I am confused. Do AI agents reword your commits and force push or something? Last time I checked nobody was adding anything to my commits. Did I miss something?

Claude adds itself as coauthor in commits it makes.

A month ago Copilot was inserting itself as coauthor in commits made from VS Code if any inline suggestion had been used.

Re: Stop Advertising in Your Commits

#128
It is extremely annoying how you can hand craft a change then use the auto git commit message generation and it adds an attribution to the GPT that wrote a hit commit message, I don’t see the attribution to all the other tools, this practice has to stop.

Re: Stop Advertising in Your Commits

#129

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

When a paper is submitted to a reputable publication references are demanded. You have to let people know where your ideas are supported, or even come from. To do anything else is plagiarism. AI isn't a co-contributer - but it should be referenced - just like a link to a Stack Overflow comment when that's the source of code. Having AI referenced in the commit is (IMO) best practice - but only co-contributer attribute…

Disagree, I never attributed Laravel Artisan or all the other code generators.

Right now you could run Laravel new app (replace with any new framework) and Claude/Cursor/Codex git commit will claim to of created the code.

Post reply on HN