| metadata | {"mode":"implementation","not_when":["the task is only Typst layout/prose without Mermaid sources","a concrete Mermaid parser traceback owns the task","the requested visual is better as a raster image or non-Mermaid asset"],"handoff_to":["typst-authoring for Typst inclusion, captions, and final page QA","docs-curator for Quarto pages containing Mermaid fences","diagnose-aria for concrete Mermaid CLI/render failures"],"evidence_required":["relevant docs/typst/shared symbols or equations before writing math labels","tools/mermaid symbol map and style guide for thesis figures","local Mermaid lint before committing .mmd edits"],"applies_to":["**/*.mmd","tools/mermaid/**","docs/figures/**","docs/typst/**/figures/**"],"triggers":["Mermaid",".mmd","thesis diagram","flowchart","sequence diagram"],"must_read":["AGENTS.md","docs/AGENTS.md","tools/mermaid/references/aria_mermaid_style.md","tools/mermaid/references/aria_symbol_map.yaml"],"canonical_sources":["docs/AGENTS.md","tools/mermaid/references/aria_mermaid_style.md","tools/mermaid/references/aria_symbol_map.yaml","tools/mermaid/scripts/aria_mermaid_lint.py","docs/typst/shared"],"context7_refs":["/mermaid-js/mermaid","/websites/typst_app"],"literature_refs":["docs/references.bib","docs/contents/literature/index.qmd"],"tool_refs":["mcp__code_index.search_code_advanced"],"verification":["python tools/mermaid/scripts/aria_mermaid_lint.py <file.mmd>","tools/mermaid/scripts/render_mermaid.sh <file.mmd> <out.svg> when global mmdc is available"]} |