Repository navigation
fix(compliance): backport advisory AdCP 4.0 compatibility checks to 3.2.x - #8340
Merged
Merged
Conversation
….2.x Backport of #8335 (80c2aec) for #8332, so 3.2 sellers graded against 3.2.x compliance bundles see the advisory 4.0 compatibility checks before 3.3 GA. Every added validation is severity: advisory with permanent_advisory, or an id on a validation already required on 3.2.x, so no 3.2 pass/fail verdict changes. Runners that predate all_fields_present grade it not_applicable. Backport adaptations: - changeset bump is patch (main used minor) - migration docs name 3.2.6 as the first 3.2.x bundle carrying the checks - migration index keeps only the "Preparing for 4.0" section; the 3.3 migration guide section from main does not exist on 3.2.x - package.json test chain keeps 3.2.x's list plus test:v4-compatibility-registry Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Contributor
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean backport of #8335 to 3.2.x.
Checked:
- Additive advisory conformance tooling: all new validations are advisory/permanent_advisory or add ids to already-required version_negotiation checks, so no 3.x verdict changes.
- New check kind and the three 4.0 notice codes satisfy the new registry lint; advisory_not_permanent guard at lint-v4-compatibility-registry.cjs:L478 is correct.
- Storyboard/step/notice references all resolve in the 3.2.x base.
- Non-normative migration docs under docs/reference/** are additive (one added, one modified); no wire-shape claims that diverge from schema.
- Patch changeset present; no schema source or dist artifact edits — immutability intact.
High-risk flag is true only because of docs/reference/** (one added, one modified) with no medium-or-higher finding, so the modification is presumed safe. gated_paths is false, no author team gate, no prior decision. No Critical/High/Medium findings → decision table falls through to row 9.
This was referenced Oct 22, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #8335 (merge commit 80c2aec) to
3.2.x, for #8332. 3.2 sellers are graded against 3.2.x compliance bundles, so without this they would not see the advisory AdCP 4.0 compatibility checks until 3.3 GA.Why this is patch-eligible
It is an additive conformance-harness change plus non-normative docs (playbook, "Patch eligibility"):
severity: advisorywithpermanent_advisory:format_ids_removed_in_4_0onmedia_buy_sellerget_products_brief/get_products_brief_buyer_selected_timezone,request_signing_required_in_4_0onmedia_buy_sellerget_capabilities, andlegacy_hmac_fallback_removed_in_4_0oncapability_discoveryget_capabilities.version_negotiationget_capabilities_with_versiononly addsids to its two validations, which 3.2.x already requires (adcp.supported_versions,adcp_versionecho). Their grading does not change.all_fields_presentis an additive authored check kind. The@adcp/sdkrunner pinned on 3.2.x does not implement it yet and grades unknown kindsnot_applicable(passed: true), so it cannot change a verdict.universal/v4-compatibility.yamlis a non-graded registry.signed_requests_specialism_deprecatedgetseffective_version: "4.0", as its two sibling 4.0 notice codes already have on 3.2.x.reference/migration/v4-compatibilitypage.Verified on 3.2.x
media_buy_sellerget_products_brief,get_products_brief_buyer_selected_timezone, andget_capabilities;capability_discoveryget_capabilities;version_negotiationget_capabilities_with_version;signed_requests.adcp.supported_versions,request_signing.supported,webhook_signing.legacy_hmac_fallback, and productformat_options.runner-output-contract.yamlalready has all three canonical notice codes:signed_requests_specialism_deprecated,request_signing_required_in_4_0, andlegacy_hmac_fallback_removed_in_4_0.Backport adaptations
patch, not main'sminor. 3.2.x is not in pre mode.dist/compliance.docs/reference/migration/index.mdx: main's hunk sat next to a "3.3 migration guide" section that does not exist on 3.2.x. I kept only the new "Preparing for 4.0" section.package.json(testchain): kept 3.2.x's list and insertedtest:v4-compatibility-registryaftertest:storyboard-doc-parity. Main'stest:storyboard-context-resolutionis not on this branch, so it is not in the chain.dist/**/<semver>/artifact is touched.Local checks
node scripts/build-compliance.cjs --check, which now runs the registry lintnpm run test:v4-compatibility-registrynpm run test:storyboard-validations-pathstest:storyboard-*scripttest:refine-finalize-validation-ids,test:error-codes,test:compliance-snippets,test:doc-compliance-drift,test:docs-nav,test:owned-links,test:release-docs-nav,test:unitnode scripts/check-changeset-protocol-scope.cjs origin/3.2.xnpx @changesets/cli@^3 status --since=origin/3.2.x, which reports a patch foradcontextprotocol🤖 Generated with Claude Code