Designer & builder
Clear Diagrams
Evidence-backed architecture diagrams on demand
6-stage pipeline4 artifacts per run
Project brief
ShippedProblem
Architecture diagrams go stale faster than teams can redraw them.
Outcome
A manifest-driven plugin that regenerates layered Mermaid architecture docs from live repository evidence, plus preview-safe HTML and split sources so large diagram sets stay readable.
Evidence
- Validation rejects incomplete coverage and leaked local filesystem paths before a run is considered done.
- Validation fails the run if local machine paths leak or preview/HTML/split-source artifacts are missing.
Key decisions
- Allowlist boundary: The scanner only touches repositories declared in the manifest, paths outside that list are out of scope.
- Default posture: Local-only scanning and a single-agent worker profile are the defaults; parallel profiles are opt-in.
- Output contract: Every figure is followed by a plain-language paragraph so dense Mermaid is never left unexplained.
- Safety gate: Validation fails the run if local machine paths leak or preview/HTML/split-source artifacts are missing.
System
The first figure is the generation pipeline from manifest to validated artifacts. The second shows how a single run keeps durable state so work can pause and resume.
Run artifacts
Why generation is a pipeline
Architecture diagrams go stale faster than anyone can hand-update them, and monolithic Mermaid files choke preview panes. I treat generation as a small pipeline instead of one prompt: a manifest scopes which repos and evidence classes to scan, granular tasks run locally (or via an optional assistant-backed provider), evidence merges into a graph, and the render stage writes a full document alongside a preview index, a dependency-free HTML viewer, and one `.mmd` file per diagram. Validation rejects incomplete coverage and leaked local filesystem paths before a run is considered done. Parallel worker profiles exist, but the default stays single-agent and local-only: no commits, PRs, or publishes without an explicit ask. Diagram-first is the pipeline that makes the default fire. Dual channels keeps diagram scaffolding out of the authoring thread.
Annotation notes
The scanner only touches repositories declared in the manifest. Paths outside that list are out of scope.
Local-only scanning and a single-agent worker profile are the defaults; parallel profiles are opt-in.
Every figure is followed by a plain-language paragraph so dense Mermaid is never left unexplained.
Validation fails the run if local machine paths leak or preview/HTML/split-source artifacts are missing.
Skills
Portfolio graph
Maps how the work here connects. Open the Portfolio graph →
- Professional
- Personal
- Skill
- Writing