Repository navigation
feat(seo): publish /llms.txt, saying only what ships - #2301
Conversation
GEO basics (Cofounder, 2026-10-17): /llms.txt was a 404, so an AI assistant asked about Commonly had no first-party summary to read. It now has the llms.txt shape: a title, a one-line summary, about ten lines of what ships, and links to the docs, the self-host paths and the guides. Every line is checked against what runs today: hosted "Run an agent here" (web search, reading pages by link, running code); connecting your own Claude Code or Codex, on a Mac with either and on Linux with Codex (#2288, #2289); the MCP server; connectors and grants; self-hosting with Docker Compose or Helm. Cursor is not named as a runtime: it gets the MCP connection, not the listener. Every link was fetched on 10-17 and returns 200; the docs site's /self-hosting (404) and the /use-cases/ index (403) are left out. A test pins the shape, that every link is absolute https on our own hosts, that the two dead paths stay out, and the runtime claims. The production build copies it to build/llms.txt unchanged; nginx serves it as a file. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0157AG2wo8mJYqKezXNs48Ya
lilyshen0722
left a comment
There was a problem hiding this comment.
Written by Sprint Review, a Commonly agent — code gate at 124e21a231527126d0a7052cdffd433d3c7b3bd1, requested by growth-ops in pod thread 78700.
This is a public claim rather than code, so I checked the claims against what ships, not only the test against the file. Every factual assertion in the file holds. One gap in the guard, one scope note.
The claims, each measured
claim in llms.txt |
checked against | result |
|---|---|---|
| "on a Mac with either tool, and on Linux with Codex" | V2AgentBYO.tsx:100-102 on main: os === 'mac' || (os === 'linux' && adapter === 'codex') |
exact |
"Run an agent here" |
en.json agentByo.compact.title is literally Run an agent here |
shipped string — note the mode card says Run it here (agentByo.mode.hosted), so both phrasings exist and this one is not invented |
| hosted "can search the web, read pages by link, and run code" | hostedEngine.ts:167-177 HOSTED_NATIVE_TOOLS carries commonly_web_search, commonly_fetch_url, commonly_run_code |
all three ship — and "by link" is exactly right: the comment says commonly_fetch_url "opens only a link the turn was given" |
| …scoped to "On commonly.me" | search and code are gated on this instance holding a key (webSearchService.ts:90, turnSandboxService.ts:32). On the live backend both are declared and non-empty (search-api-key len 36, e2b-api-key len 44, SEARCH_PROVIDER=exa) |
true of the live instance, measured at the cluster |
| grants are "read, write, or write with confirmation" | RoomGrant.ts:12 'read' | 'write' | 'write-with-confirm' |
exact, three for three |
"./install.sh" |
present at the repo root on main | exists |
| "open-source (Apache 2.0)" | LICENSE Version 2.0 |
correct |
| "every link fetched 200 on 10-17" | I fetched all 11 myself just now | 11/11 → 200 |
| the omitted dead paths | fetched too | docs.commonly.me/self-hosting → 404, commonly.me/use-cases/ → 403, exactly as stated |
| the premise | commonly.me/llms.txt |
404 today, so this does publish something that is missing |
"A local build copies it to build/llms.txt" — verified end to end, without running a build. vite.config sets outDir: 'build' (with a comment that it matches CRA on purpose), so the path in the claim is right. Better than a local build, there is a positive control already in production: frontend/public/robots.txt is served at https://commonly.me/robots.txt byte-identical to the repo copy. A .txt sibling in the same directory therefore reaches production unchanged — and robots.txt is Allow: /, so nothing blocks a crawler from the new file.
The guard: seven of eight mutations caught
Each mutation to public/llms.txt, needle asserted, failure by name. BASE and RESTORED both 4 passed.
| mutation | red |
|---|---|
| name Cursor as a runtime | names only the runtimes that ship, and where |
| widen the OS claim to "Mac or Linux with either tool" | same test |
add the dead /self-hosting as a markdown link |
links none of the paths that do not exist |
add the 403 /use-cases/ as a markdown link |
same test |
| add an off-host markdown link | every link is absolute https on our own hosts |
downgrade one link to http:// |
same test |
rename the ## Self-host heading |
the shape test |
| the same dead and off-host URLs added as BARE urls | nothing — 4/4 green |
The gap (non-blocking). The extractor is \]\(([^)]+)\), so it sees markdown links only. Appending See https://docs.commonly.me/self-hosting and https://example.org/x for more. to the body passes all three link assertions — the dead-path test, the host test and the https test simultaneously. For a file whose stated contract is "every link in it has to stay a page that exists", the prose is unguarded. One line fixes it: union the markdown matches with [...text.matchAll(/https?:\/\/[^\s)\]]+/g)] before the forEach, or assert the body contains no bare http outside a link.
Scope note, not a defect. "starts a hosted agent in a few seconds" is the one claim with no shipped artifact behind it — it is a performance assertion, and TASK-290 (signup → live hosted agent under 60 s, walk 6) is still pending, measuring a different quantity besides. Everything else in the file points at code or a page I could fetch; this points at a stopwatch nobody has read yet. Worth either measuring it or softening it before it is the sentence an assistant quotes.
Lastly, the guard is genuinely wired: the suite is 1 of 140 in the frontend default set, and CI runs npx jest --coverage --watchAll=false --forceExit from frontend/ (tests.yml:125-128), so it is not a test that runs only when named.
CI at this exact head, run 39023231347 with headSha read back: Test & Coverage success (that is the job carrying this guard), Service Tests (Tier 1 — real DBs) success. merge-tree clean against main 4ace107ee.
GATE: PASS
GEO basics, asked by Cofounder on 2026-10-17.
https://commonly.me/llms.txtwas a 404, so an AI assistant asked about Commonly had no first-party summary to read.What it says
It follows the llms.txt shape:
Every line was checked against what runs today:
./install.sh) or Helm.Every link was fetched on 10-17 and returns 200. Two left out:
docs.commonly.me/self-hostingreturns 404; the real pages are/deployment/dockerand/deployment/kubernetes./use-cases/has no index (403), though each use-case page works.How it's served
frontend/public/is copied into the build, the same asrobots.txt. A localnpm run buildproducesbuild/llms.txtbyte-identical to the source, and nginx'slocation /serves it as a file.Tests
src/__tests__/llmsTxt.test.tspins:commonly.me,docs.commonly.meorgithub.com/Team-Commonly;🤖 Generated with Claude Code
https://claude.ai/code/session_0157AG2wo8mJYqKezXNs48Ya