Repository navigation
chore(release): move hosted surfaces to AdCP 3.2.1 - #7841
Conversation
- SUPPORTED_BADGE_VERSIONS = ['3.2', '3.1', '3.0'], so canonical hosted selection grades agents that advertise 3.2 on the 3.2.1 bundle and keeps 3.1-only agents on the latest 3.1 bundle (3.1.24). - Hosted target preference and candidates are driven by one newest-first line list (3.2, 3.1), each tried as stable, rc, then beta. The unpinned default stays 3.0. - Selectable verification badges derive from SUPPORTED_BADGE_VERSIONS instead of a separate hard-coded set. - Registry OpenAPI examples name 3.2 targets and bundles. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… admission The search_docs, get_doc, and schema tool version parameters said "Omission means stable 3.1; use 3.2 for the current preview". They now say stable 3.2, matching the docs default after the v3.2.1 docs snapshot. The schema-tools test now ties each description to DEFAULT_SCHEMA_VERSION, so it passes only once docs.json defaults to 3.2. Member compliance_target descriptions name 3.2 targets. The isolated search_docs/get_doc smoke descriptors snapshot the same text, so the paid component-smoke admission fingerprint changes on purpose (817ab57d... -> fa331c38...). This reissues it the way migration 583 did: - private authority, budget ladder, and unit pins move to the new value - migration 614 adds the new fingerprint to the authorization CHECK and replaces the plan-group guard with the new fingerprint and plan manifest digest (bda91890...); 582/583 plans stay readable but fail closed on their next dispatch intent - the ledger migration integration test covers the 583 -> 614 upgrade - tool-surface inventory regenerated; the reviewed profile contract sha256 is updated in the budget Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Apply once @adcp/[email protected] is on npm, then refresh the lockfile: npm install --save-exact --ignore-scripts @adcp/[email protected] git commit --amend --no-edit package-lock.json - package.json pins @adcp/sdk 14.0.0 (the 3.2.1 GA bundle). - Training agent: TRAINING_AGENT_CURRENT_ADCP_VERSION = '3.2'. '3.2' was already a supported release; the unpinned default stays '3.0'. - SDK 14.0.0 bundles only the 3.0/3.1/3.2 GA schemas, so an exact "3.2-rc.7" pin on an SDK-dispatched /sales tool would downshift to 3.1. The sales platform now declares its supported releases, and the committed dist/schemas/3.2.0-rc.7 bundle is registered next to beta.6. - Training-agent tests: GA release-pin semantics ("3.2" downshifts to the highest stable release a route offers; the exact rc.7 pin is still refused there) and the unpinned capabilities echo is now "3.2". - Certification C4 build/validate instructions pin @adcp/[email protected] and the "3.2" wire pin (certification-module-methodology ties both to the installed SDK and the training agent). - SDK response conformance: the TypeScript default release is 3.2.1 and its known-findings entry is re-baselined (same counts and the same single list_products finding; new artifact digest). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
0e1d4b4 to
a861c7c
Compare
There was a problem hiding this comment.
Ladon verdict: Request changes
Request changes — 1 blocking finding.
Blocking findings
- server/src/db/migrations/614_reissue_addie_fixed_trace_component_smoke_3_2_ga.sql — Migration version 614 collides with
614_compliance_inconclusive_backoff.sql, already onmainvia #7844.loadMigrations()(migrate.ts:281-297) throws on duplicate versions, which crashes server startup on every deploy. Migrations run automatically on startup in production, so this is a reproducible happy-path crash on a load-bearing path. Renumber to 615.
Context
The rest of the 3.2.1 hosted-surface adoption is clean and well-tested: the migration-614 reissue logic (fail-closed), the hosted-compliance preferred-lines refactor, and the schema-compat bundle registration are all sound, with no schema-source or dist-artifact changes. The duplicate migration version is the sole blocker and is mechanically fixable by renumbering.
Non-blocking note: the PR body is stale — follow-up commit A (sdk 14.0.0, training '3.2', conformance 3.2.1) is already merged into the diff.
Blocking findings
- server/src/db/migrations/614_reissue_addie_fixed_trace_component_smoke_3_2_ga.sql — Migration version 614 collides with existing 614_compliance_inconclusive_backoff.sql on main; loadMigrations() throws on duplicate versions, crashing server startup on every deploy. Renumber to 615.
…ease lines #7844 took migration 614 on main. The training-agent/SDK version check now compares release lines: a stable wire pin ("3.2") tracks every patch of its line (3.2.1), and a prerelease pin still tracks its exact candidate. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Superseded by a later Ladon review that rechecked and resolved its blocking findings.
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — prior blocker resolved, no new findings.
This is a subsequent review. The prior request-changes decision flagged a migration version collision (614 duplicated by 614_compliance_inconclusive_backoff.sql), which would crash loadMigrations() on startup. The developer renamed the migration to 615_reissue_addie_fixed_trace_component_smoke_3_2_ga.sql (slot 615 is unoccupied), and updated the corresponding test path/comment to match. The sole prior blocker is addressed.
The reviewer also confirmed the sdk-runtime-compat assertion was correctly loosened to release-line equality per documented wire-pin semantics (stable 3.2 tracks patch releases; prerelease pins stay exact). No schema-source or dist/** changes — released-artifact immutability is intact. No changeset-scope concern surfaced (migration/app-only surface).
Decision-table walk:
- Row 1 (critical/high): no findings.
- Row 2 (gated_paths): false.
- Row 3 (high-risk deleted): the new migration is
(added)— inherently low risk; the other high-risk matches are(modified)with no medium-or-worse findings, so presumed safe. - Row 4/5 (medium findings): none.
- Row 6 (sticky escalate): prior was request-changes, not escalate; and no fresh findings exist regardless.
- Row 7 (no-auto-approve team): no match.
- Row 8 (≥3 medium): zero medium findings.
- Row 9: approve.
Net improvement: the load-bearing startup-crash blocker is gone and the current run surfaces nothing actionable.
…SDK 14.0.0 - Provenance expectations record the exact runner, now @adcp/sdk 14.0.0. - Buyer certification text names the current stable 3.2 wire pin. - Reporting lab cases dedupe the GA pin (current version == release line at GA) so repeated idempotency keys no longer replay sync_accounts against a cleared account store, and cover the retained 3.2-rc.7 pin. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean subsequent pass with no actionable findings.
This is a GA-bump bookkeeping delta. The reviewer surfaced no critical/high/medium findings. Changes update sdk_version test expectations 14.0.0-rc.53 → 14.0.0 (consistent with LIBRARY_VERSION from the package.json pin to @adcp/sdk 14.0.0), dedupe now-identical 3.2/3.2 pins via a Set and retain the 3.2-rc.7 pin in the training-agent reporting test, plus two non-substantive comment/wording edits.
Decision-table walk:
- Row 1 (critical/high): none.
- Row 2 (gated_paths + not APPROVED): gated_paths is false — does not fire.
- Row 3 (high_risk + deleted): high_risk is true, but the migration is (added) and all other high-risk entries are (modified)/(added); no deletions.
- Row 4 (medium data-loss/schema/infra): no medium findings.
- Row 5 (high_risk modified + medium finding): no medium findings.
- Row 6 (sticky escalate): prior decision was approve, not escalate.
- Row 7 (no-auto-approve team): no team match.
- Row 8 (≥3 medium): zero medium findings.
- Row 9: approve.
The high_risk flag is heuristic; the modified addie/registry files carry no medium-or-higher concerns, and the migration is a new file (low risk on its own). review_decision is REVIEW_REQUIRED but gated_paths is false, so no hard gate applies. Falls through to row 9.
|
Merging the post-GA hosted-surfaces PR (runbook Phase 8) under the maintainer's authorization. It moves to @adcp/sdk 14.0.0, the training agent to 3.2, 3.2 badges, hosted grading on 3.2.1, and Addie descriptions reissued (migration 615). All 58 checks pass. The |
Post-GA hosted surfaces for AdCP 3.2.1 (
cut-minor-ga.mdPhase 8 step 21, plus the post-publish and post-GA follow-ups in the 3.2 release plan). Based onmainafter the 3.2.1 Version Packages merge (#7712).Draft. Do not merge while
mainis frozen for thev3.2.1tag. The PR is also gated on two other events, below.What this PR changes
SUPPORTED_BADGE_VERSIONS = ['3.2', '3.1', '3.0']hosted-compliance-version.tsnow drives its preference and its candidate list from one newest-first line list (3.2,3.1). Each line is tried as stable, then-rc, then-beta. Canonical (badge) selection grades agents that advertise 3.2 on 3.2.1 and keeps 3.1-only agents on 3.1.24. The unpinned default stays3.0. A new test loads the 3.2.1 bundle throughhostedComplianceOptions.verification-profile-db.ts)SUPPORTED_BADGE_VERSIONSrather than a second hard-coded set.registry-api.ts,schemas/registry.ts,member-tools.ts;static/openapi/registry.yamlregenerated.BURNDOWN_MILESTONE_TITLE'3.3.0'(milestone 10).search_docs,get_doc,validate_json,get_schema,list_schemas,compare_schema_versions)search_docs/get_docdescriptors snapshot the same text. Aggregate fingerprint817ab57d…becomesfa331c38…. Private authority, budget ladder and unit pins updated. Migration 614 adds the new fingerprint to the authorization CHECK and replaces the plan-group guard with the new fingerprint and plan-manifest digest (bda91890…). Plans from 582 and 583 stay readable but fail closed on their next dispatch intent. The ledger integration test covers the 583 → 614 upgrade. Tool-surface inventory regenerated; the reviewedprofile_contract_sha256is updated in the budget. 614 is the next free number onmainand in open PRs (613 is the GA curriculum migration).package.json@adcp/sdk→14.0.014.0.0-rc.53until 14.0.0 is on npm. See the follow-up commit below.TRAINING_AGENT_CURRENT_ADCP_VERSION = '3.2''3.2'is already inTRAINING_AGENT_SUPPORTED_RELEASE_VERSIONS(viaTRAINING_AGENT_CURRENT_ADCP_RELEASE). The unpinned default stays'3.0'.certification-module-methodology.test.tsties the pins to the installed SDK and toTRAINING_AGENT_CURRENT_ADCP_VERSION, so they flip together with the dependency.3.2.0-rc.7to3.2.1(run.sh,probe-sdk-response-conformance.cjs, README), and the TypeScript entry inknown-findings.jsonis re-baselined. The job reruns on anypackage-lock.jsonchange.published-versions.jsonnpm_tags+=adcp-3.2build-checkrunscheck:published-compliance, which runsnpm pack @adcp/sdk@<tag>for every listed tag. Listingadcp-3.2before the dist-tag exists breaks CI. Apply it afternpm dist-tag add @adcp/[email protected] adcp-3.2(a human step).Merge gates
v3.2.1tagged and the freeze lifted.auto/docs-v3.2.1, which moves thedocs.jsondefault to3.2). The new tool descriptions say "stable 3.2".schema-tools.test.tsnow checks each description againstDEFAULT_SCHEMA_VERSION, so it fails until that docs default flips.server/tests/unit/hosted-compliance-version.test.ts(the evaluate_agent_quality silently resolves stable version request to a pre-release tag #7356 guard that used 3.2 as its RC-only line) fails onmainsince Version Packages #7712 merged. This PR leaves that file alone and relies on test: stop assuming the 3.2 line has no stable release #7839.@adcp/[email protected]on npm → apply follow-up commit A.adcp-3.2dist-tag set → apply follow-up commit B.Follow-up commits (prepared on
chore/hosted-surfaces-3-2-1-sdk14)Branch
chore/hosted-surfaces-3-2-1-sdk14is this PR plus two commits. Cherry-pick them onto this branch when their triggers happen:A.
adce5973echore(deps): move hosted surfaces to @adcp/sdk 14.0.0. Apply once@adcp/[email protected]is on npm:What flips in A:
package.json:"@adcp/sdk": "14.0.0-rc.53"→"14.0.0". The lockfile is refreshed by thenpm installabove.server/src/training-agent/types.ts:TRAINING_AGENT_CURRENT_ADCP_VERSION = '3.2'. This makesrelease-line-echo.tsinert, as designed.server/src/addie/mcp/certification-tools.ts: the C4 build and validate phases use@adcp/[email protected]and the"3.2"wire pin.run.shandprobe-sdk-response-conformance.cjsdefault to3.2.1. The README is updated. The TypeScript entry inknown-findings.jsonnow records SDK14.0.0and protocol3.2.1with digestdc2cd5fd…. Counts and the singlecatalog:list_productsfinding are unchanged."3.2-rc.7"pin on an SDK-dispatched/salestool (list_products,request_proposals, …) is served as 3.1. The agent would still advertise rc.7, so 4tenant-smoketests failed. Fix: the sales platform declaressupported_versions, andschema-compat.tsregisters the committeddist/schemas/3.2.0-rc.7bundle next to beta.6. The other tenants (signals, creative, brand, SI, governance) do not declaresupported_versions, so an rc.7 pin there still downshifts to 3.1. Say if they should declare it too."3.2"pin on a route without 3.2 (the legacy signing profiles) now downshifts to 3.1 instead of returningVERSION_UNSUPPORTED. The exact rc.7 pin is still refused there. Please review this as a behavior change.B.
586d61819chore(compliance): check the adcp-3.2 npm dist-tag. Addsadcp-3.2tonpm_tags. Apply only afternpm dist-tag add @adcp/[email protected] adcp-3.2. Before that,build-checkfails becausecheck:published-compliancepacks every listed tag.Verification
Run in a sparse worktree with
node_modulessymlinked. Without Postgres, the DB integration tests (including the ledger migration test) run only in CI.On this branch (rc.53), after rebasing onto #7712:
npm run typecheck: passnpm run test:addie-tools,npm run test:addie-fixed-traces(76),npm run test:openapi(no diff),npm run test:migrations: passtests/hosted-compliance-version.test.ts,tests/addie/member-tools.test.ts: 97/97tests/unit/addie: 2883 passed, 17 failed. Of the 17:dist/schemasversions, and the tsx-path assertions break becausenode_modulesis symlinked.schema-toolswaits on merge gate 2.hosted-compliance-version(unit) waits on merge gate 3.addie_fixed_trace_component_smoke_plan_manifest_digest; that mirror reproduces 583'sc9b2b821…for the old fingerprint.check-changeset-protocol-scope.cjs origin/main: passFollow-up A, rehearsed against a packed local
@adcp/sdk14.0.0 preview build (adcp-clientchore/adopt-adcp-3.2.1-stable@17df9bc5,ADCP_VERSION3.2.1) installed in a node_modules overlay:npm run typecheck,npm run test:addie-tools: passtests/unit+src): 11649 passed, 13 failed. Every one of the 13 is in the categories above: the sparse-checkout and symlinkednode_modulesenvironment, merge gate 2, or merge gate 3. Each also fails on rc.53. Without the rc.7 fix, the same run had 25 failures.14.0.0-rc.53, so the baseline's"14.0.0"is confirmed only once CI runs on the real package.Not changed
check-changeset-protocol-scope.cjspasses.docs/reference/whats-new-in-3-2.mdx:206anddocs/reference/release-notes.mdxstill say 3.2 badges are issued "once hosted grading moves to the 3.2.1 compliance bundle". These are Mintlify docs, not server-rendered pages, so they are left for a docs follow-up after deploy.org_01KESCR4BWMJSFEHHG00B78GN4is the one Hosted compliance grading still on bundle 3.1.20 / sdk 14.0.0-rc.35; move to stable 3.1.24 + @adcp/sdk 13.1.x #7689 asks for.🤖 Generated with Claude Code