Skip to content

cortex doctor: System Health Check #245

@mikejmorgan-ai

Description

@mikejmorgan-ai

Description

Create a diagnostic command that checks system readiness and suggests fixes.

Requirements

cortex doctor

Checks:

  • Python version and dependencies
  • GPU drivers installed and working
  • CUDA/ROCm availability
  • Ollama installed and running
  • API keys configured
  • Disk space available
  • Memory sufficient for models

Output Example

CORTEX SYSTEM CHECK

[PASS] Python 3.11.4
[PASS] NVIDIA Driver 535.154
[PASS] CUDA 12.3
[WARN] Ollama not running (run: ollama serve)
[PASS] Anthropic API key configured
[PASS] 45GB free disk space
[WARN] 8GB RAM (16GB recommended)

2 warnings found. Run suggested commands to fix.

Acceptance Criteria

  • Checks all system requirements
  • Color-coded pass/warn/fail
  • Provides fix commands for issues
  • Exit code reflects health status
  • Unit tests included

Bounty: $50 upon merge (+ $50 at funding = $100 total)
Priority: Medium

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions