Live data from Hacker News

Stop Advertising in Your Commits

akselmo.dev

21–30 of 178 posts

Re: Stop Advertising in Your Commits

#23
I mean, sure, except that many large open-source projects (e.g. Linux [1], Nixpkgs [2], etc) require this as part of their AI policy. Omit attribution in your own projects if you want, but the maintainers of these projects are owed at least that level of transparency for contributions.

[1] https://docs.kernel.org/process/coding-assistants.html

[2] https://github.com/NixOS/nixpkgs/commit/d18b8f3238abdb2cd878...

Re: Stop Advertising in Your Commits

#24

[flagged]

The post seems to be down so I am not quite sure what it says, but Co-Authored-By trailer is what Claude does. I'm not quite clear what you're suggested that's different from what Claude does - just default to off instead of default on?

> Co-Authored-By: Claude Opus 4.7

Re: Stop Advertising in Your Commits

#25
I don't agree. Who/what wrote the commit is definitely part of the commit.

If Git commits formally had a co-authored header, it would go there. As it stands, there is one author and one committer. If something was pair programmed, whether with a human or machine, you need a commit message trailer if you want to show that. Commit message trailers are a formal mechanism in git, supported by tooling; there are git commands to add and remove them.

Totally agree about "sent from my fartphone", of course.

Disclosing things in the pull request is not enough; pull requests get lost in the sands of time. Years down the road, all that some downstream consumer has is the git history, not any CI-related metadata.

Re: Stop Advertising in Your Commits

#26

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.

>Who really cares, though?

some people certainly do, to the extent of not caring at all about the outcome, only being concerned with the fact that the process was 'tainted' by ai.

the fervor for/against ai can approach the level of religion for some people.

Re: Stop Advertising in Your Commits

#29

Earlier quoted context omitted.

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

> Who really cares, though? some people certainly do, to the extent of not caring at all about the outcome, only being concerned with the fact that the process was 'tainted' by ai. the fervor for/against ai can approach the level of religion for some people.

Oh, I know -- people need to get over it, IMO. Judge the outcome, not the process.

Re: Stop Advertising in Your Commits

#30
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 
Post reply on HN