Skip to content

fix(compliance): gate wholesale reporting and proposal replay by capabilities - #7893

Merged
bokelley merged 1 commit into
mainfrom
w-572/release-33-ticket-triage
Oct 6, 2026
Merged

bokelley merged 1 commit into
mainfrom
w-572/release-33-ticket-triage

Conversation

@bokelley

@bokelley bokelley commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Wholesale discovery and idempotent replay are opt-in capabilities, but two media-buy storyboards currently require them from sellers that opt out. A brief-only seller can fail advanced delivery reporting on its wholesale discovery call, and a proposal seller declaring adcp.idempotency.supported: false fails the finalize replay and loses subsequent acceptance coverage.

Gate advanced delivery reporting on media_buy.buying_modes containing wholesale. Move finalize replay into a phase gated on adcp.idempotency.supported: true, while acceptance and unknown-proposal checks continue from the original finalized proposal. An advertised replay that returns replayed: false still fails.

Refs #7858 (items 1–2). The reference/translator seller test-controller policy in item 3 remains for WG review; this PR does not close the parent issue.

A patch changeset targets main's 3.3 beta line. These conformance corrections are candidates for a separate 3.2.x backport after main lands. No published artifacts change.

Validation:

  • Both new runner regressions fail against the original YAML and pass with these changes.
  • 21 runner/finalization tests pass, including omitted/brief-only/wholesale discovery, idempotency opt-out, successful replay, broken advertised replay, and continued acceptance/unknown-reference checks.
  • 102 storyboard scoping, context, request/response, contradiction and documentation parity tests pass.
  • Compliance build leaves generated tracked files unchanged.
  • Changeset scope check passes; Changesets status reports a patch.

Local hook limitation: the broad server suite reports a pre-existing perspective asset-cache failure (expected 200, received 500). It also reproduces with the original compliance YAML; the hook's serial rerun resolved two other startup timeouts. Typecheck passes. This PR remains draft pending CI and resolution of that baseline failure.


Open workspace in Conductor

@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 conformance correction with no blocking or Medium findings.

Checked:

  • Capability gating correctness: advanced_delivery_reporting.yaml is gated on media_buy.buying_modes containing wholesale, and the finalize replay is moved into a phase gated on adcp.idempotency.supported: true. Both discriminators resolve in get-adcp-capabilities-response.json (buying_modes is a wholesale-bearing array; idempotency.supported is a real discriminator).
  • Phase restructuring: accept_proposal and unknown_proposal_references depend on finalize_proposal/accept_proposal rather than the optional replay, so opt-out sellers correctly skip replay as not_applicable while acceptance and unknown-reference grading continue.
  • Changeset: present, correctly scoped to the compliance surface, and patch is appropriate — the change relaxes grading of optional capabilities a seller never advertised, aligning with DR-0001 (not a breaking wire change).
  • Test coverage: two new runner regressions cover omitted/brief-only/wholesale discovery, idempotency opt-out, successful replay, and broken-advertised replay.

No schema files under static/schemas/source/** are touched, so no schema↔docs coherence or oneOf discriminator concerns apply. high_risk is false, gated_paths is false, no author-team gate. Despite review_decision: REVIEW_REQUIRED, the gated-paths hard gate (row 2) only applies when gated_paths is true — it is false here, so this falls through to row 9.

Non-blocking follow-up (not a finding): the scenario-level wholesale gate skips the entire advanced-reporting scenario for brief-only sellers, so requested-metric narrowing and format-breakdown fidelity go untested for them; a future scenario could seed via brief discovery to preserve that coverage.

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