Skip to content

[codex] add VS Code worktree handoff#9

Merged
dango85 merged 1 commit into
mainfrom
codex/vscode-worktree-handoff
May 6, 2026
Merged

[codex] add VS Code worktree handoff#9
dango85 merged 1 commit into
mainfrom
codex/vscode-worktree-handoff

Conversation

@dango85
Copy link
Copy Markdown
Owner

@dango85 dango85 commented May 6, 2026

Summary

Adds Level 1 VS Code handoff guidance for the worktree-first specify flow.

Changes

  • Adds VS Code handoff flags to /speckit.worktrees.specify: --open-vscode, --no-open-vscode, --vscode-new-window, --vscode-reuse-window, and --vscode-print-command.
  • Documents config keys in worktree-config.yml: vscode_open_after_create, vscode_open_mode, and vscode_command.
  • Adds README guidance for opening the created worktree via code -n .
  • Records the change in the Unreleased changelog.

Rationale

This keeps the behavior extension-level and practical: the command can create/reuse the worktree and hand it to VS Code through the code CLI. It avoids claiming direct VS Code API control, and keeps new-window as the safe default while allowing explicit reuse-window opt-in.

Validation

  • git diff --check
  • ruby -e 'require "yaml"; YAML.load_file("worktree-config.yml"); YAML.load_file("extension.yml")'
  • bash tests/test-post-install.sh
  • bash tests/test-create-worktree.sh

Refs #4

@dango85 dango85 marked this pull request as ready for review May 6, 2026 10:48
@dango85 dango85 merged commit 8fbb0ef into main May 6, 2026
2 checks passed
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.

1 participant