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.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Stale-session cleanup only removes records it can attribute to this machine

Under the hood
Useful2 Signal3
Sessions

Leftover session records are only deleted when they can be traced to this machine.

What

The sweep that deletes leftover session records now checks that a record belongs to the same machine before removing another process's entry, and leaves anything it cannot attribute in place rather than guessing.

Details
  • On Linux a record seen during the current pass also qualifies for removal.
  • Unattributable dead records are neither counted nor deleted.
  • Reading a record is retried once before giving up.
  • An unknown previous version is recovered from a side file before an unclean exit is reported.
  • The sweep still runs only when registry sweeping is permitted.
Evidence

dead records are left in place (neither counted nor deleted)

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.246 →