Skip to content

e2e: cover status and capacity diagnostics #228

Description

@codeaholicguy

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.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions