Skip to content

Re-render Series One and Two faces without the finish pass - #18

Merged
ralyodio merged 1 commit into
masterfrom
worktree-fix-card-back-deadspace
Sep 13, 2026
Merged

ralyodio merged 1 commit into
masterfrom
worktree-fix-card-back-deadspace

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

What

Series One's shipped card backs had a smear of flat leather across the lower third, and the fronts a slab of brushed metal under the name. Both were the image-to-image enhance pass filling regions the template left empty. Series Two shipped the same pass's invented quotes, invented stat panels and a misspelled name (#14).

This re-renders all 47 Series One and 30 Series Two faces as text-accurate HTML renders from the committed approved portraits, with no API calls, and fixes the templates so there is nothing left to fill:

  • Front: portrait window 72% instead of 58%, as on Series Three onwards. The caption band is sized to the name and title it holds.
  • Back: the empty spacer is now the set-emblem watermark, matching Series Three to Six.
  • Back: the collector note is a labelled CURATOR'S NOTE panel, not a quotation attributed to the subject.
  • Series One stars now follow rarity (★★★★☆ for legendary, etc.) like the later sets.
  • scripts/render-cards.mjs rewritten: uses assets/portraits/legends/, finds Chromium the way the later sets do, and publishes the 500x745 web faces into public/cards/ in one run.

Trade-off

This drops the "premium finish" on Series One and Two. Those two sets now match the flat house style of Series Three to Six. Re-finishing is possible later, but only with a face-by-face check.

Verified

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hy3fvgzA2YUtcsq2weByY4

Series One's shipped backs carried a smear of flat leather across the lower
third, and its fronts a slab of brushed metal under the name: both were the
image-to-image enhance pass filling regions the template left empty. Series
Two shipped the same pass's invented quotes, stat panels and a misspelled name.

Both templates now leave nothing to fill: the front portrait window grows to
72% as on Series Three onwards, the back's empty spacer becomes the set-emblem
watermark, and the collector note is a labelled CURATOR'S NOTE rather than a
quotation attributed to the subject. Series One stars now follow rarity.

render-cards.mjs is rewritten around the committed approved portraits: it finds
Chromium the way the later sets do, renders to dist/html and publishes the
500x745 web faces to public/cards in one run, with no API calls. All 47 Series
One and 30 Series Two faces are regenerated from it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hy3fvgzA2YUtcsq2weByY4
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

7 finding(s)

MEDIUM: 7

Severity Rule Location
MEDIUM js-credential-logged scripts/migrate.mjs:16
MEDIUM js-unescaped-html-sink src/app/cards/[slug]/page.tsx:60
MEDIUM js-unescaped-html-sink src/app/gods-of-ai/[slug]/page.tsx:68
MEDIUM js-unescaped-html-sink src/app/hacking-legends/[slug]/page.tsx:68
MEDIUM js-unescaped-html-sink src/app/security-professionals/[slug]/page.tsx:68
MEDIUM js-unescaped-html-sink src/app/tech-ceos/[slug]/page.tsx:68
MEDIUM js-unescaped-html-sink src/app/women-in-tech/[slug]/page.tsx:68

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio marked this pull request as ready for review September 13, 2026 00:00
@ralyodio
ralyodio merged commit 67dd539 into master Sep 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant