Skip to content

compliance(media-buy): run the four #7765 storyboards on non_guaranteed fixtures - #7770

Merged
bokelley merged 1 commit into
adcontextprotocol:mainfrom
sujanchalla0510:fix-7765-non-guaranteed-storyboard-fixtures
Sep 30, 2026
Merged

bokelley merged 1 commit into
adcontextprotocol:mainfrom
sujanchalla0510:fix-7765-non-guaranteed-storyboard-fixtures

Conversation

@sujanchalla0510

Copy link
Copy Markdown
Contributor

Fixes #7765.

Summary

Follow-up to #7754 / #7756. Four more media-buy storyboards seeded only guaranteed fixture products, so a seller that declares only sales-non-guaranteed correctly rejects create_media_buy with DELIVERY_MODE_NOT_SUPPORTED and every later step cascades to prerequisite_failed. None of the four grades guaranteed semantics:

  • delivery_reporting — grades schema compliance of get_media_buy_delivery after simulated delivery. All 3 fixture products -> non_guaranteed.
  • advanced_delivery_reporting — grades requested-metric narrowing and format-grain reporting. Fixture product -> non_guaranteed.
  • revenue_share_pricing — grades contingent revenue-share discovery, commitment without bid_price, and usage reconciliation. Fixture product -> non_guaranteed; is_guarantee_basis on the measurement window is kept (not conditioned on delivery_type, same treatment as billing_finality_delivery in fix(compliance): make four media-buy storyboards runnable by non-guaranteed sellers #7756).
  • metric_container_subsumption — grades the metric container-subsumption rule, but deliberately uses delivery_type to disambiguate the container-declaring product from its leaf-declaring sibling. Instead of gating, the two products' delivery types are swapped (container -> non_guaranteed, leaf -> guaranteed) and the discovery filter now filters non_guaranteed. Every graded assertion is preserved: the guaranteed leaf product is still excluded by delivery_type rather than by required_metrics, the match stays deterministic, and the negative phase is untouched (its filter has no delivery_type).

Pricing stays fixed_price (contingent for revenue_share_pricing) — none of the create steps sends a bid, per the issue's option (a). Storyboard versions bump to 1.0.1 with a patch changeset. Test fixtures only; no schema or wire changes.

How tested

@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 — test-fixtures-only compliance storyboard change with no blocking or medium findings.

This PR flips compliance storyboard delivery_type to non_guaranteed so sales-non-guaranteed-only sellers stop failing create_media_buy, following #5703/#5731/#7756 precedent. Only test fixtures (YAML scenarios) and a correct patch changeset are touched — no schema/wire/dist changes.

Verified:

  • The metric_container_subsumption guaranteed↔non_guaranteed swap preserves every graded assertion.
  • No discovery filter hard-codes guaranteed.
  • revenue_share_pricing's is_guarantee_basis is correctly un-conditioned on delivery_type.
  • Correct patch changeset present; no dist artifact mutation; no schema↔docs drift.

Decision path: no critical/high/medium findings; gated_paths is false; high_risk is false; no author team gate. None of rows 1–8 fire → row 9 approve. (review_decision is REVIEW_REQUIRED, but with gated_paths false that does not force escalation.)

@bokelley
bokelley merged commit 93d22f5 into adcontextprotocol:main Sep 30, 2026
49 checks passed
@aao-release-bot aao-release-bot Bot mentioned this pull request Sep 30, 2026
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.

Review four more media-buy storyboards that seed guaranteed-only fixtures (follow-up to #7754)

2 participants