Create a new Diagnostics container.
Detected runtime environment metadata.
All diagnostic checks collected during the run, in execution order.
Detected runtime environment metadata (OS, Node, npm, architecture).
OptionalLastSummary of the last install attempt, if a checkpoint state file exists.
All checks with 'fail' status.
Whether any check has a 'fail' status.
Used by preflight to determine whether the install should proceed.
All checks with 'warn' status.
Append a diagnostic check to the collection.
The diagnostic check result to add.
Aggregated diagnostic report produced by
mj doctoror preflight checks.Collects individual DiagnosticCheck results along with environment metadata and optional last-install state. Provides convenience getters for filtering checks by severity.
Example