Unable to rename branch in plan mode
- Dominant language
- No language data
- Stars
- 2.1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
### Short summary
Plan mode fails to rename the worktree branch and this blocks plan.md from being created
### Affected version or release
v1.1.14
### Installation context
Windows
### What happened?
In plan mode, the session fails to rename the branch name as it reports the branch name tool is unavailable. This leads to the plan not being created until forced to by yet another prompt.
### Steps to reproduce
1. Start session in repo worktree in plan mode
2. Prompt for a task (I used GPT-5.6 Sol Medium reasoning 400k)
3. Notice how it fails to rename branch and therefore won't make changes in the repo workspace
4. Ask it to create the plan anyway
5. Plan created
### Expected behavior
_No response_
### Additional context
Contributor guide
Research direction
Start by reproducing the failure on Windows v1.1.14 in a repository worktree using plan mode. Trace the plan-mode branch rename and branch-name tool availability flow, then verify that the branch is renamed and plan.md is created without an additional prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- desktop-dev, devtools, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 40/100