~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Monolith: the project's name, its site, its look and HTML email

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/monolith:docs/landing

spec-pds becomes Monolith. The docs site gets a landing page and a dark Monolith look. The authorization pages take the same look, and every email gains an HTML part drawn in it. This lands the four stacked pulls as one.

Claude Opus 5.5 · high

What changes

The name. Prose says Monolith; names say monolith. That covers the harness's implementation (--impl monolith, the default, and harness/lib/adapters/monolith.mjs), the bench image tags (monolith-bench-*), the package names, the repository URL in AGENTS.md, the Justfile and the docs, and the operations page's Code: line (spec/OPERATIONS.md, ops.rs). The results files' implementation key is renamed. The tables generated in compat/, bench/ and bench/soak/RESULTS.md are written again by their own generators, with the same cells. Three soak runs' spec-pds side becomes monolith, in its files' names and inside them. These keep spec-pds:

  • the spec-pds blob prefix, which spec/BLOBS.md gives a meaning;
  • the bytes the harness's requests and vectors are made from;
  • container names the soak recorded.

The binary pds, the pds-* crates and the PDS_* variables are unchanged.

The docs site. / is a landing page: the photograph (with a goose), the headline "A new dawn for your Atmosphere account.", one plain sentence ("Monolith is an atproto PDS written in Rust.") and two buttons. It claims nothing yet. .claude/skills/landing says how a claim gets onto it: facts first, then a fresh writer, then a check of every claim. The docs are dark, in the Monolith palette, set in Space Grotesk and JetBrains Mono, which the site serves itself. Other changes:

  • The methods reference gives each method a heading, a summary and a list of facts.
  • A method named as code links to its entry there, the first time in each section.
  • A link to a site page reads as the page's title.
  • Vendored specs link to where they are published.
  • The guides start from the image and the binary; cloning is in Contributing.

The authorization pages. They take the Monolith palette (light and dark), square corners, --tracking-* tokens and the two typefaces, embedded from web/src/assets/fonts/. The primary button is the ink colour.

Email. spec/EMAIL.md, "The message": each email is multipart/alternative, text then HTML. The HTML part holds the server's host, a heading for the kind of email, the token and the 15-minute note, and nothing from the account. Every value is escaped, and nothing is loaded. The template is web/src/email/email.html. The web build writes the token values into it, giving web/dist/email.html, which build.rs embeds and email.rs fills in. The harness's SMTP check holds each message to that. just look email <kind> and just look-emails draw it. The Justfile now sets positional-arguments: without it, just look and just dev dropped their arguments.

Why

The project is called Monolith. The site and pages needed to look like it, and the emails were the one place the server spoke to people outside its look.

How it was checked

  • Email check: the harness's email checks pass. With the HTML part sent with an empty host, they fail at step 1, as they should.
  • Unit tests: the email tests pass (14), among them a new one for escaping.
  • Web checks: svelte-check reports no errors, the contrast check passes (40 pairs, all at least 4.5:1), and the layers check passes.
  • Pages and emails, looked at: pictures of the pages and of all six kinds of email, at desktop and phone sizes, and a critique of them by a reviewer that did not write them. The fixes it called for are in.
  • Docs site: the build passes. Its 1103 method links all land on a heading of the methods page.
  • Main merged in: with main merged, pds builds and a short harness run passes.
  • Gates: they run on this pull, for the first time on the server and harness changes.

Shortcomings

  • The repository is renamed to chadtmiller.com/monolith as this lands; until then, the URLs here name it ahead of time. The old name redirects.
  • The emails were drawn in Chromium, not seen in mail clients. Dark mode reaches only clients that support it.
  • Email subjects stay the reference's title case, as the spec holds them.
  • Docker images tagged spec-pds-bench-* are not found; node bench.mjs --setup builds them under the new tags.
Approved

This makes the Monolith landing page the docs site's root and moves the guides' index to /overview/. It restyles Starlight to the same dark palette and bundles the two fonts with their OFL licences. I read the whole diff. I couldn't read the binary files (the hero JPEG and the two woff2 fonts).

The generated parts hold up. bench/results.json has the impls['spec-pds'] and impls.reference rounds, rounds and machine.cpu that index.astro reads. content.mjs exports names, REPO and url. Moving the name rule into names() leaves the Methods page's output unchanged. The build-time check that a shown method is both a command and a tool is a good guard against the mock's non-existent sync_get_repo tool.

There is no server, harness or spec behaviour change, so spec/ needs nothing. The README and the contributing guide say what the site now does without saying how it came to be. The docs workflow paths are updated: web/src/tokens.css is out and bench/results.json is in. Nothing else in the docs site still imports tokens.css. harness/contrast.mjs and web/ read it for the OAuth pages, so it stays.

Minor, and I'm not asking for a change: --sl-color-gray-4: #5c5c58 on #050505 is about 3:1. If Starlight uses it for text such as the search placeholder, that is below 4.5:1.

Approved

My earlier approval stands. Since then the pull renames the Starlight title and nav wordmark to "Monolith PDS". It replaces the ASCII logo with plain text. It also renames the hero image to hero.jpg, and index.astro imports the new path. This is all docs-site presentation, so there is no behaviour change and spec/ needs nothing. I couldn't read the binary hero JPEG. I didn't check that no other file still imports monolith.jpg.

One small thing: the pull body still says the hero is src/assets/monolith.jpg and the title is "Monolith". Update it so the description matches what is built.

Approved

My earlier approval stands. Since then the pull has only changed docs: the README and the guides. Getting started now starts from the published image or the release binary and no clone. The build and just dev --seed material moves to Contributing. Deploying and Calling are reworded to match. The landing page's Docker snippet and its "Get started" text now point at the Getting started guide. There is no server, harness or spec behaviour change, so spec/ needs nothing. The change reads as a description of what is built, and the guides are updated, as .knotless/review.md asks.

I couldn't check one thing: the guides now name an image knotless.dev/chadtmiller.com/monolith and a pds 0.1.0 release tarball with a .sha256 file at a specific URL. The release tool was denied to me here. Please confirm before merging that this image and release exist at those names, with the tarball and checksum files named exactly that way. Otherwise the first-run instructions fail.

The pull body still describes the earlier landing-page state. It says the hero is monolith.jpg, the title is "Monolith", and the guides still say spec-pds. Update it to match what is built.

Approved

My earlier approval stands. Since then the landing page has gained a "held to the reference" section, a "what it does" grid, a Claude connector note and a "where it stands" section. Its figures now come from compat/results.json, the lexicon count and the Cargo.toml version. The "reference is ahead" note is computed from bench/results.json. The getting-started guide now makes the admin invite code with PDS_ADMIN_PASSWORD set on that one command only, and then creates the account without it. This is all docs-site presentation and guide text, so spec/ needs nothing. I checked that compat/results.json and the README's Known gaps heading exist. I did not check the createAccount link into MIGRATION.md or the page behind reference/compat-results.

One thing to fix: the docs workflow paths in .knotless/workflows/docs.yml now lack compat/results.json and Cargo.toml, which the page reads. A change to either won't rebuild the site. compat/*.md is listed, but not the JSON.

The pull body still describes the earlier state: the monolith.jpg name, the "Monolith" title and the guides saying spec-pds. It also doesn't mention the new sections. Update it to match what is built.

Approved

My earlier approval stands. Since then the pull only adds a landing skill under .claude/skills/landing/: SKILL.md, context.md and writer.md. They describe how to rewrite the landing copy. There is no server, harness or spec change, so spec/ needs nothing. The skill says to take reference facts from public docs and never from its source, which fits the repository's rules.

Two earlier points are still open, and I'm not withholding approval for either. The docs workflow paths in .knotless/workflows/docs.yml still lack compat/results.json and Cargo.toml, which the landing page reads, so a change to either won't rebuild the site. The pull body also still describes the earlier state: the monolith.jpg name, the "Monolith" title, and no mention of the newer sections or this skill.

Approved

My earlier approval stands. Since then the landing page has been cut down to one screen: the photograph, the headline, one sentence and two buttons. The skill files and the README and contributing guide were updated to match. The one figure, idle memory, is the median round from bench/results.json, as bench/RESULTS.md takes it. There is no behaviour change, so spec/ needs nothing. The docs say what is built.

My earlier point about the docs workflow paths lacking compat/results.json and Cargo.toml is moot now, because the page no longer reads them.

Two things to check, and I'm not withholding approval for either:

  • docs/guide/contributing.md links to ../../.claude/skills/landing/SKILL.md, a path outside the docs. Confirm the site build still reports no broken link.
  • The pull body still describes the long landing page, with its benchmark table, method-name table and monolith.jpg. Rewrite it to match what is built.
Approved

My earlier approval stands. Since then the landing hero fills the first screen (100svh), with the headline, sentence and buttons a scroll below. The photograph is cropped toward the ground and the logo is pinned to the hero's foot. The skill context, README and contributing guide were updated to match. This is docs-site presentation only, so spec/ needs nothing. The docs say what is built.

Two earlier points are still open, and I'm not withholding approval for either. First, confirm the build still reports no broken link for the ../../.claude/skills/landing/SKILL.md link in docs/guide/contributing.md. Second, the pull body still describes the long landing page, with its benchmark table and method-name table, and the old monolith.jpg name. Rewrite it to match what is built.

Approved

My earlier approval stands. Since then the pull has moved the two fonts and their licences to public/fonts/, so they have fixed URLs. Every page now preloads the fonts, and they use font-display: optional. The preload list is FONTS in content.mjs, and monolith.css has the same URLs written out. These match while BASE is empty. If BASE ever becomes non-empty, the CSS paths need to follow it. This is docs-site presentation only, so spec/ needs nothing, and the licences still sit beside the fonts.

Two earlier points are still open, and I'm not withholding approval for either. First, confirm the build still reports no broken link for the ../../.claude/skills/landing/SKILL.md link in docs/guide/contributing.md. Second, the pull body still describes the long landing page and the old monolith.jpg name. It also says the fonts are in src/fonts/. Please rewrite it to match what is built.

Approved

My earlier approval stands. Since then the pull has only changed how the generated Methods page looks. Each method now gets a facts list (XRPC, CLI, MCP, Input, Output, Errors, Specified in), and parameter and field tables are labelled. plugins.mjs renames the "Is" column heading to "Description" on every table of the site, and theme.css styles the new markup. This is docs-site presentation only, with no server, harness or spec behaviour change, so spec/ needs nothing. The new inline helper escapes &, < and > before it turns backticks into <code>, so lexicon text can't inject markup.

Two earlier points are still open, and I'm not withholding approval for either. First, confirm the build still reports no broken link for the ../../.claude/skills/landing/SKILL.md link in docs/guide/contributing.md. Second, the pull body still describes the long landing page and the old monolith.jpg name, and says the fonts are in src/fonts/. Please rewrite it to match what is built.

Approved

My earlier approval stands. Since then the pull has changed how the docs site words its links, and the "Specified in" fact on the Methods page. A link whose text is only the target page's file name now reads as that page's title. In the specification, a page named in code is linked the same way. "Specified in" now shows the page's title instead of the file name. This is docs-site presentation only, with no server, harness or spec behaviour change, so spec/ needs nothing.

The change keeps the broken-link checks, since resolve still validates every target. titleFor only rewrites links to non-generated pages of the site, and only when the text equals the path, the resolved target or its basename. The title and inline helpers it relies on are exported from content.mjs.

Two earlier points are still open, and I'm not withholding approval for either. First, confirm the build still reports no broken link for the ../../.claude/skills/landing/SKILL.md link in docs/guide/contributing.md. Second, the pull body still describes the long landing page and the old monolith.jpg name, and says the fonts are in src/fonts/. Please rewrite it to match what is built.

Approved

My earlier approval stands. Since then the pull has made links into the vendored specs go to where each is published. Links to spec/atproto/*.md, spec/rfc/*.txt, the client ID metadata draft and spec/mcp/ now go to atproto.com, rfc-editor.org, the IETF datatracker and modelcontextprotocol.io. A link whose text is only the file name reads as that spec's name. Inline code naming a .txt file or a directory is linked the same way. Inline code now has a hairline border and a lighter ground. This is docs-site presentation only, so there is no server, harness or spec behaviour change and spec/ needs nothing. I did not run the build.

The MCP revision comes from LATEST_PROTOCOL_VERSION in spec/mcp/schema.ts. Files with no published page (LICENSE, .json, .ts) fall through to the repository link. A missing target still fails at the statSync in resolve, as before.

Two earlier points are still open, and I'm not withholding approval for either:

  • Confirm the build still reports no broken link for the ../../.claude/skills/landing/SKILL.md link in docs/guide/contributing.md.
  • The pull body still describes the long landing page and the old monolith.jpg name, and says the fonts are in src/fonts/. Please rewrite it to match what is built.
Approved

My earlier approval stands. Since then the pull has only replaced the binary hero image, docs-site/src/assets/hero.jpg. I couldn't read its contents. No code, spec or docs changed, so spec/ needs nothing.

Two earlier points are still open, and I'm not withholding approval for either:

  • Confirm the build still reports no broken link for the ../../.claude/skills/landing/SKILL.md link in docs/guide/contributing.md.
  • The pull body still describes the long landing page and the old monolith.jpg name, and says the fonts are in src/fonts/. Please rewrite it to match what is built.
Approved

My earlier approval stands. The only change since it is the hero image, docs-site/src/assets/hero.jpg, which is binary and which I couldn't read. No code, spec or docs changed, so spec/ needs nothing.

Two earlier points are still open, and I'm not withholding approval for either:

  • Confirm the build still reports no broken link for the ../../.claude/skills/landing/SKILL.md link in docs/guide/contributing.md.
  • The pull body still describes the long landing page and the old monolith.jpg name, and says the fonts are in src/fonts/. Please rewrite it to match what is built.
Approved

My earlier approval stands. Since then the pull makes a method named as inline code (its NSID, or its bare name such as createSession) link to its entry in the methods reference. It links the first time in each section, and a bare name shared by several methods links only on the page that specifies one of them. The code is in methodNamed in content.mjs and the remarkLinks plugin. Code already inside a link or heading is skipped, and so is the generated methods page. This is docs-site presentation only, so spec/ needs nothing. I did not run the build.

The slug helper that builds the anchor already exists in plugins.mjs. I did not check that its anchors match the ids the generated Methods page gives each method. A mismatch would not fail the build.

Two earlier points are still open, and I'm not withholding approval for either:

  • Confirm the build still reports no broken link for the ../../.claude/skills/landing/SKILL.md link in docs/guide/contributing.md.
  • The pull body still describes the long landing page and the old monolith.jpg name, and says the fonts are in src/fonts/. Please rewrite it to match what is built.
Approved

Carried forward: the change this pull makes at 005aa0f5cf6c5b9ef30f55d18c2492308c54e648 is the one reviewed at a1cc2b9cf03964432a725bb2bb9120a81f067548, so that review stands. What is new comes from its base.

Approved

My earlier approval stands. The pull now lands the stacked rename, authorization-pages and HTML email pulls. I read the email path closely: email.rs, build.rs, web/vite.config.ts, web/src/email/email.html, spec/EMAIL.md, and the harness's mail.mjs and smtp.mjs. I did not read every renamed file, the generated results tables, the soak data, the fonts or the hero image, which are binary or mechanical.

  • Spec: spec/EMAIL.md gains "The message" with the parts' order, the heading per kind, the 15-minute note, what must not come from the account, escaping, and nothing loaded. The harness's SMTP section and HEADING match it.
  • Code: html() fills five slots, each through escape, which covers & < > " '. The new html test covers escaping and that no {{ is left. The HTML part carries nothing from the account, only PDS_HOSTNAME, the heading, the lead, the token and the note.
  • Harness: the new check is stricter. It compares the message type, the part types and order, the token in each part, and the host and heading in the HTML text. It also requires no src=, href= or url(. Nothing is loosened.
  • Build: vite.config.ts writes the token values into the template and throws on an unknown token, so a missing token fails the build. build.rs embeds web/dist/email.html and panics with the "build web first" message if it is missing.
  • Checks: docs and citations pass on this head. gates and store-bench-small were still running when I looked.
  • Pull body: it now describes what is built.

One point I'm not asking you to change: with PDS_HOSTNAME unset, the HTML part's host line is empty. The harness always sets it, so only a misconfigured server would show it.

Merged as 1531219