You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
triage --monitor-teams/--monitor-email: missing preflight check for gh copilot extension #880
squad triage --monitor-teams --monitor-email fails silently when gh copilot CLI extension is not installed. No preflight check, no actionable error message.
This is related to but distinct from #874 (which covers the --message vs -p flag mismatch when gh copilot IS installed).
Environment
@bradygaster/squad-cli: 0.9.4-insider.1
OS: Windows 11
Node: v22.21.0
GitHub CLI: authenticated and working
gh copilot: NOT installed
Repro
Ensure gh copilot extension is NOT installed
Run:
squad triage --monitor-teams --monitor-email
Actual
The monitors fail with:
unknown command "copilot" for "gh"
No indication that gh copilot is a prerequisite. squad doctor does not flag the missing extension. squad triage --help does not mention it.
Expected
squad doctor should validate gh copilot is available when --monitor-teams or --monitor-email capabilities are configured
squad triage should emit a clear error: "Teams/email monitoring requires the GitHub Copilot CLI extension. Install with: gh extension install github/gh-copilot"
The core triage loop should continue working (GitHub issue triage) even if monitors fail graceful degradation, not silent failure
Root Cause
monitor-teams.js and monitor-email.js shell out to gh copilot --message ... without checking if the extension exists first. No requires field in the capability definitions either.
Suggested Fix
Add a preflight check in each monitor capability: gh extension list | grep copilot
Add gh copilot to squad doctor checks (as info/warning, not hard failure)
Document the prerequisite in README under the triage section
Consider making monitors work without gh copilot by using MCP tools directly when available (Teams MCP, WorkIQ MCP) this would be a more robust architecture than shelling out to gh copilot
Activity
github-actions commentedon Apr 8, 2026
🏗️ Squad Triage — Flight (Lead)
Issue: #880 — triage --monitor-teams/--monitor-email: missing preflight check for gh copilot extension
Assigned to: FIDO (Quality Owner)
Reason: Issue relates to testing/quality work
@copilot evaluation: 🔴 Not suitable — issue involves work outside the coding agent's capability profile.
Team roster:
squad:flightsquad:proceduressquad:eecomsquad:fidosquad:paosquad:capcomsquad:controlsquad:surgeonsquad:boostersquad:gncsquad:networksquad:retrosquad:incosquad:guidosquad:telemetrysquad:voxsquad:dskysquad:simssquad:handbooksquad:ralphsquad:copilotfix(watch): add gh copilot preflight check for monitor-teams and moni…
chore: update GITHUB_ISSUES_FIXED.md for github#880, github#896, gith…
fix(watch): add gh copilot preflight check for monitor-teams and moni…
chore: update GITHUB_ISSUES_FIXED.md for github#880, github#896, gith…
fix: Squash the Gremlins — 5 bug fixes (github#920, github#1062, gith…