Last verified: 2026-10-09 (published v0.5.0 release data and update feed)
Status: implemented and deployed at https://varve.studio (custom
domain, registered and DNS at Porkbun, hosted on GitHub Pages). Published
application versions and availability come from the verified release data
described below; check the download page for
the current installers. See custom-domain-runbook.md for the DNS
records, GitHub configuration and rollback.
Release-data validation uses a sparse checkout of its two verification scripts and the committed release manifest. It still checks the workflow SHA and the actual published tag/source through GitHub before building. A minimal-checkout fixture executes the committed-data validator and loads the publication verifier. The website/demo build receives the complete published product source; the small publication check does not need a full media-bearing repository fetch.
The current public-message and discovery contract is maintained separately in
docs/marketing/positioning-and-discovery.md.
Update that brief when a core product fact, audience priority, search intent,
or public claim changes; keep this document focused on website architecture and
release-data flow.
The repository already had a complete Astro 7 site under apps/website,
covering product, features, docs, support, licensing, privacy and security.
Reusing it was the right call; almost none of it needed rewriting.
Three things made it unshippable, all now fixed:
| Problem | Effect | Fix |
|---|---|---|
site: 'https://strata.design', base: '/' |
Domain not owned. On GitHub Pages a project repo serves from /<repo>/, so every absolute asset path 404'd and every canonical URL and og:url pointed at a host that does not resolve |
SITE_URL/SITE_BASE env vars, defaulting to the Pages URL that actually exists |
download.astro never read releases.json |
Hardcoded "Get it on GitHub" buttons, invented sizes, version 0.0.0, and yay -S varve-desktop for a package that does not exist |
Renders entirely from a generated manifest |
| Plausible loaded unconditionally | A paid subscription pointed at a non-existent domain: cost, no data, third-party request on every page | Consent-gated GoatCounter only after Allow; ANALYTICS_DOMAIN unset means no prompt or request |
A hand-maintained public/sitemap.xml listed 28 absolute URLs under the same
dead domain; it is now generated from the configured site and the actual page
files.
apps/website/
├── astro.config.mjs SITE_URL / SITE_BASE driven
├── public/ static passthrough (favicon, og-image, llms.txt)
├── src/
├── data/
│ └── release-manifest.json GENERATED — never hand-edited
├── lib/siteUrl.ts ONE URL system: sitePath/siteUrl/canonical
├── lib/search/ pure search: extract, rank, types
├── scripts/search-index.mjs build hook: anchors + search-index.json
├── layouts/Layout.astro meta, OG, CSP, consent surface, active nav
├── components/SearchDialog.astro native <dialog> combobox search
├── lib/analytics.ts normalized routes + consent-gated GoatCounter
├── pages/
│ ├── download.astro renders from src/data/release-manifest.json
│ ├── sitemap.xml.ts generated from site + base + page files
│ ├── robots.txt.ts generated from site + base (sitemap URL)
│ ├── 404.astro
│ └── … remaining routes
└── test/ guards manifest honesty + URL rules
astro.config.mjs registers a local integration that runs in
astro:build:done, so the custom-domain build and the GitHub Pages project
build produce identical artifacts:
- Section anchors. Every
h2/h3inside<main>gets a stableid(1,021 anchors across 101 pages). Hand-written ids are preserved and generated ids never collide with an existing document id. This is what makes section deep links and result-to-section navigation possible.global.cssalready reservesscroll-padding-top: 5.5remfor the sticky header. search-index.json. A versioned, compact JSON index of page titles, descriptions, and heading-delimited section text (626 KB on disk). It is fetched lazily the first time search opens or prefetched during idle time; visitors who never search download none of it. The build fails below five indexed pages and logs any undecoded HTML entity left in indexed text.
The index and ranking code is dependency-free (src/lib/search/), because
the site's CSP (script-src 'self' 'unsafe-inline', no wasm-unsafe-eval,
no worker-src blob:) deliberately rules out WASM indexers such as
Pagefind. The client is a native <dialog> with an ARIA 1.2 combobox input
and a listbox of results; / and Ctrl/Cmd+K open it, Escape closes it, and
focus returns to the invoking control. The full research record, rejected
alternatives, and verification evidence live in
docs/audits/website-search-and-section-links-2026-09-14.md.
Editor-facing content changes in the search index (titles, descriptions,
headings) are covered by pnpm test:website and the search spec in
apps/website/tests/e2e/search.spec.ts.
apps/website/src/data/siteNavigation.ts is the typed route list shared by
the header disclosure menus and the mobile dialog. The visual order is
Product, Features, Docs, Learn, Support. Learn points to the learning hub,
tutorials, examples, and community; Support points to its home, FAQ,
troubleshooting, known issues, issue reporting, and contact. Project
contribution stays in the footer. Links use sitePath() so / and /varve
deployments keep the same destinations.
The header keeps Download as its primary action. “Try in browser” opens the
bounded browser demo in a new tab; its scope and desktop-product boundaries
are explained at /docs/browser-demo.
The compact header label stays “Download” when a release is available and
falls back to “Beta status” while there is no downloadable release. Do not
replace that state with a download promise. Footer links retain the project's
contribution and complete support destinations.
On narrow screens the logo, Download, and Menu remain in the header. The
modal navigation and search are native dialogs, with focus and page-scroll
restoration covered by apps/website/tests/e2e/navbar.spec.ts. The disclosure
fallback and OS theme palette continue to work when JavaScript is disabled.
The responsive, theme, and contrast evidence is in
website-navbar-audit-2026-09-28.md.
Two paths produce the website's release data; both write through
scripts/release/website-release-data.mjs, both verify before writing, and
both derive everything from real bytes:
release.yml → dist/release/release-manifest.json + SHA256SUMS.txt + SBOMs
│
├─ CI path (publication dispatch or recovery → website-deploy.yml)
│ fetch-website-release.mjs
│ • channel policy: latest published STABLE, else
│ latest published prerelease; drafts never
│ appear (deleted/withdrawn releases are drafts
│ internally and are skipped too)
│ • verifies manifest version == tag, every
│ artifact hash == SHA256SUMS.txt, known formats,
│ no unmanifested installers, SBOM coverage
│ • any failure FAILS the deployment
│ ▼
└─ offline path (rehearsal/local)
fetch-website-release.mjs --tag v0.5.0
│
▼
apps/website/src/data/release-manifest.json (generated snapshot;
refreshed from the latest
published release for CI
and local fallback builds)
│
▼
download.astro → cards, sizes, checksums, per-platform install steps
The same published release also carries the signed Tauri updater feed when the
release workflow produces one. fetch-website-release.mjs mirrors the latest
published stable and beta feeds to the static routes
/updates/stable.json and /updates/beta.json; drafts, withdrawn releases, and
older releases without updater assets are not promoted. These machine-readable
routes are consumed by supported desktop installs, while the human-facing
package matrix and consent explanation live in
/docs/updates and the
download page. The website does not promise self-update for package-manager,
read-only, translocated, development, or unsupported builds.
Nothing about a download is typed by hand. The page cannot advertise a file that was not built, a size that was not measured, or a checksum that was not computed. When a release cannot be verified (missing integrity files, hash mismatch, unknown artifact types, API outage) the deployment fails — an explicit error beats a download page that invents data.
The release-data fetch retries transient transport failures and HTTP 408, 425,
and 5xx responses at most three times with exponential backoff. A short
Retry-After is honored; a longer delay, rate-limit response (403/429), other
4xx response, or integrity failure stops the deployment. Retry logs omit URL
credentials and query strings. This recovers brief GitHub asset-service errors
without rerunning the website browser suite or weakening release verification.
The same deployment step mirrors the Tauri updater feeds:
release.yml → dist/release/varve-update-{stable,beta}.json (generated after
the release trust gate, from the exact signed .sig/.app.tar.gz
assets; see docs/release/update-strategy.md)
│
▼
fetch-website-release.mjs → apps/website/public/updates/{stable,beta}.json
│ (only from PUBLISHED releases; drafts never
│ appear; malformed/version-mismatched feeds FAIL
│ the deployment)
▼
https://varve.studio/updates/stable.json ← the endpoint embedded in
https://varve.studio/updates/beta.json tauri.conf.json / the per-channel
build config
Because the feed URLs point at GitHub release-download URLs for the artifacts,
the JSON is only mirrored after the release is public — a draft release's
assets 404, and fetch-website-release.mjs only considers published releases.
This is the "publish update metadata last" invariant in action: a client can
never see version X advertised before X's assets and signatures exist.
hasRelease: false is a first-class rendered state for a new repository before
the first published tag. The current committed snapshot is v0.5.0 and was
generated from the published release; it remains available for local builds
when GitHub is not queried. The deployment workflow refreshes it from the
published release before building the public site.
| Option | Cost | Verdict |
|---|---|---|
| GitHub Pages | Free | Recommended. website-deploy.yml already exists and works. Artifacts live on GitHub Releases anyway, so the site and the downloads share one trust boundary and one account. Requires a public repo for the free tier |
| Cloudflare Pages | Free | Genuine alternative: unlimited bandwidth, deploy previews, works with a private repo. Adds a second vendor and a second place credentials live. Switch if Pages bandwidth or repo visibility becomes a real constraint |
| Anything else | — | No material advantage |
Deployment is .github/workflows/website-deploy.yml: website-source
changes run the website quality corpus; a successful published Release sends a
protected repository_dispatch containing the exact tag and SHA. That release
path validates release data, builds the site, scans the artifact, deploys, and
runs the bounded live smoke test without repeating the complete website
functional/a11y/visual corpus. A guarded workflow_run fallback preserves the
branch-protection architecture and applies the same published-state check.
The workflow_run event caused by a manual Release dispatch is a deliberate
no-op; it uses a separate concurrency group so it cannot replace the pending
publication dispatch while another Pages run is active. Release-tool-only
commits do not trigger the website source suite; those scripts are covered by
their focused release tests and CI.
With a custom domain later, set SITE_URL and SITE_BASE: / — no source
change; see custom-domain-runbook.md.
Publication and its website dispatch are separate GitHub operations. If the release becomes public but the dispatch or Pages deployment fails, recover the website directly through its existing workflow. Supply both the published tag and its frozen source SHA:
release_recovery_sha="$(git rev-parse --verify 'v0.5.0^{commit}')"
gh workflow run website-deploy.yml --ref master \
-f release_tag=v0.5.0 -f "release_sha=$release_recovery_sha"scripts/release/verify-website-publication.mjs reads the release and tag commit
through authenticated GitHub API calls. It requires a public release, a valid
publication timestamp, and an exact match with the supplied 40-character SHA.
Missing inputs, a draft, a withdrawn release, or a moved tag fail before the
build. The build checks out that verified SHA, fetches release data pinned to
the same tag, scans its output, deploys, and runs the live smoke check. It uses
the release-data path without repeating the website source browser corpus.
This recovery can be repeated for an already-public release and does not
publish or change the release.
During the 0.5.0 publication, the first repository dispatch was replaced in the
single-pending-run queue by that no-op workflow_run event while a source-only
Pages run was active. The exact-tag workflow-dispatch recovery above completed
publication without rebuilding or changing the release. The workflow now
isolates that no-op event; a regression assertion protects the concurrency
group and excludes release-only tooling changes from source deployments.
Leaving both release inputs empty retains the ordinary source deployment, including its website quality gates. Running Pages deployments are not cancelled by subsequent source pushes. GitHub retains only one pending run; later runs can replace it, so repeat the recovery command if its pending run is superseded. The workflow does not promise FIFO ordering.
GitHub Pages cannot set arbitrary security headers (_headers files are
ignored there — the old public/_headers was removed). CSP is enforced via
the <meta> tag in Layout.astro; X-Frame-Options/HSTS are not settable on
this host and are not claimed.
Purchased 2026-08-12: varve.studio, registered at Porkbun. Porkbun is
the registrar AND the DNS provider (nameservers curitiba/fortaleza/maceio/ salvador.ns.porkbun.com). Hosting stays on GitHub Pages; Porkbun hosting is
not used. Canonical origin is https://varve.studio; www.varve.studio
canonicalizes there. See custom-domain-runbook.md for the exact DNS records,
GitHub Pages settings, verification state and rollback.
Do not buy .design (~USD $40–50/yr) for a vanity TLD at alpha.
One dependency worth knowing: a Microsoft Store Company account requires a work email on a domain you own. If commercial distribution is the goal, the domain stops being optional.
Present and accurate:
- Product name, description, supported platforms, system requirements
- Download links, sizes, versions, release date — all generated
- SHA-256 checksums per artifact, plus a link to
SHA256SUMS.txt - SBOM link
- Per-platform install instructions
- Per-platform trust labels derived from the manifest
signingblock (verified state, never intent) — "Digitally signed" / "Developer ID signed and notarized" only when the corresponding verification report says so - Unsigned-build warnings with the correct OS-specific walkthrough
- Data-loss warning, placed above the download controls
- Privacy policy matching actual behaviour (consent-gated analytics, no cookies)
- Licence, security reporting, support and bug-report links
- Known issues, release notes, roadmap
- SEO + social metadata, favicon, custom 404
- No analytics by default; configured production analytics requires explicit visitor consent
- Consent-first updater guidance: package authority, privacy, signature verification, and manual fallbacks
# 1. Integrity: the published checksum must match the downloaded file
sha256sum -c SHA256SUMS.txt # Linux
shasum -a 256 -c SHA256SUMS.txt # macOS
Get-FileHash .\Varve-*.exe -Algorithm SHA256 # Windows
# 2. Build provenance: the file must be attested by the release workflow
gh attestation verify ./Varve-0.1.0-windows-x86_64.exe --repo varvedesign/varve
# 3. Platform signatures (post-signing releases):
# Windows: right-click -> Properties -> Digital Signatures (status "Valid"),
# or: signtool verify /pa /v Varve-0.1.0-windows-x86_64.exe
# macOS: xcrun stapler validate Varve-0.1.0-macos-aarch64.dmgAn attestation proves the file came from the Varve release workflow; it is NOT a Windows Authenticode signature and NOT Apple notarization — for signed platforms, check the signature in the OS UI as well.
Outstanding:
- Authentic screenshots. Real captures of the application now exist
(captured 2026-08-09 via the deterministic pipeline;
apps/website/public/screenshots/, driven byapps/website/src/data/screenshot-manifest.json+ProductShowcase.astro) - Contact method that is not a personal address — needs the domain, or a GitHub-only channel in the interim
- Third-party licence page rendering
THIRD_PARTY_NOTICES
The repo already runs axe-core through Playwright. The route-wide
computed-style contrast audit (apps/website/tests/e2e/visibility.spec.ts)
and the axe suite cover the site in both deployment modes:
The broader platform audit and its honest environment limits are recorded in
platform-ux-accessibility-responsiveness-audit-2026-09-02.md.
The implementation baseline is WCAG 2.2 AA; the website assumes the last two
major browser versions and treats physical-device/screen-reader certification
as a separate test pass.
- Keyboard-only path through the download flow, including the platform tabs (arrow-key tablist navigation, Home/End, focus management)
- Platform tabs expose
role="tablist"/role="tab"/aria-selected/aria-controls - Copy-checksum buttons announce results via an aria-live region
- Active navigation state (
aria-current="page") - Escape-to-close and focus return for the mobile menu
- Visible focus on every interactive element (axe + computed-style audits)
- Contrast ≥ 4.5:1 in light and dark themes (route-wide computed-style audit; the decorative footer wordmark is aria-hidden and excluded)
- Headings form a sensible outline; one
<h1>per page (axe rule) - Checksum
<details>blocks are reachable and announced - 320 px viewport has no horizontal scroll (structural visibility audit)
- Marketing routes reflow without page-level overflow at 320/375/430/480/600/768/900/1280/1920 px
- Prefers-reduced-motion respected (theme test + reduced-motion emulation)
- Touch-sized theme and mobile-menu targets use 44px boxes on coarse-pointer devices
- Marketing mobile menu keeps focus contained and restores focus on close
Target WCAG 2.2 AA — enforced by the CI website e2e gate.
- Repository visibility decided (Pages free tier needs public)
-
website-deploy.ymlrun once; site loads at the Pages URL - Every internal link resolves under the
/varvebase path (link-crawl e2e) -
sitemap.xmlandrobots.txtserve correctly (smoke check + e2e) - OG image renders in a link preview
- Real screenshots added (2026-08-09)
- Accessibility pass (§6)
- Mobile layout checked at 320/375/768 px (e2e)
- Download page verified against a real release manifest (initial evidence: v0.2.1, published 2026-08-25; current published data: v0.5.0, published 2026-10-09)
- Every checksum on the page matches the published artifact
- Privacy, licence and security pages re-read for accuracy
- Post-deployment smoke check wired into the workflow (
scripts/website/smoke-pages.mjs)
The deployment tests source website modes through the heavy-task lease with one worker, zero retries, failure traces, and snapshot updates disabled. Diagnostics include JSON case histories and the source SHA, run ID, and run attempt.
After building and staging /try/, the same build job serves a disposable copy
of the combined Pages artifact. The four existing browser-demo owners cover
boot/WASM, save and reload, capability boundaries, offline setup and updates,
file launch, and SVG/raster export. The config requires an exact checked-out SHA,
loopback origin, explicit disposable directory, and the required worker/WASM
assets. A configured --list inventory must match every executed case, with no
skips or retry passes. The service-worker update test may rewrite only the copy;
a full hash inventory verifies that the original upload artifact stayed intact.
Dev-server ?try=1 checks and post-deployment HTTP smoke remain separate evidence.