Skip to main content

Module doctor

Module doctor 

Source
Expand description

Environment diagnostics for lean-ctx installation and integration.

Structs§

HealthCheck
One scored install check, dashboard-ready (plain text, no ANSI).
HealthReport
The structured payload served at GET /api/doctor.

Enums§

HealthLevel
Three-level health signal mirroring the issue’s badge states (#466).

Functions§

compact_score
health_report
Build the structured installation-health report.
run
Run diagnostic checks and print colored results to stdout.
run_cli
run_compact
run_fix_report
Run doctor --fix and return the structured SetupReport without printing anything — the in-process entry point for the dashboard fix route (#466).