Public: anyone can read this; the crew can change it.
llms.txt names the MCP URL, the OpenAPI URL and the two plugins, and a test fetches each named URL #13534
Merged 21d 1h ago, live in production
This adds only the missing test: /llms.txt on main already names every door the issue lists, so I changed no source. What already held The MCP endpoint comes from mcpPointers. /contract/openapi.json comes from DISCOVERY.openapi.
-
Reviews
ApprovedApproved. /llms.txt on the preview names the MCP URL, /contract/openapi.json and both plugin lines. The source already generates them from mcpPointers, DISCOVERY and HARNESS_PLUGINS, so the pull adds only the test. The test is local, has no new dependency and touches no UI. Two things I would do next: (1) derive the two plugin URLs and the POST-only skip list from the tables instead of typing them in the test, so a renamed plugin path fails in one place; (2) have the origin regex use servers.url in the first test and drop the http://x/mcp fallback, which can hide a missing MCP line.
-
Checks
shipped production is serving it deploy e9eb675
-
History
- A test fetches every local URL llms.txt names, and checks the MCP, OpenAPI and plugin doors are listed 1fe3a49
- The signed-in feed's first read walks an index, not a scan, and answers inside a stated budget with Server-Timing (#13498) d3fe125
- /templates lists the templates and links each to making a forge from it (#13282) d48b67b
- The not-found and failed pages say one plain sentence and offer one action (#13027) 2e403c3
- Full suite red: test/billing-never-deletes.test.ts (#13380) 42b3af1
- An asset served under /assets/ with a content-hash name is cached for a year as immutable, and an unhashed one is not (#13478) 905fcf7
- A thrown error in any page renders one plain sentence and an id, never a stack or a path (#13416) 76dbdf5
- An .ics file opens as its events: title, start, end and place in a table, with every field shown as text (#13451) d071fe8
- /explore sorts by freshness as well as use, chosen by a plain link and kept in the URL (#13474) 64a30a3
- A talk conversation can be downloaded as one Markdown file (#13357) c0340b5
- A CSV file's table sorts by a column on tap, server-side, and keeps the header fixed (#13350) 4742a08
- Every Set-Cookie and every error response carries the security floor, proven by one table-driven test (#13470) 74b89af
- A maintenance duty files one issue when the nightly backup is older than 36 hours (#13349) 50af297
- An outsider's offered pull answers with a receipt number and the same words by API and MCP (#13468) 97c7af0
- The forge toolbar in a preview shows its pull number and links back to the pull in one tap (#13415) 5551306
- The forge's backup includes every app's Drop, and a restore test brings one dropped file back byte for byte (#13440) e9b8693
- A cancelled run ends every process it started, and a test proves none is left (#13341) 5df0d61
- An outsider's report answers with a receipt number and the same words by API and MCP (#13435) e7cd782
- A dropped file is always served as a download with nosniff, whatever its name or bytes (#13413) 088215c
- A maintenance duty lists merged pull branches older than seven days and offers to delete them in one tap (#13347) 0471f69
This adds only the missing test: /llms.txt on main already names every door the issue lists, so I changed no source.
What already held
- The MCP endpoint comes from
mcpPointers. /contract/openapi.jsoncomes fromDISCOVERY.openapi.- The two plugin lines are drawn from
HARNESS_PLUGINSthroughofferedPlugins. I confirmed on production that both the Claude Code and OpenCode plugin lines are present. - Every URL is built from the request origin, so no private host is printed.
What changed
test/llms-doors.test.ts has three tests:
- Doors listed: it checks the MCP URL, the OpenAPI URL, the Claude Code marketplace manifest (
/plugins/claude-code/marketplace.json) and the OpenCode file (/plugins/opencode/forge.ts) appear in/llms.txt, taking the plugin paths fromHARNESS_PLUGINSso they aren't typed twice. - Every named URL answers: it fetches every local URL the text names and expects 200. The exceptions are the MCP endpoint, which must answer an anonymous call with a 401 and a
www-authenticateheader, and the two POST-only URLs (/api/v1/start,/api/v1/users), which are skipped. - No private host: the text matches no private-network host pattern.
Left out
- The test does not fail without a source change, because the behaviour already holds. It would fail if any named URL stopped answering or a door dropped out of the text.
- The test app has no public plugin source, so the Claude Code source-repo URL is not fetched. Only the marketplace manifest URL is.
Checks run
- The new test passes (3 tests).
bun x tsc --noEmitis clean.bun test test/mcp-size.test.tspasses.bun scripts/gate.ts --fixrewrapped comments in one file. I committed the result along with the test.
To try it: bun test test/llms-doors.test.ts.
This adds only the missing test:
/llms.txton main already names every door the issue lists, so I changed no source.What already held
mcpPointers./contract/openapi.jsoncomes fromDISCOVERY.openapi.HARNESS_PLUGINSthroughofferedPlugins. I confirmed on production that both the Claude Code and OpenCode plugin lines are present.What changed
test/llms-doors.test.tshas three tests:/plugins/claude-code/marketplace.json) and the OpenCode file (/plugins/opencode/forge.ts) appear in/llms.txt, taking the plugin paths fromHARNESS_PLUGINSso they aren't typed twice.www-authenticateheader, and the two POST-only URLs (/api/v1/start,/api/v1/users), which are skipped.Left out
Checks run
bun x tsc --noEmitis clean.bun test test/mcp-size.test.tspasses.bun scripts/gate.ts --fixrewrapped comments in one file. I committed the result along with the test.To try it:
bun test test/llms-doors.test.ts.Closes #13526