Skip to content

chore(deps): bump @adcp/sdk to 17.0.0-beta.27 and pin hosted prerelease discovery - #9021

Merged
bokelley merged 3 commits into
mainfrom
chore/bump-adcp-sdk-17-beta-27
Nov 15, 2026
Merged

bokelley merged 3 commits into
mainfrom
chore/bump-adcp-sdk-17-beta-27

Conversation

@bokelley

@bokelley bokelley commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Two follow-ups to #9018:

  1. The hosted grader pins capability discovery for prerelease targets (adcp-client#3715). Stable hosted targets keep today's behaviour.
  2. @adcp/sdk moves from 17.0.0-beta.26 to 17.0.0-beta.27 (npm beta tag). This brings adcp-client#3699 to hosted grading for Strict Spec grading unreachable for media-buy sellers: runner-skipped storyboards count as incomplete bundles #8534.

1. Hosted prerelease discovery pin

Problem. From beta.23, the SDK sends capability discovery unpinned when the run's pin is a prerelease. It then profiles whatever the agent serves unpinned. A conformant agent serves a prerelease only to an exact pin, so hosted grading of a 3.3 prerelease bundle profiled the agent's stable surface. Every capability-gated 3.3 storyboard (holds, account requests, reporting subscriptions, the new any_of gates) was skipped as capability_unsupported.

Change.

  • A new shared helper, prereleaseDiscoveryEnvelope() in server/src/compliance/prerelease-discovery-envelope.ts, returns 'auto' for a prerelease wire pin and undefined otherwise.
  • The local storyboard runner (server/tests/manual/run-storyboards.ts) now uses this helper instead of its inline rule from chore(deps): bump @adcp/sdk to 17.0.0-beta.26 for hosted grading #9018.
  • The hosted builders in hosted-compliance-version.ts apply it to the effective wire pin. The effective pin is the caller's wireAdcpVersion, else the stable-line alias, else the resolved version. The builders are:
    • withHostedComplianceRunOptions (comply());
    • withHostedStoryboardRunOptions (single storyboard and step re-runs);
    • withHostedTestOptions (probes).
  • Exact prerelease targets such as 3.3.0-beta.6 send discovery with an explicit auto envelope.
  • Stable targets (3.0, 3.1, 3.2) get no envelope and keep the SDK default, including its unpinned and major-only discovery fallbacks for third-party agents.
  • Line-alias targets keep the default too, because their wire pin is the stable line.
  • A caller-supplied versionEnvelope always wins.

The table shows the built dist/services/hosted-compliance-version.js:

Target Resolved comply / storyboard / test envelope
3.0 3.0.28 none / none / none
3.1 3.1.33 none / none / none
3.2 3.2.11 none / none / none
3.3.0-beta.6 3.3.0-beta.6 auto / auto / auto

Tests.

  • hosted-compliance-version.test.ts, option level:
    • each of the three builders pins an exact prerelease target;
    • each leaves 3.0, 3.1 and 3.2 on the default;
    • each keeps a caller-supplied envelope;
    • the helper classifies release- and wire-precision prerelease pins.
  • hosted-prerelease-discovery-pin.test.ts, wire level, against the training agent, whose 3.3 preview is served to exact pins only:
    • a 3.3.0-beta.6 target profiles 3.3-beta.6 and sees media_buy.hold_policy;
    • a 3.2 target profiles 3.2.
    • With the helper disabled, the prerelease case fails: it profiles 3.2.

2. @adcp/sdk 17.0.0-beta.27

package.json was the only file that pinned the SDK; package-lock.json is regenerated with only the @adcp/sdk entry changed. The choose-your-SDK table, the creative33 sandbox note and the SDK response-conformance baseline name the new version. None of these is protocol-scoped, so there is no changeset.

Verification

  • Server tsc --noEmit: clean. node tests/schema-validation.test.cjs: passed.
  • Hosted, compliance, registry, preview, context-echo and served-release-shape unit tests: 68 files, 1,034 tests passed.
  • test:sdk-runner-capability-gates, test:version-envelope, test:sdk-shims, test:run-storyboards-schema-root, test:test-dynamic-imports, test:sdk-response-conformance: all pass.
  • SDK response-conformance probe, re-captured on beta.27 (TypeScript, Python and Go): matches the reviewed baseline.
  • Hosted compliance:
    • scripts/smoke-hosted-compliance-runtime.mjs (against the built tree): passed for 70 published versions.
    • check-published-compliance-versions.cjs: current.
    • The 10 webhook-emission.yaml warnings for bundles 3.0.0 to 3.0.12 were already there and are unchanged.
  • Storyboard matrix, current source in candidate mode, on beta.27, local results against floors:
Profile Clean (floor) Steps passed (floor) Applicable / N/A / quarantined
/signals 57 (45) 139 (80) 57 / 192 / 1
/sales 198 (191) 1,430 (1,400) 198 / 50 / 2
/governance 59 (47) 183 (128) 60 / 189 / 1
/creative 62 (49) 246 (209) 62 / 186 / 2
/creative-builder 68 (50) 241 (184) 68 / 181 / 1
/brand 58 (45) 110 (83) 58 / 191 / 1
/si 53 (42) 65 (50) 53 / 196 / 1

Result: ✓ All tenants meet floors. All 45 required-clean and required-exact storyboards pass. Every count matches the beta.26 run in #9018.

#8534 tripwire (expected). verification-profile-request-signing.test.ts asserted that 3.1.29 declined capability gates stay partial until adcp-client#3699 shipped, and it failed on this bump as designed. I updated it as its comment instructed:

  • On the issue's 3.1.29 bundle, the declined wholesale_feed_* bundles now grade not_applicable and protocol:media-buy passes.
  • Only the three runner-gap bundles stay incomplete: webhook-emission, webhook-receiver-envelope and idempotency.
  • The "reaches Strict once runner gaps close" case now runs on 3.1.29 as well as 3.2.10, and passes on both.

🤖 Generated with Claude Code

bokelley and others added 2 commits November 14, 2026 16:46
@adcp/sdk 17.0.0-beta.23 and later send capability discovery unpinned
when the run's pin is a prerelease, then profile whatever the agent
serves unpinned (adcp-client#3715). A conformant agent serves a
prerelease only to an exact pin, so hosted grading of a 3.3 prerelease
bundle profiled the agent's stable surface and skipped every
capability-gated 3.3 storyboard.

Move the prerelease-only rule from the local storyboard runner into a
shared helper, prereleaseDiscoveryEnvelope(), and apply it in the
hosted comply, storyboard and test option builders: an exact
prerelease target sends discovery with an explicit `auto` envelope.
Stable targets (3.0, 3.1, 3.2) and line-alias targets, whose wire pin
is stable, keep the SDK default, including its unpinned and major-only
discovery fallbacks. A caller-supplied envelope still wins.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Move the application dependency to the exact published @adcp/sdk
17.0.0-beta.27 (npm beta tag). It brings adcp-client#3699 to hosted
grading: a declined root capability gate now grades not_applicable on
AdCP 3.1.24+ bundles, as it already did from 3.2, so a 3.1 media-buy
seller's declined optional scenarios stop capping its bundles (#8534).
It also adds resolvePublisherSigningKeyPin (adcp-client#3713) and still
bundles signed 3.3.0-beta.6, so the hosted preview is unchanged.

The docs and the response-conformance baseline name the new SDK; the
re-captured evidence (TypeScript, Python, Go) matches the reviewed
findings.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Nov 14, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

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 SDK bump with a safe refactor extraction.

This PR bumps the SDK from 17.0.0-beta.26 → beta.27 (package.json/lock, two docs version strings, conformance baseline recording) and extracts a shared prereleaseDiscoveryEnvelope() helper wired into the three hosted option builders.

Checks performed:

  • Envelope precedence (input.wireAdcpVersion ?? hostedStableLineAlias ?? resolved.version) matches the wire pin each builder sends: exact prerelease → 'auto', line-alias and stable → undefined (SDK default fallbacks preserved).
  • Regex broadening from beta/rc-only to any prerelease identifier is more correct, not a regression.
  • Tests cover both option-level and wire-level behavior.
  • No protocol schema (static/schemas/source/**) or normative docs (docs/reference/**) touched, so no changeset required — consistent with the #9018 precedent.

No Critical/High/Medium findings. high_risk is false, gated_paths is false, no no-auto-approve team match. Decision table rows 1–8 do not fire; falls through to row 9.

Note: review_decision is REVIEW_REQUIRED, but gated_paths is false so row 2 does not apply.

…le (#8534)

The #8534 tripwire fired as designed on the SDK bump: 17.0.0-beta.27
(adcp-client#3699) applies the capability rollup from 3.1.24, so on the
issue's 3.1.29 bundle the declined wholesale bundles grade not_applicable
and the media-buy protocol bundle passes. Only the runner gaps stay
incomplete, and the issue run reaches Strict once they close, as the
3.2.10 run already did.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Re-approval: no reviewable delta since the prior approval; re-submitting after stale-review dismissal.

@bokelley
bokelley merged commit 7b23f0e into main Nov 15, 2026
66 checks passed
@bokelley
bokelley deleted the chore/bump-adcp-sdk-17-beta-27 branch November 15, 2026 05:17
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