Repository navigation
fix(compliance): skip image-only creative phases for tag and VAST sellers in dependency impairment - #8841
Merged
Conversation
…lers in dependency impairment dependency_impairment and dependency_impairment_cardinality send a fixed 300x250 image creative against the first product's first format option. A seller whose option is a display_tag or video_vast format correctly refuses that manifest and was failed for it (adcp#8770). The creative phases now run only when the selected format_kind is image. For any other kind they are skipped, so the storyboard no longer fails a seller that refuses an asset its format does not take. Image sellers run both storyboards unchanged (training agent: 15/15 and 23/23 steps). $build_assets_from_format is not used here yet: on canonical formats the SDK builder reads only explicit params.slots, so a params object that relies on the canonical default slots leaves the directive unresolved and the step is skipped as prerequisite_failed. That needs the follow-up SDK work for canonical default slots and tag/VAST fixtures. Refs #8770 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean compliance fix, no blocking findings.
This PR gates creative-dependent phases in the two dependency-impairment storyboards on skip_if: context.format_kind != 'image', so non-image sellers are no longer false-failed by a fixed 300x250 image manifest (adcp#8770). Verified:
- Changeset is
patchand in-scope (compliance-asset fix, no wire-shape change, non-breaking, main-line not 3.1.x). - No schema/docs/oneOf/dist-immutability concerns;
format_kindisrequiredon canonical-format-option, so the undefined-gate case can't silently escape. - New self-checking test asserts every post-setup phase is gated and that a tag/VAST seller never receives the image creative.
Medium findings
- static/compliance/.../dependency_impairment.yaml:260 — Gate keys on
format_options[0], so an image-capable seller whose first option is non-image skips the entire impairment.coherence contract (coverage narrowing distinct from the documented follow-up).
One medium finding, no critical/high, no escalation trigger (high_risk false, gated_paths false, no team gate). Falls through to row 9 → approve.
Medium findings
- static/compliance/source/protocols/media-buy/scenarios/dependency_impairment.yaml:260 — Format gate on format_options[0] drops image-capable sellers whose first option is non-image
This was referenced Nov 9, 2026
This was referenced Nov 9, 2026
aymeric45
pushed a commit
to aymeric45/adcp
that referenced
this pull request
Nov 11, 2026
Brings the 3.1.33 release records and immutable artifacts to main: dist/schemas/3.1.33, dist/compliance/3.1.33, dist/protocol/3.1.33.tgz*, the 3.1.33 CHANGELOG block, and regenerated schema discovery pointers. Metadata resolved per the playbook's auto-resolve rules: main's package.json, package-lock.json and static/schemas/source/index.json; CHANGELOG via forward-merge-release-records.cjs changelog; schema discovery via forward-merge-release-records.cjs schema-discovery. Content: main keeps its own implementation of the two fixes that landed separately on each line (product_signal_targeting wholesale gate: adcontextprotocol#8838 vs adcontextprotocol#8840; tag/VAST creative storyboards, adcp#8770: adcontextprotocol#8841 vs adcontextprotocol#8846). Conflicted files resolved to main's side after reviewing each 3.1.x hunk, and the 3.1-only asset_types gating that auto-merged into creative_lifecycle_webhooks, native_in_feed, deterministic-testing, cli-scenario-fixtures.test.cjs and sdk-runner-capability-gates.test.cjs reverted to main's state. static/compliance/source and tests/ are identical to origin/main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
aymeric45
pushed a commit
to aymeric45/adcp
that referenced
this pull request
Nov 11, 2026
Forward-merges the published 3.2.10 release (v3.2.10 = a6163fb, the 3.2.x head) and the three 3.2.x maintenance commits since v3.2.9: adcontextprotocol#8826, adcontextprotocol#8839 and adcontextprotocol#8847, released by the adcontextprotocol#8886 Version Packages merge. Release records: - dist/compliance/3.2.10, dist/schemas/3.2.10 and the signed dist/protocol/3.2.10.tgz tuple are taken from v3.2.10 unchanged. - dist/schemas/index.json and latest.json are regenerated (forward-merge-release-records.cjs schema-discovery). - CHANGELOG.md is main's file plus the 3.2.10 block (forward-merge-release-records.cjs changelog). - package.json, package-lock.json, static/schemas/source/index.json: main's. - static/compliance/published-versions.json: main's. 3.2.x's only extra entry is 3.2.10, which is registered in a separate commit after qualification. adcontextprotocol#8839 and adcontextprotocol#8847 are cherry-picks of main's adcontextprotocol#8838 and adcontextprotocol#8841. Their storyboards and tests auto-merged to main's bytes; nothing changes. Content conflicts, all from adcontextprotocol#8826 and all resolved to main's file. adcontextprotocol#8826 is an SDK 14 narrowing of adcontextprotocol#8336 and adcontextprotocol#8428 for the 3.2 runner; main carries both in full on SDK 17: - advanced_delivery_reporting.yaml: main's adcontextprotocol#8336 storyboard, with the adcontextprotocol#8376 price snapshot and the separate time_based_delivery_reporting scope. - collection_selection.yaml, owner_sold_channel_carriage.yaml: main's adcontextprotocol#8428 independently qualified catalog scopes. The 3.2.x side's native_collection_product discovery gate is dropped. - docs/reference/known-limitations.mdx: main's catalog reporting and collection bullets already state the scope and fixture_unsatisfied semantics the 3.2.x paragraph describes. - tests/sdk-runner-capability-gates.test.cjs: main's reporting gate test (both reporting storyboards). The 3.2.x single-storyboard variant is dropped. Auto-merge reverted: the non-conflicting adcontextprotocol#8826 collection gate test ("<name> grades only sellers whose catalog offers selectable collections") asserts the 3.2-only native_collection_product handle, which main's storyboards do not declare. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
What
Part of #8770.
dependency_impairmentanddependency_impairment_cardinalitysend a fixed 300x250 image against the first product's first format option. A seller whose option isdisplay_tagorvideo_vastcorrectly refuses that manifest and is failed for it. A second seller is now blocked on this.On the canonical lines (main and 3.2.x), both storyboards now run their creative phases only when the selected
format_kindisimage:setupkeepsget_productsandcreate_media_buy.assign_creative/assign_creativesphase.skip_if: "context.format_kind != 'image'".What a tag or VAST seller sees now: discovery and buy creation are graded; the creative phases are skipped, with no failed steps. Image sellers run both storyboards unchanged.
Why not
$build_assets_from_formathere#8770 proposes building the manifest from the seller's format with
$build_assets_from_format. On canonical formats that isn't safe with today's SDK builder (adcp-clientcreative-assets.ts):params.slotsand does not apply the canonical schema's default slots. A params object like{ width: 300, height: 250 }, which is how most sellers and the training agent declare formats, leaves the directive unresolved. The step is then skipped asprerequisite_failed. This already happens on main:creative_fate_after_cancellationagainst the training agent's sales tenant skipssync_creative_with_assignmentand three dependent steps for this reason.display_tagformat's defaulttag_urlslot isasset_type: url, and the builder fills it with the test kit's landing-pageclick_url.Using the directive here would have turned image sellers' passing runs into prerequisite skips. It also would not have fixed tag sellers. The SDK work is the follow-up below.
Release path
The seller who reported this is graded on the 3.1 line (3.1.32). The 3.1 storyboards use legacy
format_ids, so they get their own adapted fix in #8846 (3.1.x, ships as 3.1.33): the product-format storyboards build their creatives with$build_assets_from_format, which works on legacy formats, and the rest are gated on a declared format of the right shape. The 3.2.x backport of this PR covers 3.2 sellers.Follow-up (#8770 item 4, not in this PR)
adcp-clientcreative-assets.ts)params.slotsis absent, apply the canonical default slots for theformat_kind. This needs the directive to receive the kind as well as the params.click_urlonly when the slot is a clickthrough or landing page, and sendurl_type: clickthrough. Atag_urlor tracker slot should use a tag fixture or gradefixture_unavailable.display_tag,htmlandjavascriptslots from a tag fixture, andvastslots from a VAST fixture.max_file_size_kb,mime_typesandformatsagainst fixture metadata instead of grading every such slotfixture_unavailable.test-kits/acme-outdoor.yaml)creative_lifecycle,creative_lifecycle_webhooks,deterministic_testingandcreative_receptionto it on the canonical lines.native_in_feedon a declared native format needs a runner primitive the storyboard grammar lacks today: a capability orskip_ifpredicate that matches anycreative.supported_formats[]entry byformat.format_kind.Verification
tests/creative-format-gate-compliance.test.cjs(6 tests, intest:auction-only-compliance):setupis format-gated and still sends the image manifest.display_tagandvideo_vast: onlyget_productsandcreate_media_buyare called,sync_creativesnever is, and there are 0 failed steps.run-storyboards.ts --storyboard-id):dependency_impairment15/15 passed,dependency_impairment_cardinality23/23 passed. This is the full image path, nothing skipped.test:storyboard-*,test:compliance-*,test:sdk-runner-capability-gatesandtest:auction-only-compliancesuite passes (30 suites).build:compliance --check, the changeset scope check,changeset status(patch) and the pre-commit hook also pass.Refs #8770
🤖 Generated with Claude Code