Skip to content

docs(media-buy): clarify product channel declarations - #8028

Merged
bokelley merged 2 commits into
mainfrom
bokelley/adcp-7869
Oct 8, 2026
Merged

bokelley merged 2 commits into
mainfrom
bokelley/adcp-7869

Conversation

@bokelley

@bokelley bokelley commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Properties can support both CTV and online video while an individual product is sold in only one buying context. Recommend an explicit nonempty channel declaration on every product so buyers do not have to rely on broader inherited property support. Buyers request channel details before classifying sparse responses, and seller declarations do not independently prove per-channel delivery.

Clarify format-option narrowing and document the proposed 4.0 migration. This PR changes documentation only; schemas remain unchanged. Preserve the published 3.x property-based inheritance: this preparation does not change omission defaults or require excluding legacy products from discovery or routing. Required, explicit nonempty channels, removal of reliance on omission-based inheritance, and the 4.0 projection policy remain future breaking-change work.

Related to #7869; this PR covers its 3.x preparation and keeps the 4.0 issue open.

Validation:

  • Protocol, code, and security reviewers approved the final documentation-only diff.
  • Schema build and validation suite (35 tests), buyer Product fixtures, and all 12 schema-tagged examples on the edited pages passed.
  • Compliance link check and changeset scope/status checks passed.
  • Full pre-commit checks passed on the final commit, including all three server unit shards and typecheck.

Comment thread static/schemas/source/core/product.json Resolved

@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: Request changes

Request changes — 1 blocking finding.

Blocking findings

  • static/schemas/source/core/product.json:34 — Omitted channels semantics reversed (inherit from properties → undeclared) and shipped as a patch changeset. This is a semantic/default change to a published field across product.json, canonical-product.json, and the normative media-channel-taxonomy.mdx. It silently drops omitted-channels products out of channel-filtered discovery for buyers that implemented the prior inheritance text — a breaking wire-semantics change that is not patch-eligible (breaking changes take major).

The video→olv example correction is correct and schema↔docs otherwise stay coherent, but the default-reversal must either be reclassified as a breaking (major) change or reworked to preserve the previously-documented inheritance semantics before this can merge.

(Note: this PR also touches gated paths under static/schemas/source/** with review_decision: REVIEW_REQUIRED; the blocking High finding takes precedence under decision table row 1. Human/CODEOWNERS review of the gated schema files is also still required.)

Blocking findings

  • static/schemas/source/core/product.json:34 — Omitted channels semantics reversed (inherit → undeclared) shipped as patch; breaking wire-semantics change not patch-eligible, requires major changeset or reverted default

@aao-secretariat
aao-secretariat Bot dismissed their stale review October 8, 2026 13:21

Superseded by a later Ladon review that rechecked and resolved its blocking findings.

@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 — documentation-only clarification, prior High blocker resolved.

This is a subsequent review. The prior run flagged a High blocker: static/schemas/source/core/product.json:34 shipped a reversed channels semantic (inherit → undeclared) as a patch. The developer reworked the PR to documentation-only — product.json is no longer modified, the schema retains "Products inherit from their properties' supported_channels but may narrow the scope," and all three edited normative pages explicitly preserve 3.x inheritance ("The existing 3.x property-based inheritance remains unchanged"). The breaking wire change is gone.

Delta review confirms schema↔docs coherence: channels typed as MediaChannel[] matches the channels.json enum; cited values (ctv/olv/radio/streaming_audio/podcast/social) are all valid; applies_to_channels narrowing prose matches the schema verbatim. Changeset present (patch), appropriate for a docs-only normative clarification. No naming/example/character violations in the delta.

No current blocking or Medium findings.

Gate checks: no no-auto-approve team match; gated_paths is false (row 2 N/A). high_risk is true but all reasons are (modified) with zero Medium-or-higher findings, so rows 3/5 do not fire. Prior decision was request-changes (not escalate), so row 6 does not apply. No critical/high/medium findings — rows 1, 4, 7, 8 do not fire. Falls through to row 9: approve. Credit to the developer for fully resolving the prior semantic-reversal blocker.

@bokelley
bokelley merged commit 5650748 into main Oct 8, 2026
36 checks passed
@bokelley
bokelley deleted the bokelley/adcp-7869 branch October 8, 2026 13:53
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