Claude Code auto-appends session URLs to commits without opt-in
Developers report Anthropic's tool automatically adds tracking links to git history, cluttering repositories and raising privacy concerns.
What to know
- Claude Code automatically appends session tracking URLs to all commit messages and PR descriptions without user consent or awareness.
- The feature clutters git history and is only suppressible through undocumented configuration settings or unreliable git hooks.
- The reporter proposes making the attribution opt-in with a one-time onboarding prompt, or at minimum making the opt-out setting discoverable.
“Make the session URL attribution opt-in — don't include it unless the user explicitly enables it.”
sparsesignal, Claude Code user · GitHub issue #66504
Anthropic Developer of Claude Codesparsesignal Claude Code user and issue reporter
The record 1 articles and posts · last 30 days
What people are saying 24 voices from 1 site · best of 230 · verbatim
- Sep 2
-
Yeah, same here, but I do not pay that much attention to the PR description since it's all written by the same AI, it just narrates its own code. I prefer to skim it then jump to the code. The problem thesis is already in the ticket, so we could just reference it in the PR without duplication. The current state and how it's being changed are…
- Aug 31
-
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…
-
According to https://gist.github.com/unkn0wncode/f87295d055dd0f0e8082358a... among many, the environment variable CLAUDE_CODE_SUPPRESS_SESSION_ATTRIBUTION was added in CC version 2.1.202 on July 8, 2026. Setting it to value 1 will suppresses session-URL attribution (returns null instead of the session attribution info). I will set it, as suggested…
-
The link to session is a red herring - most people seeing it won't be able to access the transcript.It's a tag with an UID. It's useful to connect together multiple changes, including possibly several commits across multiple unrelated repositories, as well as other artifacts and actions. It records the causal link, and connects it to telemetry…
-
I started session attribution (locally) as soon as I found that there were jsonl files on disk for every session. It makes it really easy to make sure everything that happens has a line that goes back to the user intent.Now every project I have always has 3 repos (+1 root orchestration repo):1. Code 2. Docs (specs, plans, research, etc) 3…
- Aug 30
-
Have you ever seen really good technical writing versus really shitty technical writing? Which do you prefer? Why? The LLM is reading instructions. The quality and design of the instructions you give to it matters deeply. If you don't think so, I don't particularly care, but you can't really approach a LLM like an easy button.It's like a graphing…
-
Even as a lifelong Apple user and longtime iPhone user, that sig irritated the shit out of me and was instantly disabled whenever I set up a new device.Also, and this may come as a shock to you and a number of other HN users: I never considered it a "point of pride." I switched because Android was a privacy dumpster fire comparatively and battery…
-
I agree and disagree. It all comes down to how much a human was involved with the code.If the code is artisan to any degree (authored, edited, reviewed, etc.), it's a bit ridiculous.It does makes sense to me if the human driver was hands-off the code because the conversation becomes the artifact.I'm older, and have very mixed feelings about the…
-
This is a problem with copyright in general. There's no longer any requirement to provide information about copyright status, so there's no way for the public to know whether something is copyrighted (no doubt the uncertainty is intentional as an additional way to undermine the public domain). This is just as true for expired copyrights, or…
-
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…
-
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…
-
we've started using parallel repos in diff ways for this reason depending on repo purpose, scope etc.full private repo including session transcripts, etc. agent attribution etc, with public repo that only shows selected subset without sessions ids, some or all agents, etc.alternatively, we sometimes also do a separate chat only repo or server etc…
-
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…
-
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…
-
There has been more than I project where I literally didn’t even look at the code.I prompted what amounts to verbose “I want X” and then did QA. I’m perfectly happy with an LLM being credited with that code and there being no copyright existing for that code.For some people that is their life’s work and they want to clutch pearls. Their sole…
-
I think it’s foreseeable that if you use the LLM to commit work you’ve written, it might cause problems with attribution.In general I assume that attribution to AI is approximate. People copy-paste things out of chats and those don’t get attributed to the AI. And on the flip side, I’ve had AI write a commit, and then I’ve reverted it and written…
-
Eh, I don't want the tools I use to stamp their names on everything. It's also not uncommon for me to switch between GPT and Claude or different models in the harness if one of them isn't doing well. GPT-5.6 Terra has been doing a significantly better job at writing concise PR bodies and commit messages than Claude's usual multi paragraph word…
-
At this point it's believable to me that Anthropic might not even be aware of what features get added in a given release. It's hard to tell the difference between "they actively are against documenting all of the defaults they keep changing" and "they genuinely don't even pay enough attention to notice when their vibe-coded changes have changed a…
-
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…
-
You don't see how a link to "https://claude.ai/.." in the Git log is an ad for Cluade/Anthropic? It feels exactly like "Sent from an iPhone" to me, and has exactly the same value to people reviewing the Git log later (i.e. none).Keep in mind that if you run across someone else's spam in the Git logs:- You need a Claude account.- You need…
-
That's an opinion from the US copyright office, not a law or a decision made in court. I think it remains to be seen to what extent using generative AI affects the practical application of copyright in larger projects: the office holds that the human-contributed parts still qualify for copyright, and I think there are a variety of possible…
-
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…
-
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…
-
I like claude code, I use it quite a bit for things, and I don't mind the attribution (I do not plan to deceive people of me using AI or not for a change) and I think a link back to the session is valueable after the fact. At least for me, the session contains a lot of discussion, back and forth, changes from me and more. (Also, if the feature is…