Skip to content

Canonical-formats conformance storyboard track — gates 3.1 GA promotion rubric #4591

Closed

Description

@bokelley

Filed off the SDK-team implementor review on #3307 (creative formats canonical / canonical-formats).

Problem

The canonical-formats base schema is intentionally permissive: additionalProperties: true everywhere, x-canonical-policy-required-params-not-enforced on /schemas/formats/canonical/_base.json, no required parameter fields on any canonical. This is correct for the canonical (it's a loose contract — products narrow it) but it means JSON Schema validation passes on almost any conformant-shaped declaration.

The current "fixtures validate" evidence is Schroedinger conformance: the fixtures pass because they were authored against the schema, not because adopters' independent emissions would. Until we have a conformance harness that exercises:

…we don't actually know whether independent v2 emitters and consumers agree.

What this issue tracks

Build a canonical-formats storyboard track in the compliance harness (storyboard infrastructure already exists for other AdCP surfaces). Scope:

  1. Producer storyboards: emit a product with format_ids + format_options (agreeing), format_ids only, format_options only, format_kind: "custom" (must have v2_only: true), divergent dual-emission (negative — must be flagged by consumer).
  2. Consumer storyboards: read each producer-shape, assert the SDK projects/warns correctly (silent-loss-of-inventory must be caught).
  3. format_schema fetch storyboards: serve a digest-matched schema, a digest-mismatched schema, an invalid-JSON-Schema body, a $ref-out-of-sandbox schema. Assert SDK responses (resolved / hard-fail / hard-fail / hard-fail with structured warning).
  4. validate_input storyboards: per-canonical positive (validated_pass), per-canonical negative (validated_fail with violations), nondeterministic (unvalidatable_nondeterministic).
  5. runtime_status skip-gate: assert declared_only entries are skipped gracefully, not failed.

Why this is GA-blocking, not 3.1-beta-blocking

The schema work is shippable as beta. The conformance harness is the artifact that lets us promote individual canonicals from preview to stable under the rubric in _base.json#status (2 adopters × 90 days no breakage). Without it, promotion is on vibes.

Dependencies

Out of scope here

Tracking: gates 3.1 GA promotion rubric for individual canonicals.

Activity

  1. added
    schema
    on May 16, 2026
  2. bokelley commented on May 16, 2026

    @bokelley
    ContributorAuthor

    Extends #4591 (canonical-formats conformance storyboard track).

    Updated scope

    Original issue framed storyboards by canonical (11 cells). The real complexity is the (canonical × production_source) matrix — a single audio_hosted canonical covers buyer_uploaded, publisher_host_recorded, and agent_synthesized with different required slots, validation rules, and SLA semantics.

    Matrix cells (incomplete list)

    For canonicals that carry audio_source / image_source / video_source / item_production_model:

    • audio_hosted × {buyer_uploaded, publisher_host_recorded, agent_synthesized} = 3 storyboard cells
    • video_hosted × {buyer_uploaded, agent_synthesized, seller_pre_rendered_from_brief} = 3 cells
    • image × {buyer_uploaded, agent_synthesized, seller_pre_rendered_from_brief} = 3 cells
    • sponsored_placement × item_production_model × fanout_mode = adapter-family-dependent (see sponsored_placement adapter-contract docs — gates canonical promotion to stable #4592)

    Plus the canonical alone for: display_tag, video_vast, audio_daast (no production-source axis — render-verbatim).

    Why this matters

    Storyboards organized by canonical alone treat "audio_hosted ships fine" as evidence — but a seller's runtime may handle buyer-uploaded MP3 perfectly and silently fail on host-read script handoff. The matrix cells are the actual conformance unit.

    Dependencies

    Tracking: matrix-cell enumeration is the conformance evidence required to promote Track-B canonicals from preview to stable post-GA.

  3. added this to the 3.1.0 milestone on May 17, 2026
  4. bokelley commented on May 26, 2026

    @bokelley
    ContributorAuthor

    Progress from the current 4591 slice:

    • Producer-side media_buy_seller/canonical_formats coverage has been expanded to cover agreeing dual emission, v1-only, v2-only, custom v2-only, experimental, and divergent dual-emission declarations.
    • The beta.4 vocabulary is now format_option_id / format_option_ref on media-buy product/package/manifest surfaces. capability_id remains valid for creative-agent build capabilities (creative.supported_formats) only, and should not be used in this storyboard's product declarations.
    • Training-agent support now preserves format_options-only seeded products and emits FORMAT_DECLARATION_DIVERGENT when format_options[].v1_format_ref[] does not resolve to the product's format_ids[].

    Remaining #4591 work after this slice:

    • true format_schema fetch/validation storyboards: digest mismatch, invalid schema body, and $ref sandbox cases need runner/tooling support rather than field-only assertions.
    • creative-agent side coverage for supported_formats / build_creative capability selection.
    • validate_input coverage remains blocked until that tool/surface exists in the training agent/SDK.
  5. added
    claude-triaged
    on May 26, 2026
  6. bokelley commented on May 29, 2026

    @bokelley
    ContributorAuthor

    Progress update after PR #5144:

    Completed in this repo:

    • Added canonical format_schema resolver fixture CI coverage using the SDK resolver.
    • Covered digest match, cache fallback, digest mismatch/substitution signal, HTTPS/HTTP policy, redirects, body-size cap, SSRF private/metadata IPs, cross-origin $ref, $ref depth, unsafe regex compile budget, invalid schema bodies, and persistent 404 graceful degradation.
    • Added the resolver fixture runner to npm test and build-check CI.
    • Confirmed current and 3.0-compat storyboard matrices stayed green.

    Remaining #4591 work:

    • Creative-agent storyboard coverage for creative.supported_formats and build_creative capability selection.
    • Broader validate_input matrix coverage beyond the current tool/version-gating checks.
    • Any remaining production-source/runtime-status matrix cells that are not already covered by the canonical-format producer storyboards.

    #4623 is now split/superseded for this repo: SDK helper implementation is tracked upstream, and remaining conformance/storyboard coverage should stay here under #4591.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claude-triagedcompliance-suitecreativeschema

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions