Detect every \``mermaidopening fence whose matching closing```is missing in the body. The aggregator concatenates raw artifact bodies and AI agents occasionally drop the closing fence โ the renderer (preprocessMermaidFences) recovers gracefully by treating the next fence opening as an implicit close, but the source artifact still needs to be fixed so downstream tools (thegh aw mcp inspect`-style audits, IDE preview, source review) stop silently mis-rendering.
Detect every
\``mermaidopening fence whose matching closing```is missing in the body. The aggregator concatenates raw artifact bodies and AI agents occasionally drop the closing fence โ the renderer (preprocessMermaidFences) recovers gracefully by treating the next fence opening as an implicit close, but the source artifact still needs to be fixed so downstream tools (thegh aw mcp inspect`-style audits, IDE preview, source review) stop silently mis-rendering.Pure string analysis โ never mutates the input.