Add agent discovery metadata for docs - #122
dimitri-circle wants to merge 2 commits into
Conversation
|
Thanks for the careful rollout notes and the narrow Worker routes. One thing that is easy to miss from this GitHub tree: GitBook already publishes the agent-discovery surface on the live origin. Those files are generated at publish time, not checked into thorchain/docs, so they never show up in SUMMARY.md. On https://docs.thorchain.org today (GitBook, not this Worker): • Index: https://docs.thorchain.org/llms.txt Adding llms.txt (or an equivalent catalog) to this repo would not replace that. GitBook serves those URLs from the custom domain regardless of git. The Worker is already live in front of that origin. Homepage Link headers and /.well-known/* are useful signposts, but they mostly point at the GitBook URLs above. /AGENTS.md and /auth.md are Worker-only exact paths; GitBook’s lowercase /agents.md is currently its generic “page not found” markdown (HTTP 200), not a published page. After merge, GitBook would publish the git files at its own slugs while the Worker still owns the uppercase routes, so the two copies can diverge. If the goal is “agents can find and read these docs,” GitBook’s /llms.txt + /~gitbook/mcp already do that. I’d treat the Worker catalogs / DNS-AID / root AGENTS.md as optional extras, and keep repo-root AGENTS.md for editing this GitBook repo (trunk, SUMMARY.md) rather than for the published site. Happy to walk through live headers vs GitBook .md URLs if useful. |
Summary
OAuth, A2A, WebMCP, registration, and payment metadata remain absent because this public documentation service does not provide those capabilities.
Verification
Rollback
Remove only the four Worker routes declared in wrangler.jsonc and delete only the SVCB record declared in dns-aid-record.json. The GitBook CNAME is unchanged.