diff --git a/POLICY.md b/POLICY.md index fbc0d44..d4c15a8 100644 --- a/POLICY.md +++ b/POLICY.md @@ -65,7 +65,7 @@ Absence of any **Required** field = **NON-COMPLIANT**. ``` - x402:////v1 + x402:////v.. ``` The primary verb MUST already exist in **Protocol-Commons**. diff --git a/README.md b/README.md index 9795226..dbec80c 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ Each Agent Card is a JSON document conforming to the `agent.card.base.schema.jso | **Lifecycle** | `status` | **Required** | `protocol_reference`, `active`, `deprecated`, etc. | | | `class` | **Required** | `commons` or `commercial`. | | **Semantics** | `implements` | **Required** | Array of verbs implemented (primary verb MUST be index 0). | -| **Execution** | `entry` | **Required** | Canonical x402 URI. Format: `x402:////v1` | +| **Execution** | `entry` | **Required** | Canonical x402 URI. Format: `x402:////v..` | | | `networks` | **Required** | Supported chain identifiers (e.g. `["eip155:1"]`). | | **Schemas** | `schemas.request` | **Required** | Canonical request schema URI (IPFS). | | | `schemas.receipt` | **Required** | Canonical receipt schema URI (IPFS). | @@ -330,7 +330,7 @@ import card from "./agents/v1.0.0/commons/summarizeagent.eth.json"; ``` ``` console.log(card.id); // "summarizeagent.eth" -console.log(card.entry); // "x402://summarizeagent.eth/summarize/v1" +console.log(card.entry); // "x402://summarizeagent.eth/summarize/v1.0.0" console.log(card.schemas.request); // ipfs://bafybei.../commons/summarize/requests/summarize.request.schema.json @@ -438,7 +438,7 @@ Reproducibility is mandatory. cl.verb=format cl.version=1.0.0 -cl.entry=x402://formatagent.eth/format/v1 +cl.entry=x402://formatagent.eth/format/v1.0.0 cl.schema.request=https://commandlayer.org/schemas/v1.0.0/commons/format/requests/format.request.schema.json cl.schema.receipt=https://commandlayer.org/schemas/v1.0.0/commons/format/receipts/format.receipt.schema.json diff --git a/SPEC.md b/SPEC.md index a3fa7f3..12faace 100644 --- a/SPEC.md +++ b/SPEC.md @@ -131,19 +131,19 @@ Rules: **Normative rule:** ```text -entry = "x402:////v1" +entry = "x402:////v.." ``` Where: - MUST equal the card’s ens field. - MUST equal implements[0]. -- /v1 denotes the x402 route version, not the card version. +- The route version is semver-pinned and SHOULD align with the published card release (e.g. `/v1.0.0`). Examples: -- `x402://summarizeagent.eth/summarize/v1` -- `x402://analyzeagent.eth/analyze/v1` +- `x402://summarizeagent.eth/summarize/v1.0.0` +- `x402://analyzeagent.eth/analyze/v1.0.0` Any deviation from this pattern is NON-COMPLIANT. @@ -263,7 +263,7 @@ An Agent-Card is **CONFORMANT** if: 4. `entry` is a valid x402 URI of the form: - `x402:////v1` + `x402:////v..` **Agent-Cards-Compatible** @@ -335,7 +335,7 @@ Non-normative but illustrative example: "receipt": "https://commandlayer.org/schemas/v1.0.0/commons/summarize/receipts/summarize.receipt.schema.json" }, - "entry": "x402://summarizeagent.eth/summarize/v1", + "entry": "x402://summarizeagent.eth/summarize/v1.0.0", "capabilities": { "operations": [