Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.248 ·

claude attach explains cleaned-up background sessions instead of failing generically

Reopening a cleaned-up background session now points you at claude rm and claude respawn.

You'll notice New Features
JSON All of v2.1.248
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
New FeaturesKind: in v2.1.248,
New FeaturesSection of the release
What

Trying to reopen a background session whose transcript has already been deleted now gives a specific message pointing you at claude rm and claude respawn, instead of the old generic wake failure. A separate message, "Can't open — this session is running in another terminal", covers the case where another interactive session holds it.

Details
  • Respawn refuses such rows with errorCode: "dead_epoch_transcript_gone".
  • Both the attach CLI and the fleet view branch on that code, print the message and exit 1.
  • Telemetry records cli_bg_attach and fleet_view_open with reason dead_epoch_transcript_gone.
  • Unconditional in this build.
Evidence

dead_epoch_transcript_gone

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

Read from
Names in the bundleclaude attachclaude rmclaude respawn
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up claude respawn, on Manage multiple agents with agent view. | `claude respawn <id>` | Restart a session, running or stopped, e.g. to pick up an updated Claude Code binary. The restarted session resumes its saved conversation; when none is on disk, it runs its original prompt again as a new conversa… agent-view see the edit
Confirmed since Anthropic's documentation has since written up claude attach, on Manage multiple agents with agent view. | `claude attach <id>` | Attach to a session in this terminal | agent-view see the edit
Confirmed since Anthropic's documentation has since written up claude rm, on Manage multiple agents with agent view. * Delete the session again to remove the directory anyway, by pressing `Ctrl+X` twice on its row in agent view or running the `claude rm <id> --force-remove-worktree <worktree-id>` command that the `claude rm` refusal printed. Claude Code … agent-view see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up claude rm, on Manage multiple agents with agent view.
Anthropic's release notes agreeFixed claude agents and claude rm refusing to delete a session ("has commits that are not pushed anywhere") when its worktree branch was…

See this entry in the whole of v2.1.248 →

Feedback