Repository navigation
feat(schema): model programmed channels and FAST carriage - #6897
Conversation
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths modified without required review approval.
This PR models FAST/virtual-linear streams as first-class channel collections: a new enum value, a new publisher_channel_id identifier type, and an optional property_ids carriage field on collection-distribution. Schema, docs, server projection, admin UI, tests, and a correct minor changeset are in sync. The required→optional loosening is non-breaking and the new anyOf is properly discriminated (not an undiscriminated oneOf). No critical or high findings surfaced.
However, this PR modifies files under static/schemas/source/**, which are under a hard, deterministic approval gate (gated_paths: true). The required review status is REVIEW_REQUIRED, not APPROVED (decision table row 2). The protocol source of truth is being changed, so human/CODEOWNERS review is required before this can merge.
Medium findings
- docs/media-buy/product-discovery/collections-and-installments.mdx:880 —
publisher_channel_idmissing from the "Available video/CTV types" reference list (schema↔docs coherence gap; worth fixing but non-blocking on its own).
Escalation reasons
- Gated paths modified (
static/schemas/source/core/collection-distribution.json,.../core/collection.json,.../enums/collection-kind.json,.../enums/distribution-identifier-type.json) andreview_decisionisREVIEW_REQUIRED, notAPPROVED. Human/CODEOWNERS review of the protocol schema change is required.
Medium findings
- docs/media-buy/product-discovery/collections-and-installments.mdx:880 — publisher_channel_id missing from the "Available video/CTV types" reference list
Why human review
- Gated paths modified under static/schemas/source/** (collection-distribution.json, collection.json, collection-kind.json, distribution-identifier-type.json) while review_decision is REVIEW_REQUIRED — human/CODEOWNERS approval required before merge.
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/collection-distribution.json (modified) matches
static/schemas/source/**; static/schemas/source/core/collection.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/collection-kind.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/distribution-identifier-type.json (modified) matchesstatic/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths modified without required review approval.
Gate status
This PR modifies four files under static/schemas/source/** (collection-distribution.json, collection.json, collection-kind.json, distribution-identifier-type.json), which sit under a hard, deterministic approval gate (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied. Row 2 of the decision table forces escalate (no critical/high findings exist to force request-changes).
Iteration credit
The delta since the prior escalate is small and clean: two $schema example URLs in collections-and-installments.mdx were moved from latest to v3, matching the repo-wide /schemas/v3/ convention. No new findings introduced. The prior escalation persists solely because the gated-path approval gate remains unmet — not because of unresolved code issues.
Medium findings (non-blocking)
- docs/media-buy/product-discovery/collections-and-installments.mdx:880 —
publisher_channel_id(added to the distribution-identifier-type enum in this PR) is missing from the "Available video/CTV types" reference list. Minor schema↔docs coherence gap; line is outside all diff hunks so it cannot be pinned inline.
Escalation reasons
- Gated files under
static/schemas/source/**modified whilereview_decisionisREVIEW_REQUIRED— human/CODEOWNERS approval required before merge.
Medium findings
- docs/media-buy/product-discovery/collections-and-installments.mdx:880 — publisher_channel_id missing from the "Available video/CTV types" reference list
Why human review
- Modifies gated schema files under static/schemas/source/** (collection-distribution.json, collection.json, collection-kind.json, distribution-identifier-type.json) while review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge.
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/collection-distribution.json (modified) matches
static/schemas/source/**; static/schemas/source/core/collection.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/collection-kind.json (modified) matchesstatic/schemas/source/**; static/schemas/source/enums/distribution-identifier-type.json (modified) matchesstatic/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
|
@bokelley Hi Brian, Thanks for coming up with this promptly following our conversation on Slack. The proposal itself looks good, but if I am reading this correctly, without hosts (Roku, Samsung, etc) starting to publish the I am afraid this is where the AdCP adoption will stall because this will make the hosts complete gatekeepers to agentic selling. Given their scale, how long will it actually take until they embrace AdCP becomes a question yet to be answered. What are your thoughts on this? |
|
@ariloudev That is a fair concern. Full AdCP verification of owner-sold carriage does require host participation. Until a host publishes an authoritative declaration, the channel owner's carriage claim can be discovered, but it cannot be promoted to host-verified authorization. This is why the community registry exists. It gives the ecosystem a place to publish catalog and carriage metadata for properties that have not yet adopted AdCP, with provenance explicit. It cannot manufacture host authorization - an empty authorized_agents array means exactly that - but it prevents the discovery ecosystem from being empty while adoption builds. The bootstrap question is the important one: how do we accumulate enough useful evidence and participation for verification to have value? A practical next step is to determine whether major CTV and FAST hosts already publish machine-readable channel guides, EPG feeds, or partner APIs that can corroborate carriage. Where those signals exist, the community registry can surface them as evidence; where they do not, we should encourage hosts to expose a lightweight, machine-readable channel guide or attestation endpoint. So I agree with the underlying point: verification is only valuable when participants contribute verifiable data. The path should be progressive - community discovery and clearly labeled provenance first, host attestation as adoption grows - without representing unverified claims as verified. Generated by Claude Code |
|
Addressed the review and expert feedback in
Local verification after merging |
|
Fresh CI is green on |
Trust model:
- Materialize authorized_agents[*].collections onto catalog authorization
rows, snapshots, and change-feed events (migration 570) so registry
consumers see the collection narrowing instead of an unqualified
property grant; writer refuses entries whose declared constraint is
unparseable.
- Registry-sync treats a present-but-unparseable collections payload as
a deny sentinel instead of widening to unconstrained; the index and
validator now agree on unioning domain-qualified selectors with the
legacy collection_id shorthand.
- A collection selector naming an external publisher no longer satisfies
the ads.txt managerdomain explicit-scope gate: carriage attestation is
not a management claim.
- Catalog projection rebuilds distribution entries from known fields
only instead of passing through publisher-authored unknown keys.
Schema:
- Collection selectors gain a bulk-grant form (collection_ids omitted =
all collections at that publisher domain) so hosts authorize per
partner, not per synced channel ID; products still require explicit
collection_ids.
- Rename publisher_channel_id to platform_channel_id and forbid it in
bare {type, value} contexts, where its (publisher_domain, value)
identity cannot be carried and values collide across hosts.
Docs: verification-state ladder (verified owner-sold / host-delegated
via ads.txt inventorypartnerdomain / owner-attested), placement
namespace rule for seller_inline paths, aggregator syndication chains,
stable-identifier guidance, and normative fail-closed language.
Co-Authored-By: Claude Fable 5 <[email protected]>
|
Issue #7050 proposes adding a Generated by Claude Code |
|
Issue #7049 proposes adding Generated by Claude Code |
…ency Add POST /api/registry/verify/supply-path: joins the owner's and host's cached adagents.json manifests (plus host ads.txt/app-ads.txt inventorypartnerdomain when the enforcement leg fails) and returns the documented verification-state ladder with leg-by-leg, evidence-bearing diagnosis (dangling cross-file references fail closed, including a host grant whose owner collection does not exist). Consistency fixes from the 3.2 surface audit: - registry-event.json collections payload now carries the fail-closed scoping contract; registry docs explain it next to signing_keys. - authorized-properties.mdx documents external-owner and bulk-grant selector forms; collection_lists.mdx documents the platform_channel_id ban and the channel-exclusion routes that remain. - Rename stale `shows`/`episodes` prose to `collections`/`installments` in get_products, media-products, seller-integration, whats-new-in-v3; fix the distribution wording that still implied identifiers are required; scope deadline_policy and cadence for channel collections; neutral collection-list wording in targeting.json. - mcp-tools collections cast matches the optional-ids selector shape. Co-Authored-By: Claude Fable 5 <[email protected]>
…7134) Two storyboards close the conformance gap left by #6897/#7079 (adcp issue #7103): - owner_sold_channel_carriage: the seller-observable half of the verification ladder — the product combines host property scope with the owner's canonical collection selector; a correct selection is accepted and echoed; the bulk-grant selector form, an unknown collection_id (randomized against teach-to-test), and a mismatched owner domain each fail closed rather than being silently substituted. The adagents.json cross-file legs are narrative-only: no AdCP task carries that file, so they are buyer-side classification, not gradeable seller conformance. - collection_selection: selected-subset accept + unwidened echo, default-mode purchase materializing to mode selected on readback, and the fixed-bundle pairing (partial selection rejected with UNSUPPORTED_FEATURE, exact full restatement accepted as an inherent match). Ships the normative anchors the graded checks require: rejection of a schema-valid selector referencing an unknown collection_id or publisher_domain uses REFERENCE_NOT_FOUND per the error-code registry (INVALID_REQUEST stays the code for schema-invalid shapes), and a mode-default purchase reads back as mode selected because the default branch carries no selectors and cannot satisfy the readback echo. create_media_buy's fixed-restatement exception now names the collection_selection full-bundle case alongside placements. Registered ungated, following the placement_selection precedent: the controller seeds fixtures, and there is no capabilities rollup key for collection_selection to gate on. Co-authored-by: Claude Fable 5 <[email protected]>
Summary
channelcollections, including FAST, virtual linear, and syndicated audioadagents.jsonAuthorization semantics
authorized_agents[]entries; no concurrency primitive is neededdirect, while an operator running the sales endpoint on the owner’s behalf is named asdelegatedVerification
npm run typechecknpm run test:fast-channel-collections: 4 passednpm run test:json-schema: 278 schema-bearing examples passednpm run test:openapinode scripts/check-changeset-protocol-scope.cjs origin/mainorigin/mainReview status
The automated review finding that
publisher_channel_idwas missing from the video/CTV identifier reference is addressed. This PR changes gated protocol schema paths and still requires human/CODEOWNERS approval before merge.