Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.273 ·

Session auto-naming rework: 'setAsideRegisteredName' and adoption counters

Session auto-naming logic reworked to avoid races when multiple resume/restore operations happen at once

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaSessionswhat it touches
KindInternal Changesin v2.1.273,
Under the hood

Session auto-naming logic reworked to avoid races when multiple resume/restore operations happen at once

What

When Claude Code automatically names a session and the session's id changes mid-conversation, the logic that decides whether to adopt the new derived name has been reworked:

  • It now tracks an adoptions counter
  • It can set aside a previously-registered name and restore it later (setAsideRegisteredName / restoreSetAsideName)
  • It passes a new givenAtLaunch flag when registering a session name

This is meant to prevent multiple concurrent resume/restore operations from overwriting each other's session name.

Why

Without this, running multiple resume or restore operations on overlapping sessions could cause the wrong auto-generated name to stick, or a session's intended name to get lost.

See this entry in the whole of v2.1.273 →