Skip to content

feat(protocol): release SDK 14 on signed AdCP 3.2.1 GA - #3085

Merged
bokelley merged 5 commits into
mainfrom
chore/adopt-adcp-3.2.1-stable
Oct 1, 2026
Merged

bokelley merged 5 commits into
mainfrom
chore/adopt-adcp-3.2.1-stable

Conversation

@bokelley

@bokelley bokelley commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Adopts the signed AdCP 3.2.1 GA bundle and prepares @adcp/sdk 14.0.0 stable.

AdCP 3.2.1 was published 2026-10-01: tag v3.2.1, commit c32bd78c53.

What's in it

  • Signed bundle sync. ADCP_REQUIRE_SIGNATURE=1 sync from the CDN. The sha256 (00b682c3…) and the cosign signature (adcp release workflow identity) were verified for 3.2.1, and the 3.1.24 and 3.0.25 compatibility bundles were verified the same way. The CDN sha equals the sha committed at the tag.
  • Exit changesets pre mode. The release PR becomes chore: release package at 14.0.0.
  • Version pin. ADCP_VERSION is 3.2.1, and the wire pin is "3.2". A bug that sent adcp_version: "3.2.1" on the wire is fixed.
  • sync-version. Now enumerates the 3.2 range and excludes the withdrawn 3.2.0. adcp's PR CI needs this to generate the SDK from a stable 3.2.x bundle.
  • Fixture provenance. Canonical compliance-fixture provenance is rebound to the tag commit.
  • Docs and tests. Moved from rc to GA.

Verification (local)

  • ci:schema-check, check:canonical-storyboard-fixtures, check:publish-protocol-artifacts, check:package-size, lint:workflows, typecheck and ci:docs-check all pass.
  • test:node: 533/533 in the main suite. The other 14 failures are Postgres-backed tests (migrations, task store, push settlement) that need DATABASE_URL, which is unavailable here. CI runs them.

After merge

release.yml regenerates the release PR at 14.0.0. Merging it publishes @adcp/[email protected] to latest.

A maintainer with npm rights then runs npm dist-tag add @adcp/[email protected] adcp-3.2. adcp-3.1 stays on 13.1.3.

Don't merge the stale rc release PR #3079 first.

🤖 Generated with Claude Code

bokelley and others added 4 commits September 30, 2026 21:11
Exit changesets pre mode so the next release PR produces @adcp/sdk 14.0.0,
pin ADCP_VERSION to the 3.2.1 GA release, and ship the 3.2.1 compliance
cache in place of 3.2.0-rc.7.

- sync-version: add the stable 3.2 line (3.0.0-25, 3.1.0-24, 3.2.1+ and
  the 3.2 alias); refuse and never advertise the withdrawn 3.2.0.
- reporting ledger: emit the release-precision wire version for stable
  pins (3.2.1 -> 3.2); the old regex only handled x.y.0-pre.
- commercial terms: carry the reviewed rc.3+ product-purchase semantics
  into 3.2.1.
- canonical reporting-core fixture re-vendored from adcp main; provenance
  commit and bundle digest are rebound to the v3.2.1 tag at finalize.
- tests and docs move from the rc.7 pin to 3.2.1 / 3.2 and GA wording.

Artifact sync and codegen from the signed 3.2.1 bundle land separately.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Generated types, wire fields, protocol skills and agent docs derived from
an unsigned local build of adcp main a07bbbba8d at version 3.2.1. The
finalize step re-derives every file here from the signed, cosign-verified
3.2.1 bundle; any remaining diff is a real upstream difference.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sync from the CDN with sha256 + cosign verification against the v3.2.1 tag
(c32bd78c53); rebind canonical fixture provenance to the tag commit.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Oct 1, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — SDK 14 GA-adoption PR on signed AdCP 3.2.1.

The three hand-written logic changes are correct and well-guarded: the toReleasePrecisionVersion wire fix (handler.ts / status-ingest.ts), the sync-version.ts 3.2 GA branch, and the byte-faithful 3.2.1 commercial-terms override. The remainder is generated types, re-vendored sha-verified fixtures, and mechanical rc.7→3.2.1 version bumps. A correctly sized changeset for the pre-exit major is present; no witness-not-translator, official-client, or doc-link violations.

No Critical/High/Medium findings.

Decision trace: no critical/high (row 1 n/a); gated_paths false (row 2 n/a); high_risk false, no deletions/modifications triggers (rows 3–5 n/a); no prior decision (row 6 n/a); no no-auto-approve team match (row 7 n/a); zero medium findings (row 8 n/a) → row 9 approve.

…N_UNSUPPORTED

The python reference seller lane reported `requested "3.2.1"`, but the wire
already carried `adcp_version: "3.2"` (buildVersionEnvelope collapses bundle
ids). adcp (Python) 8.0.0b18 echoes the rejected pin as
`details.claimed_version`, which extractVersionUnsupportedDetails does not
read, so describeVersionUnsupported fell back to the compliance bundle id.

- discoverAgentProfile now passes the client's effective wire pin
  (wireAdcpVersion ?? adcpVersion, release-precision collapsed) as the
  fallback; describeVersionUnsupported collapses defensively and reads a
  string `claimed_version` echo.
- Tests: wire value recorded by an in-process MCP seller and the reported
  diagnostic are "3.2" for 3.2.1, "3.2-rc.7" for 3.2.0-rc.7, "3.1" for 3.1.24.

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

bokelley commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Python reference seller lane: requested "3.2.1" was a mislabeled diagnostic, not a wire bug (fixed in cde0423)

What I found. I ran the storyboard CLI against an MCP seller that records requests. On this branch the capabilities probe already sends adcp_version: "3.2" (and _meta.adcp_version: "3.2" on modern MCP tools/list). buildVersionEnvelope (src/lib/protocols/index.ts) collapses every bundle id with toReleasePrecisionWire. I also checked the other wire emitters (the conformance runner, refine_proposals, the reporting ledger, discovery _meta, comply() and the storyboard applyAdcpVersionRunOptions). None of them sends a patch version. Bundle ids are still used for cache, schema and provenance keys, and those stay 3.2.1.

Where the "3.2.1" came from. describeVersionUnsupported in src/lib/testing/client.ts (old line 577, call site 631) only shows the seller's echo if it uses requested_version or adcp_version. adcp (Python) 8.0.0b18 echoes the rejected pin as details.claimed_version (adcp/server/mcp_tools.py at the pinned commit). In that case the diagnostic fell back to schemaAdcpVersion ?? client.getAdcpVersion(), which is the compliance bundle id 3.2.1, a value that was never sent.

Fix

  • discoverAgentProfile now passes the client's effective wire pin as the fallback: wireAdcpVersion ?? adcpVersion, collapsed to release precision. It returns nothing for major-only/none envelopes.
  • describeVersionUnsupported collapses its fallback defensively and reads a string claimed_version echo.
  • Added a patch changeset.

Tests (test/lib/capabilities-probe-wire-version.test.js). An in-process MCP seller records what the probe sends. Both the recorded wire value and capabilities_probe_error are "3.2" for bundle 3.2.1, "3.2-rc.7" for 3.2.0-rc.7 (via wireAdcpVersion), and "3.1" for 3.1.24. There are also unit tests for the helper and for the echo/fallback order. Typecheck is clean. 190/190 related test/lib version, probe and storyboard tests pass after a full build:lib. Before the fix the same probe reported requested "3.2.1". After it, the report says requested "3.2".

Expected CI state. The python reference seller lane will still fail, because adcp 8.0.0b18 advertises 3.0, 3.1, 3.2-rc.7, 2.5 and rejects "3.2". It will now report VERSION_UNSUPPORTED: requested "3.2"; .... The lane stays advisory until adcp (Python) 8.0.0 ships with 3.2 support. The training agent advertises TRAINING_AGENT_CURRENT_ADCP_RELEASE ("3.2") in supported_versions and serves it exactly, so it accepts this probe.

I have not merged this PR.

🤖 Generated with Claude Code

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve.

Clean pass with no critical, high, or medium findings. The change wires the release-precision version pin into VERSION_UNSUPPORTED probe diagnostics via toReleasePrecisionVersion: the new testClientWireAdcpVersion mirrors the envelope builder's precedence, and describeVersionUnsupported prefers the seller's verbatim echo (requested/claimed version, string-guarded), collapsing only the fallback — preserving witness-not-translator semantics. Changeset is present and patch-correct (new exports are @internal); e2e tests bind the diagnostic to the actual transmitted wire value.

Gate checks:

  • No no-auto-approve team match.
  • gated_paths: false → row 2 does not apply despite review_decision: REVIEW_REQUIRED.
  • high_risk: false → rows 3/5 do not apply.
  • No medium findings → rows 4/8 do not apply.
  • Prior decision was approve → row 6 sticky escalation does not apply.

No row 1–8 condition fires; falls through to row 9 → approve.

bokelley commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Merging under the maintainer's authorization to release the SDKs for AdCP 3.2.1 GA. Every check passes except the advisory python reference seller lane. That lane runs adcp (Python) 8.0.0b18, which only supports 3.2-rc.7, so it can't pass until adcp 8.0.0 is published, which is in progress. The probe's wire value is confirmed as "3.2" (cde0423).

@bokelley
bokelley merged commit 807d8cf into main Oct 1, 2026
38 of 39 checks passed
@bokelley
bokelley deleted the chore/adopt-adcp-3.2.1-stable branch October 1, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant