Skip to content

docs(adagents): define authorized_agents[].url as the full agent endpoint - #7827

Merged
bokelley merged 1 commit into
mainfrom
w-549/adagentsjson-agent-url-format
Oct 1, 2026
Merged

bokelley merged 1 commit into
mainfrom
w-549/adagentsjson-agent-url-format

Conversation

@bokelley

@bokelley bokelley commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

An implementer asked whether adagents.json authorized_agents[].url should be the full transport endpoint (https://agent.example.com/mcp) or the agent's origin. The field was described only as the "agent's API endpoint URL", and the examples mixed bare hosts with paths.

This PR states the answer the canonicalization rules already imply:

  • Schema (core/authorized-agent-base.json): url is the agent's protocol endpoint URL: the exact agent URL buyers are given and send AdCP requests to, including the path. A bare origin matches only an agent served at the root. An agent with separate MCP and A2A URLs needs one entry per URL.

  • adagents.mdx: new Agent URL matching section, next to Domain Matching Rules. It covers:

    • including the path
    • per-tenant paths as separate agents
    • one entry per agent URL
    • which URL differences canonicalization ignores and which it keeps (scheme, path case, trailing slash, query)

    The Basic Structure example now uses /mcp.

  • url-canonicalization.mdx: new pitfall entry, "Registering an origin for a path-mounted agent".

This is a patch changeset. It clarifies existing behavior and adds no new requirement.

Open question (not decided here)

The docs don't say whether an A2A agent's identity URL is its Agent Card interface URL (supportedInterfaces[].url) or the base URL the card is discovered under. @adcp/sdk currently strips /a2a, /mcp, and Agent Card paths when it computes a base URL. Its resolveAgentProperties, however, matches paths exactly. The WG should decide this before 3.3.

Test plan

  • node tests/json-schema-validation.test.cjs --file docs/governance/property/adagents.mdx
  • node tests/schema-validation.test.cjs
  • npm run build:compliance -- --check
  • Changeset scope and status checks

🤖 Generated with Claude Code


Open workspace in Conductor

…oint

Say that `authorized_agents[].url` is the agent's protocol endpoint URL,
including the path, not its origin. Add an "Agent URL matching" section
that covers which differences canonicalization ignores and which it
keeps, per-tenant paths, and one entry per agent URL when MCP and A2A
are served at different paths.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@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: Escalate to human review

Escalate — gated path requires human/CODEOWNERS approval.

This PR modifies static/schemas/source/core/authorized-agent-base.json, which is under a hard, deterministic approval gate (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so decision-table row 2 fires and the outcome must be escalate.

No blocking findings on the substance: the reviewer verified schema↔docs coherence across authorized-agent-base.json, adagents.mdx, and url-canonicalization.mdx, confirmed the authorized_agents[].url clarification is consistent with the canonicalization algorithm, found a valid changeset, a defensible patch type under the errata test, and no oneOf/dist/operational surface touched. No Critical/High/Medium findings.

Escalation reasons

  • Modifies gated protocol-source file static/schemas/source/core/authorized-agent-base.json; human/CODEOWNERS review is required (review_decision is REVIEW_REQUIRED, not APPROVED).

Why human review

  • Modifies gated path static/schemas/source/core/authorized-agent-base.json (matches static/schemas/source/**); requires human/CODEOWNERS approval — review_decision is REVIEW_REQUIRED, not APPROVED
  • This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/authorized-agent-base.json (modified) matches static/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Sep 30, 2026
@bokelley
bokelley merged commit cad4f33 into main Oct 1, 2026
63 checks passed
@bokelley
bokelley deleted the w-549/adagentsjson-agent-url-format branch October 1, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant