Skip to content

docs(a2a): use /.well-known/agent-card.json in the 3.1.x docs - #8979

Merged
bokelley merged 2 commits into
adcontextprotocol:3.1.xfrom
KonstantinMirin:docs/3.1.x-a2a-agent-card-path
Nov 16, 2026
Merged

bokelley merged 2 commits into
adcontextprotocol:3.1.xfrom
KonstantinMirin:docs/3.1.x-a2a-agent-card-path

Conversation

@KonstantinMirin

Copy link
Copy Markdown
Collaborator

Closes #7875 together with #8878 and #8978, the registry fix on main.

The well-known location of the A2A agent card is /.well-known/agent-card.json (A2A §8.2). Agents don't serve /.well-known/agent.json, and clients don't need to probe it. On main the guide already uses the A2A path (#2968), but 3.1.x still names agent.json.

Changes

  • docs/building/by-layer/L0/a2a-guide.mdx: the Agent Cards section (line 782 at v3.1.33) and the AdCP extension example (line 898) now use /.well-known/agent-card.json.
  • docs/sponsored-intelligence/si-chat-protocol.mdx: the SI manifest example's A2A transport URL now points at agent-card.json. This is the line docs(si): update A2A agent card discovery path to 1.x canonical #7876 fixed on main.
  • docs/creative/canonical-formats-migration.mdx: two examples labelled a get_adcp_capabilities excerpt as GET .../.well-known/agent.json. The agent card doesn't carry the creative block, so the label now names only the get_adcp_capabilities response. Main dropped these examples in feat(creative): make formats canonical in AdCP 3.2 #6125.

After this, no page under docs/ on 3.1.x names /.well-known/agent.json. The scope is the well-known URI only, not A2A's other discovery mechanisms or the authenticated extended card.

No changeset: docs/building/, docs/sponsored-intelligence/ and docs/creative/ aren't protocol release surface, and docs-only fixes on 3.1.x such as #6315 shipped without one.

Testing

All run in a clean worktree off origin/3.1.x at 590bbf6, on Node 24.21.0:

  • node tests/snippet-validation.test.cjs --file and node tests/json-schema-validation.test.cjs --file on each of the 3 edited pages: pass (none of the edited fences is executed or $schema-tagged).
  • npm run test:docs-nav and npm run test:examples: pass.
  • npm run check:owned-links: reports one broken link, https://docs.adcontextprotocol.org/docs in server/src/addie/mcp/story-tools.ts. It reports the same on unmodified 3.1.x; this PR doesn't touch that file.
  • node scripts/check-changeset-protocol-scope.cjs origin/3.1.x: passes, no protocol-scoped changes.
  • git grep "well-known/agent\.json" -- docs: no matches.
  • The pre-commit hook (root unit tests, the full server unit suite, typecheck) passed on both commits.

The Agent Cards section and the AdCP extension example named
/.well-known/agent.json. The well-known URI of an A2A agent card is
/.well-known/agent-card.json (A2A section 8.2).

Part of adcontextprotocol#7875.
Point the SI manifest's A2A transport URL at agent-card.json, as main
did in adcontextprotocol#7876, and label the two get_adcp_capabilities excerpts in the
canonical formats migration guide as that response instead of an
agent.json fetch.

Part of adcontextprotocol#7875.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — clean editorial docs change with no blocking or medium findings.

Checked: renames the A2A well-known agent-card path from .well-known/agent.json to .well-known/agent-card.json across a2a-guide.mdx, canonical-formats-migration.mdx, and si-chat-protocol.mdx, aligning with A2A v0.3+ and the two governance docs already on the new path. Verified no stale well-known/agent.json refs remain and migration-doc excerpts are correctly reattributed to get_adcp_capabilities responses.

No no-auto-approve team match, gated_paths false, high_risk false. No findings at any severity. Falls through to decision table row 9 → approve.

@bokelley
bokelley merged commit 9b26ab9 into adcontextprotocol:3.1.x Nov 16, 2026
11 checks passed
KonstantinMirin pushed a commit to KonstantinMirin/adcp that referenced this pull request Nov 21, 2026
Brings the published 3.1.34 release records to main.

Resolved:
- package.json, package-lock.json, static/schemas/source/index.json: main's.
- CHANGELOG.md: main's plus the 3.1.34 block (forward-merge-release-records.cjs changelog).
- dist/schemas/index.json, latest.json: 3.1.x's, regenerated in the next commit.
- static/compliance/source/universal/webhook-emission.yaml and
  tests/webhook-emission-storyboard.test.cjs: main's. adcontextprotocol#9127 is the 3.1
  adaptation of adcontextprotocol#8894, which main already carries in its 3.3 form.
- docs/building/by-layer/L0/a2a-guide.mdx and
  docs/creative/canonical-formats-migration.mdx: main's. adcontextprotocol#8979 brought
  3.1.x's docs to the agent-card.json path main already uses.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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