Skip to content

feat: add health check diagnostic command#81

Merged
csharpfritz merged 2 commits intomainfrom
squad/70-health-check
Feb 26, 2026
Merged

feat: add health check diagnostic command#81
csharpfritz merged 2 commits intomainfrom
squad/70-health-check

Conversation

@csharpfritz
Copy link
Owner

Closes #70

Working as Linus (Backend Dev)

What

Adds a HealthCheckService that validates team configuration and a squadui.healthCheck command (available via Command Palette as "Squad: Health Check") that displays results in a VS Code output channel.

Checks performed

Check Pass Warn Fail
team.md Exists and parses with members Parses but 0 members Missing or unparseable
Agent Charters All agent dirs have charter.md No agents/ dir or empty Agent dirs missing charter.md
Orchestration Logs All log files parse No log files found Log files fail to parse
GitHub Config GITHUB_TOKEN set Token not configured

Files changed

  • src/services/HealthCheckService.ts — new service with runAll(), per-check methods, and formatResults()
  • src/services/index.ts — export the service
  • src/extension.ts — register squadui.healthCheck command (minimal wiring)
  • package.json — command contribution
  • src/test/suite/healthCheckService.test.ts — comprehensive tests

Testing

All 1112 tests pass (including new HealthCheckService tests). Build clean, zero compilation errors.

csharpfritz and others added 2 commits February 23, 2026 15:34
Adds HealthCheckService that validates team configuration:
- team.md existence and parse correctness
- Agent charter.md presence for all agents
- Orchestration log parse health
- GitHub token configuration

Registers squadui.healthCheck command that runs all checks
and displays results in a VS Code output channel.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@csharpfritz csharpfritz merged commit 24094a8 into main Feb 26, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Health Check Command validate team structure and config

1 participant