Live data from Hacker News

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

github.com

81–90 of 257 posts

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

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

I agree. But I think I would also like the OS to put a fingerprint (I.e committed on macOSX in /usr/marc/… while he was watching porn on xxx). This way we can get the full context by default and better understand the PRs.

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

#83
post #53

Earlier quoted context omitted.

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.

I agree. But I think I would also like the OS to put a fingerprint (I.e committed on macOSX in /usr/marc/… while he was watching porn on xxx). This way we can get the full context by default and better understand the PRs.

I’ll start working on the impl, you get the VC funding. I’m sure there is a Balmer peak joke in here.

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

#84

Earlier quoted context omitted.

A traditional IDE isn’t writing code for you.

code generator ide plugins have been around for a long long time

Which ones are you thinking of? Were they actually generating code, or were they loading in templates or mechanically building interface stubs?

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

#85

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…

People don’t want their incompetence displayed. The session is probably a series of “continue” prompts with basic understanding demonstrated in the initial ask.

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

#86

I like attribution in principle, but I'd rather it linked to an open format stored in/with the repository rather than their website.

Simple enough to script someth to do just that.

could ask claude to do that ;P

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

#87
post #10

Just because it's not in the title and most people won't be scrolling all the way down: its only enabled for web and Remote Control sessions, per a maintainer.

Thing is, if you enable remote control for one session, it becomes globally enabled for all (which I personally prefer as I want to access all my sessions from my phone).

This isn’t quite true. There’s a daemon you can launch with `claude rc` that will let you get at all sessions, but if you just `/rc` in one session only that session becomes available.

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

#88

Earlier quoted context omitted.

If IDEA recorded my manual edits as events and attached a transcript to my commits I don't think I'd mind. If they just tagged it to put their name in that's different. Knowing which model created the code has more "weight" to it than the editor IMHO which is why I think this is different. Adding the session link is a nice touch.

In my last project I wrote most stuff by hand but also used various Anthropic models, Gemini something and GLM 5.2. By line count the #1 was probably the IDE autocomplete though mostly for boring field initializations and the likes. The "hardest" part was some reverse engineering by GLM that Claude refused but that resultend in zero lines directly. So, how to attribute this? Allowing tools to insert themselves into t…

I suspect that in the future, lawyers are going to start counseling businesses to implement line-by-line provenance of their source code so they’re prepared for future copyright infringement disputes. Business leaders may also start wanting metrics to understand the impact of AI on development in a more detailed way.

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

#89

Earlier quoted context omitted.

code generator ide plugins have been around for a long long time

Which ones are you thinking of? Were they actually generating code, or were they loading in templates or mechanically building interface stubs?

Like "code generator IDE plugins".

There are hundreds of them for just about every IDE you can think of.

I can't tell if this is a serious question or not, but metaprogramming/generators are decades old concepts that have been common features of basically every IDE since the 90s.

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

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

My spade is a meaningful part of digging a hole when I plant a tree, but I still don't want a "Spear and Jackson" sign on my tree when I'm done.
Post reply on HN