Live data from Hacker News

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

github.com

141–150 of 256 posts

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

#141

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…

>This is attribution.

I think a lot of people interpret it as trying to foist additional burden on reviewers. As in "here's my PR, I would like to take credit for this idea, it's now on you to review. If you find a problem with it, I expect you to call out exactly what my incorrect assumptions were, which you are able to do because they're all buried somewhere in this Claude session. Let me know what they are and I'll paste them into a new session and submit again."

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

#142
post #114

I can't believe how many people are in favor of it. Like it's so positive in the comments I'd think it's astroturfing. The code is the result of my work however it got done, and if I don't document or explain it well enough then that's a separate issue. Did you want to see my slack messages to my mentor too? Or how about all the stack overflows I read? Maybe I should voice record all the times I swore about Gary the…

100% agree with this. Want my browser search history too so you can see my thought process? This is terrible. I have no desire to read your Claude conversation. I don’t even want to read mine if I do use Claude. The code is the artifact. There’s no value in trying to make the noisy, verbose conversation one. It’ll likely be dead in future years anyway.

I disagree with this. The code alone is not the artifact. How you came to the decision to write the code in a certain way is certainly an important artifact of the development process. Otherwise how would your coworkers know whether or not a particular piece of logic is still relevant?

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

#143
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.

So many people cared enough to complain, even in the comments here!

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

#144
post #53

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 not sure i see it as an ad. "Sent from my iPhone" is an ad because the iPhone is not a meaningful part of sending the email. Claude is a meaningful part of the commit though if you're using it, so to me it's more like clarity or transparency than an advertisement.

> "Sent from my iPhone" is an ad because the iPhone is not a meaningful part of sending the email.

It explains the brevity and any typos. That's how I see it used.

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

#145
post #139

Earlier quoted context omitted.

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.

So many people cared enough to complain, even in the comments here!

[deleted]

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

#147

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…

>This is attribution. I think a lot of people interpret it as trying to foist additional burden on reviewers. As in "here's my PR, I would like to take credit for this idea, it's now on you to review. If you find a problem with it, I expect you to call out exactly what my incorrect assumptions were, which you are able to do because they're all buried somewhere in this Claude session . Let me know what they are and I'…

Seems like an excellent way to optimize yourself out of a job, both figuratively and literally.

So no, I'm not going to assume that's what someone meant. I can at least pretend I consider people to be competent.

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

#148
post #18
post #14

Earlier quoted context omitted.

If anthropic believes in giving credit, why not give credit to all the content they stole?

I don't disagree with you on this. However, it is clear to me that a lot of copyfraud is happening in this industry right now. Just look at all the github repos with a) a licnese.txt and b) a claude.md in the repo.

Does Microsoft windows give credits to every developer who ever worked on it?

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

#149

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…

Realistically, what do you actually get from viewing people's sessions? I honestly don't really understand why people care. The specific model used can't be important because theres a new trending one every couple weeks nowadays. The conversation could be wildly out there and have 10+ different iterations of the same thing in it that led to the final product, etc. It's not like before AI we were asking people to expl…

There’s always been a school of thought that is in this direction. In the pre AI world people discussed whether to squash commits or to not and I was on the squash side because I think that the development artifact should be optimized for reading and just as one does not read a novel in all of its pre-edited forms to read it, one should not do so for code. The cost to grok using that method is too high.

However with LLMs you can have them analyze prior transcripts to identify bug sources and so on. I could see it being used. But all theorycrafting. And perhaps motivated reasoning. I’ve always committed early and often and used bisect to find bugs. That places me right away in the squash commits camp because of the method I use to write code.

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

#150

Earlier quoted context omitted.

If I put a link to the Jira ticket the commit fixes, is that an ad for Atlassian?

Good counterpoint. We link to GitHub from JIRA, and the reverse. Linking to the Claude session that generated the code seems reasonable...it's a related artifact. One thing I'm not sure about: what is the utility of linking to the session? What are folks expected to do with that data?

for one thing, understanding how the final code ended up that way. it's hard to tell with code alone wherever something is designed or cargo culted.
Post reply on HN