Skip to content

SCHEMA — diagrams

Illustrations of the harness and its loops: typed archify JSON IR beside the self-contained HTML it compiles to. Rendered by tools/render-diagrams.sh, served at /diagrams/, embedded on the dash's /harness/ page.

Conventions

  • One diagram = one <name>.<type>.json source (type ∈ architecture | workflow | sequence | dataflow | lifecycle — the archify type router) and one delivered <name>.<type>.html.
  • The HTML is generated by node .claude/skills/archify/bin/archify.mjs deliver at showcase quality; never hand-edit it — edit the JSON and re-run tools/render-diagrams.sh.
  • Diagrams describe the control plane (docs/HARNESS.md), not project internals; a project's own architecture belongs in that project's repo.

Structure

entry kind purpose rules
README.md file What lives here and how to regenerate it required
*.json pattern archify JSON IR — the source of truth for each diagram required
pipeline-map/ dir The harness pipeline map's definition and EXAMPLE event fixture, read by tools/pipeline_map.py (not an archify diagram)
*.html pattern Delivered self-contained diagram (validated, deterministic) generated

Placement

  • New diagram → <name>.<type>.json here, then tools/render-diagrams.sh; link it from docs/HARNESS.md and add it to DIAGRAMS in tools/console/web/src/pages/HealthPage.tsx if it illustrates the harness.

Forbidden

  • No hand edits to *.html; no diagram of a submodule's internals here.