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

Worktree Lock Check Improvement

Entry
JSON All of v2.1.191
EntryKind: in v2.1.191,
ImprovementsSection of the release

What changed: The worktree entry check now parses the git lock reason string rather than calling a generic lock-owner function, so it correctly identifies lock entries written by Claude Code agents specifically. A locked worktree from a different tool no longer prevents entry.

Details
  • Pattern matched: claude agent <name> (pid <N>[ start <time>])
  • Only if the matching PID is running and confirmed to be a Claude Code process is the Cannot enter worktree error raised.
Evidence

Worktree lock parsing (search for "claude agent .+ \\(pid")

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

Feedback