Skip to content

chore: 3.3 GA hosted-surface pins (DO NOT MERGE before v3.3.0 publishes) - #9240

Draft
bokelley wants to merge 7 commits into
mainfrom
chore/3-3-ga-hosted-surface-pins
Draft

bokelley wants to merge 7 commits into
mainfrom
chore/3-3-ga-hosted-surface-pins

Conversation

@bokelley

@bokelley bokelley commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Do not merge before v3.3.0 publishes. This is the Phase 8 "hosted surfaces" PR from .agents/shortcuts/cut-minor-ga.md, for 3.3. It pins artifacts that don't exist yet: spec 3.3.0 (Dec 3, wire pin "3.3") and @adcp/sdk@17.0.0. Until they ship, CI is red by design (see "CI on this draft").

Mirrors the 3.2 GA PR #7841 (9e5a466579), with the same commit split.

What flips

1. feat(compliance): grade hosted runs on 3.3.0 and issue 3.3 badges

  • SUPPORTED_BADGE_VERSIONS becomes ['3.3', '3.2', '3.1', '3.0']. 31 storyboards already declare introduced_in: "3.3".
  • HOSTED_COMPLIANCE_PREFERRED_LINES becomes ['3.3', '3.2', '3.1']. Like chore(release): move hosted surfaces to AdCP 3.2.1 #7841, the new line is added and no older line is dropped. Hosted grading then uses 3.3.0, the newest 3.2.x and the newest 3.1.x; the unpinned default stays 3.0. The "3.3" alias is skipped until 3.3.0 is registered.
  • Selectable badges already derive from SUPPORTED_BADGE_VERSIONS (verification-profile-db.ts), so no change there.
  • Registry OpenAPI examples now name 3.3. registry.yaml is regenerated.

2. chore(addie): secretariat burn-down moves to 4.0

3. feat(addie): 3.3 is the stable default; smoke admission reissued

  • The search_docs, get_doc and schema tool version descriptions now say "stable 3.3; pass 3.2, 3.1 or 3.0".
  • Member compliance_target descriptions and errors name 3.3 targets.
  • The get_adcp_capabilities release-pin example becomes "3.3".
  • HISTORICAL_PRERELEASE_RANGES gains '3.3': { beta: [0, 6], rc: [0, 3] }. It stays inert until the docs snapshot retires the 3.3-beta and 3.3-rc selectors.
  • knowledge.md:
    • The maturity snapshot now says "3.3 stable schemas (3.3.0, 2026-12-03), 3.2 and 3.1 supported".
    • The protocol-auth summary gains one sentence: 3.3 deprecates the RFC 9421 brand.json signing profile (it works through 3.x) in favour of the experimental Web Bot Auth profile, which identifies the signer by origin. Source: docs/reference/whats-new-in-3-3.mdx.
  • The rules feed system_prompt_bytes, so that budget maximum rises 205271 → 205435 (+164 bytes). fix(addie): correct request-signing guidance and find 3.2 docs by version #7726 raised it the same way for signing guidance.
  • The smoke descriptors snapshot the description text, so the component-smoke admission fingerprint changes on purpose: fa331c38… → f542b643….
    • Reissued the way 615 was: the private authority and budget-ladder pins are updated.
    • Migration 643 adds the fingerprint to the CHECK and replaces the plan-group guard (plan manifest digest 16bcc8df…). Plans from 582, 583 and 615 stay readable but fail closed on their next dispatch.
    • The tool-surface inventory is regenerated and the reviewed profile-contract sha is updated.
    • 643 may need renumbering at merge: 639–642 are reserved for the 3.3 GA curriculum PR (docs/3-3-ga-training-audit).
    • knowledge.md does not feed the fingerprint; I checked.

4. chore(deps): hosted surfaces move to @adcp/sdk 17.0.0

  • package.json pins @adcp/sdk 17.0.0, and STABLE_SDK_VERSION becomes 17.0.0 (the checkpoint guard requires it once package.json is stable).
  • The adcp-3.3 npm tag is not in this PR. Brian moved it to fix(compliance): track the adcp-3.3 SDK publication tag (DO NOT MERGE before @adcp/sdk 17.0.0 publishes) #9241, which merges after @adcp/sdk@17.0.0 publishes, as 3.2 did in fix(compliance): track active SDK publication tags #7861. Commit 7 removes it.
  • Training agent:
    • TRAINING_AGENT_CURRENT_ADCP_VERSION becomes '3.3', and '3.2' is listed explicitly. The unpinned default stays '3.0'.
    • The hosted preview retires. TRAINING_AGENT_HOSTED_PREVIEW is undefined, so no preview registry is built. The code stays, so a 4.0 preview can come back by setting one constant.
    • 3.3-rc.3 stays servable as an exact pin, the way chore(release): move hosted surfaces to AdCP 3.2.1 #7841 kept 3.2-rc.7. It is listed as TRAINING_AGENT_RETAINED_PREVIEW_ADCP_VERSION, and the committed dist/schemas/3.3.0-rc.3 bundle is registered with the retained bundles.
    • The runtime-asset check now verifies every retained bundle, and checks a preview only when one is configured.
    • The experimental 3.3 account tools (request_account, list_collections) register wherever the current line is 3.3. Before, that was candidate mode only. Their handlers still refuse a request served below 3.3.
  • Certification C4 build/validate instructions pin @adcp/sdk@17.0.0 and the "3.3" wire pin. "the 3.2 request/response envelopes" becomes 3.3, because it names the pinned wire release. "Validate the 3.2 targeting-aware objectives" and "native 3.2 behavior" stay, because they name when the feature shipped.
  • SDK response conformance: the TypeScript default release is now 3.3.0 (probe-sdk-response-conformance.cjs, run.sh, README command).

5. test: cover the pins. The preview tests are rewritten around the retirement and the retained rc.3 pin. Pins updated: badge, hosted-line, burn-down and smoke fingerprint. The ledger-migration integration test gains the 615 → 643 upgrade case. served-release-shape now grades 3.3, 3.2, 3.1, 3.0 and the rc.3 exact pin.

6. fix(training-agent): 3.3 account tools stay out of listings served below 3.3. With 3.3 current, request_account and list_collections register on every sales registry, so a 3.2-pinned tools/list would have started advertising them. The discovery projection now drops them from a listing stamped below 3.3, as it already drops include_collections. The handlers also refuse such callers.

7. chore(compliance): the adcp-3.3 npm tag moves to #9241. Nothing else here checks the tag. published-compliance-versions (9 of 9) and tests/hosted-compliance-version (14 of 14) were re-run.

Finish after publish

  1. Lockfile. Once @adcp/sdk@17.0.0 is on npm:
    npm install --save-exact --ignore-scripts @adcp/sdk@17.0.0
    git commit --amend --no-edit package-lock.json   # on the chore(deps) commit
  2. Docs snapshot and docs GA flip first. Merge this after the auto/docs-v3.3.0 snapshot PR and after the 3.3 docs GA flip, which rewrites docs/building/by-layer/L4/choose-your-sdk.mdx (docs(release): flip AdCP 3.2 docs to GA (3.2.1) #7775 did this for 3.2). tests/sdk-runtime-compat.test.cjs requires that page to name the stable checkpoint, now @adcp/sdk@17.0.0; it still names 16.5.0. The docs flip should also decide whether GA_SDK_CHECKPOINT_VERSION and GA_RELEASE_DOC_FILES in that test gain the 3.3 GA docs. On the snapshot PR: scripts/update-release-docs-nav.mjs regenerates DOCS_SCHEMA_RELEASES there; this PR doesn't hand-add a '3.3' row. schema-tools.test.ts ties the descriptions to DEFAULT_SCHEMA_VERSION, so it fails until that PR lands.
  3. 3.3.0 registration. The v3.3.0 Version Packages PR registers 3.3.0 in published_versions (npm run version → register-published-compliance-version.cjs), as it did for 3.2.1 and every 3.3 prerelease. This PR doesn't. Until it does, hosted grading skips the "3.3" alias.
  4. adcp-3.3 dist-tag. This is fix(compliance): track the adcp-3.3 SDK publication tag (DO NOT MERGE before @adcp/sdk 17.0.0 publishes) #9241, which merges after the dist-tag exists. This PR no longer lists the tag.
  5. Conformance re-baseline (TODO). Run bash scripts/sdk-response-conformance/run.sh on 17.0.0 against 3.3.0. Then re-record the TypeScript entry in scripts/sdk-response-conformance/known-findings.json (it still records the 17.0.0-beta.40 × 3.2.1 capture) and the README "current TypeScript capture" paragraph. I didn't invent digests.
  6. Confirm the dates and ranges. knowledge.md says 3.3.0 published on 2026-12-03, and HISTORICAL_PRERELEASE_RANGES assumes rc.3 is the last 3.3 RC. If the publish date moves or an rc.4 ships, correct both.
  7. Migration number. Renumber 643 if 639–642 haven't landed, or if something else took 643.
  8. Deploy, then run the hosted-grading admin refresh (Phase 8 step 22).

CI on this draft

  • Everything that runs npm ci fails, because package.json (17.0.0) and the lockfile (17.0.0-beta.40) disagree. chore(release): move hosted surfaces to AdCP 3.2.1 #7841 was in the same state until its lockfile amend.
  • The SDK response evidence workflow fails until the 3.3.0 bundle exists and the baseline is re-recorded.

Test status

Run locally on @adcp/sdk@17.0.0-beta.40, the installed SDK. beta.40 bundles no 3.3 GA schema, so every tenant-route training-agent registry fails to initialize (ConfigurationError: adcpVersion "3.3" … no schema bundle). The v5 /mcp route works. Scratch checks on it: unpinned → 3.0, major-only and "3.3" → 3.3, 3.3-rc.3 and 3.2-rc.7 served exactly, 3.3-rc.2 → VERSION_UNSUPPORTED.

Passed locally

  • adcp-taxonomy, tests/hosted-compliance-version (14), storyboards, secretariat-queues
  • fixed-trace-component-smoke-admission, -private-runtime, fixed-trace-model-judge-control-plane
  • training-agent-release-pin, training-agent-schema-compat, training-agent.test.ts (829), certification-module-methodology
  • the pure-function and /mcp cases of training-agent-preview-version (9) and -preview-kill-switch
  • root targeting-aware-discovery, runtime-artifact-pruning, published-compliance-versions, sdk-response-conformance, run-storyboards-*
  • npm run test:addie-tools (inventory current and within budget)
  • npx tsc --noEmit -p server/tsconfig.json (clean)
  • npm run build:openapi (no diff after regeneration)

Blocked on @adcp/sdk@17.0.0 (tenant registries can't initialize on beta.40). These edits were written from the source and are unverified:

  • served-release-shape, tenant-smoke, context-echo, account-change-feed-transport, sync-accounts-gates, training-agent-collections, hold-vectors, hosted-prerelease-discovery-pin
  • the tenant-route cases of training-agent-preview-version (10) and -preview-kill-switch
  • sdk-runtime-compat "current AdCP version matches installed SDK" (resolveAdcpVersion('3.3') throws on beta.40)
  • compliance-publication provenance, which reports the installed beta.40

Expected to fail until the docs land

  • schema-tools.test.ts "defaults its guidance to stable": waits on the auto/docs-v3.3.0 snapshot.
  • sdk-runtime-compat "current exact SDK checkpoint references": waits on the 3.3 docs GA flip of choose-your-sdk.mdx.

Run against Postgres 16 with every migration on main applied, plus 639–642 from #9237

  • Migration 643 applies cleanly, and a second run changes nothing.
  • fixed-trace-component-smoke-private-ledger-migration: 38 of 38 pass, including the 615 → 643 upgrade.

Not run

  • training-agent-reporting-reliability, registry-api-agent-refresh, registry-api-compliance-verdict-source

Decisions (Brian, via the coordinator)

🤖 Generated with Claude Code

bokelley and others added 6 commits November 26, 2026 14:05
- SUPPORTED_BADGE_VERSIONS = ['3.3', '3.2', '3.1', '3.0'], so canonical
  hosted selection grades agents that advertise 3.3 on the 3.3.0 bundle.
  31 storyboards already declare introduced_in "3.3".
- HOSTED_COMPLIANCE_PREFERRED_LINES = ['3.3', '3.2', '3.1'], newest first.
  Like the 3.2 GA flip (#7841), the new line is added and no older line is
  dropped: 3.2-only agents keep grading on the newest 3.2.x and 3.1-only
  agents on the newest 3.1.x. The unpinned default stays 3.0. The "3.3"
  alias is skipped until the v3.3.0 Version Packages PR registers 3.3.0 in
  published-versions.json.
- Selectable verification badges already derive from
  SUPPORTED_BADGE_VERSIONS (verification-profile-db.ts), so 3.3 becomes
  selectable with no further change.
- Registry OpenAPI examples name 3.3 targets and bundles; registry.yaml
  regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After 3.3 the next release is 4.0 (GitHub milestone #5); there is no 3.4.
4.0 leaves the context row, which now shows 4.x (milestone #13, the
additive minors planned after 4.0.0) next to P0 Bugs and Spec Backlog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… admission

The search_docs, get_doc, and schema tool version parameters said
"Omission means stable 3.2; pass 3.1 or 3.0". They now say stable 3.3;
pass 3.2, 3.1 or 3.0, matching the docs default after the v3.3.0 docs
snapshot. schema-tools.test.ts ties each description to
DEFAULT_SCHEMA_VERSION, so it passes only once the auto/docs-v3.3.0
snapshot PR makes docs.json default to 3.3 (that PR regenerates
DOCS_SCHEMA_RELEASES; this one does not hand-edit it). Member
compliance_target descriptions and errors, and the get_adcp_capabilities
release-pin example, name 3.3 targets. HISTORICAL_PRERELEASE_RANGES gains
the 3.3 beta.0-6 / rc.0-3 checkpoints, inert until the snapshot retires the
3.3-beta / 3.3-rc selectors.

knowledge.md: the maturity snapshot names 3.3 stable (3.3.0, 2026-12-03)
with 3.2 and 3.1 supported, and the protocol-auth summary notes that 3.3
deprecates the RFC 9421 brand.json signing profile in favour of the
experimental Web Bot Auth profile. The rules feed system_prompt_bytes, so
that maximum rises by 164 bytes to 205435.

The isolated search_docs/get_doc smoke descriptors snapshot the same
text, so the paid component-smoke admission fingerprint changes on
purpose (fa331c38... -> f542b643...). This reissues it the way
migration 615 did:
- private authority and budget-ladder pins move to the new value
- migration 643 adds the new fingerprint to the authorization CHECK and
  replaces the plan-group guard with the new fingerprint and plan
  manifest digest (16bcc8df...); 582/583/615 plans stay readable but
  fail closed on their next dispatch intent
- tool-surface inventory regenerated; the reviewed profile contract
  sha256 is updated in the budget

Migration 643 leaves 639-642 for the 3.3 GA curriculum PR and may need
renumbering at merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apply once @adcp/sdk@17.0.0 is on npm, then refresh the lockfile:
  npm install --save-exact --ignore-scripts @adcp/sdk@17.0.0
  git commit --amend --no-edit package-lock.json

- package.json pins @adcp/sdk 17.0.0 (the 3.3.0 GA bundle), and
  STABLE_SDK_VERSION in tests/helpers/sdk-checkpoint.cjs follows it, as
  that helper requires once package.json is stable.
- published-versions.json tracks the adcp-3.3 npm dist-tag. Registering
  3.3.0 in published_versions stays with the v3.3.0 Version Packages PR
  (npm run version -> register-published-compliance-version.cjs), as it did
  for 3.2.1 and every 3.3 prerelease.
- Training agent: TRAINING_AGENT_CURRENT_ADCP_VERSION = '3.3'. '3.2' is now
  listed explicitly; the unpinned default stays '3.0'.
- The hosted preview (#8181) retires: TRAINING_AGENT_HOSTED_PREVIEW is
  undefined, so no preview registry is built and the stable registries
  negotiate every listed release. Its 3.3 surfaces are the stable 3.3
  line, SDK 17.0.0 negotiates '3.3', and no SDK bundles a 4.0 prerelease.
  The machinery stays, so a later preview is one constant.
- 3.3-rc.3 stays served to an exact pin, the way #7841 kept 3.2-rc.7:
  TRAINING_AGENT_RETAINED_PREVIEW_ADCP_VERSION is listed, and the committed
  dist/schemas/3.3.0-rc.3 bundle is registered with the retained bundles.
  The runtime-asset check verifies every retained bundle, and checks a
  preview only when one is configured.
- The experimental 3.3 account tools (request_account, list_collections)
  register wherever the current line is 3.3, not only in candidate mode;
  their handlers still refuse a request served below 3.3.
- Certification C4 build/validate instructions pin @adcp/sdk@17.0.0 and
  the "3.3" wire pin (certification-module-methodology ties both to the
  installed SDK and the training agent). "3.2 targeting-aware" stays where
  it names when the feature shipped.
- SDK response conformance: the TypeScript default release is 3.3.0. Its
  known-findings entry still records the 3.2.1 capture and must be
  re-baselined from a real 17.0.0 run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow the 3.3 GA hosted-surface flip, mirroring the 3.2 GA test edits (#7841):

- Hosted compliance: SUPPORTED_BADGE_VERSIONS and the preferred-line list now
  include 3.3; the stable 3.3 alias is skipped until 3.3.0 is registered, so
  3.3-advertising agents stay on the newest 3.2.x and the 3.3 prerelease
  aliases enter the candidate list.
- Secretariat burn-down tracks the 4.0 milestone with a 4.x context row.
- Component-smoke admission fingerprint and plan-manifest digest pins move to
  the 3.3 GA reissue; the private-ledger migration integration test applies
  migration 643 and adds a 615 -> 643 upgrade case.
- Training agent: 3.3 is current, 3.2 and the retained 3.3-rc.3 exact pin are
  listed, and the hosted preview is retired. The preview-version and
  kill-switch tests are rewritten around the retirement; served-release-shape,
  context-echo, tenant-smoke, collections, hold-vectors, discovery-pin and
  reporting-reliability follow the new current line.

Tenant-route tests need @adcp/sdk 17.0.0 (the 3.3 GA bundle) to run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…d below 3.3

With 3.3 current, request_account and list_collections register on every
sales registry. Their handlers already refuse a caller served below 3.3,
but a 3.2-pinned tools/list would now advertise them, which it never did
while they lived on the preview registry. The tool-discovery projection
drops them from a listing stamped below 3.3, as it already drops
include_collections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

// A hosted preview validates against its committed published bundle.
// Checked even when the kill switch is set, so the image can always serve it.
if (TRAINING_AGENT_HOSTED_PREVIEW) {
: storyboardCompat?.version === '3.0'
? '3.0'
: preview
: preview && TRAINING_AGENT_HOSTED_PREVIEW
check:published-compliance verifies every npm_tags entry against the
registry, so listing adcp-3.3 here kept this PR red until the dist-tag
exists. As with 3.2 (#7861), the tag change ships in its own PR after
@adcp/sdk 17.0.0 publishes. Nothing else in this PR checks the tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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