Skip to content

squad health readiness check command #1605

Closed

Description

@bradygaster

Scenario

A gh-aw workflow uses Squad for automated PR review. Sometimes squad init partially fails (network timeout on npx, disk full, missing environment variables). The agent job starts but Squad isn't actually ready. The workflow produces confusing errors like "agent charter not found" or "routing table empty" instead of failing fast with a clear diagnosis.

Operators waste time debugging downstream symptoms when the root cause is a broken init.

Proposal

Add squad health CLI command that validates team state:

  • ✅ team.md exists and is parseable
  • ✅ All agents in casting registry have valid charters
  • ✅ Routing table references only known agents
  • ✅ State backend (if configured) is reachable
  • ✅ Required environment variables are set
  • Exit non-zero on any failure, with structured JSON output for CI consumption
  • The shared component calls squad health after init and before dispatching work

Value

Fail-fast with clear diagnostics instead of mysterious downstream errors.

Activity

  1. added
    enhancementNew feature or improvement
    gh-awGitHub Agentic Workflows integration
    on Aug 5, 2026
  2. added
    squadSquad triage inbox — Lead will assign to a member
    on Aug 20, 2026
  3. added
    wave:3-laterWave 3 — backlog, future
    and removed
    wave:2-soonWave 2 — next 2-4 weeks
    on Aug 20, 2026
  4. added 2 commits that reference this issue on Aug 25, 2026
    2b5ff53
    29966f8
  5. added a commit that references this issue on Aug 26, 2026
    08ceca6
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

    gh-awGitHub Agentic Workflows integrationpriority:p2Next sprintsquadSquad triage inbox — Lead will assign to a membertriagedIssue has been triagedtype:featureNew capabilitywave:3-laterWave 3 — backlog, future

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions