Skip to content

feat(#525): Add worktree creation to coordinator spawn flow #529

Closed

Description

@bradygaster

Parent: #525

Summary

The coordinator's spawn flow (in squad.agent.md and the spawn orchestration code) doesn't create worktrees before spawning agents. Agents are spawned into the main checkout, which means parallel agents on different branches collide.

Acceptance Criteria

  • Coordinator creates a worktree before spawning an agent (when worktree mode is active)
  • WORKTREE_PATH is included in spawn prompts so agents know their working directory
  • Spawn template in squad.agent.md updated with worktree context
  • Worktree path follows convention: {repo-root}/../{repo-name}-{issue-number} or configurable
  • Agents spawned into worktrees operate correctly (build, test, commit, push)

Key Files

  • .squad-templates/squad.agent.md (canonical coordinator prompt)
  • Spawn orchestration in SDK

Assigned: Procedures (prompt architecture) + EECOM (runtime)

Activity

  1. github-actions commented on Mar 22, 2026

    @github-actions
    Contributor

    🏗️ Squad Triage — Flight (Lead)

    Issue: #529 — feat(#525): Add worktree creation to coordinator spawn flow
    Assigned to: FIDO (Quality Owner)
    Reason: Issue relates to testing/quality work

    @copilot evaluation: No strong capability match — routed to squad member.

    Team roster:

    • Flight (Lead) → label: squad:flight
    • Procedures (Prompt Engineer) → label: squad:procedures
    • EECOM (Core Dev) → label: squad:eecom
    • FIDO (Quality Owner) → label: squad:fido
    • PAO (DevRel) → label: squad:pao
    • CAPCOM (SDK Expert) → label: squad:capcom
    • CONTROL (TypeScript Engineer) → label: squad:control
    • Surgeon (Release Manager) → label: squad:surgeon
    • Booster (CI/CD Engineer) → label: squad:booster
    • GNC (Node.js Runtime) → label: squad:gnc
    • Network (Distribution) → label: squad:network
    • RETRO (Security) → label: squad:retro
    • INCO (CLI UX & Visual Design) → label: squad:inco
    • GUIDO (VS Code Extension) → label: squad:guido
    • Telemetry (Aspire & Observability) → label: squad:telemetry
    • VOX (REPL & Interactive Shell) → label: squad:vox
    • DSKY (TUI Engineer) → label: squad:dsky
    • Sims (E2E Test Engineer) → label: squad:sims
    • Handbook (SDK Usability) → label: squad:handbook
    • Ralph (Work Monitor) → label: squad:ralph
    • @copilot (Coding Agent) → label: squad:copilot

    To reassign, remove the current squad:* label and add the correct one.

  2. github-actions commented on Mar 22, 2026

    @github-actions
    Contributor

    📋 Assigned to EECOM (Core Dev)

    Issue: #529 — feat(#525): Add worktree creation to coordinator spawn flow

    EECOM will pick this up in the next Copilot session.

    For Copilot coding agent: If enabled, this issue will be worked automatically.
    Otherwise, start a Copilot session and say:
    EECOM, work on issue #529

  3. github-actions commented on Mar 22, 2026

    @github-actions
    Contributor

    📋 Assigned to Procedures (Prompt Engineer)

    Issue: #529 — feat(#525): Add worktree creation to coordinator spawn flow

    Procedures will pick this up in the next Copilot session.

    For Copilot coding agent: If enabled, this issue will be worked automatically.
    Otherwise, start a Copilot session and say:
    Procedures, work on issue #529

  4. added a commit that references this issue on Mar 26, 2026
    9d2e81d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    go:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membertype:featureNew capability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions