Read-only public-contract diagnostics that never start resources or invoke stores.
Summary
Functions
Returns the stable Doctor report contract version.
Runs runtime, Foundation, Agent, Stack, package, and store diagnostics.
Functions
@spec contract_version() :: 1
Returns the stable Doctor report contract version.
@spec run(keyword()) :: {:ok, Spectre.Doctor.Report.t()} | {:error, term()}
Runs runtime, Foundation, Agent, Stack, package, and store diagnostics.
When :agent is present, optional :router_opts diagnoses the effective
Router Adapter order and availability under a trusted runtime override.
:router_opts must be a keyword list and cannot be used without :agent.