Repository navigation
compliance(media-buy): four scenarios use non-guaranteed fixtures so sales-non-guaranteed-only sellers can run them - #7755
Conversation
…sales-non-guaranteed-only sellers can run them canonical_formats, billing_finality_delivery, measurement_accountability and vendor_metric_accountability seeded guaranteed-only products; a seller that declares only sales-non-guaranteed correctly rejected the create step with a terminal DELIVERY_MODE_NOT_SUPPORTED and every dependent phase cascaded. Nothing these storyboards grade depends on the delivery type. Fixtures switch to non_guaranteed with floor-priced options, the discovery filters and validations that asked for fixed pricing follow, and the create steps send bid_price at the floor — the same fix as the base media_buy_seller flow (adcontextprotocol#5703) and available_actions (adcontextprotocol#5731). Closes adcontextprotocol#7754.
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean compliance-fixture change with no blocking or medium findings.
What I checked
- Four media-buy compliance storyboards switch guaranteed-only fixtures to non_guaranteed (fixed_price → floor_price, create steps send bid_price at the floor, discovery filters and fixed-price validations updated) so sales-non-guaranteed-only sellers stop cascading DELIVERY_MODE_NOT_SUPPORTED.
- Reviewer verified all 7 canonical_formats discovery filters track the fixtures, pricing/create coherence across all four files, validation drift, and that the
adcontextprotocol:patchchangeset is correctly scoped with no schema/wire or dist artifact change. - No
static/schemas/source/**changes → no schema↔docs coherence or oneOf-discriminator concern. Nodist/**mutation. Changeset present and correctly scoped/typed.
Decision path: No critical/high findings (row 1 n/a). gated_paths false (row 2 n/a). Not high-risk, no deletions (rows 3–5 n/a). No prior decision (row 6 n/a). No no-auto-approve team match (row 7 n/a). Zero medium findings (row 8 n/a). Falls through to row 9 → approve.
Note: review_decision is REVIEW_REQUIRED, but since gated_paths is false and no prose hard gate applies (no breaking-class protocol change — fixtures only, correct patch changeset), the review-required status does not force escalation.
|
While grading this branch against a Either the selector should carry |
|
Good catch — please add The product constrains Exact change needed in format_kind: "image"
params:
width: 300
height: 250
+ max_file_size_kb: 200And update the check description from No other steps need touching: Generated by Claude Code |
…file_size_kb (#7791) The product's image declaration constrains max_file_size_kb: 200; the direct canonical selector sent only width/height, so the runner's canonical_format_satisfaction check reported local_satisfied: false (directionality) and the step failed for every seller even when the create was accepted. Add the constrained param to the selector and reword the check description, as requested in review of #7755.
Closes #7754 (triaged P0, ready-to-implement, Fix A).
Problem
canonical_formats,billing_finality_delivery,measurement_accountabilityandvendor_metric_accountabilityseed guaranteed-only fixture products. A seller that declares onlyspecialisms: ["sales-non-guaranteed"]correctly rejects the create step with a terminalDELIVERY_MODE_NOT_SUPPORTED, sofield_presenton/media_buy_idfails and every dependent phase cascadesprerequisite_failed— unconditionalproducts/reportingtrack failures on hosted grading for a conformant seller class. Nothing these storyboards grade depends on the delivery type (format declaration shapes, metric-capability filtering, vendor-metric reporting, provisional-vs-final billing rows). Same root cause and fix as #5703 (basemedia_buy_sellerflow) and #5731 (available_actions).Change
Per the triage notes:
delivery_type: "guaranteed"→"non_guaranteed"on every fixture product (6 incanonical_formats, 1 in each of the others), with the same comment the earlier fixes carry.fixed_price→floor_priceon the fixture pricing options; the create steps sendbid_priceat the floor (as the base flow does).canonical_formats: the 7sample_request.filtersblocks that hard-codeddelivery_type: "guaranteed"now ask fornon_guaranteed, so discovery still returns the seeded products.measurement_accountability/vendor_metric_accountability:filters.is_fixed_price: true→false, and thepricing_options[0].fixed_pricevalidations readfloor_price(description updated).vendor_metric_accountability: the existingrequires_capability: media_buy.features.committed_metrics_supportedgate is untouched.billing_finality_delivery: prerequisites wording follows the fixture; thereport_usagerecord is unchanged..changeset/fix-media-buy-storyboard-non-guaranteed-fixtures.md(adcontextprotocol: patch).No schema or wire change;
dist/compliance/is generated from this source.Verification
fixed_priceoccurrence is theis_fixed_pricefilter key.@adcp/sdk14.0.0-rc.49 (adcp storyboard run … --compliance-dir <3.1.24 bundle with these four files swapped in>) against asales-non-guaranteed-only seller: theDELIVERY_MODE_NOT_SUPPORTEDrejections and their cascades are gone and the create steps execute. (The steps that still fail on that seller are seller-side and unrelated to delivery type — being fixed on the seller.)npm run build && npm run typechecknot run here (sparse checkout); happy to re-push if CI wants anything else.Backport
All four storyboards exist in the published 3.1.24 bundle (
canonical_formatsandbilling_finality_deliverycarryintroduced_in: "3.1"; the other two predate the field), so a straight3.1.xcherry-pick applies once this lands — the same path as #7599 → #7646 — so the fix reaches hosted 3.1 grading.