Skip to content

fix: add .claude/worktrees/ path for CLI compatibility - #1104

Closed
bakathefish wants to merge 1 commit into
obra:mainfrom
bakathefish:fix/1009-claude-worktree-path-compat
Closed

bakathefish wants to merge 1 commit into
obra:mainfrom
bakathefish:fix/1009-claude-worktree-path-compat

Conversation

@bakathefish

Copy link
Copy Markdown

Fixes #1009

Summary

  • Added .claude/worktrees/ as the highest-priority directory option (enables claude -w <name> resume)
  • Updated directory check, user prompt, case statement, safety verification, and quick reference table

Context

The skill creates worktrees in .worktrees/ or ~/.config/superpowers/worktrees/, but Claude Code CLI expects .claude/worktrees/<name>/. Users couldn't resume sessions with claude -w <name> because the paths didn't match.

Test plan

  • Verify .claude/worktrees/ is checked first in directory selection
  • Verify user prompt shows 3 options with CLI-compatible option first
  • Verify safety verification covers .claude/worktrees
  • Verify quick reference table includes new path

The skill created worktrees in .worktrees/ or
~/.config/superpowers/worktrees/, but Claude Code CLI expects
.claude/worktrees/<name>/ for session resume via `claude -w <name>`.

Adds .claude/worktrees/ as the highest-priority directory option,
updates the user prompt, case statement, safety verification, and
quick reference table.
@bakathefish bakathefish closed this by deleting the head repository Apr 9, 2026
@arittr arittr mentioned this pull request May 5, 2026
5 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

using-git-worktrees paths are incompatible with claude --worktree resume

1 participant