项目文件夹

文件
Corey Haines 81270bcd54 feat(ad-creative): shareable creative review page — client approval artifact (2.7.0) (#441)
* feat(ad-creative): shareable creative review page (client approval artifact) (2.7.0)

Self-contained HTML template (assets/creative-review-template.html) that
presents generated concepts as in-feed platform mockups with a frame-by-
frame storyboard, selectable copy variations, and a required grounding
disclosure — the visual upgrade to INDEX.md. Driven entirely by a DATA
object; no build or deps. Full data model + grounding rules in
references/creative-review-page.md. Repo release 2.8.8. Closes #440.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(ad-creative): harden review-page template per codex review

- P1: DATA moved to inert <script type=application/json> block (values
  can't execute) + documented \u003c escaping rule for the </script>
  breakout; malformed JSON now shows a clear error banner
- P1: platform list whitelisted to instagram/facebook + escaped in
  attr/label (was raw-interpolated)
- platform toggle now renders real FB chrome (link card + text actions)
  vs IG (swipe bar + icon actions) — was visually inert
- broken/missing images fall back to the label+prompt placeholder as
  documented (placeholder base layer + image removes itself on error)
- doc consistency: agency wording, JSON data-model note, VERSIONS trigger list

Verified in-browser: FB/IG toggle, error banner, and HTML-payload escaping.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 23:21:00 -07:00
..