Repository navigation
fix(creative): project HTML-markup legacy formats to display_tag (3.1 erratum) - #8354
Merged
Merged
Conversation
… erratum) The AAO reference catalog tagged display_html and display_WxH_html as canonical html5. That contradicts canonical-projection-ref rule 5: these formats require one html asset (html_creative), while the html5 slot is a zip bundle. Re-tag them as display_tag with an html_creative (html) slot override, matching display_js, and publish display_320x50_html and display_300x50_html with the same mapping. Catalog data only; no schema changes. Refs #8339 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Contributor
There was a problem hiding this comment.
Ladon verdict: Approve
Approve.
Reviewed PR #8354 — an erratum re-tagging the 7 HTML-markup legacy formats from the html5 (zip-bundle) canonical to display_tag with an html_creative: html slot override, plus two net-new _html formats. The change corrects a canonical-projection rule-5 violation: these formats carry a single required html markup asset, so the override now matches the v1 assets. All 7 base html5 tags are converted (none remain), no code path consumed the old string, tests pin the exact shape and counts, and a patch changeset + release note ship with the change.
No Critical, High, or Medium findings. No gated paths, no high-risk flag, no author team gate. Rows 1–8 do not fire; falls through to row 9 → approve.
This was referenced Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is an erratum to AdCP 3.1, approved by the AdCP lead (#8339).
The AAO reference catalog tagged the HTML-markup legacy formats as
canonical: { kind: "html5" }. That tag contradicts normative rule 5 ofcore/canonical-projection-ref.json(present in 3.1):The only required asset these formats declare is
html_creative,asset_type: "html"(markup the seller renders verbatim). Thehtml5canonical's slot ishtml5_bundle, a zip the seller unpacks and hosts. The two cannot be consistent.Change (catalog data only, no schema changes)
server/src/creative-agent/reference-formats.json:display_htmland the six sizeddisplay_WxH_htmlentries on3.1.x(300x250, 728x90, 160x600, 336x280, 300x600, 970x250) change from{ "kind": "html5" }to:{ "kind": "display_tag", "asset_source": "buyer_uploaded", "slots_override": [{ "asset_group_id": "html_creative", "asset_type": "html", "required": true }] }display_tagis the kinddisplay_jsalready uses.htmlis a listed 3.1 slot asset type, andcore/assets/html-asset.jsonexists in 3.1.asset_source: "buyer_uploaded"is the default. It is spelled out becausetests/canonical-format-conventions.test.cjswarns whenslots_overrideappears without it.display_320x50_htmlanddisplay_300x50_html, with the same annotation. fix(creative): publish deployed legacy format aliases #6028 added these onmainbut never backported them. They are copied frommain, apart from the annotation, and use no 3.2-only fields. This is additive, following the feat(creative): backport retina catalog formats to 3.1 #6195 precedent.docs/reference/release-notes.mdx: erratum entry..changeset/fix-html-markup-legacy-formats-display-tag-3-1.md:patchchangeset. The catalog alone is not protocol-scoped, so it would not cut a release (fix(creative): publish deployed legacy format aliases #6028 dropped its changeset for that reason). The release-notes entry underdocs/reference/is a normative reference change, which lets the erratum ship and be recorded in a 3.1.x patch.server/tests/unit/creative-agent.test.tsasserts the new annotation and dimensions for all nine_htmlentries, assertsdisplay_jsis unchanged, and updates the format count from 71 to 73. The comment count intask-handlers.tschanges from 64 to 66.The full inline-markup target (
supported_delivery_types: ["inline_markup"], adisplay_tagasset slot, and a catalog-hint extension) depends on 3.2-only surfaces. It goes tomainin a separateminorPR, not to 3.1.Compatibility
html5. With the corrected catalog they project them todisplay_tag, as they already do fordisplay_js.html5zip creative to an_html-only product will no longer match. Those sellers render markup and never accepted bundles.display_WxH_htmlref, with the markup inhtml_creative.Backport procedure note
.agents/shortcuts/cut-patch.mdlands patch candidates onmainfirst. This PR is not a cherry-pick: it is the 3.1-adapted counterpart of themainPR, becausemaintakes the full 3.2+ inline-markup shape. #6195 used the same adaptation. Please merge after, or together with, themainPR: #8357.Validation (against
origin/3.1.x)npx vitest run --config server/vitest.config.ts server/tests/unit/creative-agent.test.ts: 61 passednpm run test:server-unit: 285 files, 4,393 passed, 3 skippednpm run test:unit: 62 files, 1,012 passednpm run test:canonical-conventions: all conventions clean (66 catalog entries)npm run test:schemas: passnpm run test:docs-nav: passnpm run typecheck: cleannode scripts/check-changeset-protocol-scope.cjs origin/3.1.x: passednpx @changesets/cli status --since=origin/3.1.x: patch bump foradcontextprotocolonlyRefs #8339. Related: #6025, #6028, #6761, #6195.
🤖 Generated with Claude Code