Skip to content

fix(compliance): skip image-only creative phases for tag and VAST sellers in dependency impairment (3.2.x backport) - #8847

Merged
bokelley merged 1 commit into
3.2.xfrom
backport/3.2.x-8770-tag-vast-creative-gates
Nov 9, 2026
Merged

bokelley merged 1 commit into
3.2.xfrom
backport/3.2.x-8770-tag-vast-creative-gates

Conversation

@bokelley

@bokelley bokelley commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

What

This is the 3.2.x backport of #8841 (#8770): a cherry-pick of d3de491. It ships in the next 3.2.x patch.

On 3.2.x, dependency_impairment and dependency_impairment_cardinality send a fixed 300x250 image against the first product's first canonical format option. A seller whose option is display_tag or video_vast refuses that image and is failed for it. With this change, the creative sync, assignment and every later phase carry skip_if: "context.format_kind != 'image'". Discovery and buy creation are still graded, and image sellers run both storyboards unchanged.

The storyboard source is identical to main's for these two files, so the YAML applied cleanly. The only conflict was package.json. I kept 3.2.x's test:auction-only-compliance script and added tests/creative-format-gate-compliance.test.cjs to it.

#8841 explains why this uses gating rather than $build_assets_from_format. In short, on canonical formats the SDK builder reads only explicit params.slots and fills a tag_url slot with the landing-page URL. The 3.1 line has its own adapted fix in #8846. That one covers the full storyboard list from the seller report.

Verification

  • tests/creative-format-gate-compliance.test.cjs: 6/6 pass on 3.2.x's SDK 14.0.0-rc.53. Mock display_tag and video_vast sellers are never sent sync_creatives and have 0 failed steps.
  • Training agent, sales tenant (run-storyboards.ts --filter dependency_impairment): dependency_impairment 15/15, dependency_impairment_cardinality 23/23 and dependency_impairment_audience 11/11 pass, with 0 skipped.
  • All 29 test:storyboard-*, test:compliance-*, test:sdk-runner-capability-gates and test:auction-only-compliance suites pass. So do typecheck, the changeset scope check and changeset status (patch).
  • test:unit has one failure, in tests/addie/cross-publisher-frequency-docs.test.ts: "Missing Addie search snapshot for 3.2: 3.2.3". It comes from my local sparse checkout, which omits older dist/docs snapshots, and is unrelated to this change.

Refs #8770

🤖 Generated with Claude Code

…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]>

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — clean 3.2.x backport of #8841 with no blocking or medium findings.

Reviewed: adds skip_if: "context.format_kind != 'image'" to creative-dependent phases in dependency_impairment.yaml and dependency_impairment_cardinality.yaml, moving creative sync/assign/force steps out of setup into a gated phase so setup grades only get_products + create_media_buy. This stops false-failing tag/VAST sellers on a fixed 300x250 image manifest. The restructuring is symmetric across both files; the gate reads format_kind from get_products context_outputs; the patch changeset is correct for a compliance-asset bug fix that loosens grading with no wire-shape break. New tests/creative-format-gate-compliance.test.cjs enforces the gate invariant and asserts display_tag/video_vast sellers never receive sync_creatives. The documented coverage tradeoff (non-image sellers get no impairment.coherence grading until runner support lands) is a deliberate PR-noted deferral, not a defect.

Gate checks: high_risk false; gated_paths false; no no-auto-approve team match; no prior decision. No critical/high/medium findings. Falls through to row 9.

@bokelley

bokelley commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

HOLD: please don't merge into 3.2.x yet. The 3.2.9 release is partly published. The tag and GitHub Release are out, but the CDN upload stopped when another PR merged mid-publication, so /schemas/v3/ and /schemas/v3.2/ currently return 404. The RELEASING recovery dispatch re-checks the 3.2.x tip before every object, so any merge into 3.2.x before it finishes breaks the recovery again. This lifts once 3.2.9 is fully on the CDN; it then ships in 3.2.10.

@bokelley
bokelley merged commit 5541479 into 3.2.x Nov 9, 2026
49 checks passed
@bokelley
bokelley deleted the backport/3.2.x-8770-tag-vast-creative-gates branch November 9, 2026 12:56
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]>
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