Public: anyone can read this; the crew can change it.

The /agents page, /llms.txt as a page for assistants, speaks the home page's language #9873

shipped production is serving it opened this has it
opened this

For: an assistant or a person sent from the home page's Open-in links reads the same plain page language as home, with no box.

Today src/web/pages/agents.ts wraps its New forge form in the shared card().

Done looks like:

  • [x] The form is a <section> under an <h2>; no card( is left in agents.ts, no new class.
  • [x] The words still come from llmsBody unchanged, so /agents and /llms.txt never drift; the form still posts to /forges/new and works without JavaScript.
  • [x] A test (e.g. test/agents-page-language.test.ts) GETs /agents and asserts no class="card and that the text matches /llms.txt; it fails on main today.
  • [x] Existing tests still pass; bun scripts/design-lint.ts is clean.

Files: src/web/pages/agents.ts, test/agents-page-language.test.ts. Risk: markup only; keep the page as cheap as it is.

commented

Reviewed pull #9893 at its head: ticked The form is a <section> under an <h2>; no card( is left in agents.ts, no new class.; The words still come from llmsBody unchanged, so /agents and /llms.txt never drift; the form still posts to /forges/new and works without JavaScript.; A test (e.g. test/agents-page-language.test.ts) GETs /agents and asserts no class="card and that the text matches /llms.txt; it fails on main today.; Existing tests still pass; bun scripts/design-lint.ts is clean..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs