Live data from Hacker News

Claude Session URL appended to commit messages and PR descriptions by default

github.com

161–170 of 257 posts

Re: Claude Session URL appended to commit messages and PR descriptions by default

#161

I may be missing something, but this is exactly what I want as a default. I want the session links there. I see PRs from my coworkers with session links. I still get to control whether other people can see the session, but I don’t lose it. I don’t get the “unprofessional” argument. This is attribution. Attribution is professional. If you don’t want it, you turn it off or rewrite the commit messages. If you are having…

From my point of view; I share Debian's perspective: https://lwn.net/Articles/1091231/ Which is actually why I DON'T like the session amended. Ultimately it is an ad placed into the Git log, and noise at that. Regardless of if it exists or not, the professional responsibility for what is contained in that PR/commit falls to the feet of the developer contributing it. Microsoft previously did this with Copilot, which w…

I'm sorry if this is a naive question, but why can't you just edit the commit message however you like?

Or, for preference, write the whole commit message yourself? It confuses me a great deal to see projects where someone put in a lot of effort to write a useful and detailed prompt but absolutely couldn't be bothered to write a few sentences for the commit.

Re: Claude Session URL appended to commit messages and PR descriptions by default

#162
post #160

I don't really understand what makes this different from companies stamping "Made in China" on products that were made in China. The line between "advertisement" and "attribution" seems to depend upon your impression of the entity taking the attribution.

Do you imagine China may one day claim they own all the rights to all the objects labeled with “Made in China” on them? Could Anthropic possibly do this?

Re: Claude Session URL appended to commit messages and PR descriptions by default

#163

I consider my prompts and prompting style to be trade secrets. I've developed a very efficient and productive workflow for myself over the years without tutorials, without books, etc. Anthropic is making very strange and very opinionated decisions far too often for my liking. It's really making me second guess my continued use of Claude Code.

> I consider my prompts and prompting style to be trade secrets.

No one wrote this with a straight face did they?

Re: Claude Session URL appended to commit messages and PR descriptions by default

#164

I don't see any issue with this at all. I noticed it the other day and thought it was convenient. The same way I let the agent tag the PRs/commits with its name. I want to know what was used, in fact I wish it would identify the model used. I'm not embarrassed by my LLM usage and I want to provide a full audit trail whenever possible to aid myself in the future. PS: Claude archives old conversations on your computer…

I'd like to know what was used but "Co-authored by Claude Code" doesn't do anything except marketing for Anthropic. The sessions are definitely more useful but only if I'm using a single agent from a single provider.

Sure it does. It shapes your impression based on your perception of Anthropic.

"Made in China" on items for sale in China is a positive indicator. "Made in China" on items for sale in the U.S. is a negative one.

The line between "attribution" and "marketing" seems to depend on your impression of the entity involved.

I would very deliberately avoid a mystery novel or a prayer book if it said "Co-authored by Claude" because I don't want to see a world in which those things are generated by entities other than humans.

I don't have that same objection when it comes to computer code.

But the important point is that your impression of either one depends on your prior position on Claude. What do you assume when you see that attribution?

Re: Claude Session URL appended to commit messages and PR descriptions by default

#166
post #160

I don't really understand what makes this different from companies stamping "Made in China" on products that were made in China. The line between "advertisement" and "attribution" seems to depend upon your impression of the entity taking the attribution.

Do you imagine China may one day claim they own all the rights to all the objects labeled with “Made in China” on them? Could Anthropic possibly do this?

I would say the answer is "obviously not," to the degree that it's hard totake your question in good faith.

The China-made goods have been sold. Ownership transfers at sale. It would be ludicrous for some Chinese agency to say, "Well, we made it, so even though you bought it from us, it's actually still ours. Surprise!"

Re: Claude Session URL appended to commit messages and PR descriptions by default

#167
post #139

Earlier quoted context omitted.

Agree, that it is an ad. Also, unless the full session (in a resume-able format, along all session artifact such as intermediate research/docs used to produce the final output) is also included in the commit, the session id is useless. I presume this is Anthropic trying to their "usage" stats before their IPO.

Funny to compare it to “Sent from iPhone” that Apple appended to emails by default way back when. It was an ad, but nobody cared because using iPhone was a point of pride.

I cared. Deleting that constantly was pretty annoying. And why would I have pride in whatever device I’m using?

Re: Claude Session URL appended to commit messages and PR descriptions by default

#168

Earlier quoted context omitted.

From my point of view; I share Debian's perspective: https://lwn.net/Articles/1091231/ Which is actually why I DON'T like the session amended. Ultimately it is an ad placed into the Git log, and noise at that. Regardless of if it exists or not, the professional responsibility for what is contained in that PR/commit falls to the feet of the developer contributing it. Microsoft previously did this with Copilot, which w…

I'm sorry if this is a naive question, but why can't you just edit the commit message however you like? Or, for preference, write the whole commit message yourself? It confuses me a great deal to see projects where someone put in a lot of effort to write a useful and detailed prompt but absolutely couldn't be bothered to write a few sentences for the commit.

You can also just turn off attribution in Claude Code settings if it bothers you: https://code.claude.com/docs/en/settings-reference#attributi...

"To hide all attribution, set commit and pr to empty strings and sessionUrl to false."

Re: Claude Session URL appended to commit messages and PR descriptions by default

#170
post #160

I don't really understand what makes this different from companies stamping "Made in China" on products that were made in China. The line between "advertisement" and "attribution" seems to depend upon your impression of the entity taking the attribution.

Do you imagine China may one day claim they own all the rights to all the objects labeled with “Made in China” on them? Could Anthropic possibly do this?

[deleted]
Post reply on HN