Diagnostics API
AMMM diagnostics follow a stage-gated workflow. Each diagnostic writes artefacts into a canonical stage folder under the run root (for example, 10_pre_diagnostics/ or 50_diagnostics/).
Machine-readable outcomes such as converged and well_calibrated are consumed downstream to condition whether decomposition, optimisation, and interpretation outputs should be trusted.