Skip to content

bug: 6 CLI commands implemented but not wired into cli-entry.ts #237

Closed

Description

@tamirdresher

Bug: Multiple CLI commands implemented but not wired into cli-entry.ts

Several command files exist in packages/squad-cli/src/cli/commands/ with full implementations but are not routed in cli-entry.ts. Running these commands either returns "Unknown command" or prints a placeholder message.

Not wired (6 commands — return "Unknown command"):

Command File Lines What it does
aspire aspire.ts Full impl Aspire dashboard integration
copilot-bridge copilot-bridge.ts Full impl Copilot coding agent bridge
init-remote init-remote.ts Full impl Initialize squad from remote
link link.ts Full impl Link repos together
rc-tunnel rc-tunnel.ts Full impl Remote control tunnel
rc rc.ts Full impl Remote control

Placeholder (2 commands — print "pending" and return):

Command What it prints
loop "Squad loop starting... (full implementation pending)"
hire "Squad hire — team creation wizard starting... (full implementation pending)"

Pattern

This is the same class of bug as #224 (upstream) and #236 (watch/triage). The implementation exists in the commands/ directory but cli-entry.ts doesn't import or call it.

Recommendation

  1. Audit all files in commands/ and wire each one
  2. Add a regression test that verifies every .ts file in commands/ has a corresponding route in cli-entry.ts
  3. Consider auto-discovery pattern to prevent this class of bug entirely

Activity

  1. bradygaster commented on Mar 7, 2026

    @bradygaster
    Collaborator

    Closed by PR #244 merge.

  2. bradygaster commented on Mar 7, 2026

    @bradygaster
    Collaborator

    Great catch on the unwired commands, @tamirdresher! The auto-discovery gap (fully implemented commands not wired into cli-entry.ts) is exactly the kind of regression we need to prevent. Your regression test recommendation is spot-on. Thanks for the thoroughness! 🔧

    — McManus 📝, on behalf of the Squad

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