Skip to content

docs(site): describe the website, its commands and its checks (#224) - #253

Merged
juancguerrerodev merged 13 commits into
DojoCodingLabs:mainfrom
saurabhbhoir456:test/site-readme-224
Dec 6, 2026
Merged

juancguerrerodev merged 13 commits into
DojoCodingLabs:mainfrom
saurabhbhoir456:test/site-readme-224

Conversation

@saurabhbhoir456

@saurabhbhoir456 saurabhbhoir456 commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Closes #224

The website in apps/site had no README, so fixing a typo on joinhermit.com meant reading package.json,
next.config.mjs and three scripts first. This adds apps/site/README.md, short and in plain English, in the style of
apps/relay/README.md. It covers what the site is (a static export with no server functions, cookies, analytics or
third-party scripts, and why scripts/finalize.mjs removes every script but the two hashed theme scripts the content
security policy allows), the four commands from the repository root and what each does, how to look at the built site
with a plain static file server, where the words live and their rules, the brand files under the logo lock, and where
the download page gets its release.

Tried before writing, on this Windows machine

  • pnpm --filter @hermit/site build does not run as-is here: the script sets
    NEXT_TELEMETRY_DISABLED=1 the POSIX way, which cmd refuses. Its steps run by hand do work: copy-brand.mjs
    copied 37 files, next build exported the site, and finalize.mjs stripped 10 pages.
  • pnpm --filter @hermit/site check then fails here for Windows-only reasons, all pre-existing: its path patterns
    assume forward slashes while this checkout reports backslash paths (payload .txt files reported left in out/,
    the 404 pages checked as public pages), and the badge files differ under this checkout's line endings. The README
    says the commands are written for macOS and Linux today. No code changed here, as agreed in the issue.
  • Serving apps/site/out with python3 -m http.server 8000 --directory apps/site/out (the way the README suggests)
    answered 200 for /, /en/, /es/, both download pages, /en/privacy/ and a brand file.
  • pnpm --filter @hermit/site test passes except the same pre-existing badge hash in test/badges.test.ts, and
    typecheck passes.
  • The README itself has no em or en dashes and no time estimates, and every relative link in it points at a file
    that exists.

How to check

pnpm install
pnpm --filter @hermit/site build
pnpm --filter @hermit/site check
pnpm --filter @hermit/site test
pnpm --filter @hermit/site typecheck
python3 -m http.server 8000 --directory apps/site/out

No dev server added and no new dependency.


Pull request template

What and why

Closes #224.

Writes the website README the issue asked for, in the relay README's style.

Vision fit

Principle 5, Spanish and English first-class: the bilingual site gets the same contributor on-ramp the relay already had.

Non-negotiables

  • This keeps every non-negotiable in AGENTS.md as it is.
  • Or it changes one, and this is the accepted RFC: n/a

Checklist

  • It closes one issue, linked above, or it's a small fix (a typo, a broken link, a wrong comment). A feature has an accepted proposal.
  • I wrote the failing test first. It fails without this change and passes with it. Docs only; there is no test to write first. Every command was tried before writing, as the description says.
  • These pass: pnpm check:privacy, pnpm typecheck, pnpm lint, pnpm test and node scripts/guard/check.mjs --patterns scripts/guard/patterns.txt. Gate note: privacy and guard pass on this checkout today; the rest was run per package as listed under AI agents, not as one root gate on this Windows machine, where unrelated pre-existing failures appear in the site badges, the devices table and mobile source scans.
  • No new network call, telemetry, analytics, ads or crash reporting. (A new request in an app adapter is explained below, with its host, skill and risk.)
  • No new dependency, or the reason for each one is below.
  • Every UI string is in packages/copy, in es-419 and en, with matching keys and placeholders, and no em or en dashes.
  • Tests, fixtures and screenshots use made-up data only.

Model path

  • This doesn't touch the model path: packages/model, agent, skills or eval, the prompt, the router, tool descriptions, normalizers, examples or the model file.
  • It does. The eval numbers from before and after are below, run as docs/evals.md says. No held-out case was tuned on.

Screenshots

  • No UI change.
  • UI change. Each changed screen is below, in both themes and both languages, with made-up data.

New dependencies and network calls

None. No new dependency and no new network call.

AI agents

  • No AI agent wrote any part of this.
  • An AI agent helped. Which one, and what it did: Tinsel Alpha, an AI coding agent running in OpenCode, drafted the change and this description and ran the checks below, in a session directed by the author, who reviewed each step's report before it was pushed.
  • I read and ran everything in this pull request, and I can explain it.

What was run: The build steps by hand on Windows (copy-brand, next build, finalize all pass; the combined build script's POSIX env prefix fails in cmd); a python3 static server answered 200 for /, /en/, /es/, both download pages and /en/privacy/; site test (69 pass, 1 pre-existing badge-hash failure in this checkout); site typecheck.

@juancguerrerodev

Copy link
Copy Markdown
Contributor

Ready to merge once the pull request template is filled in, including the "I read and ran everything" box (details on #234). 🦀

@juancguerrerodev
juancguerrerodev merged commit 6f4cd9d into DojoCodingLabs:main Dec 6, 2026
4 checks passed
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.

Write a README for the website

3 participants