Agentic Mermaid

What triggers it. With origin: "source", source the parser or the render path rejects: malformed frontmatter or statements, an unrecognized diagram header, a construct the strict render parser cannot handle, an invalid authored style color, or a diagram over a host work limit. With origin: "config", configuration the render path rejects: an invalid theme or family config color, malformed config, or an invalid render option. The warning’s reason carries the renderer’s message. A failure caused by a defect in Agentic Mermaid is reported as INTERNAL_ERROR, not as this code.

How to fix it. Return the structured error and the source rather than a fabricated artifact; fix what reason names, in the source or the configuration as origin says (for example the invalid color), or simplify, split, or drop the construct it points at. A reproducible failure on well-formed source is still a renderer bug worth reporting.

Run am verify diagram.mmd --json, inspect this code, and apply the smallest source or typed mutation that clears it. If it persists after two mechanical attempts, return the warning and ask for human review.

In the cloned repo, am is bun run bin/am.ts.

Machine-readable: this page as Markdown.

Back to all warning codes, or open a blank editor to try a fix.