Public: anyone can read this; the crew can change it.
/.well-known/ carries an agent card and an api-catalog naming the MCP, the OAuth metadata and the report door #13687
Merged 20d 16h ago, live in production
The catalog at /.well-known/api-catalog already existed, and so did the agent card at /.well-known/agent-card.json. The catalog lacked the OAuth metadata and the agent card, so I added them.
-
Reviews
ApprovedClean, small change. On the preview the catalog answers 200 as linkset+json, and its MCP entry now lists the agent card and both OAuth metadata documents. Each of the three answers 200 and is public. The existing every-href test covers the new links, and the new test pins the list. Caching is unchanged and nothing secret is exposed. The report door is left out of the catalog because it has no single forge-wide URL, and the builder explained that. It is reachable through the card and the MCP.
-
Checks
shipped production is serving it deploy 5dd19f3
-
History
- The API catalog's MCP entry names the agent card and the OAuth metadata (#13661) 70f0efd
- The daily count: one line a day in the check log of how many pulls had their pages inferred, named by the builder, or left without (#13362 ask 4) (#13433) 62c2159
- A forge link says when it expires on opening, and an expired link offers one way to ask for a fresh one (#13564) 902f319
- The OAuth consent page names the client and lists each scope in plain words (#13614) d3d4ab2
- A Talk answer can be stopped with one tap, and the answer says stopped and what it cost so far (#13549) 4200679
- An .ics calendar file opens as its events in the browser (#13615) c555d6d
- A bet that would overrun the wallet is refused before it starts, naming the estimate and the balance (#13623) 20daa9d
- /api/v1/explore rows carry the numbers the page's why-line shows: forks, ships, likes and age (#13613) deb7ce3
- The changelog groups entries under a month heading, newest first, with the month in the page's anchor (#13559) 34b36ab
- A template's page lists the files its forge starts with, from its repository, read-only (#13432) 8b95b87
- A sign-in or consent redirect target that points off this origin is ignored (#13607) 8e06626
- A talk answer's cited issue and pull numbers link to their pages, and only to pages the viewer may read (#13438) 6199991
- A bet's card shows its estimate and the wallet balance side by side before it starts (#13422) 08e2894
- Full suite red: 3 files in check run 01m7gawk2nkg0670wwre9nzdy4 (#13628) 4db0649
- A tell's page says what became of it: queued, picked up by whom, and the pull it produced (#13471) 3cfb22a
- An .opml or RSS/Atom file opens as its list of titles and links, with links shown as text (#13410) 1f6fe82
- Every mutating route refuses a cross-origin request, proven by a test that walks the route table (#13621) 20676a0
- The client list (who was sent which forge, and what happened) is readable through MCP with the page's words (#13419) 3abbe4f
- A maintenance duty files one issue naming open issues untouched for 60 days with no pull and no blocker (#13617) 2c5d9e3
- Every page route has a distinct, non-empty <title> that names the page and the forge, proven by a walk (#13612) e7ed22b
The catalog at /.well-known/api-catalog already existed, and so did the agent card at /.well-known/agent-card.json. The catalog lacked the OAuth metadata and the agent card, so I added them. The api-catalog, standards-etag and mcp-size tests pass, tsc is clean, and gate.ts --fix reported rewrapped comments (nothing left uncommitted).
What changed
- The catalog's MCP entry (the one anchored at
/mcp) now has aservice-metalist. It names the agent card,/.well-known/oauth-authorization-serverand/.well-known/oauth-protected-resource. The change is inapiCataloginsrc/core/mcp_card.ts. - The two OAuth paths are a private
OAUTH_METAconstant, not part ofDISCOVERY. The existing test requires everyDISCOVERYpath to appear in/llms.txt, and the authorization-server path doesn't. - A new test in
test/api-catalog.test.tschecks that the MCP entry lists exactly those three links. The existing "every href answers 200" test fetches each of them without following redirects. Caching is unchanged (public, max-age=300), and the catalog holds only public URLs.
Left out
- The report door has no link of its own in the catalog. For a public repo it is
/{owner}/{name}/report, which needs an owner and name, so no single URL is real for the whole forge. The door is the token-freereporttool on the MCP, and/llms.txtand the server card already describe it. Say if you want a link relation pointing at a specific page. - No new MCP tool, no
server.tschange, and the ceilings are untouched.
To try it
curl <forge>/.well-known/api-catalogbun test test/api-catalog.test.ts
The catalog at
/.well-known/api-catalogalready existed, and so did the agent card at/.well-known/agent-card.json. The catalog lacked the OAuth metadata and the agent card, so I added them. The api-catalog, standards-etag and mcp-size tests pass,tscis clean, andgate.ts --fixreported rewrapped comments (nothing left uncommitted).What changed
/mcp) now has aservice-metalist. It names the agent card,/.well-known/oauth-authorization-serverand/.well-known/oauth-protected-resource. The change is inapiCataloginsrc/core/mcp_card.ts.OAUTH_METAconstant, not part ofDISCOVERY. The existing test requires everyDISCOVERYpath to appear in/llms.txt, and the authorization-server path doesn't.test/api-catalog.test.tschecks that the MCP entry lists exactly those three links. The existing "every href answers 200" test fetches each of them without following redirects. Caching is unchanged (public, max-age=300), and the catalog holds only public URLs.Left out
/{owner}/{name}/report, which needs an owner and name, so no single URL is real for the whole forge. The door is the token-freereporttool on the MCP, and/llms.txtand the server card already describe it. Say if you want a link relation pointing at a specific page.server.tschange, and the ceilings are untouched.To try it
curl <forge>/.well-known/api-catalogbun test test/api-catalog.test.tsCloses #13661