Repository navigation
Conversation
creative-manifests - validation step 1 follows the canonical-formats routing rule canonical-formats - sellers must not infer the option from which declaration the assets fit Closes adcontextprotocol#8625
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
There was a problem hiding this comment.
Ladon verdict: Comment (human reviewer recommended)
Comment — normative clarification warrants a human eye, no blocking findings.
This is a clean docs-only change (26 lines across two files) that tightens the same rule in both: when a product's format_options holds two or more declarations sharing a format_kind, format_option_ref is REQUIRED and the seller MUST reject a manifest lacking it rather than infer the intended option (canonical-formats.mdx:1328, creative-manifests.mdx:114). The two edits are mutually coherent, consistent with the existing corpus (sync_creatives.mdx:289, display.mdx:130, formats.mdx:99), and align with the fail-closed / no-fallbacks principle. No schema under static/schemas/source/** is touched, so there is no wire-shape change and no schema↔docs drift; no changeset is required (the files sit under docs/creative/**, outside the docs/reference/** changeset gate).
No critical, high, or medium findings were reported, so rows 1–8 of the decision table do not fire on finding severity, and there is no gated-path, high-risk, deletion, or team-gate trigger. Row 9 would otherwise approve.
However, this edit introduces a new normative MUST (sellers MUST reject rather than infer). The hard gate on Breaking-class changes applies only to breaking-class work; a non-breaking Normative clarification proceeds normally and does not force escalation. But review_decision is REVIEW_REQUIRED, and whether this tightening qualifies as a purely editorial clarification of a previously-ambiguous rule — versus adding a genuinely new normative requirement that some conformant implementation might not already satisfy — is a judgment that belongs to a human ratifier, not an auto-merge. I am surfacing this as a comment rather than approving so a maintainer confirms the clarification reflects settled intent (and, if controlling, cites any relevant governance/decisions/ record) before merge.
No blocking findings. Recommend a maintainer ratify the normative wording, then merge.
…_ref canonical_formats storyboard - add canonical_manifest_routing phase, gated on inline_creative_management - seed a product with two image declarations and read it back - accept an inline manifest naming its option, reject the same one without it - bump storyboard version to 1.2.0 tests - cover the routing phase against conforming and asset-fit-inferring sellers - keep the routing phase out of the pricing and discovery slices changeset - patch changeset for the clarified rule and the new phase
There was a problem hiding this comment.
Ladon verdict: Approve
Approve.
Reviewer found no critical, high, or medium findings. Walking the decision table top-down:
- Row 1 (critical/high): no such findings.
- Row 2 (gated_paths && review_decision ≠ APPROVED):
gated_pathsis false, so this row does not fire despitereview_decision: REVIEW_REQUIRED. - Row 3 (deleted high-risk):
high_riskis false. - Rows 4–5 (medium + sensitive category / modified high-risk): no medium findings.
- Row 6 (sticky escalation): prior decision was
comment, notescalate; no fresh blocking findings anyway. - Row 7 (no-auto-approve team): no team match.
- Row 8 (≥3 medium findings): zero medium findings.
- Row 9: approve.
Checks confirmed clean: no static/schemas/source/** change (no schema↔docs drift, no oneOf regression), no dist/** modification, changeset present (patch) for the compliance-asset/normative-docs change, and the new canonical_manifest_routing phase is internally consistent. Base is main, not 3.1.x, so stable patch-eligibility constraints do not apply. The graded rejection has a normative MUST basis, satisfying DR-0001. The decision-class routing question is a human/arbiter policy matter, not a code defect. No breaking-class change identified, so the breaking-change hard gate does not trigger.
…, certification retry (adcontextprotocol#9196), release-audit changesets (adcontextprotocol#8879), reporting subscriber suspend and resume (adcontextprotocol#9199), inventory goal forecast refusal (adcontextprotocol#9206), enum hoisting annotations (adcontextprotocol#9167), format_option_ref (adcontextprotocol#8876), claim-priority indexes (adcontextprotocol#9219) Two conflicts. Resolution ledger: - semantic: package.json `test` -> union: this branch's chain (the suites it added and the build-cache and git-env steps) plus main's test:build-schemas-hoist-enum-annotations and test:build-schemas-hoist-inside-definitions, after test:build-schemas-exit-status. Every script main's chain runs is in the merged chain. Dependencies auto-merged to main's versions. - semantic: server/src/training-agent/gcs-reporting.ts imports -> union: this branch's narrow `@adcp/sdk/utils` import of canonicalize; main's randomUUID import and its added `@adcp/sdk/server` names. The rest of the file auto-merged. - mechanical: package-lock.json -> main's (auto-merged; this branch does not change it). Checks: npm ci on main's lockfile (SDK 17.0.0-beta.40), npm run typecheck, and the pre-commit hook's full run.
Closes #8625
Problem
The normative routing rule in
canonical-formats.mdxrequiresformat_option_refwhen a product carries two or more declarations with the manifest'sformat_kind. Step 1 ofcreative-manifests.mdx§ Validation ("select the unambiguous compatibleformat_kinddeclaration") can be read as counting only the declarations the manifest's assets fit. The two readings give opposite answers for the same manifest, so two conforming sellers can disagree.Changes
Wording from the issue, with no change to the rule the schemas already state (
core/creative-manifest.jsonformat_option_ref,core/product-format-declaration.jsonformat_option_id).docs/creative/creative-manifests.mdx§ Validationformat_option_ref, the product must carry exactly one declaration with the manifest'sformat_kind. With two or more, the seller rejects the manifest for the missing ref, even if its assets satisfy only one of them.docs/creative/canonical-formats.mdxrouting rulestatic/compliance/source/protocols/media-buy/scenarios/canonical_formats.yaml(1.1.1 → 1.2.0)canonical_manifest_routing, gated onmedia_buy.features.inline_creative_managementand independent of earlier phases (depends_on: []). It seeds a product with two image declarations (300x250 and 728x90) and reads it back. It then sends the same inline 300x250 image manifest oncreate_media_buy, with no package format selector: withformat_option_refnaming the 300x250 option the buy is accepted, and without it the seller must reject the request (VALIDATION_ERROR,INVALID_REQUESTorCREATIVE_VALIDATION_FAILED_GENERIC). The rejection probe usesenrich_request: true, so it reaches format routing instead of failing on a missing auction bid.Tests
tests/canonical-compatibility-slices.test.cjs: the routing phase runs against a fake seller. A conforming seller passes. A seller that infers the option from asset fit fails only the rejection step. A seller that rejects every inline creative fails the control, and the rejection step is skipped, not passed. A seller without inline creatives gradesnot_applicable, with no seeding.fixture_resolutionbypassed in a local bundle copy:canonical_formats✓ 23P / 2S (the existing known-failing skips). CI's/salesrun is unchanged: the scenario's fixture resolution is a coverage gap there, so these steps don't execute.canonical-formats-repeated-kind-manifest-ref.mdcovers the clarified rule and the new phase.🤖 Generated with Claude Code