Skip to content

feat: adopt signed AdCP 3.3.0-beta.1 for SDK 17 beta - #3503

Merged
bokelley merged 1 commit into
mainfrom
bokelley/adopt-3.3.0-beta.1
Oct 29, 2026
Merged

bokelley merged 1 commit into
mainfrom
bokelley/adopt-3.3.0-beta.1

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Adopts the signed AdCP 3.3.0-beta.1 release for the SDK 17 beta line, replacing 3.3.0-beta.0.

  • Release: v3.3.0-beta.1, spec commit c0dfa90c28bcb768f70b4da1dfc3ca057050fa0a
  • Bundle SHA-256: 897e103827d51ffdae0e23117bf8c3349d237e0fb772e60703dc553bfb6a7b66, cosign-verified (ADCP_REQUIRE_SIGNATURE=1 ADCP_GITHUB_FALLBACK=0)
  • Stable 3.2.7, 3.1.29 and 3.0.25 bundles remain packaged

Warning

Beta-channel break. The SDK now advertises and negotiates only 3.3-beta.1 (3.3.0-beta.1). It no longer packages or advertises 3.3-beta.0. A peer still on beta.0 (SDK 17.0.0-beta.0 through beta.4) won't select the 3.3 preview with this release; the pair settles on a shared stable release instead. An explicit adcpVersion: '3.3.0-beta.0' pin now throws a configuration error. Buyers and sellers need to upgrade together to keep testing 3.3 preview features. The changeset and the 16 → 17 migration guide say the same.

What changes

Protocol surface

  • Generated types, Zod schemas, manifest constants, skills and the compliance corpus are regenerated from the signed bundle.
  • New typed client methods on AgentClient and SingleAgentClient: requestAccount() (experimental account.requests), plus reportMediaBuyIssue() and getMediaBuyIssue() (media_buy.issue_reporting). Each comes with executeTask request/response maps, validation schema maps, storyboard task mapping and protocol routing.
  • createAdcpServer accepts raw accounts.requestAccount, mediaBuy.reportMediaBuyIssue and mediaBuy.getMediaBuyIssue handlers. The media-buy MCP tool profile matches the beta.1 manifest.
  • Reporting subscriptions are typed. The built-in principal runtime answers a submitted reporting_subscriptions section with UNSUPPORTED_FEATURE rather than ignoring it.
  • Account projections carry authorization.authorized_at. account_request.changed joins CALLER_NOTIFICATION_TYPES.

Bugs found during adoption

  • Defaults filled in on parse. CanonicalProposalSchema and the targeting Zod schemas filled in JSON Schema defaults when parsing. The new SLA clock: 'elapsed' default changed digest-bound proposal bytes and broke 3.2-served responses. Codegen now drops primitive defaults on these snapshot schemas.
  • account_id rewritten. Typed calls rewrote request_account's top-level account_id into account. The legacy shim now skips this tool.
  • Missing idempotency keys. request_account and report_media_buy_issue were not in MUTATING_TASKS, so no key was generated.
  • Commercial-terms verifier. It now recognizes the 3.3 x-max-*-4.0 advisory annotations and has a reviewed beta.1 semantics entry. It fails closed on purchase installments[] and on business-calendar SLA windows, because a snapshot lacks the data to check them. It does not re-resolve price_adjustments tables. This is documented in the verification guide.
  • Codegen collisions. Fixed ExecutionReadinessStatus1 (now an alias) and AudienceSource1 (renamed to AudienceSourceReference).

Type changes adopters should review: DemographicTargetingIntent.age is now optional, because 3.3 adds gender-only targeting. Product publisher_properties and collections may be [], meaning the roster is undisclosed.

Packaging: the packed tarball measures 26,314,876 bytes, so MAX_PACKED_TARBALL_BYTES goes from 26,000,000 to 26,360,000; the rationale is in the script. The unpacked, file-count, schema and declaration budgets are unchanged and pass.

Known gaps (follow-ups)

  • definePlatform has no hooks for the three new tools; only raw createAdcpServer handlers exist.
  • Capabilities don't auto-advertise account.requests or issue_reporting.
  • The platform list_accounts handler doesn't produce account_requests[].
  • The built-in runtime does not implement reporting subscriptions.

Test plan

  • Signed sync of 3.3.0-beta.1, 3.2.7, 3.1.29 and 3.0.25 with cosign verification
  • npm run ci:schema-check and npm run ci:docs-check clean against the signed sync
  • npm run typecheck, build:lib, format:check, ci:codegen-strict, check:skill-sync, lint:boundaries, check:package, check:package-size, check:publish-protocol-artifacts
  • check:adopter-types, check:adopter-types-narrow, typecheck:examples, typecheck:skill-examples, ci:doc-links
  • test:node:slow passes. test:node:fast passes except the Postgres-backed tests, which need the CI database service (no Postgres locally)
  • New tests: wire negotiation of 3.3-beta.1 with typed request_account, raw server handlers on the beta.1 route, principal reporting_subscriptions rejection, verifier fail-closed cases
  • CI green, including reference-seller interop

🤖 Generated with Claude Code

Pin the signed AdCP 3.3.0-beta.1 release (commit c0dfa90c, bundle SHA-256
897e1038...6a7b66) and regenerate public types, Zod schemas, tool metadata,
skills and the packaged compliance corpus. Beta-channel break: the SDK now
advertises and negotiates only the 3.3-beta.1 preview; 3.3-beta.0 is no longer
packaged or advertised.

Add typed requestAccount, reportMediaBuyIssue and getMediaBuyIssue client
methods, raw createAdcpServer handlers, schema and task maps, and align the
media-buy MCP tool profile with the beta.1 manifest.

Fix issues found during adoption: canonical proposal and targeting Zod
schemas no longer materialize JSON Schema defaults, request_account keeps its
top-level account_id, the new mutating tools get idempotency keys, the
commercial-terms verifier reviews beta.1 semantics and fails closed on
installment selections and business-calendar SLAs, the principal runtime
rejects reporting_subscriptions, and account projections carry authorized_at.

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

@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 AdCP 3.3.0-beta.0 → beta.1 adoption.

Checked:

  • Bulk changes are regenerated *.generated.ts types/schemas; hand-written changes are additive and witness-faithful (no fabrication/reshaping at seams).
  • Three new tools (request_account, report_media_buy_issue, get_media_buy_issue) verified across typed clients, server handlers, schema maps, MUTATING_TASKS, and refuse-before-dispatch negotiation.
  • request-normalizer correctly skips the legacy account_id→account shim for request_account.
  • Codegen no longer materializes primitive schema defaults on digest-bound snapshots (removes a fabrication vector).
  • Principal reporting_subscriptions fail closed with UNSUPPORTED_FEATURE — all with tests.
  • Changeset present (minor; aggregate 17.0.0 already major via display_tag). Version/SHA/commit strings consistent. No hand-edited package.json version line.

No Critical/High/Medium findings. gated_paths is false and no no-auto-approve team match, so REVIEW_REQUIRED does not force escalation. Falls through to row 9.

@bokelley
bokelley merged commit eec99e4 into main Oct 29, 2026
45 checks passed
@bokelley
bokelley deleted the bokelley/adopt-3.3.0-beta.1 branch October 29, 2026 08:00
bokelley added a commit that referenced this pull request Oct 29, 2026
Keep main's composed-envelope generator handling (#3503) and the schema-driven
status gate; retain the named-base union fix.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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