Repair the renderer-side -->|label] typo (closing ] where | was intended) at source. The Mermaid v11 flowchart parser rejects it; the renderer already auto-repairs at render time (see repairEdgeLabelClosingBracket in scripts/render-lib/markdown/mermaid-preprocess.ts). Applying the fix at source means the artifact passes offline tooling too.
Repair the renderer-side
-->|label]typo (closing]where|was intended) at source. The Mermaid v11 flowchart parser rejects it; the renderer already auto-repairs at render time (seerepairEdgeLabelClosingBracketinscripts/render-lib/markdown/mermaid-preprocess.ts). Applying the fix at source means the artifact passes offline tooling too.