Repository navigation
fix(compliance): gate product_signal_targeting on both wholesale feeds (3.1.x backport) - #8840
Merged
Merged
Conversation
…s (3.1.x backport) (#8836) Backport of the main-line fix for product_signal_targeting. cross_path_targeting_provenance does not exist on the 3.1 line. The storyboard was gated on `signals.discovery_modes present: true`. Every signals agent supports brief discovery, so a seller declaring brief-only discovery on both protocols was selected. It then failed on the wholesale get_products and get_signals reads the storyboard makes, which it is allowed to reject. The storyboard now requires wholesale in media_buy.buying_modes and in signals.discovery_modes, through requires_all_capabilities, matching the other 3.1 wholesale storyboards. Package-level signal targeting stays a product-scoped assertion. The negative probe consumed discovered context but was stateful: false, so a failed discovery did not cascade-skip it. The runner then sent the literal `$context.product_id` (adcontextprotocol/adcp-client#3668). The probe is now stateful, and its phase depends only on product discovery. The regression tests use the test-only fixture SDK, because the 3.1 line's production @adcp/sdk predates requires_all_capabilities. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean 3.1.x backport of #8838 with no blocking or medium findings.
Checked:
- Gate change on product_signal_targeting.yaml (requires_capability signals.discovery_modes present:true → requires_all_capabilities on wholesale across media_buy.buying_modes and signals.discovery_modes) correctly aligns applicability with the wholesale get_products/get_signals feeds the storyboard reads; shape matches existing 3.1 precedent (measurement_accountability, canonical_formats).
- depends_on:[discover_wholesale_product] + stateful:true on the reject_unknown_signal probe is the load-bearing fix: cascade-skips on failed product discovery instead of dispatching an unresolved $context.product_id token, correctly scoped to product discovery (phantom signal is hardcoded).
- Two new tests cover the gate and the cascade-skip.
- Patch changeset appropriate for a conformance applicability fix; no static/schemas/source/** or wire change.
No high-risk flag, no gated paths, no author team gate, no prior decision. Falls through to row 9.
This was referenced Nov 9, 2026
Merged
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]>
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.
3.1.x backport of #8838 for #8836. This is the line the reporter is on (suite 3.1.32).
product_signal_targetingwas gated onsignals.discovery_modes present: true. That passes for a seller that advertises only brief discovery, even though the storyboard reads the wholesaleget_productsandget_signalsfeeds. It now requireswholesaleinmedia_buy.buying_modesand insignals.discovery_modes. That usesrequires_all_capabilities, which other 3.1 wholesale storyboards (measurement_accountability,canonical_formats) already use.The rejection probe is now
stateful: true, with phasedepends_on: [discover_wholesale_product]. A failed discovery now cascade-skips it instead of sending an unresolved$context.product_id. The runner side of that problem is adcontextprotocol/adcp-client#3668.Backport notes
cross_path_targeting_provenancedoes not exist on 3.1.x, so onlyproduct_signal_targetingchanges.@adcp-protocol/fixture-test-sdk/testing, because the line's production@adcp/sdk9.6.2 predatesrequires_all_capabilities. The seller's runner,@adcp/sdk16.7.0, supports it (support starts at 14.0.0-beta.4).Tests (3.1.x)
tests/sdk-runner-capability-gates.test.cjs: 14 tests pass. Both new tests fail against the unpatched storyboard.build-compliancepasses, and the changeset protocol-scope check passes againstorigin/3.1.x.🤖 Generated with Claude Code