Repository navigation
feat(ads): agentic-era HQ hero art + safety retry + no icon heroes - #350
Merged
Merged
Conversation
…as heroes
Ad heroes now render at quality "high" with one house art direction
(launch-grade 3D key art for the agentic AI era). When OpenAI's safety
system refuses the copy-bearing prompt ("zombie love story" is blocked
as violence at the output stage), retry once with a copy-free abstract
prompt instead of falling back. og:image fallback skips icons/logos, so
a pwamart app no longer gets its 512px icon stretched behind a banner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan48 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 31 | LOW: 15
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
Ad hero images (lib/ads/heroImage.ts):
medium→high, and a shared art direction — launch-grade cinematic 3D key art for the agentic AI era (volumetric light, holographic glints, luminous data threads, one crisp focal subject).safety_violations=[violence], output stage). A moderation block now retries once with a copy-free abstract prompt (domain + palette only) instead of falling back./icon-512.png, which was being stretched behind the banner.Verified: new tests/ads-hero-image.test.ts passes; tsc clean; ads suite 525 pass, 4 fail (the ffmpeg gif/video tests, same as on master here). Prototype of the safe prompt against the prod key returned a 1536x1024 high-quality image; the copy-bearing zombie prompt was refused, confirming the retry path is needed.
🤖 Generated with Claude Code