Skip to content

test(cli): add Copilot CLI subprocess integration tests for SQUAD_TEAM_ROOT #836

Closed

Description

@diberry

Follow-up from PR #763 (Amanda Silver)

PR #763 fixed subprocess resolution for nap/status/cost, but there are no end-to-end tests verifying Squad works correctly when invoked by Copilot CLI.

Action Items

  1. Document the Copilot CLI bang command workflow — how !squad nap invokes Squad as a subprocess
  2. Add E2E test or manual test script that simulates subprocess invocation with a different cwd
  3. Verify --team-root flag propagation — when Squad dispatches child processes (e.g., watch → dispatch), does SQUAD_TEAM_ROOT propagate correctly?

Why This Matters

  • Squad is increasingly used inside Copilot CLI
  • Bang commands on Windows set cwd to system directories
  • Watch dispatch spawns child processes that also need correct resolution

Related

Activity

  1. added 2 commits that reference this issue on Apr 4, 2026
    3610dbc
    9afef5c
  2. added 3 commits that reference this issue on Apr 5, 2026
    d38a340
    e3a9c75
    9206b89
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions