Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

Sessions record where their name came from

Under the hood
Useful2 Signal3
Sessions

Sessions now record whether you named them or a peer process did.

What

A session's identity record now tracks whether its name was chosen by you or handed down by another process. At startup the name is tagged user when you supplied it and peer when it was inherited from a peer process, and a separate user-chosen flag is set when the name came from you directly or from resolving a collision on a name you typed. Nothing in this build changes what you see; the origin is only recorded.

Details
  • The origin tag is decided by the same check that determines whether the session is interactive, so a session with no interactive parent is treated as having a user-supplied name.
  • The user-chosen flag stays true when your typed name collided with an existing one and was resolved to a variant, so disambiguation does not make the name look machine-generated.
  • No setting, flag or environment variable exposes either value yet, and no behaviour is currently gated on them.
Evidence

sessionNameArgSource: xU() === void 0 ? "user" : "peer",, nameIsUserChosen

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.248 →