Crosswake.Doctor (crosswake v0.2.3)

View Source

Host-truth-first diagnostics over install state, policy compilation, manifest truth, shell posture, bounded bridge posture, and support verification.

Summary

Functions

bridge_hook_wiring_findings(cwd, opts \\ [])

@spec bridge_hook_wiring_findings(
  String.t(),
  keyword()
) :: [Crosswake.Doctor.Check.t()]

commerce_summary(manifest, opts \\ [])

@spec commerce_summary(
  Crosswake.Manifest.Types.Root.t() | nil,
  keyword()
) :: map()

Builds the typed commerce summary surface published alongside the findings stream.

Returns a map with :corridors, :prerequisites, :snapshot_freshness, :proof_posture, and :rebuild_requirements keys derived from the compiled manifest and canonical support matrix entries. Use the :entitlement_snapshot_freshness option (one of :fresh, :stale, :unknown, :not_applicable) to communicate the host-side freshness posture; the default is :not_applicable when no commerce routes are declared and :unknown otherwise.

native_controls_ui_findings(cwd)

@spec native_controls_ui_findings(String.t()) :: [Crosswake.Doctor.Check.t()]

run(opts \\ [])

@spec run(keyword()) :: Crosswake.Doctor.Report.t()