mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 14:00:37 +00:00
Add versioned Mermaid sources under .serena/diagrams/ for the runtime topology and the collaborative edit flow, plus scripts/render-diagrams to build an HTML index or SVG/PNG via mmdc. An index memory (mem:architecture/core), referenced from critical-info, records the chosen format, the render commands and the invariant that the diagrams change with the topology they show. The renderer has unit tests in scripts/test_render_diagrams.py. AI-assisted-by: deepseek-v4.1-flash