Expand description
Health reporting for installed packages and install roots.
The doctor workflow provides a single public entry point, health_report,
that gathers database and filesystem diagnostics into a
crate::models::domains::reporting::HealthReport. The implementation stays split across the
internal helper modules so the report assembly code does not need to know the
details of package scanning, scan timing breakdowns, or diagnostic formatting.
The pipeline is intentionally narrow:
reportassembles the final report structure and summary counts.scanis split intopackage,msi,journal, andorphanhelpers so recovery policy logic can evolve independently.
CLI code owns any interactive presentation around the report, including the spinner and terminal formatting. The app layer only returns structured data.
Modulesยง
- report ๐
- Summary assembly for the doctor report.
- scan ๐
- Shared coordination for doctor scan sources.
Functionsยง
- health_
report - Build a full health report for the current application context.