Apply all cleanup passes and return the normalised Markdown plus simple counters for telemetry/tests.
Raw Markdown contents of the artifact file
Cleanup options (artifact path, shared mermaid dedup set)
CleanArtifactResult with the normalised Markdown
Apply all cleanup passes and return the normalised Markdown plus simple counters for telemetry/tests.