[E31-S02] core.diagram Mermaid server-side rendering #121

Open
opened 2026-08-27 00:03:28 +00:00 by kpcto · 0 comments
Owner

Parent epic: [E31] Native charts and diagrams (#57)

Intent

Render core.diagram blocks from Mermaid source server-side to a single inline SVG as a pure function.

Acceptance criteria

  • Render core.diagram blocks from Mermaid source server-side to a single inline SVG
  • Keep the renderer a pure function with no headless browser, no client bundle and no network
  • Apply theme-token colouring with no literal colour values in output

Explicitly out of scope

  • core.chart renderers are covered by E31-S01
  • The shared accessibility contract is covered by E31-S03

Test plan

  • Render a Mermaid diagram and assert a single inline SVG output

Rollback note

  • Roll back the diagram renderer; no data migration

Owning stream

platform

Risk quadrant

agent-full

> Parent epic: [E31] Native charts and diagrams (#57) ## Intent Render `core.diagram` blocks from Mermaid source server-side to a single inline SVG as a pure function. ## Acceptance criteria - Render `core.diagram` blocks from Mermaid source server-side to a single inline SVG - Keep the renderer a pure function with no headless browser, no client bundle and no network - Apply theme-token colouring with no literal colour values in output ## Explicitly out of scope - `core.chart` renderers are covered by E31-S01 - The shared accessibility contract is covered by E31-S03 ## Test plan - Render a Mermaid diagram and assert a single inline SVG output ## Rollback note - Roll back the diagram renderer; no data migration ### Owning stream platform ### Risk quadrant agent-full
kpcto added this to the Sprint M milestone 2026-08-27 00:03:28 +00:00
kpcto added the
status
proposed
kind
story
labels 2026-08-27 00:03:28 +00:00
Sign in to join this conversation.