Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Resuming an agent on a remote host can now be refused if its worktree is lost

When an agent ran on a remote tools host, resuming it now checks its worktree belongs to it and fails with an error if not

You'll notice Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SubagentsArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release
What

A subagent is a separate helper that Claude Code starts to work on part of a task. Some subagents work in a worktree, a separate working copy of your repository. When the tools the agent uses run on a remote machine, resuming that agent now works differently:

  • Claude Code checks that the worktree's path matches the agent. If it does not, resuming stops with: "Cannot resume this agent: this worker no longer knows which worktree on the tools host it ran in. Start a new agent instead."
  • If the agent inherited its worktree from the agent that started it, Claude Code follows that chain back to check it.
  • If the agent's transcript, the record of its conversation, was cut short, Claude Code fetches it again once.

Before, Claude Code only checked whether the worktree path existed, and otherwise asked again or used a fallback folder.

Why

Resuming an agent in a remote session can now be refused where it used to go ahead. If you see this message, start a new agent.

See this entry in the whole of v2.1.334 →

Feedback