Repository navigation
chore(deps): migrate to @adcp/sdk 17.0.0-beta.0 (AdCP 3.3 beta) - #8489
Conversation
Move to @adcp/sdk 17.0.0-beta.0, which pins the signed AdCP 3.3.0-beta.0
bundle and retains stable 3.2.7, 3.1.29 and 3.0.25 bundles. Move
@adcp/reporting-storage to 0.2.1-beta.0, the beta-train release whose peer
range accepts SDK 17 (0.1.0 requires ^16.0.0 and left the tree invalid).
- catalog runner: forward the SDK-native fixture_preparation phase in the
private audit record instead of a repo-shaped {disposition, phase}. The
supplied-hook refusal stays: SDK 16.5 added the preparation authorizer
(#3389), but this adapter's capability preflight still precedes it
(adcp-client#3435).
- learner and production guidance names the stable SDK on npm latest
(16.5.0); the choose-your-SDK page states SDK 17 beta support for the 3.3
beta. tests/helpers/sdk-checkpoint.cjs encodes the rule.
- tests: discovery failure is terminal since SDK 16.5 (adcp-client#3392);
context_key is echoed (#3396); the identity33 house-authority fix shipped
(#3388); a prerelease pin needs the exact advertised preview.
- SDK response-conformance baseline re-recorded under 17.0.0-beta.0 with
identical evidence apart from the version.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…native - Routed requires: [multi_agent] storyboards: the runner's http loopback made identity.brand_json_url schema-invalid (3.2+ needs https), and SDK 16.5+ fails discovery for capability-gated storyboards on invalid capabilities. A harness-only TRAINING_AGENT_IDENTITY_URL keeps the public https identity for those runs; deployments never set it. - Catalog runner: when a native result omits producer records, fill the SDK-native fixture_resolutions and fixture_preparation (protected captures stripped) instead of a repo-shaped per-record failure. - Reporting tests assert SDK 16.5+ native failed-preparation evidence. - Known limitations: SDK #3395 is fixed upstream by adcp-client#3439, not yet released. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean SDK migration to @adcp/sdk 17.0.0-beta.0 (AdCP 3.3 beta).
No blocking or medium findings. Verified against the decision table:
- Row 1 (critical/high): no findings — N/A.
- Row 2 (gated_paths): gated_paths is false — N/A despite review_decision=REVIEW_REQUIRED.
- Row 3 (deleted high-risk): high-risk reasons are all
(modified)— no deletions. - Row 4 (medium data-loss/schema/infra): no medium findings — N/A.
- Row 5 (modified high-risk + medium): high_risk is true with
(modified)entries, but no medium findings — N/A. - Rows 6–8: no prior decision, no author team gate, zero medium findings — N/A.
- Row 9: approve.
Reviewer confirmed: no protocol schema source, dist artifact, or oneOf changes; PR is based on main (beta line), not 3.1.x, so patch-eligibility rules don't apply. The one protocol-surface file (docs/reference/known-limitations.mdx, a limitations clarification) is correctly covered by the adcontextprotocol patch changeset. catalog-reporting-runner.ts adopts SDK-native fixture_preparation evidence with private (unredacted) and public (redacted via publicPreparationPhase) paths, both covered by tests. run-storyboards.ts env swap restores inside try/catch (no leak). sdk-checkpoint.cjs enforces the stable-vs-prerelease invariant.
The high_risk flag fired only on modified files with no medium-or-higher concerns, which per the arbiter guidance is presumed safe — not escalation-worthy on the flag alone. No breaking-class protocol change present.
… the buyer OAuth limiter
SDK 17 opens more MCP sessions per client, which pushed the buyer OAuth
integration test's loopback traffic past the per-IP 60/min buyer limiter.
createTrainingAgentRouter({ disableRateLimit: true }) now also skips that
limiter; production keeps it (default on, unit-tested).
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Approve
Approve.
Threads the existing disableRateLimit router option through to the buyer OAuth middleware via a new options: { rateLimit?: boolean } parameter, letting test harnesses bypass the per-IP OAuth limiter (60/min). Default is fail-closed: production createTrainingAgentRouter() omits the option, so rateLimit resolves true and options.rateLimit !== false keeps the limiter on (buyer-oauth.ts:21). Every caller passing disableRateLimit: true is a test or manual harness.
Checked: no critical/high findings; no spec drift, changeset scope, oneOf, or released-artifact concerns raised. The high_risk flag is driven only by (modified) entries under docs/reference/** and server/src/addie/**, and the reviewer surfaced no medium-or-higher concerns on those files, so the modification is presumed safe. No no-auto-approve team match, gated_paths is false, and no breaking-class change. Fewer than three medium findings (zero), so rows 1–8 do not fire; falls through to row 9.
Migrates the repo to
@adcp/[email protected], which pins the signed AdCP3.3.0-beta.0bundle and keeps the stable 3.2.7, 3.1.29 and 3.0.25 bundles.@adcp/reporting-storagemoves to0.2.1-beta.0.Dependencies
@adcp/sdk16.3.0 → 17.0.0-beta.0 (exact pin).@adcp/reporting-storage0.1.0 → 0.2.1-beta.0. 0.1.0 declares@adcp/sdk ^16.0.0, so the tree wasinvalid. The adcp-client release train had already published0.2.1-beta.0on thebetatag, with peer^17.0.0-beta.0, alongside SDK 17. No new storage release was needed. Its source is identical to 0.2.0, and the only 0.1.0 → 0.2.0 change is BigQuery sink location discovery, which this repo doesn't use. Nooverrides.npm lsis clean andnpm audit --omit=devfinds 0 vulnerabilities.Breaking-change handling
StoryboardResult.fixture_preparation(TS2345). SDK 16.5+ declares a nativefixture_preparation?: StoryboardPhaseResult. The catalog runner's private audit record stamped a repo-shaped{ disposition, phase }. It now forwards the native producer phase, filled from this invocation's preparation when the SDK didn't stamp it, and dropsdisposition; nothing read it. The public fallback for results without producer records now uses the native fields too (fixture_resolutions+fixture_preparation). It strips protected__adcp_fixture_captures from step contexts, as the SDK does. The old fallback put the raw phase into a per-recordfailure.phase. New test:server/tests/unit/catalog-reporting-audit-evidence.test.ts.display_tag(adcp#8339). No changes were needed here. feat(creative): project HTML-markup legacy formats to display_tag inline markup #8357 had already moved the reference catalog, creative agent, docs and vectors todisplay_taginline markup, and everyhtml5fixture or storyboard in the repo is a real zip bundle. I ran SDK 17's own projection againststatic/test-vectors/html-markup-legacy-projection.json: all product-projection vectors and 5 of 6 selection vectors agree. The sized-markup case differs because SDK 17 also carries the 3.3 renderedwidth/heighton the legacyhtmlasset (filed upstream, below).hosted-route-storyboard.test.tspinned the3.2.0-rc.7bundle against a fixture seller advertising only3.2. The fixture now advertises3.2-rc.7too.evaluator-allowlist-runner.test.cjsnow expects a terminaldiscovery_failedgrade instead of anot_applicableskip. The security intent (no requests, no traffic, no credit) is unchanged.fixture_capture_unbuildablevalidation, and native resolutions carry the detail.optional-product-reporting.test.cjsasserts the native evidence.requires: [multi_agent]storyboards (storyboard harness). The local runner pointsTRAINING_AGENT_URLat its http loopback for these runs, so the advertisedidentity.brand_json_urlbecamehttp://…. That is schema-invalid in 3.2+ (^https://), and SDK 16.5+ fails discovery for capability-gated storyboards on invalid capabilities. All the required-exact routed governance storyboards (signal_marketplace,brand_rights,creative_transformers,media_buy_seller/governance_*) were failing. Fix: a harness-onlyTRAINING_AGENT_IDENTITY_URLkeeps the public https identity during those runs (getIdentityBaseUrl()). Deployments never set it.webhook_emissionkeeps the loopback identity because it resolves webhook keys through it.training-buyer-oauth-postgres.test.tspast the per-IP 60/min buyer OAuth limiter, and the SDK reported the 429 as "Failed to discover MCP endpoint" (fixed upstream in adcp-client#3443).createTrainingAgentRouter({ disableRateLimit: true })already turns off the router's request ceiling for test harnesses; it now also skips the buyer OAuth limiter. Production keeps it, and the unit test asserting the 429 still passes.adcpVersion/supported_versionsexplicitly, so production behaviour is unchanged.sdk-runtime-compat.test.cjsnow checks that the training agent tracks the SDK's newest stable bundle when the SDK's primary bundle is a prerelease.Workarounds removed or updated
it.failsinidentity33-route.test.ts: the house-authority fix (adcp-client#3388) shipped.context_key.specs/now pass). docs(certification): add failure-mode competency scoping document #3395 turned out not to be fixed: it was closed, but the probe still fails on 16.5.0 and 17.0.0-beta.0. It is now fixed upstream in adcp-client#3439 (merged, unreleased), and the doc says so.prepared_fixtures_preparation_authorizer, butprepareStoryboardFixturesapplies no storyboard root gates before seeding, so this adapter's own capability preflight still contacts the seller first. Filed adcp-client#3435 for the seam. Also kept the standalone root-gate path (executeRootGate): I tried removing it, and the readback precondition then refuses before the SDK's now-native standalone gate (two collection tests fail). Its comment now says why.Version references
The repo now runs a beta SDK, but 3.2 users must not be told to install one:
choose-your-sdk.mdx: the production row and install/CLI commands move to the stable 16.5.0 (npmlatest), paired with@adcp/reporting-storage0.2.0. A new AdCP 3.3 beta support section states SDK 17.0.0-beta.0 support for3.3.0-beta.0in the form3-3-beta.mdxrequires: package, bundle, roles and transports, limits, install command, and a validation command I ran.@adcp/[email protected].CODE_VERSION2026.10.13 → 2026.10.14.tests/helpers/sdk-checkpoint.cjsencodes the rule. It is shared bysdk-runtime-compat,targeting-aware-discoveryandcertification-module-methodology, and fails when the stable pin goes stale.scripts/training-gcs-buyer.mjsrecords the installedLIBRARY_VERSIONinstead of a stale hard-coded16.2.0.Changeset:
.changeset/known-limitations-sdk-17.md(adcontextprotocolpatch).docs/reference/known-limitations.mdxis protocol release surface; everything else is app, test or tooling.Verification
Storyboard matrix, 3.0-compat (
--latest-3.0, bundle 3.0.28): every tenant meets its floors, with counts identical to main's latest CI run on SDK 16.3 (signals 24/97, sales 39/240, governance 27/146, creative 22/108, creative-builder 24/115, brand 23/79, si 21/75). No floor changes.Storyboard matrix, current surface (candidate mode,
3.3-beta.0): CI (Training Agent Storyboards) is green, and every tenant's counts are identical to main's latest SDK 16.3 run: signals 55/137, sales 177/1211, governance 58/182, creative 61/249, creative-builder 67/244, brand 57/110, si 52/65, typed-negotiation and constrained-seller 1/20. Every required-clean and required-exact gate passes, including the routedmulti_agentgovernance storyboards, which fail without the identity fix below. Locally, signals reproduced 55/137 before the matrix script's 100-minute timeout stopped the/salesisolation run. No floor changes on either surface. No size limits needed changing: the MCP schema byte budget, hosted response caps and the isolated runner's 4 GiB RSS envelope were all exercised by green suites.npm run typecheck✓;npm run build:compliance -- --check✓;test:schemas✓;test:unit✓.Every suite in
npm testexcept server-unit and typecheck was run individually: 108/111 passed first time, and the 3 failures are fixed above.test:sdk-runner-capability-gates,test:optional-product-collections,test:sdk-shims,test:targeting-aware-discoveryandtest:sdk-response-conformancewere re-run green after the fixes.Server unit suite in 3 shards: 4732 + 3626 + 4911 passed. The 2 failures (identity33
it.fails, the hosted rc.7 fixture) are fixed above, and the affected files re-pass.Server integration (the 47 files that touch the SDK, reporting storage, training agent or compliance) against local Postgres 16 with the CI role bootstrap and migrations: all pass. The CI shards cover the rest.
test:external-smokeagainst the public test agent: authenticated discovery and storyboard resolution passed; anonymous discovery reportsauth-required.The three-language SDK response-conformance matrix matches the baseline.
Full PR CI is green (64 pass, 1 skipped). One
Canonical tests (2/4)run lost its runner to a shutdown signal mid-file and passed on re-run.Upstream feedback (adcontextprotocol/adcp-client)
media_buy_status: completedfrom the task status when a ≥3.1 seller omits the version echo. #3395 was closed but never fixed.@adcp/reporting-storagerelease; CLAUDE.md still describes SDK 16 pre-modeprepareStoryboardFixturesshould apply storyboard root gates before seeding so hosts can pass the preparation authorizer through (#3389 follow-up)width/heighttohtml_creative; the AdCP vector expects onlycontent(needs a protocol decision)comply()reports an unadvertised preview pin as "controller unavailable" instead of a version mismatchAlso filed here: #8487, the training agent serving the 3.3
installmentsfield on 3.2list_products. Found while running the choose-your-SDK CLI examples; it predates this bump.🤖 Generated with Claude Code