MimirWorkflows.Diagnostic (mimir_workflows v0.7.0)

Copy Markdown View Source

One structured finding from a compiler pass.

Diagnostics accumulate across every pass (built-in and host-supplied) — compilation never stops at the first problem, so a caller (or an agent repairing its own declared workflow) sees the complete picture in one round trip.

Summary

Types

severity()

@type severity() :: :error | :warning

t()

@type t() :: %MimirWorkflows.Diagnostic{
  message: String.t(),
  pass: atom(),
  severity: severity(),
  step_id: term() | nil
}