Skip to content

docs: the storage diagram on the warehouse page - #329

Merged
pdbethke merged 1 commit into
mainfrom
docs/storage-diagram
Sep 12, 2026
Merged

pdbethke merged 1 commit into
mainfrom
docs/storage-diagram

Conversation

@pdbethke

Copy link
Copy Markdown
Owner

The warehouse page argued branch-as-store in prose and never showed it. This puts the picture at the top, before "a runner forgets."

Four swimlanes, following one verdict from a machine that is about to be destroyed to a record that outlives it:

lane
THE RUN certify · review · a human ruling — all ephemeral
THE STORE one gzipped JSON entry, hash-linked, on corral/ledger; ledger verify walks it, ledger checkpoint prunes it, Rekor holds the receipt
THE VIEW DuckDB reading the branch in place over HTTPS, or ledger push to a local file or md: — 8 tables + corral_seal
QUESTIONS the ones a single run structurally cannot answer

Drawn in the same visual language as docs/design/corral-today.svg and the adversarial-review diagram, so it reads as the third plate in that set rather than a one-off: cream boxes are model seats, green are code and ask no model anything, amber-dashed are stored, red outlines are the operator's, dotted arrows are read back and never written.

Two decisions worth flagging

Static asset, not inlined. Inlining an SVG is the obvious move and is wrong here — an inline SVG's <style> is not scoped to the SVG, and this one styles .t, .s, .lane, .group, .title and .key. Those are generic enough to leak into the page and restyle the site. As a separate document under site/public/diagrams/ it is isolated, cacheable, and clickable through to full size.

Full alt text. The diagram is the argument on this page, so the alt carries the whole flow rather than naming the file.

Verification

Every number on the plate was read from the live branch on 2026-09-11 — 104 entries, 382 KB total, 3.6 KB average, ~37 MB projected at 10,000 audits. Site builds (82 pages), markup.spec.ts passes both cases including its negative control, disclosure guard clean, Go docs gates pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_011NgkB3eLPBhgfqU1XopR1V

…rDuck are the view

The warehouse page made the argument in prose and never showed it. This adds
the picture, at the top, before "a runner forgets" — four swimlanes carrying
one verdict from a machine that is about to be destroyed to a record that
outlives it:

  THE RUN      certify · review · a human ruling — all ephemeral
  THE STORE    one gzipped JSON entry, hash-linked, on corral/ledger;
               ledger verify walks it, ledger checkpoint prunes it,
               Rekor holds the receipt
  THE VIEW     DuckDB reading the branch in place over HTTPS, or
               ledger push to a local file or md: — 8 tables + corral_seal
  QUESTIONS    the ones a single run structurally cannot answer

Drawn in the same visual language as docs/design/corral-today.svg and the
adversarial-review diagram: cream boxes are model seats, green are code and
ask no model anything, amber-dashed are stored, red outlines are the
operator's, dotted arrows are read back and never written.

Shipped as a static asset under site/public/diagrams/ and referenced with
<img> rather than inlined. Inlining was the obvious move and is wrong here:
an inline SVG's <style> is NOT scoped to the SVG, and this one styles .t, .s,
.lane, .group, .title and .key — generic enough to leak into the page and
restyle the site. As a separate document it is isolated, cacheable, and
clickable through to full size.

Every number on the plate was read from the live branch on 2026-09-11:
104 entries, 382 KB, 3.6 KB average, ~37 MB projected at 10,000 audits.

The alt text carries the whole flow, because the diagram IS the argument on
this page and a reader who cannot see it would otherwise get nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011NgkB3eLPBhgfqU1XopR1V
@pdbethke
pdbethke merged commit 459add6 into main Sep 12, 2026
6 checks passed
@pdbethke
pdbethke deleted the docs/storage-diagram branch September 12, 2026 12:04
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant