[Bug] Claude modifies main repository instead of worktree during --resume with -w flag
Status Closed — not planned
Reported on v2.1.191
Maintainer reply None cached
Activity 2 comments · opened Jun 25, 2026 · closed Aug 9, 2026
Bug Description
I started from a conversation that I made a /branch to which I opened another terminal and made a --resume on this new branch as well as a -w. So it created me a worktree, but clauded to work on the main repo in a gentle polluting my main three.
Worktree should be contained and security should avoid this bug
Environment Info
- Platform: darwin
- Terminal: WarpTerminal
- Version: 2.1.191
- Feedback ID: a9f0eb2e-f2af-40a2-817e-b6707fa550ee
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗