Add ability to spawn worktree when creating new branch
Add the ability for spec-kit to create a new dir with a git worktree when it creates a new branch. This will allow you to work on multiple tickets at the same time on the same machine.
It's essential to be able to work on multiple features at the same time.
And also need an approach to manage git repos properly, currently seems the spec kit only knows creating a new branch ,but seems it doesn't merge the branch to main/master branch once it finishes the spec development.
Agreed I'm desiring a similar workflow were I can work on specs from the main branch and use work trees for the actual implementatino... I want to generate multiple specs, I often want to work on specs while the ai is coding.. The current workflow creates a branch so numbering gets wonky fast if you don't get them merged into main. My current workaround is:
- From main start a spec.. when I'm happy with /tasks output...
- Merge back into main, rebase back into the branch
- Go back to main and then setup a work-tree Very cumbersome..
This feels like the #1 item
For the record, Cursor 2.0 is using git worktrees for the new "Parallel agents" feature to run multiple agents locally in parallel https://cursor.com/en-US/docs/configuration/worktrees
Would be great if spec-kit support this
This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.
This issue has been automatically closed due to inactivity (180 days total). If you believe this issue is still relevant, please reopen it or create a new issue.