I tried to run Claude concurrently using git worktree, but ran into an error.
Reproduction Steps
- Run an RLCR loop via Claude on branch feat-1.
- Create a new worktree:
git worktree add -f /tmp/xx-feat-2 feat-2
- Attempt to run Claude in the new worktree, which failed with the following error
Branch switching is not allowed during an active RLCR loop. Please switch back to the original branch or cancel the loop with /humanize:cancel-rlcr-loop
Expected Behavior
Since git worktree creates isolated workspaces, multiple instances of Claude should be able to run concurrently.
I tried to run Claude concurrently using git worktree, but ran into an error.
Reproduction Steps
git worktree add -f /tmp/xx-feat-2 feat-2Expected Behavior
Since git worktree creates isolated workspaces, multiple instances of Claude should be able to run concurrently.