Skip to content

docs: reconcile mkdocs site with spec + ADRs (MCP drift) - #62

Merged
mindpower merged 2 commits into
mainfrom
docs/reconcile-mkdocs-with-spec
Jul 8, 2026
Merged

docs: reconcile mkdocs site with spec + ADRs (MCP drift)#62
mindpower merged 2 commits into
mainfrom
docs/reconcile-mkdocs-with-spec

Conversation

@tadasant

@tadasant tadasant commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What this does

The mkdocs documentation site under docs/ is meant to mirror and simplify the specification (specification/ai-catalog.md + the ADRs in adr/). Several pages had drifted from the current spec — mostly around MCP — describing an older model. This PR brings the docs back into line with the spec. No spec or ADR files are changed; only docs/. Where the docs and the spec disagreed, the docs were treated as wrong and corrected to match the spec.

Inconsistencies found & fixed

# Doc location(s) Was (drifted) Now (matches spec) Authority
1 index.md, getting-started.md, guides/creating-a-catalog.md (×2), guides/organizing-catalogs.md (×2), examples/minimal-catalog.md, examples/multi-protocol-agent.md, examples/nested-catalogs.md9 URLs MCP Server Card served at …/.well-known/mcp/server-card.json …/mcp/server-card (the form the spec examples use) ADR-0011 — the .well-known convention is for the AI Catalog, not the Server Card; spec examples never put the card under .well-known
2 guides/adding-trust.md (×5), examples/multi-protocol-agent.md (×1) Attestation objects carried a "mediaType": … field field removed ADR-0014mediaType was removed from the Attestation object; it has only type/uri (required) + optional digest/size/description (spec "Attestation Object")
3 guides/serving-your-catalog.md (OCI table) OCI Image Manifest artifactType set to the entry's mediaType …set to the entry's type ADR-0014 (mediaTypetype); matches the spec's OCI mapping table verbatim. artifactType itself is a real OCI field and is kept.
4 guides/serving-your-catalog.md (§ heading + body) "MCP Registry mapping" — "your server.json entries map naturally… each MCP server becomes an entry with mediaType: application/mcp-server-card+json" "MCP servers" — servers map by referencing each server's MCP Server Card (type: application/mcp-server-card+json, url → the card) Spec appendix "Mapping to MCP Servers" (Server-Card–based, not server.json-based)
5 specification.md (mappings list) "…maps to OCI Distribution, MCP Registry server.json, and Claude Code Plugins" "…OCI Distribution, MCP servers (via MCP Server Cards), and Claude Code Plugins" Same spec appendix rename
6 guides/adding-trust.md (identity field) "identityMust match the containing entry's identifier." (asserted exact-string match) its trust domain must align with the publisher domain in the entry's identifier (a one-line correction, kept in the docs' simple style) Spec Trust Manifest "Identity" section (domain-alignment, not exact match)
7 guides/creating-a-catalog.md (known-type table) table omitted two spec-recognized known types added application/agent-card+json and application/agent-skills+gzip Spec "known types" list under the entry type field

Not changed (deliberately)

  • AI Catalog served at /.well-known/ai-catalog.json — still correct and kept; ADR-0011 only makes it OPTIONAL (a SHOULD-register convention), and the docs already present link-relation discovery as the primary mechanism with well-known as fallback.
  • artifactType in the OCI-mapping context — a legitimate OCI field, retained.
  • The type-is-a-media-type framing — consistent with the spec's own Design Goal ("declare its artifact type using a media type"), so left as-is.

tadasant and others added 2 commits July 8, 2026 18:51
The mkdocs docs under docs/ mirror the spec (specification/ai-catalog.md
+ adr/0001..0016). Several pages had drifted from the current spec,
mostly around MCP. Bring them back into line:

- Server Card URLs: drop /.well-known/mcp/server-card.json in favor of
  the /mcp/server-card form used by the spec examples (ADR-0011: the
  well-known convention is for the AI Catalog, not the Server Card).
- Attestation objects: remove the invalid `mediaType` field (ADR-0014
  removed mediaType from Attestation; the object has only type/uri +
  optional digest/size/description).
- OCI mapping table + MCP section: rename the entry's `mediaType` to
  `type` (ADR-0014) and reframe "MCP Registry mapping"/server.json as
  "MCP servers" referencing MCP Server Cards (matches the spec's
  "Mapping to MCP Servers" appendix).
- Trust Manifest identity: correct the binding rule from "must match the
  entry identifier" to "authority/trust domain MUST align with the
  publisher domain segment of the identifier" (spec Identity section).
- creating-a-catalog known-types table: add application/agent-card+json
  and application/agent-skills+gzip to fully mirror the spec known types.
- specification.md mappings bullet: MCP Registry server.json -> MCP
  servers (via MCP Server Cards).

Verified: `mkdocs build --strict` succeeds; all edited JSON blocks are
well-formed; no internal anchors broken by the header rename.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Keep the one-line style of the original; correct only the claim
(trust-domain alignment with the publisher domain, not exact match).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tadasant
tadasant marked this pull request as ready for review July 8, 2026 21:19
@tadasant
tadasant requested a review from a team as a code owner July 8, 2026 21:19
@mindpower
mindpower merged commit 948b915 into main Jul 8, 2026
4 checks passed
@mindpower
mindpower deleted the docs/reconcile-mkdocs-with-spec branch July 8, 2026 21:30
tadasant pushed a commit that referenced this pull request Jul 9, 2026
Resolves the specification/ai-catalog.md conflict with the base branch's
Server-Card-centric MCP mapping rewrite (PR #53) and mkdocs reconciliation
(PR #62). Base main already added the authoritative-source guidance to the
MCP mapping-appendix description/version rows, so those now-redundant edits
are dropped. This branch's genuinely-additive contribution is preserved and
re-applied onto the base structure:

- authoritative-source guidance on the description and version *field
  definitions* (base still had bare one-liners there)
- a new "Resolving an Artifact's Description" consumer-resolution section
- the Claude Plugins appendix description row aligned to match

Spec-internal anchor links use the build-tool slugify form
(#resolving-an-artifact-s-description) to match base's convention; ADR
cross-links keep the GitHub form, consistent with ADR-0016.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

2 participants