News for hackers. Stuff that matters.
Re:Claude Session URL appended to commit messages and PR des... by joshstrange on Sunday August 30, 2026 @09:20AM (#49498411)
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 after 30days. I've started archiving mine to the side as well for potential future use.

Re:Claude Session URL appended to commit messages and PR des... by 0x000xca0xfe on Sunday August 30, 2026 @09:30AM (#49498502)
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.

Re:Claude Session URL appended to commit messages and PR des... by joshstrange on Sunday August 30, 2026 @09:36AM (#49498547)
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 des... by 0x000xca0xfe on Sunday August 30, 2026 @09:56AM (#49498708)
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 the git history only makes sense if you are purely vibecoding with a single model and don't even bother to check and clean it up anymore. Is this truly the default state of software development already? How the times have changed.

Re:Claude Session URL appended to commit messages and PR des... by otterley on Sunday August 30, 2026 @10:09AM (#49498807)
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 des... by otterley on Sunday August 30, 2026 @09:34AM (#49498534)
A traditional IDE isn’t writing code for you.
Re:Claude Session URL appended to commit messages and PR des... by DarmokTanagra on Sunday August 30, 2026 @09:44AM (#49498611)
code generator ide plugins have been around for a long long time
Re:Claude Session URL appended to commit messages and PR des... by otterley on Sunday August 30, 2026 @10:05AM (#49498771)
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 des... by DarmokTanagra on Sunday August 30, 2026 @10:09AM (#49498810)
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 des... by otterley on Sunday August 30, 2026 @10:50AM (#49499164)
That’s not what we’re talking about, though. That’s mechanical transformation, and isn’t the same thing as code that’s generated on demand from scratch, based on plain-language intent.

Surely you know the difference, right? I assume you’ve used LLMs to generate code by now?

Re:Claude Session URL appended to commit messages and PR des... by 0x000xca0xfe on Sunday August 30, 2026 @11:07AM (#49499320)
And what is the good old autocomplete feature? Do you attribute it authorship, too?

Is a series of matrix multiplications on a token vector not a mechanical transformation?

Where is the point where you start to anthropomorphize it?

Re:Claude Session URL appended to commit messages and PR des... by otterley on Sunday August 30, 2026 @11:09AM (#49499344)
That’s a great question, and is why we have these debates, and have courts to adjudicate disputes. I don’t have all the answers, but the gap between these different behaviors seems pretty wide to me.

Autocomplete doesn’t really work until you start typing. The fact that my phone recognizes that I’m starting to type a word and the IDE offers the most statistically likely choice for me to accept doesn’t make those words its own. Same with autocomplete on a phone or in a word processor when entering sentences.

FWIW the Copyright Office, for its part, recognizes that AI generated code is mechanically generated and its opinion is that it’s not copyrightable.

But that’s not really what we’re talking about here. We’re talking about attribution and when it becomes important. To me the metaprogramming/codegen case is different because of the nature of the mechanism, particularly if you wrote the inputs that the IDE transformed on your behalf.

Re:Claude Session URL appended to commit messages and PR des... by DarmokTanagra on Sunday August 30, 2026 @11:19AM (#49499460)
So “create an express app boilerplate, make no mistakes” requires attribution but “npx express-generator myapp” does not?

The bar for “writes code for you” is very low.

Re:Claude Session URL appended to commit messages and PR des... by otterley on Sunday August 30, 2026 @11:20AM (#49499472)
That’s my opinion, yes.

What, specifically, do you have against it?

Re:Claude Session URL appended to commit messages and PR des... by DarmokTanagra on Sunday August 30, 2026 @11:33AM (#49499599)
Nothing at all, I just think its a rather arbitrary distinction, especially when you consider heuristic methods like autocomplete that have been around for ages.
Re:Claude Session URL appended to commit messages and PR des... by otterley on Sunday August 30, 2026 @11:33AM (#49499601)
Line-drawing exercises are frequently difficult. :-)
Re:Claude Session URL appended to commit messages and PR des... by verdverm on Sunday August 30, 2026 @02:45PM (#49501576)
It's still code generation, a compiler also generates code, why do you sound like you are arguing LLMs are the only path to generating code now?
Re:Claude Session URL appended to commit messages and PR des... by alasano on Sunday August 30, 2026 @11:07AM (#49499324)
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.

Re:Claude Session URL appended to commit messages and PR des... by smeej on Sunday August 30, 2026 @02:27PM (#49501387)
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 des... by skeledrew on Sunday August 30, 2026 @09:51AM (#49498668)
> Claude archives old conversations

Archives? Or deletes?

Re:Claude Session URL appended to commit messages and PR des... by joshstrange on Sunday August 30, 2026 @10:00AM (#49498738)
Deletes off your computer. I'm don't know what else they might be doing with it. They keep slimmed down summaries (on your comptuer) I believe but not the full context.
Re:Claude Session URL appended to commit messages and PR des... by 1718627440 on Sunday August 30, 2026 @05:32PM (#49503050)
Then just copy the files into another directory, or maybe include it in a VCS?
Re:Claude Session URL appended to commit messages and PR des... by joshstrange on Sunday August 30, 2026 @05:36PM (#49503093)
Yep, that’s what I’m doing, a cron to copy them off to the side daily
Re:Claude Session URL appended to commit messages and PR des... by opwizardx on Tuesday September 01, 2026 @07:02PM (#49529466)
Same worry got me to build pond for myself: it imports all of my sessions on a cron schedule every 5 mins into one store, and my agents can access it over MCP. Whenever I need a session from a while ago now, I just know it's in pond, because all of my sessions for about the last 1.5 years are collected in there. It also happens really often that when my agents cannot find something, they just call pond search themselves. Faster that way.

Codex, Pi, Hermes, Openclaw and bunch of others a getting pulled in automatically too. Repo: https://github.com/tenequm/pond

Re:Claude Session URL appended to commit messages and PR des... by smartbit on Monday August 31, 2026 @08:48AM (#49509075)
Extend the cleanup period to 2 years in ~/.claude/settings.json with

  "cleanupPeriodDays": 720
and for personal projects move all Claude Code memory to the repo, then add a symlink eg

  PROJ="$HOME/.claude/projects/-$(echo "${PWD#/}" | tr '/' '-')"
  DST="$PWD/.claude/memory"

  [ -d "$PROJ" ] || { echo "No project dir: $PROJ" >&2; exit 1; }; mkdir -p "$DST"
  if [ -d "$PROJ/memory" ] && [ ! -L "$PROJ/memory" ]; then mv "$PROJ/memory"/* "$DST"/; rmdir "$PROJ/memory"; fi
  ln -sfn "$DST" "$PROJ/memory"
Re:Claude Session URL appended to commit messages and PR des... by thehours on Sunday August 30, 2026 @03:03PM (#49501742)
> PS: Claude archives old conversations on your computer after 30days

Does adding this to your Claude settings.json not work anymore?

{ "cleanupPeriodDays": 99999 }

Re:Claude Session URL appended to commit messages and PR des... by joshstrange on Sunday August 30, 2026 @05:37PM (#49503101)
Perhaps, and I’ll set that as well but with the speed things change I could believe a new setting or code change will mess it up in the future.