Skip to content

feat(docs): landing design and EVM information architecture - #13

Merged
shramee merged 13 commits into
mainfrom
feat/landing-design
Nov 28, 2026
Merged

shramee merged 13 commits into
mainfrom
feat/landing-design

Conversation

@shramee

@shramee shramee commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What changed

  • Theme. Starlight is restyled to the landing design (landing/DESIGN.md): the three-colour palette with tinted neutrals, Josefin Sans and Sen self-hosted, square corners (2px on controls), 1px rules, no shadow, blur or gradient. Dark is the midnight surface, light is the fog reading surface, and the header is midnight in both, as on the landing. Header, sidebar, table of contents, prose, tables, asides, steps, tabs, search, pagination and code blocks are restyled. Code blocks use syntax themes drawn from the brand palette only. Overrides are limited to SiteTitle (wordmark), Hero (midnight field with the record) and Footer (the record strip that closes each page).
  • Diagrams. New components in the landing's diagram grammar: Figure, Cell, Chip, Reserve, plus NoteLife (a payment's three moves) and Architecture (Chamber over three Reserves). They stack at 390px and read in both themes.
  • IA. The Starknet SDK pages are removed. Sidebar: Overview (Introduction, How MIST works, Architecture), then Circuits, Contracts and SDK, each with an index page only. The three sections are autogenerated from their directories, so stacked PRs add pages without touching config.
  • Content. Written from spec/ (README, 01 to 04) and the vault's ACTIVE notes. The spec wins over marketing copy. Spec items that are not built are marked Planned.
  • Config. Title "MIST.cash Docs", site unchanged, GitHub link to https://github.com/mistcash, description without Starknet, favicon from the landing (so the favicon.svg link-check skip is dropped).
  • CI. scripts/copy-rules.mjs (npm run copyrules) holds prose to the MIST copy rules, with the same patterns as the landing's copy-rules.ts, and runs in CI. CLAUDE.md and README describe the new layout.

Why

The old docs described a Starknet SDK that no longer exists and looked nothing like the product. The new shell is the base for the detailed Circuits, Contracts and SDK pages, which land as stacked PRs.

How it was verified

  • scripts/check docs green (npm ci && npm run build), plus the rest of CI locally: npm run check (0 errors, 0 warnings, 0 hints), npm run copyrules (6 pages, 0 violations), npm run linkcheck (20 links, all good).
  • Copy rules proven red first: a page containing an em-dash, "token" and "unlock" fails with all three rules, and the first draft of these pages caught "anonymity set", "test" and "Ethereum" before they shipped.
  • Looked at the built site with Playwright in dark and light, at 1440px and 390px: home, How MIST works, Architecture, Circuits, Contracts and SDK pages, the mobile menu and the search modal. Checked for horizontal overflow at 390px (none). Checked that every diagram reads in both themes and stacks on a phone.
  • impeccable detect on the changed CSS and components reports no findings.

Notes for review

  • Overview, Circuits, Contracts and SDK index statements are verified against core fa7b92d (timelocked verifier and ownership, the guardian named at construction or set later, guardian pauses, reserve admin and permissions with per-role epochs, registrar v3 signatures bound to the signer, its epoch and the leaf nonce, per-leaf revoke, the asset list, refundTo paid only after rejection, tx tree rollover). Architecture's known limits add that a removal freezes the removed user's notes until the planned exit spend, which core's operations notes treat as a deploy blocker. The published SDK beta still targets the earlier ABI, and the SDK index says so.
  • Updated from cf1413d to fa7b92d in four commits (389440d, e2e9a9f, fb2fbd7, 7e4f51e): the contracts overview, the architecture roles and limits, the introduction's refund line, and every field a registrar signature binds. An independent review checked the changed claims against fa7b92d. Gate green (check, copyrules, build, linkcheck); changed pages checked with Playwright at 1440/390 in both themes.
  • The design departs from the landing in two small ways: the mobile menu sheet follows the active theme instead of always being midnight, and the sidebar's current-page rule is the text colour, not coral, to keep to the one-coral-marker budget.

🤖 Generated with Claude Code

shramee and others added 6 commits November 26, 2026 04:29
Map Starlight's variables onto the landing's tokens (midnight, azure and
coral, with every neutral a tint of them) in dark and fog-light modes, and
restyle the header, sidebar, table of contents, prose, tables, asides,
steps, search and pagination: square corners, 1px rules, no shadow or blur.
Self-host Josefin Sans and Sen as the landing does. Code blocks use syntax
themes drawn from the brand palette.

Overrides only where CSS cannot reach: SiteTitle (wordmark), Hero (midnight
field with the record) and Footer (the record strip that closes each page).
Starlight's default favicon is replaced with the landing's.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Figure, Cell, Chip and Reserve are the parts of the diagram language in
landing/DESIGN.md (cells, Reserve panels, the azure shared record, lanes).
NoteLife draws a payment's three moves and Architecture draws the Chamber
over three Reserves. Horizontal sequences stack at 390px and every drawing
reads in both themes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The old content described a Starknet SDK that no longer exists. Remove it
and write the new information architecture from the specification: Overview
(Introduction, How MIST works, Architecture), then Circuits, Contracts and
SDK, each with an index page only. The sidebar autogenerates those three
sections from their directories so later pages need no config change.

Config: title "MIST.cash Docs", description without Starknet, GitHub link to
the mistcash organisation.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
scripts/copy-rules.mjs holds docs prose to the MIST copy rules (the same
patterns as the landing's copy-rules.ts): no em-dashes, tokens, chain names,
hype or "test". Code is skipped. Add it to CI, drop the favicon.svg link
check skip now that the site ships a favicon, and rewrite CLAUDE.md for the
new layout and design rules.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Tables fill the content width from 40rem and scroll inside their frame on
phones. Only first-column and header code stays on one line.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The Components table lists file names, with the directories said once in
prose, so the role column keeps its width. Each section's index is labelled
"<Section> overview" so previous and next links are not three Overviews.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 27, 2026 3:54am UTC

shramee and others added 3 commits November 26, 2026 04:39
Checked against core cf1413d. The Introduction names the reserve admin and
permissions, the asset list and user removal, and drops the claim that the
Chamber owner can swap the verifier at any time. How MIST works covers the
refund address, the deposit id, the minimum deposit, tx tree rollover and the
zkState root grace. The manager is now a key holder who reads member spends.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Roles: the owner proposes a verifier behind a 7-day timelock and moves
ownership behind another, a guardian pauses inflows and spends for a bounded
time, and a reserve admin grants the ASSETS, USERS, METADATA and SCREENING
permissions. State: rolling transactions trees, the 10-minute zkState root
grace and the per-asset minimum deposit. Limits: drop the finite tree, the
missing pause and the any-ERC-20 claims the code no longer matches.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The Contracts index lists the real entry points of core cf1413d (timelocked
verifier and ownership, guardian pauses, reserve permissions, registrar with a
deadline, ERC-1271 and revocation, refundTo and the deposit id) and its events.
The SDK index drops setRegistrar and adds a caution: 0.6.0-beta.1 calls the
earlier interface and fails against these contracts until a release follows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
shramee and others added 4 commits November 27, 2026 09:14
refundTo is paid only after rejection and can be changed while pending, registrar signatures bind the signer, its permission epoch and the leaf nonce, and revoke cancels every signature for a leaf. The member leaf is written H2(owner, userKeyExchange), since the owner may be a wallet address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds the limit that a removal freezes the removed user's notes until the planned exit spend, which core's operations notes treat as a deploy blocker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shramee
shramee added this pull request to stack #17 November 28, 2026 22:59
@shramee
shramee merged commit baf0cf8 into main Nov 28, 2026
3 checks passed
@shramee
shramee deleted the feat/landing-design branch November 28, 2026 23:03

This branch was successfully deployed

1 active deployment
Preview — 7e4f51e7 Deployed Nov 27, 2026 by vercel[bot]
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