# Architecture diagrams Hand-authored SVG, one per subject. The SVG **is** the artifact: no diagram toolchain, no build step, and it renders anywhere a browser or an IDE preview does. Each file carries its own stylesheet and follows the reader's light or dark mode through `prefers-color-scheme`. **Maintenance rule:** diagrams are as-is documentation like the rest of `docs/`. When a change lands that affects them, the diagram is edited in the same change: a stale diagram is a bug. Where docs and code disagree, the code wins and the doc gets fixed in the same commit. **Editing:** every box is a `` plus its `` lines at explicit coordinates on a plain grid, so a label change is a text edit and a new box is a copied block with new numbers. Keep the shared `