Skip to content

[FEATURE] Merge cortex doctor into cortex status #367

@sujay-d07

Description

@sujay-d07

Problem

cortex doctor and cortex status have overlapping functionality - both display system health information. Having two similar commands creates confusion for users and adds maintenance overhead. Consolidating them improves UX and reduces code duplication.

Proposed solution

Merge cortex doctor into cortex status as the single system health command. The unified command should:

  • Display API provider configuration and Ollama status
  • Check Firejail availability
  • Run comprehensive health checks (Python version, GPU drivers, CUDA/ROCm, dependencies, disk space, memory)
  • Show warnings, failures, and actionable fix suggestions
  • Return appropriate exit codes for scripting
# Replace both commands with one
cortex status

# Output includes:
# - API provider status
# - Security features (Firejail)
# - System diagnostics
# - Health check results with fix suggestions

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions