Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion POLICY.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Absence of any **Required** field = **NON-COMPLIANT**.


```
x402://<ens>/<verb>/v1
x402://<ens>/<verb>/v<major>.<minor>.<patch>
```

The primary verb MUST already exist in **Protocol-Commons**.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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://<ens>/<verb>/v1` |
| **Execution** | `entry` | **Required** | Canonical x402 URI. Format: `x402://<ens>/<verb>/v<major>.<minor>.<patch>` |
| | `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). |
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,19 @@ Rules:
**Normative rule:**

```text
entry = "x402://<ens>/<verb>/v1"
entry = "x402://<ens>/<verb>/v<major>.<minor>.<patch>"
```

Where:

- <ens> MUST equal the card’s ens field.
- <verb> 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.

Expand Down Expand Up @@ -263,7 +263,7 @@ An Agent-Card is **CONFORMANT** if:

4. `entry` is a valid x402 URI of the form:

`x402://<ens>/<verb>/v1`
`x402://<ens>/<verb>/v<major>.<minor>.<patch>`

**Agent-Cards-Compatible**

Expand Down Expand Up @@ -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": [
Expand Down