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.333 ·

Worktree tools refuse for agents in a comment or Slack thread, or under a run limit

EnterWorktree, ExitWorktree and related tools now refuse for agents working from a comment or Slack thread, and ExitWorktree refuses for agents under a run limit

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

Unclear It is not clear what kind of limit on the agent triggers this refusal.

What

A worktree is a separate working copy of a git repository that Claude Code can switch into. EnterWorktree and ExitWorktree are the tools Claude uses to enter and leave one. Some agents are now refused:

  • Agents working from a comment or a Slack thread: EnterWorktree, ExitWorktree and related session tools now refuse. The refusal says the call would move the person's whole session. This is controlled by the flag bot_protected_tengu_squishy_pebble.
  • Agents under a run limit: ExitWorktree now stops before doing anything when a check on the calling agent returns a reason to refuse.
  • File errors: a separate check, which reads a flag or a setting, adds a note to file errors when the session's working directory (the folder it is working in) has moved.

Why

In practice, an agent acting from a comment or Slack thread, or one running under a limit, can no longer switch the session into or out of a worktree. That avoids moving a person's whole session out from under them. If a file error mentions that the working directory moved, that note comes from this change.

Read from
Names in the bundleExitWorktree
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what kind of limit on the agent triggers this refusal.

See this entry in the whole of v2.1.333 →

Feedback