Skip to content

docs(diagrams): accurate, captioned, plain-language diagrams - #204

Merged
vilenarios merged 1 commit into
docs/brand-passfrom
docs/diagram-content
Nov 16, 2026
Merged

vilenarios merged 1 commit into
docs/brand-passfrom
docs/diagram-content

Conversation

@vilenarios

Copy link
Copy Markdown
Contributor

Stacked on #202 (uses its brand diagram roles). Merge #202 first.

What changed

The ar.io brand kit has diagram rules: label every arrow, end every path, draw the network as peers, give each figure a caption. Most diagrams broke at least one, and several described mechanics the code no longer does. Every diagram and the prose around it was checked against current upstream code and live mainnet settings, rewritten, then checked again by a reviewer that had not written it.

  • 36 diagrams → 24. Straight 3-5 step chains and duplicates became numbered lists. ArFS tag trees became a table. The v0.15 upgrade Gantt, whose dates appear in no source, became the real release dates.
  • Every remaining diagram has labelled arrows, a visible caption, and a screen-reader description (accTitle / accDescr). Colours come only from the brand roles. The Wayfinder hub-and-spoke is now your app choosing among peer gateways. The gateway and protocol architecture diagrams are split in two.
  • Mermaid.tsx: accTitle renders as the <figcaption>. Sequence messages wrap, so no diagram scrolls on desktop. On a phone, wide ones scroll at a readable size (65% or more).
  • Plain language: each point is stated once per page, terms match the glossary, headings are sentence case, and em dashes and unverifiable claims are gone.

Facts corrected

  • ArFS drive upgrade: it uploads only a drive-signature entity. It doesn't rewrite the drive entity.
  • ArFS: the file-name limit is 255 bytes, and gateways cap GraphQL results at 1000, not 100.
  • x402: the gateway settles the payment before it serves the data. GraphQL can be metered (Release 88). One payment buys tokens worth 10 times the request cost.
  • Data verification: it runs in the background after data is served.
  • Data retrieval:
    • It uses the real source order.
    • Peer choice is a weighted random draw (Release 88).
    • Untrusted bytes with a hash mismatch aren't cached.
    • The invented "trust score" diagram is gone.
  • Gateway architecture: Redis isn't a data-location index, and L1 band import is opt-in.
  • ClickHouse: it is queried for all heights; only the SQLite side is cut at the boundary.
  • Returned names: only names released by their owner split revenue 50/50 with that owner. Names returned because a lease expired send 100% to the protocol.
  • Protocol architecture:
    • gar and arns call the SPL Token program directly, not through ario-core.
    • ANTs allow at most 4 controllers.
    • The config seed is ario_config.
  • Epoch pipeline: it has 7 steps (with close_observation). The mainnet values are 24-hour epochs, 50 observers, pruning after 30 failed epochs, and a reward rate at its 0.05% floor since epoch 547.
  • Glossary: CPI, Epoch Pipeline and Wayfinder entries were wrong; PDA is reworded.
  • Code samples: the returned-names sample used the removed v3 ARIO.mainnet(). It now uses ARIO.init({ rpc }) and runs against mainnet.
  • Troubleshooting: the 13 screenshots have real alt text. The screenshots themselves show the old AO-era Network Portal and should be recaptured.

Checks

  • npm run lint, npx tsc --noEmit, npm run check-links (0 errors) and npm run build pass.
  • All 24 diagrams were rendered in Chromium in light, dark and mobile:
    • none fail to parse
    • every flowchart arrow is labelled
    • none scrolls on desktop
    • none shrinks below 65%

Not in this PR

The two generated pages under sdks/wayfinder/wayfinder-core/ still have the old diagrams. They come from the wayfinder README, so the fix goes upstream (separate PR).

🤖 Generated with Claude Code

Every diagram and the prose around it was checked against current
upstream code (ar-io-node main at Release 88, ar-io-solana-contracts,
ar-io-observer, ar-io-cranker, ar-io-sdk 4.5.2, wayfinder,
ardrive-core-js, ardrive-web) and live mainnet settings, then checked a
second time by a reviewer that had not written it.

- Mermaid.tsx: accTitle becomes the visible figcaption; sequence
  messages wrap so diagrams fit the column
- 36 diagrams -> 24, redrawn to the brand kit: every arrow labelled,
  every path ended, gateways drawn as peers, captions for all
- Straight chains and duplicates became lists, ArFS tag trees a table,
  the made-up v0.15 Gantt the real release dates
- Fixed wrong mechanics: ArFS drive upgrade, x402 settle-before-serve,
  background data verification, retrieval order and peer weighting,
  returned-name revenue split, epoch pipeline, program calls, ANT
  controller limit, ClickHouse query routing, and more
- Plain-language pass: say it once, glossary terms, sentence-case
  headings, no em dashes or unverifiable claims
- Glossary: fixed CPI, Epoch Pipeline and Wayfinder entries
- Real alt text for the 13 troubleshooting screenshots
- CLAUDE.md: diagram rules

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vilenarios
vilenarios requested a review from a team as a code owner November 16, 2026 19:51
@vilenarios
vilenarios merged commit b8579a8 into docs/brand-pass Nov 16, 2026
@vilenarios
vilenarios deleted the docs/diagram-content branch November 16, 2026 21:13
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