Skip to content

fix(compliance): adopt published SDK beta.20 runtime fixes - #8722

Merged
bokelley merged 2 commits into
mainfrom
fix/hosted-sdk-beta15
Nov 8, 2026
Merged

bokelley merged 2 commits into
mainfrom
fix/hosted-sdk-beta15

Conversation

@bokelley

@bokelley bokelley commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Hosted and manual compliance runs use the application's installed @adcp/sdk. This upgrades it from 17.0.0-beta.17 to the exact published 17.0.0-beta.20, the current npm beta dist-tag.

This PR first carried the beta.15 upgrade and its application changes. Main absorbed all of that, with beta.17, in 2f80048. After rebasing onto main, the PR is only the runtime upgrade:

  • package.json and the lockfile's SDK entry (17.0.0-beta.20, integrity sha512-wChISMd4…).
  • SDK guidance in docs/building/by-layer/L4/choose-your-sdk.mdx and docs/contributing/creative33-sandbox.md.
  • The TypeScript response-conformance baseline (scripts/sdk-response-conformance/), re-captured on beta.20.

What beta.18–beta.20 change

  • beta.18 adopts the signed 3.3.0-beta.4 bundle and negotiates only 3.3-beta.4. It no longer packages 3.3-beta.3. It also applies the beta.4 reporting-subscription rules.
  • beta.19 (adcp-client#3632) adds explicitly gated offline legacy format fixtures, keeps format_schema.uri and platform_extensions[].uri intact when stripping legacy creative identity, and preserves mixed-size library upload evidence.
  • beta.20 keeps the browser schema declarations browser-safe, makes non-empty-array schemas portable in declaration emit, and sends the registry house_domain filter.

The fixes the triage linked are all in this artifact. adcp-client#3615 (selected-version webhook validation) and #3616 (fixture ownership inference) shipped in beta.16. #3621 (account-subject identity) shipped in beta.17.

Previously failing storyboard jobs

These were the seven failures on a1f0aad7b3 (beta.15). I re-ran them locally on beta.20 with CI-equivalent env (3.0-compat: bundle 3.0.28, candidate mode off; current: candidate mode on, proposal profiles on, CI token, 180 s per-storyboard timeout). Floors are unchanged.

Job Before (beta.15) Now (beta.20) Floor
3.0-compat /sales 35/39 clean, 189 steps 39/39 clean, 229 steps 39 / 219
3.0-compat /creative 21/22, 105 22/22, 108 22 / 108
3.0-compat /creative-builder idempotency, creative_generative/seller failed 24/24, 115 24 / 112
3.0-compat /governance 26/27, 143 27/27, 146 27 / 146
current /creative 59/62, 216 62/62, 249 49 / 209
current /creative-builder idempotency, deterministic_testing, canonical_format_validate_input failed 68/68, 244 50 / 184
current /sales 188/195, 1312 194/195, 1419; all required-clean and required-exact rows pass 191 / 1400

For 3.0-compat /sales, the eight automatic-seeding failures from the analysis in comment 6610652234 now execute and pass: idempotency 9P/0F, schema_validation 11P/0F, media_buy_seller 13P/0F. The webhook_emission payload-schema failure also passes, at 14P/0F. The other 3.0-compat tenants also meet their floors: /signals 24/97, /brand 23/81, /si 21/75. The remaining current tenants do too: /signals 57/139, /governance 59/182, /brand 58/110, /si 53/65.

On current /sales, the one unclean row is media_buy_seller/inline_creatives_without_sync → get_products_legacy_format. The storyboard marks that step "EXPECTED AND NON-GATING for a canonical-only seller". Main fails it identically on beta.17 (run 42232609675, 24/25 in that orchestrator), so it is not a regression.

The authoritative storyboard workflow skips draft PRs. It runs when this PR is marked ready.

Testing

  • npm run typecheck: passes.
  • Server unit tests that touch the SDK, training agent, storyboards or candidate/preview versions: 296/296 files, 6,653 passed and 28 skipped.
  • Both commits went through the real pre-commit hook with no bypass: 1,282 root unit tests, 169 auction checks, the full server suite (828 files, 13,746 passed, 31 intended skips) and final typecheck.
  • SDK response conformance via scripts/sdk-response-conformance/run.sh (TypeScript, Python adcp==8.0.0b14, Go adcp/[email protected]): 125 TypeScript dispatches, 124 schema-valid, with the same known catalog:list_products finding. check-baseline.cjs matches. Only the recorded SDK version changed.
  • tests/sdk-runtime-compat.test.cjs, tests/lint-sdk-shims.test.cjs and canonical test shard 3/4 pass locally.
  • node scripts/check-changeset-protocol-scope.cjs origin/main: passes. There is no protocol changeset because no protocol-scoped files changed.
  • I pushed with ADCP_SKIP_STORYBOARD_MATRIX=1 because I ran both matrices directly with CI-equivalent env (results above). Locally, the isolated current /sales run alone takes about 90 minutes on this VM.

Risks and follow-ups

  • Hosted 3.3 preview interop. The training agent's opt-in hosted preview is still 3.3-beta.3 (TRAINING_AGENT_HOSTED_PREVIEW). beta.20 negotiates only 3.3-beta.4. The agent still serves its preview correctly, because it registers the committed dist/schemas/3.3.0-beta.3 bundle itself and the tests above cover that. But a buyer on SDK beta.18 or later now settles on 3.2 instead of selecting the preview. docs/reference/3-3-beta.mdx also still says SDK 17.0.0-beta.11 and later negotiate 3.3-beta.3. Moving the preview and that reference page to 3.3-beta.4 is a separate, protocol-scoped change and is not in this PR.
  • Floors, the 3.0.28 corpus, storyboards and exact pins are unchanged. No failure was converted to a skip.

Open workspace in Conductor

🤖 Generated with Claude Code

aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Nov 3, 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 application-only PR with no blocking findings.

Checked:

  • No protocol surface touched. No changes under static/schemas/source/**, docs/reference/**, release scripts, or dist/** artifacts. Changeset correctly omitted — author's classification verified (app-only, no wire change).
  • @adcp/sdk beta.8→beta.15 bump with runtime adjustments for the new SDK's native capabilities.
  • Three load-bearing logic changes verified: (1) gradeStandaloneExclusions tears down continuation context on native non-advisory/non-not_applicable field_excludes failures so the fallback no longer re-grades; (2) the tenants operator_unit bridge restores the controller's -32602 refusal of malformed/pre-3.2 units and strips caller-supplied __training_operator_unit now that the SDK uses an open carrier; (3) lazy creative33 sandbox init is race-free in Node's single-threaded handler.
  • Operational readiness: no new external I/O; schema registration synchronous and idempotent.
  • Schema↔docs coherence: N/A (no schema or reference-doc changes).

Gate checks: gated_paths: false; high_risk: false; no no-auto-approve team match. Although review_decision is REVIEW_REQUIRED, row 2 only fires when gated_paths is true — it is false here, so the gate does not apply. No Critical/High/Medium findings. Falls through to row 9.

@sangilish

Copy link
Copy Markdown
Contributor

3.0 sales gate: two separate failure signatures

I checked the 3.0-compat /sales job on head a1f0aad7b3e770163e5ea19d52845cc8dea7d734. Its nine failed steps split into:

This PR still pins published SDK 17.0.0-beta.15. Both #3615 and #3616 are now merged source, but both document regressions on that published artifact. The npm beta tag still resolves to beta.15 at this check. Merging those corrections does not change the artifact or the dependency used here.

For the next qualification, I would retain bundle 3.0.28, adopt a published artifact containing the relevant fixes, and rerun this job with the existing 39 clean / 219 passing-step floors unchanged. This attempt reports 35 clean / 189 passing steps. A failure disappearing through reduced selection or additional skips would not establish the same coverage.

This is CI evidence for the reference seller, not a replay of the saved hosted run in #8576. That report still needs its own retained seeding/contribution diagnostics and same-corpus replay before closure. I am leaving the runtime changes with their existing owners; this is not an approval or a new competing fix.

@bokelley
bokelley marked this pull request as draft November 4, 2026 04:56
KonstantinMirin pushed a commit to KonstantinMirin/adcp that referenced this pull request Nov 5, 2026
Preserve the exact maintained release and official documentation snapshot
ancestry, main's newer protocol formats, auth fences and auction behavior,
and all immutable release bytes. Reconcile every maintenance source hunk,
carrying the missing fixture-owner and authored-brand declarations.

This integration deliberately also carries the application behavior from
adcontextprotocol#8722 and its local successor, with exact published SDK 17.0.0-beta.17
installed through npm. Keep the native exclusion rollback, retained beta.1
schema registration, lazy lab initialization and older controller refusals.
Record the freshly measured response baseline without hiding its existing
catalog:list_products finding.

Hosted 3.1.32 registration remains held pending complete canonical
publication and published SDK corpus qualification; this private commit
is not a deployment or client-rollout claim.
Hosted and manual compliance runs use the application's installed
@adcp/sdk. Move it from 17.0.0-beta.17 to the exact published
17.0.0-beta.20, the current npm beta tag. Main already carries this
branch's earlier application changes (2f80048), so after the rebase
only the runtime upgrade remains.

Beta.18 adopts the signed 3.3.0-beta.4 bundle and stops negotiating
3.3-beta.3; beta.19 and beta.20 add offline legacy fixtures, keep
format schema URIs intact, and fix declaration emit. Update the SDK
guidance and the TypeScript response-conformance baseline, re-captured
on beta.20 with unchanged findings.

Protocol versions, release artifacts, storyboards and floors are
unchanged, so there is no protocol changeset.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bokelley
bokelley force-pushed the fix/hosted-sdk-beta15 branch from a1f0aad to c232a05 Compare November 7, 2026 23:42
@bokelley bokelley changed the title fix(compliance): adopt published SDK beta.15 runtime fixes fix(compliance): adopt published SDK beta.20 runtime fixes Nov 7, 2026
The SDK checkpoint guard requires choose-your-sdk.mdx to name only the
installed prerelease. Describe the 3.3-beta.4-only negotiation without
citing the earlier SDK version that introduced it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bokelley
bokelley marked this pull request as ready for review November 8, 2026 00:40

@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 — routine dependency bump with no blocking findings.

This PR bumps @adcp/sdk 17.0.0-beta.17 → 17.0.0-beta.20 and the bundled 3.3 preview 3.3.0-beta.3 → 3.3.0-beta.4, with docs (choose-your-sdk.mdx, creative33-sandbox.md), the conformance harness README/known-findings.json, and package.json/package-lock.json all updated coherently. Version numbers line up across all six files. No published protocol surface was touched (no static/schemas/source, docs/reference, release scripts, or dist), so no changeset is required.

Decision table walk-through:

  • Rows 1: no critical/high findings.
  • Row 2: gated_paths is false — does not fire.
  • Rows 3–5: high_risk is false.
  • Row 6: prior decision was approve, not escalate.
  • Row 7: no no-auto-approve team match.
  • Row 8: zero medium findings.
  • Row 9: approve.

No blocking or medium findings. Clean, coherent dependency update.

@bokelley
bokelley merged commit 184f26d into main Nov 8, 2026
70 checks passed
@bokelley
bokelley deleted the fix/hosted-sdk-beta15 branch November 8, 2026 01:24
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.

2 participants