Skip to content

feat(discovery): agent skills, MCP, WebMCP and Web Bot Auth surfaces (ADR 0021) - #82

Merged
kieronlanning merged 3 commits into
mainfrom
fix/api-catalog-hidden-files
Dec 4, 2026
Merged

kieronlanning merged 3 commits into
mainfrom
fix/api-catalog-hidden-files

Conversation

@kieronlanning

@kieronlanning kieronlanning commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the remaining agent-readiness discovery surfaces (ADR 0021) alongside the
A2A Agent Card, OAuth metadata and ACP document (ADR 0020), and ships the
.well-known files that GitHub Pages was dropping.

  • Agent Skills index — /.well-known/agent-skills/index.json ($schema plus
    a skills[] of name / type / description / url / digest), listing
    this repository's own skills (copied to /.well-known/agent-skills/<name>/) and
    the mirrored project skills, each with a SHA-256 digest.
  • MCP Server Card — /.well-known/mcp/server-card.json, plus a real,
    read-only MCP server (JSON-RPC 2.0 over Streamable HTTP) at /mcp in the edge
    Worker (worker/src/mcp.ts).
  • Web Bot Auth — /.well-known/http-message-signatures-directory (a committed
    Ed25519 JWKS) with the site's outbound IndexNow request signed
    (Signature-Agent / Signature-Input / Signature).
  • WebMCP — page tools (search-projects, list-projects, open-page)
    registered on load via document.modelContext.registerTool().
  • DNS-AID — _agents SVCB/HTTPS records documented as a one-time operator
    step (the zone is controlled outside this repository).

Each surface is generated or served from a single source and wired through
emit, discovery:validate, check-generated, the edge Worker and the docs.

Deploy fix (also in this PR)

actions/upload-pages-artifact drops dot-files and dot-directories by default
(include-hidden-files: false), so the generated dist/.well-known/* files —
which pass discovery:validate — never reached GitHub Pages and the origin
404'd. 57f166d sets include-hidden-files: true on the upload step (it still
excludes .git/.github), and docs/discovery.md records the requirement.

Validation

  • astro check — 0 errors; oxlint — 0 warnings/errors; oxfmt --check — clean
  • astro build and discovery:validate — pass
  • unit and Worker test suites — pass, with new coverage for every surface

Notes

  • The live isitagentready.com scan flips only once this branch is deployed:
    the .well-known files must reach GitHub Pages.
  • DNS-AID needs operator DNS changes (records + DNSSEC); nothing in the build can
    pass it alone.
  • Set WEB_BOT_AUTH_PRIVATE_JWK (from bun run web-bot-auth:key) to sign
    outbound requests; the directory already resolves from the committed public key.

`actions/upload-pages-artifact` drops dot-files and dot-directories by
default, so the generated RFC 9727 API catalog (/.well-known/api-catalog) was
built and validated in `dist/` but never uploaded. GitHub Pages then served its
404 page, which the edge Worker faithfully propagated as text/plain.

Set `include-hidden-files: true` on the upload step (it still excludes
.git/.github) and record the requirement in docs/discovery.md.
Publish the remaining agent-readiness discovery surfaces (ADR 0021) beside the
A2A Agent Card, OAuth metadata and ACP document (ADR 0020):

- Agent Skills index at /.well-known/agent-skills/index.json, listing this
  repository's own skills (copied to /.well-known/agent-skills/<name>/) and the
  mirrored project skills, each with a SHA-256 digest.
- MCP Server Card at /.well-known/mcp/server-card.json for a new read-only MCP
  server (JSON-RPC 2.0 over Streamable HTTP) at /mcp in the edge Worker.
- Web Bot Auth JWKS directory at
  /.well-known/http-message-signatures-directory, with the site's IndexNow
  request signed (Signature-Agent / Signature-Input / Signature).
- WebMCP tools registered on page load (search-projects, list-projects,
  open-page).
- DNS-AID `_agents` SVCB/HTTPS records documented as a one-time operator step.

Each surface is generated or served from a single source and wired through
emit, discovery:validate, check-generated, the edge Worker and the docs, with
unit, dist and Worker coverage.
@kieronlanning kieronlanning changed the title fix(deploy): ship hidden files so /.well-known/api-catalog reaches Pages feat(discovery): agent skills, MCP, WebMCP and Web Bot Auth surfaces (ADR 0021) Dec 4, 2026
@kieronlanning
kieronlanning enabled auto-merge (squash) December 4, 2026 17:59
@kieronlanning
kieronlanning merged commit cb041fe into main Dec 4, 2026
1 check passed
@kieronlanning
kieronlanning deleted the fix/api-catalog-hidden-files branch December 4, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant