ai-devkit icon indicating copy to clipboard operation
ai-devkit copied to clipboard

e2e: cover status and capacity diagnostics

Open codeaholicguy opened this issue 2 months ago • 0 comments

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 --json output 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.

codeaholicguy avatar Sep 09 '26 15:09 codeaholicguy