Skip to content

feat: worktree-based parallel development for /qq:execute and /qq:commit-push#2

Closed
Copilot wants to merge 4 commits intomainfrom
copilot/feat-worktree-parallel-development
Closed

feat: worktree-based parallel development for /qq:execute and /qq:commit-push#2
Copilot wants to merge 4 commits intomainfrom
copilot/feat-worktree-parallel-development

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 29, 2026

Multiple Claude Code sessions can't share one working directory. This adds git worktree support so parallel sessions each get their own filesystem while sharing the .git object database.

skills/execute/SKILL.md

  • New --worktree flag creates an isolated worktree + sub-branch before implementation begins
  • Section 1 (new): branch detection (blocks on main/master unless --auto), worktree creation with $ORIGINAL_DIR capture, Library/ regeneration warning
  • Section 7 (new): merge-back to source branch, cleanup prompt (worktree remove + branch delete)
  • Existing sections renumbered 2–6; no behavioral changes to them

skills/commit-push/SKILL.md

  • Step 2 (new): detects linked worktree via git worktree list, identifies source branch from naming convention <source>-wt-<name>, resolves main worktree path
  • Step 6 (new): offers merge-back + worktree cleanup after push

Not changed

No script changes needed — unity-compile-smart.sh already falls back to batch mode when no Editor is detected, which is the expected path in worktrees.

Example flow

# On branch dev/vehicle-system, three parallel sessions:
/qq:execute damage-system.md --worktree
# → worktree ../project-wt-damage-system on branch dev/vehicle-system-wt-damage-system
# → implements, compiles (batch), tests (batch)
# → merges back to dev/vehicle-system, deletes worktree

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Copilot AI changed the title [WIP] Add worktree-based parallel development support for /qq:execute feat: worktree-based parallel development for /qq:execute and /qq:commit-push Mar 29, 2026
Copilot AI requested a review from tykisgod March 29, 2026 14:19
@tykisgod tykisgod closed this Apr 1, 2026
@tykisgod tykisgod deleted the copilot/feat-worktree-parallel-development branch April 1, 2026 06:46
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.

feat: worktree-based parallel development for /qq:execute

2 participants