Run it locally
Requirements
Section titled “Requirements”- Node.js 24
- pnpm 10.25 through Corepack
- Git LFS when checking committed PNG baselines
pnpm installpnpm verifyverify is the definition of green main: formatting, structural lint,
TypeScript, this documentation build, all tests and snapshots, then all 661
fixtures through the metric harness.
Fast inner loops
Section titled “Fast inner loops”pnpm test:corepnpm harness run 'architecture/easy.json'pnpm harness run 'class/*'pnpm docs:devThe docs dev server prints its local URL and hot-reloads MDX, styles, and Astro components.
Useful outputs
Section titled “Useful outputs”| Path | Purpose |
|---|---|
out/index.html |
Contact sheet for the latest harness run |
out/<family>/<fixture>.png |
Render to inspect at normal scale |
out/<family>/<fixture>.metrics.json |
Named geometry violations |
out/diff/ |
Pixel differences for failed visual snapshots |
baselines/ |
Reviewed, committed SVG and PNG expectations |