ai-devkit
ai-devkit copied to clipboard
e2e: cover status and capacity diagnostics
Current coverage
Neither status nor capacity [provider] is invoked by the E2E suite.
What is missing
- Status with missing/present project config, skills, MCP, tmux, and provider executables
- Human and
--jsonoutput contracts - Partial adapter/readiness failures and actionable diagnostics
- Capacity default/provider selection, supported provider output, malformed output, unavailable executable, and unsupported provider
- Exit status behavior for degraded versus invalid states
Risk ranking
Medium, rank 9: these commands are the operator feedback surface and must distinguish unavailable components from empty results.
Recommended E2E tests
- [ ] Create isolated combinations of missing/present config, tmux, skills, MCP, and fake provider executables; assert human and JSON status contracts.
- [ ] Fake supported capacity output, malformed output, unavailable executable, and unsupported provider; assert JSON and exit semantics.
Acceptance criteria
- [ ] The checklist tests are merged under
e2e/. - [ ] Fixtures control PATH/HOME deterministically.
- [ ] JSON schemas and actionable human diagnostics are asserted.
Related audit findings
B1 and B6: structured health and invalid-state diagnostics. A8: platform-dependent process tools. D6: adapter capability registry.