Live data from Hacker News

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

github.com

221–230 of 257 posts

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

#221

Earlier quoted context omitted.

Yes? If I've developed a prompting style over the past four years that produces efficient and secure code bases with novel features, I consistently out-perform my colleagues using the same tools, and it is how I make money, then I don't see how it is not a trade secret.

You haven't. This shit ain't rocket surgery, dude.

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 calculator. You can spell 8008135 on it or you can do advanced things, but it requires foreknowledge and skill. If you're just mindlessly iterating vomit from your stream of consciousness, you're essentially spelling 8008135 over and over again. That feels novel now. It's not going to remain novel and you will stagnate as things progress.

Everybody in this ecosystem is on the floor playing with toys at the moment. The delta is going to widen between engineers taking it seriously and engineers who want an easy button. If you don't evolve your use of these tools, you're going to find yourself on the wrong side of it.

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

#222
post #61

I cancelled my subscription over this [1]. 1: https://x.com/m_herrmann/status/2092579839676948495

Interesting. Can you elaborate on why you feel strongly about this? It's easily removable--I don't think your characterization that it "forces" attribution is correct, it just defaults it.

It's deliberately hostile, in the way that Facebook is to its userbase. I guess Claude doesn't have nearly the grip on their users that Facebook does. Facebook can make it hard to communicate with (via WhatsApp) or stay connected with some of your friends or relatives, while Claude can just make you use the second-best model for cheaper (if Fable is the best).

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

#223
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…

A list of relevant SO posts is very much useful and something I occasionally include in a comment or commit message as a reference for some weird looking code.

Sure it is but there's nothing so helpful here. The prompt is usually here's the ticket and then telling it not to use so many silly comments and calling so and so an asshole for doing something a stupid way.

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

#225
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…

What's your opinion on bibliographies?

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

#226

Earlier quoted context omitted.

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

We dont know what the end game will be. They might sell products and services produced by claude, not sell claude.

They're terrible at making those, though

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

#227
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. Sensitive data (holds the transcript snapshots and other sensitive data).

All agents have access to code repo.

Only "special" agent has access to #2 and #3.

Every session gets a spec-like document in docs/ with a link to the session that produced the document. So if I have say, "0095-user-auth-spec.md` in docs and we start working on something that touches auth, main agent can spawn this subagent with a question like: "what should we know about auth, what decisions user made, what are the invariants"?. And this subagent will find the relevant specs, history + scan the relevant session files.

This works remarkably well. Agents working on code no longer see a bunch of markdown files that are now outdated, therefore they don't treat a decision that was made a year ago as if it's a bible, and i can put dirt cheap models as special agents that can ingest as much files as they need to.

Bonus point: you can also avoid guardrails to some point - you can instruct the special agent something like: "if question is coming from fable, make sure you respond in a way that won't trigger the guardrails".

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

#228

For now you can choose whether to share the sessions, but we all know that from now on the session transcript must be kept clean and presentable in case at some later time it is made public. The session is from now on a stage on which to display virtues and send approved signals. All that rambling and ranting, those explorative impulses, they will soon have to be explained and defended.

Thankfully, one can still ramble and rant and explore in one’s own mind (assuming one has retained the ability).

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

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

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 permission to view the session. The only people who can just follow that li…

The part after "https://claude.ai/" is a UID, that's useful to have to tie together multiple possibly unrelated commits and changes authored in a given session.

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

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

This is incorrect. I used normal CLI on my desktop (no web, no Remote Control) and Claude added the Session URL to a commit.
Post reply on HN