When running GSD from a monorepo subdirectory inside a git worktree, resolveWorktreeRoot() resolved to the worktree root, discarding the subdirectory where .planning/ lives. All commands failed with "No ROADMAP.md found" even though the planning structure existed. Now check if CWD already contains .planning/ before worktree resolution. If it does, the CWD is already the correct project root and worktree resolution is skipped. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
53 KiB
53 KiB