Expand description
Environment diagnostics for lean-ctx installation and integration.
Structs§
- Health
Check - One scored install check, dashboard-ready (plain text, no ANSI).
- Health
Report - The structured payload served at
GET /api/doctor.
Enums§
- Health
Level - 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 --fixand return the structuredSetupReportwithout printing anything — the in-process entry point for the dashboard fix route (#466).