On this page

Release history

Tagged releases and source archives: https://github.com/agentregistrar/spec/tags

Generated from agentregistrar/spec @ v2.3.0 · View source · Raw Markdown

Release Notes — Agent Identity Protocol v2.3.0

v2.3.0 is a strictly additive minor release under protocol_version: "2.0". It adds optional signup_receipt_endpoint to Contract I broker metadata (/.well-known/agent-broker.json) so relying parties can discover a broker’s Contract F receipt ingestion URL instead of hardcoding a path, and documents the recommended asynchronous outbox delivery pattern and explicit HTTP retryability matrix for Contract F. Signed receipts remain optional and strictly RP-signed: keyless providers (keys: [] or unverified) remain 100% conformant for base signup.


1. Contract I Broker Metadata (/.well-known/agent-broker.json)


2. Contract F Asynchronous Delivery Profile & Retryability Matrix


3. Fixtures


4. Validation evidence

No test framework is added (AGENTS.md). The manual gates were run from this repository:

Check Command Result
Typecheck pnpm typecheck exit 0, no diagnostics
Build pnpm build exit 0, dist/ rebuilt
Release consistency pnpm check:release exit 0, version consistent across package, spec header, release notes, and built CLI
Fixture matrix pnpm validate:fixtures Summary: 88 passed, 0 failed, exit 0
Registry pnpm validate:registry RESULT: VALID — 0 error(s), 0 warning(s), exit 0
Package dry-run npm pack --dry-run exit 0, clean tarball contents

Agent Identity Protocol — Release Notes (v2.2.1)

Summary

Edge / Cloudflare Workers / Next.js Turbopack runtime compatibility patch for @agentregistrar/discovery:

  1. Decoupled src/schema.ts from src/http.ts by keeping isHttpsCanonicalOrigin pure and local inside schema.ts, so the package root entry (dist/index.js) has zero node:* runtime imports and runs cleanly in Cloudflare Workers (workerd), Edge runtimes, Next.js transpilePackages, and browsers.
  2. Removed the top-level node:fs readFileSync("../package.json") call from src/version.ts (version consistency remains enforced by pnpm check:release).

Release Notes — Agent Identity Protocol v2.2.0

v2.2.0 is a strictly additive minor release under protocol_version: "2.0". It introduces Day-2 agent re-authentication (endpoints.agent_login), Contract A assertion purpose isolation and accepted-terms version attribution, anti-ATO account resolution rules, and optional provider-to-agent Day-2 response Zod schemas (AgentHandoffSchema, HumanActionRequiredSchema, and TermsReacceptanceRequiredSchema). Existing v2.0/v2.1 discovery documents without endpoints.agent_login remain 100% conformant.


1. Discovery (/.well-known/agent-signup.json)


2. Contract A Extensions, agent_login Handshake & Anti-ATO Rules


3. Provider-to-Agent Day-2 Response Schemas

Exported from @agentregistrar/discovery (src/schema.ts and src/index.ts), strictly separate from AgentSignupDiscoverySchema and signup-receipt.schema.json:


4. Fixtures


5. Validation evidence

No test framework is added (AGENTS.md). The manual gates were run from this repository:

Check Command Result
Build pnpm build exit 0, dist/ rebuilt
Typecheck pnpm typecheck exit 0, no diagnostics
Fixture matrix pnpm validate:fixtures Summary: 83 passed, 0 failed, exit 0
Registry pnpm validate:registry RESULT: VALID — 0 error(s), 0 warning(s), exit 0
Release consistency pnpm check:release exit 0, version consistent across package, spec header, release notes, and built CLI

Release Notes - Agent Identity Protocol v2.1.1

v2.1.1 is a package and documentation patch. It ships the compiled JavaScript package with a working npx CLI, makes package.json the single source of the validator version, and corrects the v2.1.0 documentation. It changes no wire format, schema, fixture, or validator behavior.


1. Compiled JS package and CLI bin

The npm package ships compiled JavaScript in dist/ and declares dist/cli.js as its bin, so the validator runs without cloning this repository:

npx @agentregistrar/discovery validate https://example.com/.well-known/agent-signup.json
npx @agentregistrar/discovery validate fixtures/valid-full.json --json
npx @agentregistrar/discovery --version

2. Single-source validator version and release gate

VALIDATOR_VERSION is read from package.json when the validator module loads at runtime, so package.json remains the single source of truth. The version is not repeated in the validator source, so the package version, specification header, release notes, and CLI output cannot drift independently.

pnpm check:release is the release-consistency gate. The tag-triggered publish workflow runs it after pnpm build and before publishing. It verifies:

3. Documentation errata

This release closes the documentation errata tracked as agentregistrar/spec#9. It corrects current release and package references, restores agent-identity-v1 in the historical changelog and release records, fixes the broker metadata protocol_versions value to "2.0", adds the protocol_version conformance requirement, and adds an ordered migration checklist to the v2.1.0 release notes. There is no wire format, schema, fixture, or validator-behavior change.

4. Validation evidence

No test framework is added (AGENTS.md). The manual gates were run from this repository:

Check Command Result
Typecheck pnpm typecheck exit 0, no diagnostics
Build pnpm build exit 0, dist/ rebuilt
Release consistency pnpm check:release exit 0, version consistent across package, spec header, release notes, and built CLI
Fixture matrix pnpm validate:fixtures Summary: 81 passed, 0 failed, exit 0
Registry pnpm validate:registry registry/implementations.json --json {"valid":true,"exitCode":0,"errors":[],"warnings":[]}, exit 0

Release Notes — Agent Identity Protocol v2.1.0

v2.1.0 renames the protocol from agent-identity-v1 to the Agent Identity Protocol (agent-identity-protocol) and separates the protocol name from the protocol version (2.0), eliminating the agent-identity-v1 (v2.0.0) naming mismatch.


1. Protocol name and version split

Discovery (/.well-known/agent-signup.json)

Before (v2.0.0):

{
  "protocol": "agent-identity-v1",
  "audience": "vaporcloud"
}

After (v2.1.0):

{
  "protocol": "agent-identity-protocol",
  "protocol_version": "2.0",
  "audience": "vaporcloud"
}

Broker metadata (/.well-known/agent-broker.json)

Signed attestations and attestation status JWS


2. Spec files, schema IDs, and validator updates


3. Migration checklist

  1. Broker metadata. Serve /.well-known/agent-broker.json with protocol_versions containing "2.0" instead of "agent-identity-v1".
  2. Discovery. Publish "protocol": "agent-identity-protocol" and add the required "protocol_version": "2.0" to /.well-known/agent-signup.json.
  3. RP attestation audience. Issue and verify Contract G RP attestations and Contract I status responses with "aud": "agent-identity-protocol" instead of "agent-identity-v1".
  4. Validator check. Run npx @agentregistrar/discovery validate <url-or-file> --json (or pnpm validate:discovery ... from a clone) and confirm valid: true; read protocol and validatorVersion from the output.

4. Validation evidence

No test framework is added (AGENTS.md). The manual harnesses were run from this repository:

Check Command Result
Typecheck npm run typecheck exit 0, no diagnostics
Fixture matrix npm run validate:fixtures Summary: 81 passed, 0 failed, exit 0
Registry npm run validate:registry RESULT: VALID — 0 error(s), 0 warning(s), exit 0
Signed fixtures npm run sign:fixtures regenerated deterministically

Release Notes — agent-identity-v1 v2.0.0

v2.0.0 simplifies two surfaces that added friction without adding trust. The protocol id, the signup handshake, the assertion format, the attestation claims, the signature, the 24-hour lifetime, and the origin/audience binding are unchanged.

  1. URL-hosted terms. Discovery terms now requires only { "version": string, "url": ... }. Providers host their own terms document. At signup (identity_signup / identity_prove) the broker fetches terms.url and computes sha256:<hex> over the exact response bytes. terms.text and terms.sha256 are removed from discovery and are no longer required or validated.
  2. Keyless RP attestations. Contract G (agent-rp-attestation+jwt) keys allows 0–8 entries instead of 1–8. A domain-verified provider without RP signing keys receives a valid attestation with keys: [].

1. URL-hosted terms (discovery)

Before

{
  "terms": {
    "version": "2026.1",
    "url": "https://vaporcloud.example/terms",
    "sha256": "sha256:6357f96f...",
    "text": "<the complete Terms of Service text>"
  }
}

After

{
  "terms": {
    "version": "2026.1",
    "url": "https://vaporcloud.example/terms"
  }
}

The signed receipt (Contract E) keeps tos.version, tos.url, and tos.sha256; the receipt’s hash is the one the broker computed from the retrieved bytes, not a producer-supplied value.

Schema and validator changes

Migration

  1. Publish the terms document at an HTTPS URL on a domain you control.
  2. Replace the discovery terms object with { "version": "...", "url": "..." }.
  3. Update the signup endpoint to compare delegation.accepted_rp_tos_url (and, if you serve deterministic bytes, the optional hash) instead of relying on the removed discovery terms.sha256.
  4. Re-run pnpm validate:discovery https://your-service.example/.well-known/agent-signup.json.

2. Keyless RP attestations (Contract G)

Before

keys was required to contain 1–8 entries, so a provider had to generate an Ed25519 keypair, download the public JWK, and complete a proof-of-possession JWS before it could receive any attestation.

After

keys contains 0–8 entries with unique kid:

Schema and validator changes


3. Fixture changes

4. Validation evidence

No test framework is added (AGENTS.md). The manual harnesses were run from this repository:

Check Command Result
Typecheck pnpm typecheck exit 0, no diagnostics
Fixture matrix pnpm validate:fixtures Summary: 81 passed, 0 failed, exit 0
Registry pnpm validate:registry RESULT: VALID — 0 error(s), 0 warning(s), exit 0
Signed fixtures pnpm sign:fixtures regenerated deterministically, no unexpected diff

5. Release mechanics

Per the repository AGENTS.md, the source-first package is published with npm trusted publishing (OIDC) — never a local npm publish and never an npm token:

  1. bump version in package.json to 2.0.0 (done) and merge to main;
  2. tag the merge commit v2.0.0 and push the tag;
  3. dispatch .github/workflows/publish.yml from main (environment npm-publish, id-token: write);
  4. verify npm view @agentregistrar/discovery@2.0.0 version dist.integrity and the provenance attestation;
  5. create the GitHub release from this file with --verify-tag.

Consumers pin @agentregistrar/discovery@2.0.0 (or github:agentregistrar/spec#v2.0.0 once the tag exists) and follow §1 and §2 above.

Release Notes — agent-identity-v1 v1.3.2

v1.3.2 corrects documentation only. It changes no wire format, JSON Schema shape, fixture, validator behavior, check id, reason code, or attestation claim. The VALIDATOR_VERSION and package version are 1.3.2 for evidence provenance; the validator behaves exactly as it did in 1.3.1.

Two normative contradictions in the published v1.3.1 text are fixed:

  1. Missing active key vs. ineligible provider (§15.3). The text grouped a non-active provider, a non-verified origin, and a missing active key under 403 provider_not_eligible. A missing active key is 409 no_active_key (§15.5), which is what brokers return. 403 provider_not_eligible is now scoped to a non-active provider or a non-verified origin.
  2. Unchecked host binding vs. broker binding (§14.2 step 2). The text said a verifier with no fetch origin reports the binding as unchecked, unconditionally. That applies only to a provider source, whose binding is to the fetched discovery origin. A broker source is always enforced from the document’s issuer_allowlist (plus the configured trusted-broker list) and does not depend on a fetch origin.

Three clarifications and one provider note accompany the corrections:

The v1.3.1 release notes are corrected on the 403/409 split; the rest of the v1.3.0 and v1.3.1 history, tags, and notes are unchanged.


1. What did not change

2. Why a patch instead of republishing 1.3.1

Published npm versions are immutable, and the v1.3.1 tag, provenance statement, and release notes are a public record. A new patch version makes the correction explicit and gives consumers a version to repin. This is a documentation correction, not a new protocol decision.

3. Validation evidence

No test framework is added (AGENTS.md). The patch changes documentation, a schema description, and version strings only:

Check Command Result
Typecheck pnpm typecheck exit 0, no diagnostics
Fixture matrix pnpm --silent validate:fixtures Summary: 79 passed, 0 failed, exit 0
Registry pnpm --silent validate:registry RESULT: VALID — 0 error(s), 0 warning(s), exit 0

The npm publication is verified after the workflow with npm view @agentregistrar/discovery@1.3.2 version returning 1.3.2.

4. Release mechanics

Per the repository AGENTS.md, the source-first package is published with npm trusted publishing (OIDC) — never a local npm publish and never an npm token:

  1. merge the patch to main;
  2. tag the merge commit v1.3.2 and push the tag;
  3. dispatch .github/workflows/publish.yml from main (environment npm-publish, id-token: write);
  4. verify npm view @agentregistrar/discovery@1.3.2 version dist.integrity and the provenance attestation;
  5. create the GitHub release from this file with --verify-tag.

Release Notes — agent-identity-v1 v1.3.1

v1.3.1 is a contract-text correction. It changes no wire format, JSON Schema, fixture, validator behavior, check id, reason code, or attestation claim. It corrects two normative statements that the published v1.3.0 text left out, so the text now matches the already-decided D18 contract:

  1. Contract H attestation issuance is not plan-gated. v1.3.0 still said issuance required plan:"verified" with a live subscription and that a free provider could not issue. D18 F6 removes the attestation entitlement entirely. Issuance now requires provider status:"active", origin status:"verified", and at least one active key. A non-active provider or non-verified origin is 403 provider_not_eligible; issuance with no active key is 409 no_active_key (§15.5). Neither is a plan signal.
  2. The client policy contract is no_verify/verify/strict. v1.3.0 still normatively said RpPolicy was allow/warn/require/block, defaulted to warn, and had an enforced field. D18 F4 replaces those values with no_verify, verify (default), and strict; blocked is a separate boolean human action, not a mode; verify and strict are always enforced; there is no enforced field and no alias for the removed values.

Consumers that pinned 1.3.0 would have implemented the wrong policy and issuance contract from the normative text. 1.3.1 gives them an explicit version to repin.


1. What changed

Section Correction
§15.3 Attestation issuance and renewal Removed the plan:"verified" / live-subscription requirement and the “free provider cannot issue” sentence. Issuance requires status:"active", a verified origin, and an active key. A non-active provider or non-verified origin is 403 provider_not_eligible; a missing active key is 409 no_active_key (§15.5), not a plan signal. Lifetime, per-origin 24/day limit, renewed_from_jti, GET-latest behavior, and the 12-hour renewal target are unchanged.
§15.4 Account lifecycle Removed the “free plan has no attestation entitlement” sentence. Other lifecycle facts are unchanged; receipts, abuse standing, verified listing, and entity review are not described as ungated.
§17.2 Resolution order Default policy is verify.
§17.3 Policy modes RpPolicy is exactly no_verify/verify/strict. no_verify never gates; verify accepts both publication modes; strict requires broker-managed and rejects provider-managed with rp_attestation_mode_not_allowed; blocked=true rejects with rp_blocked before any source fetch. The status-to-code mapping is unchanged. enforced and warn are removed.
§18.3 Verification source strict rejects agent_supplied_discovery with discovery_source_not_allowed; verify and no_verify may accept either source.
§19.1, §19.8, §20 Removed the “warning by default”/advisory wording and aligned fail-closed, security, and “no broker in the signup path” text with the new modes.
§2.1, §5.4, §14.3, §16.2 Replaced remaining normative old-policy references (require for agent-supplied discovery, “enforced mode”) with strict / verify/strict.
Implementation guide, validator guide, scope rulebook Aligned the policy summary, package version (1.3.1), and scope-checklist wording.

2. What did not change

3. Why a patch instead of republishing 1.3.0

Published npm versions are immutable, and the v1.3.0 tag, provenance statement, and release notes are already a public record. Rebuilding or moving 1.3.0 would invalidate checksums and provenance and silently change the text behind an existing pin. A new patch version makes the correction explicit: 1.3.0 remains the breaking discovery release with the defective text; 1.3.1 is the same wire contract with corrected normative text. Repin to 1.3.1.

This is a correction to text that should have shipped in 1.3.0, not a new protocol decision: the decisions (D18 F4 and F6) were already frozen and consumed by the monorepo work.

4. Validation evidence

No test framework is added (AGENTS.md). The patch changes documentation and version strings only:

Check Command Result
Typecheck pnpm typecheck exit 0, no diagnostics
Fixture matrix pnpm --silent validate:fixtures Summary: 79 passed, 0 failed, exit 0
Registry pnpm --silent validate:registry RESULT: VALID — 0 error(s), 0 warning(s), exit 0

The npm publication is verified after the workflow with npm view @agentregistrar/discovery@1.3.1 version returning 1.3.1.

5. Release mechanics

Per the repository AGENTS.md, the source-first package is published with npm trusted publishing (OIDC) — never a local npm publish and never an npm token:

  1. merge the patch to main;
  2. tag the merge commit v1.3.1 and push the tag;
  3. dispatch .github/workflows/publish.yml from main (environment npm-publish, id-token: write);
  4. verify npm view @agentregistrar/discovery@1.3.1 version dist.integrity and the provenance attestation;
  5. create the GitHub release from this file with --verify-tag.

Release Notes — agent-identity-v1 v1.3.0

v1.3.0 is the attestation source release. It is a breaking change to the discovery document and a no-op for the signed attestation: the embedded rp_attestation field is removed and replaced by one OPTIONAL attestation object (mode, uri) that names a stable URL serving { "attestation": "<compact JWS>" }. The attestation JWT, its claims, signature, key snapshot, 24-hour lifetime, aud, and origin/audience binding are unchanged. The Contract F receipt/abuse bodies keep the field name rp_attestation and are unchanged.

There is no compatibility field, embedded fallback, dual publication, or alias. A document that still contains rp_attestation is non-conformant, and the validator reports field.rp_attestation / rp_attestation_removed.


1. What v1.3.0 changes

Surface Change Where
Discovery (D.1) rp_attestation (compact JWS) is removed. One OPTIONAL attestation object remains: { "mode": "broker" | "provider", "uri": "<stable absolute HTTPS URL>" }. Absence is conformant and means unverified. §5.2, §5.4
Attestation source The URI serves { "attestation": "<compact JWS>" } as application/json; additional fields are ignored; a raw JWT body is rejected. A new attestation-source.schema.json publishes the shape. §5.4.1, §14.4, attestation-source.schema.json
Broker-managed mode Default. The broker hosts and renews the token at a stable verification endpoint (GET /api/broker/provider-verification?origin=…&audience=…) and renews on demand when ≤12 hours remain. Typed 400/403/404/410/429/5xx answers are verification results. Positive responses cache at most five minutes; negative responses never cache. §14.5
Provider-managed mode Advanced opt-in. The provider hosts the same source document at a stable URL on its discovery origin or a subdomain, renews through Contract H, and exp is the revocation bound (a suspension may not be visible until expiry). A third-party CDN host is not permitted in this release. §14.6
URI rules attestation.uri is a stable, absolute HTTPS URL with no userinfo and no fragment (http://localhost / http://127.0.0.1 is the development exception). A broker URI origin must be in issuer_allowlist (and a trusted broker origin when a trusted list is configured); a provider URI origin must be the discovery origin or a subdomain of it. §5.4
Removed carrier A document containing rp_attestation is non-conformant with the stable reason rp_attestation_removed. §5.2, §14.7
Validator New conformance checks (field.attestation.mode, field.attestation.uri, field.attestation.binding, field.rp_attestation), frozen verification reasons, mode-aware --json fields (mode, source_uri, expires_at), and the fixture-only --source-response flag. VALIDATOR_VERSION and the package version are 1.3.0. §19, validator.md
Fixtures The old valid-attested-* fixtures are replaced by broker, provider, absent, invalid-mode, relative/HTTP/userinfo/fragment URI, broker/provider wrong host, removed-field, typed 403/404/410/503, and expired-source rows. fixtures/README.md

1.1 Discovery shape

Broker-managed (default):

{
  "attestation": {
    "mode": "broker",
    "uri": "https://agentregistrar.dev/api/broker/provider-verification?origin=https%3A%2F%2Fprovider.example&audience=example"
  }
}

Provider-managed:

{
  "attestation": {
    "mode": "provider",
    "uri": "https://provider.example/.well-known/agent-rp-attestation.json"
  }
}

Both are complete: the token is not in discovery. A document that omits attestation is conformant and unverified.

1.2 Source document

{ "attestation": "<compact JWS>" }

Served as application/json. Additional fields are ignored; a raw application/jwt body or a bare JWS is rejected. The envelope is not signed, so the JWS remains the only trust anchor.


2. Breaking change and provider migration

This is a breaking discovery release with a short, coordinated cutover. There is no supported mixed-version state: the new client does not read rp_attestation, and the validator rejects it.

Migration steps for a relying party:

  1. Decide the publication mode per origin/audience pair.
    • Broker-managed (recommended default): ask the broker for the verification URL, or read it from the portal. Publish it verbatim. The broker hosts and renews the token; you need no cron, no renewal job, and no redeploy. Leave the URI unchanged across renewals.
    • Provider-managed (advanced): register the stable HTTPS source URL on your own origin or a subdomain. Renew through POST /api/provider/v1/attestation on the 12-hour target against the 24-hour expiry, and write the returned attestation JWS into { "attestation": "<JWS>" } at that URL. Keep serving the current token until the new one is published, and never serve an empty document.
  2. Republish /.well-known/agent-signup.json with the attestation object and without rp_attestation. If you have no attestation, omit the object entirely; that is conformant.
  3. Validate the document with the new validator: pnpm validate:discovery <url> --verify-attestation --require-attestation --trusted-rp-broker <origin>. A typed broker failure is a verification result and does not make the document non-conformant.
  4. Keep sending the exact attestation with receipts and abuse reports. Contract F and D.2 still use the request-body field rp_attestation; only discovery changed.
  5. Update docs, fixtures, and CI that copied the embedded JWS or asserted rp_attestation in discovery. Use the new fixture matrix and --source-response for offline checks.

A provider that has not migrated is simply non-conformant (its document still contains the removed field). Deploy the broker and providers back-to-back and record the window; rollback is coordinated because a provider-only rollback reintroduces a rejected document.


3. Compatibility and explicit non-changes


4. Validator behavior

The validator keeps its two independent results: document conformance and attestation verification. Conformance never requires a live broker.

4.1 Conformance checks and reasons

Check id Reason on failure
field.attestation.mode attestation_mode_invalid
field.attestation.uri attestation_uri_invalid
field.attestation.binding attestation_uri_host_untrusted (broker) | attestation_uri_host_unbound (provider) | attestation_binding_unchecked (skip: no fetch origin)
field.rp_attestation rp_attestation_removed

4.2 Verification reasons

absent, not_checked, field_malformed, binding_failed, attestation_expired, origin_unverifiable, provider_suspended, attestation_not_found, attestation_revoked, invalid_request, rate_limited, broker_unavailable, source_unavailable, source_document_invalid, source_response_unreadable, attestation_issuer_mismatch, source_uri_invalid, plus the unchanged JWT reasons (jws_parse, wrong_typ, wrong_alg, missing_kid, claims_invalid, unknown_kid, duplicate_jwk_kid, bad_signature, not_yet_valid, wrong_origin, wrong_audience, audience_unverifiable, rp_broker_untrusted, rp_broker_unavailable).

Statuses are unchanged: verified, unverified, attested_untrusted_broker, invalid, expired, unavailable, suspended, plus validator-only not_checked.

4.3 Flags and exit codes

Flag Behavior
--verify-attestation Fetch and verify the source named by attestation.uri. Absent object → unverified, exit unchanged; present object without the flag → not_checked.
--require-attestation Implies --verify-attestation; a non-verified result fails the run (unavailable exits 2).
--trusted-rp-broker <issuer> Repeatable trusted-broker identity list (env fallback AGENT_IDENTITY_TRUSTED_RP_BROKERS). Distinct from the document’s issuer_allowlist, which is a host binding.
--jwks <path-or-url> Pin exactly one issuer’s JWKS for offline runs; never bypasses signature checks.
--at <rfc3339|epoch> Freeze the clock for deterministic fixture runs.
--source-response <path> Fixture-only offline testing: inject { status, body, contentType? } instead of fetching. No network I/O; the body is never echoed.

Exit 0: conformant and no required check failed. Exit 1: a conformance error (including a malformed attestation object, a failed host binding, or a present rp_attestation) or a required verification failure. Exit 2: the run could not obtain what it needed (document, JWKS, or source) and there is no conformance verdict (DOCUMENT: NOT CHECKED). A typed broker 403/404/410 is never a conformance failure; 403 is suspended, 404 is unverified, 410 is invalid with reason attestation_revoked, and 429/5xx are unavailable.

Full flag, --json, and reason-code reference: validator.md.


5. Validation evidence

No test framework is added (AGENTS.md). Evidence is the manual harnesses and the documented fixture runs, all executed from this branch:

Check Command Result
Typecheck pnpm typecheck exit 0, no diagnostics
Fixture matrix pnpm --silent validate:fixtures Summary: 79 passed, 0 failed, exit 0
Registry pnpm --silent validate:registry RESULT: VALID — 0 error(s), 0 warning(s), exit 0
Broker-managed fixture valid-attestation-broker.json + --source-response attestation-sources/ok-broker.json + pinned JWKS + --at 2026-10-24T00:00:00Z verified, mode broker, level domain, DOCUMENT: VALID, exit 0
Provider-managed fixture valid-attestation-provider.json + --source-response attestation-sources/ok-provider.json + pinned JWKS + trusted broker + --at 2026-10-24T00:00:00Z verified, mode provider, DOCUMENT: VALID, exit 0
Typed broker 403 injected forbidden-403-provider-suspended.json suspended / provider_suspended, conformance true, exit 0
Typed broker 404 injected not-found-404-attestation-not-found.json unverified / attestation_not_found, conformance true, exit 0
Typed broker 410 injected gone-410-attestation-revoked.json invalid / attestation_revoked, conformance true, exit 0
Typed broker 503 injected unavailable-503-broker-unavailable.json unavailable / broker_unavailable, conformance true, exit 0
Removed carrier invalid-rp-attestation-removed.json conformance failure, field.rp_attestation / rp_attestation_removed, exit 1
Absent source valid-minimal.json unverified / absent, exit 0; exits 1 under --require-attestation
No fetch origin unverifiable-attestation-no-origin.json binding skip / attestation_binding_unchecked, unavailable / origin_unverifiable, exit 0
Expired source valid-attestation-expired.json + expired source + --at 2026-11-30T00:00:00Z expired / attestation_expired, exit 1 under --require-attestation

The npm publication is verified after the workflow with npm view @agentregistrar/discovery@1.3.0 version returning 1.3.0.


6. Release mechanics

Per the repository AGENTS.md, the source-first package is published with npm trusted publishing (OIDC) — never a local npm publish and never an npm token. This branch is the reviewed artifact; the tag, npm publication, and GitHub release follow the merge:

  1. merge the release to main;
  2. tag the merge commit v1.3.0 and push the tag;
  3. dispatch .github/workflows/publish.yml from main (environment npm-publish, id-token: write);
  4. verify npm view @agentregistrar/discovery@1.3.0 version dist.integrity and the provenance attestation;
  5. create the GitHub release from this file with --verify-tag.

The tag and publish run are recorded in the GitHub release and the workflow log when the release is dispatched.


7. Change process and scope

v1.3.0 was reviewed against scope-boundaries.md §6–§7. The change is identity- and traceability-related: it moves where a broker-signed identity statement is published, not what it says. No terms hash, scope, endpoint, price, provider_url, catalog, SKU, provisioning API, resource inventory, or credential custody entered discovery or the attestation. The source document is a deliberately minimal envelope, and the JWS remains the only trust anchor.

The removal is justified under §13 of the specification: the removed field was OPTIONAL, no conformant document was required to carry it, and a document that omits the replacement stays conformant. The handshake and the signed artifacts are unchanged, so the protocol id stays agent-identity-v1.


Release Notes — agent-identity-v1 v1.2.0

v1.2.0 is the two-sided trust release: it gives relying parties a portable, broker-issued identity, lets agents verify that identity locally before signup, and makes receipts and abuse reports authenticated. It adds two new contracts (G, H) and a metadata/status surface (I), updates Contracts D.1, D.2, E, and F, and defines the trust model, assurance levels, verification rules, and status/error taxonomy.

The wire protocol id stays agent-identity-v1. rp_attestation is OPTIONAL: a v1.0.0 or v1.1.0 discovery document remains conformant and is simply unverified.


1. What v1.2.0 adds

Contract Change Where
G — RP attestation New broker-signed JWT (typ: agent-rp-attestation+jwt) binding the RP’s canonical origin, audience, provider identity, assurance level, and public keys. Published as the optional rp_attestation field. exp - iat = 86400, aud: agent-identity-v1, keys[].purposes exactly ["receipt","abuse"]. §14
H — Provider registration and status API Administrative provider API: account, origins, HTTPS/DNS challenges, key proof of possession (agent-rp-key-pop+jwt), key retire/revoke, attestation issue/renew, API keys. Never agent-facing; no public JSON Schema. §15
I — Broker metadata and status /.well-known/agent-broker.json with issuer, jwks_uri, attestation_status_uri, abuse_endpoint, protocol_versions, contact; and a signed agent-rp-attestation-status+jwt response with a 300-second window and a 5-minute cache bound. §16
D.1 — Discovery Optional rp_attestation (compact JWS, ≤16384 characters). rp.origin binds to the fetched document origin; rp.audience binds to audience. Absence is conformant and unverified. §5.2, §5.4
D.2 — Abuse reporting RP report JWS (agent-rp-abuse+jwt, 300-second window) plus the RP attestation. Trusted-broker check before JWKS. Unknown/untrusted/unlinked reports are unverified cases; only a verified, receipt-linked report can request protective suspension. Unauthenticated legacy posts get 401 unauthenticated_report. §11.5
E — Signup receipt RP-signed, no exp. Adds service.origin, service.attestation_jti, service.key_id; header.kid must equal service.key_id; valid when iat/signed_up_at fall inside the named attestation’s window. A legacy exp is ignored. §11.1, §11.4
F — Receipt ingestion {signup_token, rp_attestation}, both required. Verifies the exact attestation named by service.attestation_jti in historical mode; never substitutes the current one. Preserves the existing response fields and adds proof_source: "rp_callback" and deduplicated. §11.6
Trust model and policy Permissionless assertion verification; local attestation verification; trust is policy, not cryptography and not transitive. Assurance levels domain and entity. Normative resolution order and the allow/warn/require/block matrix. require rejects agent_supplied_discovery. §17
Status and error taxonomy Frozen RpVerificationStatus, RpPolicy, RpVerificationSource, AssuranceLevel, AttestationStatusValue, and ProofSource. OAuth-style {error, error_description, code} on new routes. §18
Verification rules Conformance and attestation verification are separate; conformance never calls Broker B. Exit 0/1/2. Trust before fetch, per-issuer JWKS, historical vs current comparisons, SSRF bounds, algorithm/key-confusion rules, fail-closed gates. §19
Registry Optional per-entry verification snapshot (broker, level, attestation_jti, checked_at, status). Conformance and verification stay separate; only active earns a badge. registry/README.md

2. Compatibility

3. Section renumbering

To keep every existing anchor stable, the new contracts were inserted after §13 and the former sections moved down:

Old New
§14 Security Considerations §20
§15 Conformance Checklist & Minimal Conformant Example §21
§16 Open Questions §22
§17 Relationship to Other Contracts §23

Contracts D.2 and F are not new top-level sections: they live beside Contract E in §11 as §11.5 and §11.6, so their existing references keep working.

4. New and changed artifacts

Path Action
agent-identity-v1.md v1.2.0 text: §1.1–§1.3, §2.1, §5.2, §5.4, §11; new §14–§19; §20–§23.
agent-signup.schema.json Optional rp_attestation.
rp-attestation.schema.json New (Contract G, producer mode).
broker-metadata.schema.json New (Contract I).
attestation-status.schema.json New (Contract I status JWS claims).
signup-receipt.schema.json New (Contract E v1.2).
abuse-report.schema.json New (Contract D.2).
src/schema.ts, src/index.ts Zod for discovery, attestation, metadata, status; producer/verifier parsers for the attestation and the status JWS.
src/validate-attestation.ts Contract G verifier (validator-internal; not exported from src/index.ts).
src/validate-discovery.ts Five new flags, conformance/attestation split, exit mapping, output.
src/validate-fixtures.ts, src/dev/sign-fixtures.ts, src/verify-artifacts.ts Manual fixture harness and deterministic fixture signer.
src/validate-registry.ts Registry validator.
fixtures/** Attestation/receipt/status/abuse/provider fixtures, per-issuer JWKS, frozen seed, expected.json, README.md.
registry/implementations.schema.json New registry schema; entries unchanged.
scope-boundaries.md, implementing-agent-identity-v1.md, validator.md, README.md v1.2.0 guidance.
package.json 1.2.0, schema files/exports, validate:fixtures, validate:registry, sign:fixtures.

5. Validation evidence

Run on 2026-10-24 from a clean clone of this repository on Node v24.21.0 and pnpm 9.15.4, with the frozen fixture clock 2026-10-24T00:00:00Z and arena-only fixture keys. jq was not installed in the verification environment, so the JSON projections below were produced with a one-line Node equivalent of the documented jq pipelines; the validator output and exit codes are unchanged.

pnpm install && pnpm typecheck                     # → 0 (tsc --noEmit)
V="pnpm --silent validate:discovery"
A="--verify-attestation --jwks fixtures/keys/fixture-jwks-broker-1.json --trusted-rp-broker https://rp-broker.example"
Check Command Result
v1.0/v1.1 conformance unchanged $V fixtures/valid-minimal.json --json valid true, exitCode 0, conformance.valid true, attestation.status "unverified"
Valid attestation, offline $V fixtures/valid-attested-domain.json $A --require-attestation --at 2026-10-24T00:00:00Z --json valid true, exitCode 0, verified, level domain
Entity level $V fixtures/valid-attested-entity.json $A --require-attestation --at 2026-10-24T00:00:00Z --json verified, level entity
Expired (warning) $V fixtures/valid-attestation-expired.json $A --at 2026-11-30T00:00:00Z --json valid true, exitCode 0, expired
Expired (gate) same + --require-attestation exit 1
Malformed field $V fixtures/invalid-attestation-malformed.json --json exit 1, conformance.valid false, attestation.status "not_checked", no network
Unparseable JSON $V fixtures/invalid-json-body.json --json exit 1, conformance.valid false, conformance.evaluated true, fetchFailure null
No document $V fixtures/does-not-exist.json --json exit 2, conformance.valid null, conformance.evaluated false, fetchFailure set, DOCUMENT: NOT CHECKED
Absent attestation warning $V fixtures/valid-minimal.json --verify-attestation --json exit 0, unverified, warning “rp_attestation is absent”
Wrong purposes tuple pnpm --silent validate:fixtures row attestations/wrong-purposes rejected by both rp-attestation.schema.json and strict Zod (claims_invalid)
Untrusted broker $V fixtures/valid-attested-domain.json --verify-attestation --jwks … --at … --json (no trust flag) attested_untrusted_broker
Untrusted broker (gate) same + --require-attestation exit 1
Broker unavailable (gate) $V fixtures/valid-attested-unavailable.json --require-attestation --trusted-rp-broker https://rp-broker.example --jwks fixtures/keys/missing.json --json exit 2
Broker unavailable (network) $V … --require-attestation --trusted-rp-broker https://rp-broker.example --timeout 1 exit 2, unavailable
Fixture reproducibility pnpm sign:fixtures && git diff --exit-code fixtures/ byte-identical, exit 0
Fixture matrix pnpm --silent validate:fixtures fixtures/expected.json 56 passed, 0 failed
Registry valid pnpm --silent validate:registry registry/implementations.json --json {"valid":true,"exitCode":0,"errors":[],"warnings":[]}
Registry violation deliberate level:"enhanced" + attestation_jti:"rpa_x" exit 1, two schema errors plus a semantic error
Packaging npm pack --dry-run --json tarball contains all six root schemas, registry/implementations.schema.json, and src/

The fixture matrix covers the §5.13 rows: discovery with/without an attestation, malformed and oversize fields, unparseable JSON, an absent/missing document, expired/invalid/untrusted/unavailable attestations, every listed attestation negative (including a reordered purposes tuple), unknown-additive-claim in both producer and verifier mode, receipts including a legacy exp and a rotated key, abuse reports, status responses (including an additive status claim), broker metadata, and provider request/response examples.

6. Release mechanics

Per the repository AGENTS.md, the source-first package is published with npm trusted publishing (OIDC) — never a local npm publish and never an npm token. Nothing in this branch claims that the tag, npm publication, or GitHub release has already happened; this branch is the reviewed artifact and npm dist-tags.latest remains 1.1.0 until step 3 completes:

  1. merge the release PR to main;
  2. tag the merge commit v1.2.0 and push the tag;
  3. dispatch .github/workflows/publish.yml from main (environment npm-publish, id-token: write);
  4. verify npm view @agentregistrar/discovery@1.2.0 version dist.integrity and the provenance attestation;
  5. create the GitHub release from this file with --verify-tag.

The tag and publish run are recorded in the GitHub release and the workflow log when the release is dispatched; this branch is the reviewed artifact, not the publication.

7. Change process and scope

v1.2.0 was reviewed against scope-boundaries.md §6–§7. Every change is identity-, delegation-, ToS-, traceability-, revocation-, or reachability-related:

A breaking change still requires a new protocol value and a new discovery path (§13).

Release Notes — agent-identity-v1 v1.1.0

v1.1.0 is an additive, text-only revision of the agent-identity-v1 discovery contract. It adds clarifications that were implicit in v1.0.0, plus one optional success-response field. It removes and renames nothing, changes no schema, Zod, JSON Schema, or validator code, and keeps the wire protocol id agent-identity-v1. v1.0.0 implementors remain conformant.


1. What v1.1.0 clarifies

Area Clarification Where
Replay vs resolve The jti check is an account-creation guard, not duplicate suppression. A repeated POST with an already-used jti for the same agent/account/service MUST resolve idempotently — a success, not assertion_replayed. assertion_replayed is reserved for a jti presented in a conflicting context. A Broker MAY return the identical previously issued unexpired assertion for an identical request; an RP MUST NOT treat a fresh assertion referencing an existing acceptance as a new consent. §7.1, §7.2
Optional resolution The success response MAY carry resolution: "created" | "resolved". resolved MUST NOT be treated as failure; on resolved the RP MAY omit provider credentials (show-once) but MUST point the agent at its recovery path in the guide. §7.1 step 4
Acceptance lifetime No protocol-mandated re-acceptance interval. An acceptance remains the recorded consent for its terms.sha256 until the terms change or the human re-consents. A Broker MAY impose its own policy and SHOULD document it. §7.3 (new)
Knowledge of text Restated: the Broker MUST require the caller to demonstrate knowledge of terms.text and MUST reject a request that does not. §7.1 step 1, §10
Account identity keys Recommended keys (iss, human.id) for human-scoped accounts and (iss, agent.id) for agent-scoped accounts; keying on emails is NOT RECOMMENDED; namespace by iss when more than one issuer is trusted; human.verified means verified email, not KYC. §9.1 (new)
Credential handoff & recovery Credentials are show-once; agents MUST persist them at the handoff moment and MUST NOT rely on the conversation as storage; the Broker MUST NOT store provider credentials; agents MUST NOT re-run signup as recovery; RPs SHOULD document a recovery/rotation path in the guide; a repeated signup resolves without re-issuing credentials or sending duplicate mail. §12.5 (new)
Conformance checklist Two SHOULD items added: idempotent-resolve signalling, and a guide-documented recovery path. §15.1
Open questions The replay/resolve and credential-handoff questions are resolved; canonical hosting remains open. §16
Security considerations The replay and credential-handoff entries were updated to match the clarifications above. §14

Protocol surface at v1.1.0 (summary)

Unchanged from v1.0.0 except for one optional success-response field:

2. Canonical public spec URL decision

Hosting is still undecided (spec §16). The optional spec field stays OPTIONAL and implementers may omit it. In this release the checked-in fixture now pins the canonical repository document at its version tag:

"spec": "https://github.com/agentregistrar/spec/blob/v1.1.0/agent-identity-v1.md"

3. Change process

Unchanged from release-notes-v1.0.0.md §3. v1.1.0 was reviewed against the scope-boundaries.md checklist: every change is identity-, delegation-, ToS-, traceability-, or handoff-related; none advertises a catalog, SKU, pricing, resource endpoint, credential, or vendor API usage; all changes are additive within v1. A breaking change MUST still use a new protocol value and a new discovery path.

4. Validation evidence

The changes are text-only, so the validator and both schemas are byte-identical to v1.0.0; the runs below confirm the fixtures still receive the same verdicts (no validator drift). Run on 2026-10-18 from a clone of this repository:

pnpm validate:discovery fixtures/valid-full.json --json
# → valid: true, exitCode: 0, protocol: "agent-identity-v1", audience: "vaporcloud",
#   validatorVersion: "1.0.0",
#   counts: { passed: 17, failed: 0, warnings: 0, probes: 0 }

The only field changed in fixtures/valid-full.json is the spec URL (§2); the validator verdict is unchanged from v1.0.0 (17 passed, 0 failed, 0 warnings).

Invalid fixtures — unchanged verdicts, each valid: false, exit code 1:

Fixture counts
invalid-bad-tos-hash.json { passed: 12, failed: 2, warnings: 2, probes: 0 }
invalid-broker-receipt-endpoint.json { passed: 13, failed: 2, warnings: 1, probes: 0 }
invalid-empty-issuer-allowlist.json { passed: 13, failed: 2, warnings: 1, probes: 0 }
invalid-missing-agent-signup.json { passed: 13, failed: 2, warnings: 1, probes: 0 }
invalid-missing-terms-text.json { passed: 12, failed: 2, warnings: 1, probes: 0 }
invalid-unknown-protocol.json { passed: 13, failed: 2, warnings: 1, probes: 0 }
invalid-vendor-catalog.json { passed: 13, failed: 2, warnings: 1, probes: 0 }
invalid-vendor-endpoints.json { passed: 13, failed: 2, warnings: 1, probes: 0 }

Other valid fixtures are also unchanged: valid-minimal.json and valid-localhost.json each report valid: true, exit code 0, { passed: 16, failed: 0, warnings: 0, probes: 0 }.

The v1.0.0 release evidence remains as history (see release-notes-v1.0.0.md §4 and registry/implementations.json); the runs above are the v1.1.0 counterparts. No live production origin was validated for this revision.

5. Release record

Per the repository AGENTS.md, the source-first package @agentregistrar/discovery was aligned to the specification version — package.json version bumped 1.0.2 → 1.1.0 — and published to npm using trusted publishing (OIDC) by dispatching publish.yml from main. No npm token is involved.

This release is text-only — no schema/Zod/JSON-Schema and no validator change — so no npm publish is required for conformance; the version alignment is an operator decision so the published package version tracks the specification version.

6. Non-blocking follow-ups

Release Notes — agent-identity-v1 v1.0.0

This is the initial identity-only release of the Agent Identity Relying Party discovery contract (GET /.well-known/agent-signup.json). It is released as v1.0.0 after the identity-only schema, the checked-in JSON Schema, the conformance validator, the VaporCloud reference implementation, and the documentation were confirmed to agree.


1. What v1.0.0 freezes

The release is recorded once the following artifacts agree on the same identity-only contract:

Artifact Location Role
Normative specification agent-identity-v1.md The single source of truth for the contract.
Scope rulebook scope-boundaries.md Identity-vs-vendor boundary and the change-review checklist.
Implementation source of truth src/schema.ts (AgentSignupDiscoverySchema) Runtime validation shared by the broker, validator, and reference implementation.
JSON Schema agent-signup.schema.json Checked-in schema; the validator reports any divergence from Zod.
Conformance validator src/validate-discovery.ts (pnpm validate:discovery …) Objective conformance check; validatorVersion 1.0.0.
Reference implementation VaporCloud (reference Relying Party, maintained in the private repository) Identity-only discovery document + post-signup context handoff.
Implementation registry registry/implementations.json and registry/README.md Adoption surface and conformance badge.
Public package package.json — @agentregistrar/discovery 1.0.0 Self-contained, source-first distribution of the canonical schema (src/schema.ts) and the validator CLI (src/validate-discovery.ts); Apache-2.0. npm publishing is pending (scope reservation only); consume it via this repository or github:agentregistrar/spec#v1.0.0 (no bin entry).

Protocol surface at v1.0.0 (summary)

2. Canonical public spec URL decision

3. Change process

Additive v1 changes (minor/patch)

Breaking changes

4. Release evidence

The release was recorded after the reference implementation passed the conformance validator with zero errors and zero warnings:

# Reference implementation, started locally with placeholder environment variables only:
pnpm validate:discovery http://localhost:3001/.well-known/agent-signup.json --json
# → valid: true, exitCode: 0, protocol: "agent-identity-v1", audience: "vaporcloud",
#   counts: { passed: 22, failed: 0, warnings: 0, probes: 0 }

# Checked-in VaporCloud identity-only discovery fixture (file mode):
pnpm validate:discovery fixtures/valid-full.json --json
# → valid: true, exitCode: 0, protocol: "agent-identity-v1", audience: "vaporcloud",
#   counts: { passed: 17, failed: 0, warnings: 0, probes: 0 }

The same commands and results are recorded per entry in registry/implementations.json. No live production origin has been validated; the registry records a local reference-implementation run only, and live validation of a hosted implementation is an operational step performed by that implementer.

5. Non-blocking follow-ups