Repository navigation
docs(media-buy): clarify product channel declarations - #8028
Conversation
There was a problem hiding this comment.
Ladon verdict: Request changes
Request changes — 1 blocking finding.
Blocking findings
- static/schemas/source/core/product.json:34 — Omitted
channelssemantics reversed (inherit from properties → undeclared) and shipped as apatchchangeset. 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 takemajor).
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
channelssemantics reversed (inherit → undeclared) shipped as patch; breaking wire-semantics change not patch-eligible, requires major changeset or reverted default
Superseded by a later Ladon review that rechecked and resolved its blocking findings.
There was a problem hiding this comment.
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.
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: