Repository navigation
docs(adagents): define authorized_agents[].url as the full agent endpoint - #7827
Conversation
…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]>
There was a problem hiding this comment.
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_decisionisREVIEW_REQUIRED, notAPPROVED).
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.
Summary
An implementer asked whether
adagents.jsonauthorized_agents[].urlshould 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):urlis 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: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/sdkcurrently strips/a2a,/mcp, and Agent Card paths when it computes a base URL. ItsresolveAgentProperties, 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.mdxnode tests/schema-validation.test.cjsnpm run build:compliance -- --check🤖 Generated with Claude Code
Open workspace in Conductor