Skip to content

docs: give the README a diagram, including the part that is not adopted - #10

Merged
hseshadr merged 1 commit into
mainfrom
docs/readme-diagram
Aug 1, 2026
Merged

docs: give the README a diagram, including the part that is not adopted#10
hseshadr merged 1 commit into
mainfrom
docs/readme-diagram

Conversation

@hseshadr

@hseshadr hseshadr commented Aug 1, 2026

Copy link
Copy Markdown
Owner

What

This repo had no diagram at all. Adds one mermaid block to the README, right after the "why it works" paragraph.

Why

The README explains the shared-workflow model in prose, then reports adoption in a table three paragraphs later. The shape of the thing — one copy here, called from there — never lands visually.

The diagram draws both branches, because only one of them is flattering:

  • 2 of 12 bricks have callers — ts-publish.yml (×3) and setup-python-uv (×3), 6 call-sites across assay, edge-proc, edgeproc-core, privacy-core, all on the publish path.
  • The other 10 have zero. almamesh, aml-filter and edge-reco still hand-roll their CI.

That dotted branch is precisely what the consumer-drift guard exists to measure, so the diagram links to it. A diagram that showed only the adopted path would be the same "measuring shape, not property" mistake the guard was built to catch.

Counts verified against the tree, not copied from the prose

  • 7 workflow files carry on: workflow_call: cloudflare-pages-deploy, frontend-gate, python-gate, python-publish, secret-scan, security-audit, ts-publish. ci.yml and consumer-drift.yml are this repo's own and are not callable.
  • 5 composites in .github/actions/.
  • 12 total — matches the README's existing "the other 4 composites and 6 reusable workflows".

Why mermaid and not d2

A .d2 source plus a committed .svg is a build artifact that drifts. edgeproc-core had 5 .d2 files and 1 .svg, last regenerated 7 months before its source was last edited (see hseshadr/edgeproc-core#17). Mermaid has no artifact and GitHub renders it natively with a zoom control.

Evidence

claim proof
mermaid parses rendered with mermaid-cli@11 before commit
repo checks green tests/lint-examples.sh clean (zizmor: no findings); example fidelity 172 resolved, 0 missing, 0 unverifiable across 7 consumer repos
claim touched none. README only — no workflow, composite, or guard changes.

Render verification on github.com (branch docs/readme-diagram, logged-in Chrome): seen with my own eyes — the diagram draws complete and legible, both the solid "in use today" branch and the dotted "nobody calls these yet" branch, and it fits the content column without clipping.

🤖 Generated with Claude Code

https://claude.ai/code/session_0186xrrT9mYfCZTVkk8HN12p

This repo had no diagram at all. The README explains the shared-workflow model
in prose and then reports adoption in a table three paragraphs later, so the
shape of the thing — one copy here, called from there — never lands visually.

Adds one mermaid block after the "why it works" paragraph. It draws both
branches, because only one of them is flattering: 2 of the 12 bricks
(7 reusable workflows + 5 composite actions) have callers, at 6 call-sites
across assay, edge-proc, edgeproc-core and privacy-core, all on the publish
path. The other 10 have zero, and almamesh, aml-filter and edge-reco still
hand-roll their CI. That dotted branch is exactly what the consumer-drift guard
exists to measure, so the diagram links to it.

Counts verified against the tree, not copied from the prose: 7 workflow files
carry `on: workflow_call` (cloudflare-pages-deploy, frontend-gate, python-gate,
python-publish, secret-scan, security-audit, ts-publish); ci.yml and
consumer-drift.yml are this repo's own and are not callable. 5 composites in
.github/actions/. 12 total, matching the README's "the other 4 composites and
6 reusable workflows".

Mermaid rather than d2 because a `.d2` source plus a committed `.svg` is a
build artifact that drifts (edgeproc-core had 5 `.d2` files and 1 stale `.svg`).
Mermaid has no artifact and GitHub renders it natively.

Claim touched: none — README only, no workflow, composite or guard changes.
Rendered with mermaid-cli 11 before commit; parses. tests/lint-examples.sh and
example-fidelity green (172 resolved, 0 missing, 0 unverifiable across 7 repos).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186xrrT9mYfCZTVkk8HN12p
@hseshadr
hseshadr merged commit 0c95b9d into main Aug 1, 2026
4 checks passed
@hseshadr
hseshadr deleted the docs/readme-diagram branch August 1, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant