Add v2 artwork and card-data release script with SVG defaults - #19
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
ThreatCrush Security Scan7 finding(s) MEDIUM: 7
Snippets are redacted; ThreatCrush never prints matched credential material. |
ralyodio
marked this pull request as ready for review
September 13, 2026 18:46
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.
The existing card pipelines produce PNG artwork and have previously allowed image generation to alter factual card text. This adds a separate, resumable edition-2 release workflow covering the existing 277 cards across all six series.
pnpm release:v2authors native SVG contribution artwork throughgpt-6-astrawithxhighreasoning.--format pngusesgpt-image-2;--png-fallbackopts into Image 2 after invalid SVG fails repair, and--png-copiesexports raster copies of vector faces. The artwork direction uses original editorial compositions derived from each person's work, avoiding Magic: The Gathering styling and invented portraits. Names and factual copy are typeset separately.NicheDB integration uses
/api/v1/search, requires corroborated person matches, and records source URLs, timestamps, match reasons and copied metadata. Missing, unconfirmed and unavailable data are distinguished; existing curated biographies remain intact. A live lookup for Linus Torvalds returned no records.The builder stages artwork, card JSON, a review gallery, provenance, checksums and per-card checkpoints. Validation rejects incomplete/corrupt releases.
activateupdates local artwork paths and copies final assets; it does not deploy or tag. Social preview rendering now supports SVG masters, and v2 cards no longer display obsolete photo-portrait attribution.Validation: 14 automated tests pass (mocked API calls, SVG safety/rendering, metadata matching, PNG fallback, resume/recovery and activation); all 277 real cards fit the text layout;
pnpm exec tsc --noEmitandgit diff --checkpass. Visually inspected front/back layout with fixture art. No paid artwork was generated because OPENAI_API_KEY is not configured in this environment.Start with a one-card proof:
See
docs/artwork-v2.mdfor configuration, full release generation, review, activation and recovery.