Live data from Hacker News

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

github.com

41–50 of 257 posts

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

#41
post #26

Earlier quoted context omitted.

Once again, I will point you to the law, https://www.congress.gov/crs-product/LSB10922 You did not write it, the AI did. Either the work cannot be copyright, or the AI owner (Anthropic) owns the code. Not you. In no case can you own code you didn't write. You guys keep arguing that it enjoys copyright protection without realizing this part. There is no "work-for-hire" default in the law for AI even if it did enjoy co…

Yes, that's exactly what they were talking about. It says right in that page that sufficient changes can allow them to copyright the work, and it also says that their decision can be challenged.

And once again, you guys make this claim without reading the law.

>several provisions of the Copyright Act imply that it uses the word "author" only to refer to human beings, including provisions (1) vesting copyright ownership "initially in the author"; (2) limiting copyright duration to 70 years after "the author's death"; (3) providing for inheritance of certain rights by the author's "widow or widower" or "surviving children or grandchildren"; (4) requiring a signature to transfer copyright ownership; (5) extending protection to unpublished works regardless of the author's "nationality or domicile"; and (6) defining a "joint work" based on the authors' "intention" to merge their contributions in a certain way.

The law clearly, definitively, is talking about human authorship and nothing else. You are basing this concept that you can copyright AI written code on a law change that has not happened. It is very very unlikely that a law change can/will ever happen, because copyright law in particular is enshrined in international treaties like the 140 year old Berne Convention. This is a major reason why I was very much opposed to the TPP. Every new international copyright treaty is just more cement, making it completely unchangable. If you want to change this law, it will require cooperation from most of the countries in the world to do it.

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

#42
post #34

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…

It’s a default that changed silently during an automatic update. Also I frequently use an LLM to commit work that I have written. It is just misleading in that case.

What's misleading? Wouldn't the session corroborate that it was only used for the commit?

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

#43

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…

> Attribution is professional.

It's also, like, kind of the point of using git, isn't it? So putting this in the commit message feels very appropriate to me.

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

#44

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 was correctly met with a very negative response. I don't see why an ad by Anthropic is better than an ad from Microsoft.

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

#45

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…

Provenance, provenance, provenance

One of those words that Claude taught me

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

#46

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…

It has strong "Sent from my iPhone" vibes. I use many tools to develop software and if my IDE would silently start adding "This commit was created with IntelliJ IDEA Ultimate" I'd find it intrusive and obnoxious, too.

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.

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

#47
post #26
post #16

Earlier quoted context omitted.

> AI does not enjoy copyright protection. Pretending you created something written by AI is copyfraud. Which court has made a ruling on this? The only decision I'm aware of was that some Gen-AI artwork couldn't be copyrightable if it was made without substantial input, direction, and scrutiny.

Once again, I will point you to the law, https://www.congress.gov/crs-product/LSB10922 You did not write it, the AI did. Either the work cannot be copyright, or the AI owner (Anthropic) owns the code. Not you. In no case can you own code you didn't write. You guys keep arguing that it enjoys copyright protection without realizing this part. There is no "work-for-hire" default in the law for AI even if it did enjoy co…

To be clear, the Copyright Office is providing guidance and a particular (respected) interpretation of the law. Their opinions do influence courts, but they do not constitute law themselves.

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

#48

This is probably a controversial take, but I love this. Back in the early days of claude code I had to write a script (well, claude wrote it) to pull out the session id and append it to every commit. It's a lifesaver when you are trying to debug an old commit to pull up the chat session that actually wrote it.

It’s reasonable. I think its the beginning of a larger trend where Anthropic makes its infeasible to use Claude without Claude getting credit. Not for ethical reasons, but business reasons. Fingerprinting supports this as well. Im speculating. And these are little things that are reasonable by itself. They are ethical. But I dont think Anthropic wants Claude to ultimately be a tool that produces some output that just…

It's like they're working overtime to increase churn

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

#49

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…

Most comments I read were positive, what kind of negative sentiment were you picking up in these comments?

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

#50
For a good chunk of my AI coding work, I make my own commits. I add Assisited-by: to them. I glance at the AI commit messages, and though I usually come up with my own messages sometimes I paraphrase. This would just make it a bit more annoying to review the AI commit messages, though I could hide it.
Post reply on HN