Repository navigation
feat(schema): mark every 4.0 removal and tie it to the compatibility registry - #8341
Conversation
…registry Mark the 41 deprecated schema nodes scheduled for removal in AdCP 4.0 with "x-removed-in": "4.0.0", matching the 3 that already carried it (#8332). The v4 compatibility registry now lists all 44 marked nodes exactly once: under the check that covers it (schema_sites) or in schema_removals_not_checked with the reason no check covers it yet. The registry lint fails when a marked node is unlisted or a listed site is not marked, and a schema test requires the marker on every deprecated node described as removed in 4.0. Marking a node for removal now forces a decision about whether a 3.x agent can be checked for it, and the registry doubles as the removal checklist for the 4.0 cut. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths touched without required review approval.
This PR modifies files under hard approval gates (.agents/** and static/schemas/source/**) and review_decision is REVIEW_REQUIRED, not APPROVED. Per decision rule row 2, the outcome must be escalate until a human/CODEOWNERS approval satisfies the gate.
What was checked (clean on the merits): Annotation-only change adding x-removed-in: "4.0.0" to 41 deprecated schema nodes (44 total with 3 pre-existing), backed by a self-enforcing lint (checkSchemaSites), matching tests, registry entries, docs, and a patch changeset. Reviewer verified: registry counts sum correctly (3 checked + 41 not-checked = 44); the 3 pre-existing markers confirmed present in base; schema↔docs coherence holds; no field/type/required change (no wire break, no new oneOf); only static/schemas/source/** source touched, no dist/** artifact mutation. No Critical/High/Medium findings.
Escalation reasons:
- Gated paths modified (
.agents/shortcuts/cut-major.mdplus 32static/schemas/source/**files) andreview_decisionisREVIEW_REQUIRED— human/CODEOWNERS review required to satisfy the hard approval gate.
The diff is mechanically clean; the only barrier to merge is the required-review gate. Once review_decision becomes APPROVED, this PR would fall through to approve.
Why human review
- Gated paths touched (.agents/shortcuts/cut-major.md and 32 static/schemas/source/** files) while review_decision is REVIEW_REQUIRED — human/CODEOWNERS approval required to satisfy the hard approval gate
- This PR touches a path under a hard, non-overridable approval gate (.agents/shortcuts/cut-major.md (modified) matches
.agents/**; static/schemas/source/brand/acquire-rights-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/agent-notification-config.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/creative-filters.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/format.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/media-buy-features.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/notification-config.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/package.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/placement.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/product-filters.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/product.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/push-notification-config.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/registry-event.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/version-envelope.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/get-creative-delivery-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/list-creative-formats-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/auth-scheme.json (modified) matchesstatic/schemas/source/**; static/schemas/source/error-details/version-unsupported.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/create-media-buy-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/create-media-buy-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-media-buy-delivery-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/list-creative-formats-request.json (modified) matches `static/schemas/sour
…(truncated)…
Resolve get-adcp-capabilities-response.json: keep main's reworded legacy_hmac_fallback description and the x-removed-in marker. Main's #8177 changed reporting_webhook.authentication and create_media_buy.artifact_webhook.authentication from "4.0 drops the requirement" to "deprecated and removed in AdCP 4.0", so they are real 4.0 removals now. Mark both with x-removed-in, list them in the legacy webhook authentication group of the registry, and drop the test exemption that covered the old wording. 46 nodes are now marked. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths touched and review_decision is not APPROVED; human/CODEOWNERS approval required.
Decision path: No critical/high/medium findings (row 1 N/A). Row 2 fires: gated_paths: true AND review_decision: REVIEW_REQUIRED (≠ APPROVED). The hard approval gate is not satisfied, so the outcome must be escalate regardless of how clean the diff is.
What was checked (clean pass): This PR is annotation-only — it marks 46 deprecated schema nodes with x-removed-in: "4.0.0", adds schema_sites/schema_removals_not_checked to universal/v4-compatibility.yaml, three lint rules, a schema test, docs, a correct patch changeset, and a cut-major runbook precondition. No field/type/required/enum changes (no schema↔docs drift), no new oneOf, no dist/** edits, based on main (3.1.x rules N/A). The reviewer surfaced no critical/high/medium findings.
Escalation reasons:
- Gated paths touched (
.agents/shortcuts/cut-major.mdand 32static/schemas/source/**files) whilereview_decisionisREVIEW_REQUIRED, notAPPROVED— the hard, non-overridable approval gate requires a recorded human/CODEOWNERS approval.
This matches the prior escalate for the same gate. No new findings were introduced; the escalation persists solely because the required approval is still outstanding. The gate lifts automatically once review_decision becomes APPROVED — the clean diff can then approve at row 9.
Non-blocking nit: PR body says "44 marked nodes" vs changeset/docs "46" — stale prose, enforced by build lint, not a code defect.
Why human review
- Gated paths touched (.agents/shortcuts/cut-major.md and 32 static/schemas/source/** files) while review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required to satisfy the hard, non-overridable approval gate. Ladon cannot auto-approve until that approval is recorded, regardless of diff cleanliness.
- This PR touches a path under a hard, non-overridable approval gate (.agents/shortcuts/cut-major.md (modified) matches
.agents/**; static/schemas/source/brand/acquire-rights-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/agent-notification-config.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/creative-filters.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/format.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/media-buy-features.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/notification-config.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/package.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/placement.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/product-filters.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/product.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/push-notification-config.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/registry-event.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/reporting-webhook.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/version-envelope.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/get-creative-delivery-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/list-creative-formats-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/auth-scheme.json (modified) matchesstatic/schemas/source/**; static/schemas/source/error-details/version-unsupported.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/create-media-buy-request.json (modified) matchesstatic/schemas/source/**; static/schemas/s
…(truncated)…
…sories @modelcontextprotocol/server 2.0.0-2.2.0 has two high and one medium advisory published 2026-10-20, all fixed in 2.3.0: - GHSA-jm63-cq47-j5jp: shared transport or server instances delivered one HTTP client's messages to another; - GHSA-46jr-4wx8-v453: one request within the default size limit could exhaust server memory during validation; - GHSA-rvq5-wwqv-78pq: server bearer authentication accepted tokens issued for another service. @adcp/sdk 16.1.0 pins @modelcontextprotocol/server and client at exactly 2.2.0, so a lockfile bump cannot reach the fix. Override both to 2.3.1 (a minor bump of the same packages) until an SDK release moves its pins. The training agent and Addie serve MCP, so this is a production exposure as well as the reason the production audit gate fails on main. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths touched and review not yet approved.
This PR touches files under a hard, non-overridable approval gate while the GitHub review decision is REVIEW_REQUIRED, not APPROVED. Per decision rule row 2 (gated_paths: true AND review_decision ≠ APPROVED), Ladon cannot auto-approve regardless of diff cleanliness — a human/CODEOWNERS approval must be recorded first.
Reviewer findings: None. The reviewer flagged the delta since the prior run as clean — two dependency-management files (bump @modelcontextprotocol/* 2.2.0 → 2.3.1 in package-lock.json, pin client+server to 2.3.1 via package.json overrides). Lockfile resolves consistently; no protocol-surface (static/schemas/source/**) wire change in the delta, no changeset required. No critical/high/medium findings.
Why still escalated: This is purely the path-based approval gate, not any code concern. The gate lifts the moment review_decision becomes APPROVED; once that human approval lands, a re-run on this clean diff would fall through to approve.
Escalation reasons:
- Gated paths touched (
.agents/shortcuts/cut-major.mdand 32static/schemas/source/**files) whilereview_decisionisREVIEW_REQUIRED— human/CODEOWNERS approval required to satisfy the hard approval gate.
Why human review
- Gated paths touched (.agents/shortcuts/cut-major.md and 32 static/schemas/source/** files) while review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required to satisfy the hard, non-overridable approval gate. Ladon cannot auto-approve until that approval is recorded, regardless of diff cleanliness.
- This PR touches a path under a hard, non-overridable approval gate (.agents/shortcuts/cut-major.md (modified) matches
.agents/**; static/schemas/source/brand/acquire-rights-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/agent-notification-config.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/creative-filters.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/format.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/media-buy-features.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/notification-config.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/package.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/placement.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/product-filters.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/product.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/push-notification-config.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/registry-event.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/reporting-webhook.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/version-envelope.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/get-creative-delivery-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/list-creative-formats-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/auth-scheme.json (modified) matchesstatic/schemas/source/**; static/schemas/source/error-details/version-unsupported.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/create-media-buy-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/create-media-buy-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-media-buy-delivery-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (mo
…(truncated)…
…3.2.x (#8341, #8387) (#8407) Backport of #8341 (main 280e959) and #8387 (main 145b693) to 3.2.x. Mark the 43 deprecated schema nodes scheduled for removal in AdCP 4.0 with "x-removed-in": "4.0.0", alongside the 3 that already carried it (#8332). The v4 compatibility registry lists all 46 marked nodes once each, under the check that covers it (schema_sites) or in schema_removals_not_checked with its 4.0 tracking issue (#8377-#8386) and the reason no check covers it yet. The registry lint fails when a marked node is unlisted, a listed site is not marked, or a not-checked group has no tracking issue. A schema test requires the marker on every deprecated node described as removed in 4.0. 3.2.x adaptation: all 46 nodes exist on 3.2.x, so the registry, lint, tests and changesets are unchanged from main. Three schema hunks conflicted only because 3.2.x keeps its own descriptions for reporting_webhook.authentication, create_media_buy artifact_webhook.authentication and webhook_signing.legacy_hmac_fallback. Those resolve to the 3.2.x description plus the marker. No other schema text changes. (cherry picked from commit 280e959) (cherry picked from commit 145b693) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Merge the published v3.2.6 maintenance release (tag v3.2.6, 3523bdc, the adcontextprotocol#8274 Version Packages merge on 3.2.x) into main as a record-only merge, following adcontextprotocol#8278 for 3.2.5. The merge keeps main's tree (ours strategy) and adds only the 3.2.6 release records: - dist/schemas/3.2.6/, dist/compliance/3.2.6/ and the signed dist/protocol/3.2.6.tgz{,.crt,.sha256,.sig} tuple, byte-identical to the tag. - CHANGELOG.md: the 3.2.6 block, verbatim from the tag, inserted below main's 3.3.0-beta.0 section. (The workflow's take-3.2.x rule would have dropped that section.) - static/compliance/published-versions.json: register 3.2.6, matching the 3.2.x manifest. - dist/schemas/index.json and latest.json: regenerated by build:schemas; latest_stable, v3 and v3.2 now 3.2.6. main's 3.3.0-beta.0 entry and v3.0 (3.0.28) are kept; taking 3.2.x's copy would have regressed both. The 3.2.5..3.2.6 source changes are all backports of work already on main in its main form (adcontextprotocol#8335, adcontextprotocol#8402, adcontextprotocol#8218, adcontextprotocol#8216, adcontextprotocol#8341/adcontextprotocol#8387, adcontextprotocol#8327/adcontextprotocol#8334, adcontextprotocol#8260, adcontextprotocol#8261, adcontextprotocol#8263, adcontextprotocol#8244), so no 3.2.x source is taken. The second parent records that reconciliation so the next 3.2.x forward merge does not re-conflict on it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Follow-up to #8335 (issue #8332). It makes the 4.0 compatibility registry complete for schema removals, and makes it hard to drift from them.
What changes
"x-removed-in": "4.0.0". Three nodes already did. The change adds annotations only: no field, type or requirement changes.universal/v4-compatibility.yamllists all 44 marked nodes exactly once, in one of two places:schema_sites(format_ids_removed_in_4_0→core/product.json#/properties/format_ids,major_versions_removed_in_4_0,legacy_hmac_fallback_removed_in_4_0), orschema_removals_not_checked, grouped by change, with the tracking issue when one exists and the reason no check covers it yet.scripts/lint-v4-compatibility-registry.cjsgains three rules:schema_site_unlisted: a marked node is missing from the registry.schema_site_invalid: a listed site isn't a marked node.schema_site_duplicate: a site is listed more than once.tests/schema-deprecation-metadata.test.cjsrequires the marker on every deprecated node described as "removed in/at 4.0", and requiresdeprecated: truewherever the marker appears. Two nodes are exempt because 4.0 drops only theirrequiredstatus, not the field (4.0: drop required: ["authentication"] from reporting-webhook and artifact_webhook #4288)..agents/shortcuts/cut-major.mdgains a precondition: everyx-removed-in: "<X>.0.0"node is gone and the compatibility checks are retired. The registry doubles as the removal checklist.docs/reference/migration/v4-compatibility.mdxexplains the marker and lists the seller-emitted removals that could be checked but aren't yet.Together, marking a node for 4.0 removal now forces a recorded decision on whether a 3.x agent can be checked for it.
Not-checked groups worth a look
Most uncovered nodes are buyer-sent request fields, which a seller run can't observe. These are seller-emitted and could get advisory checks later:
valid_actionson create, update andget_media_buys, replaced byavailable_actionscurrencyandaggregated_totalsmedia_buy.features.inline_creative_managementlist_transformers/v1_format_refreplaceSeveral removal groups have no 4.0 tracking issue: format-level transformer surface,
valid_actions, delivery rollups,inline_creative_management,plan_id,get_signalsmax_results,pagination.total, the property-list signature marker,tmpx, and the 3.1 projections. The registry records them without an issue number. File issues for them if the 4.0 milestone should be the full list.Testing
node scripts/build-compliance.cjs --checkpasses, as doesnpm run build:schemas.test:v4-compatibility-registry(19 tests),test:schemas,test:extension-schemas,test:docs-nav,test:doc-compliance-driftandtest:compliance-snippetspass.addie/matched-pair-ni/exact-inference.test.ts, which then passed alone and on retry.🤖 Generated with Claude Code
Open workspace in Conductor