Unclear Whether any of this applies outside the BYOC runner is not settled.
What
A worktree is a second working copy of a git repository, kept in its own folder so work can happen there without touching your main checkout. The BYOC runner changes how it handles worktrees in two ways:
- Creating a worktree: if git refuses because the worktree "is a missing but already registered worktree", meaning git still has a record of it but the folder is gone, Claude Code now drops that old record and tries again.
- Removing a worktree: Claude Code now uses a helper that only deletes inside a trusted root folder. It no longer deletes the folder with
rm -rfand then runsgit worktree remove --force.
Why
Runs could get stuck when worktrees lived on network file systems (NFS) or storage mounted into containers (CSI mounts). Clearing the stale record and changing how removal works lets those runs continue.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Whether any of this applies outside the BYOC runner is not settled.