Skip to content

Fix stale 53-pattern text baked into logo/social-card assets - #11

Merged
Aboudjem merged 1 commit into
mainfrom
fix/branding-assets-pattern-count-2026-08
Aug 25, 2026
Merged

Aboudjem merged 1 commit into
mainfrom
fix/branding-assets-pattern-count-2026-08

Conversation

@Aboudjem

@Aboudjem Aboudjem commented Aug 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

The hero logo shown at the top of the README, its dark-mode variant, and the GitHub social-preview card all had "53 patterns" as literal rendered/visible text (not just metadata), predating the P54/P55 addition in #9. These were missed by the earlier pattern-count sweep because SVG/PNG/JPG assets aren't caught by a plain-text grep sweep of prose files.

  • Fixed the visible caption text and aria-label/desc metadata in logo-light.svg, logo-dark.svg, and social-preview.svg.
  • Re-rendered social-preview.png from the corrected SVG.
  • Regenerated the docs-site branding assets (docusaurus-social-card.jpg, docusaurus.png, logo.svg) that were copied from these files earlier and inherited the stale text.
  • Fixed .github/description.txt (recommended repo description) and tools/demo.sh (the vhs-recording script for the currently-unlinked demo.gif).

A same-length global text replace briefly corrupted a hex color and three y-coordinates that happened to contain "53" as a substring — caught in diff review and reverted before rendering anything from the corrupted source. See the commit message for details.

Test plan

  • Visual check: re-rendered social-preview.png shows "55 patterns" correctly positioned, no layout shift
  • git diff on the SVGs shows only the intended text changes, no collateral coordinate/color corruption
  • cd cli && node --test — 26/26 pass
  • cd docs-site && npm run build — exits 0
  • CI green on this PR (confirm after opening)

The hero logo (README top image), the dark-mode variant, and the GitHub
social-preview card all had "53 patterns" as literal rendered text, not
just metadata: visible in the on-image caption and the aria-label/desc.
These predate the P54/P55 addition and were missed by the earlier
53->55 text sweep because they're binary-adjacent (SVG source, PNG/JPG
derivatives), not plain prose files.

- .github/assets/logo-light.svg, logo-dark.svg, social-preview.svg:
  fixed the visible "53 patterns" text and aria-label/desc metadata.
  A same-length global replace briefly corrupted a hex color
  (#1c2536 -> #1c2556) and three y-coordinates (531 -> 551) that
  contained "53" as a substring; caught via diff review and reverted
  before rendering anything from the corrupted source.
- .github/assets/social-preview.png: re-rendered from the fixed SVG.
- docs-site/static/img/{docusaurus-social-card.jpg,docusaurus.png,
  logo.svg}: regenerated from the corrected source assets (these were
  copied from the now-fixed files earlier this session, so they
  inherited the same stale text).
- .github/description.txt: the recommended repo description text was
  still proposing "53 AI writing patterns" and didn't mention the
  pre-commit hook.
- tools/demo.sh: the terminal-recording script (renders .github/assets/
  demo.gif via vhs) said "43 patterns" in two places, three versions
  behind. Fixed the text; the GIF itself isn't currently linked from
  any shipped doc, so it wasn't re-rendered.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@Aboudjem
Aboudjem merged commit 7ef05e2 into main Aug 25, 2026
2 checks passed
@Aboudjem
Aboudjem deleted the fix/branding-assets-pattern-count-2026-08 branch August 25, 2026 21:28
Aboudjem added a commit that referenced this pull request Aug 26, 2026
)

The hero logo (README top image), the dark-mode variant, and the GitHub
social-preview card all had "53 patterns" as literal rendered text, not
just metadata: visible in the on-image caption and the aria-label/desc.
These predate the P54/P55 addition and were missed by the earlier
53->55 text sweep because they're binary-adjacent (SVG source, PNG/JPG
derivatives), not plain prose files.

- .github/assets/logo-light.svg, logo-dark.svg, social-preview.svg:
  fixed the visible "53 patterns" text and aria-label/desc metadata.
  A same-length global replace briefly corrupted a hex color
  (#1c2536 -> #1c2556) and three y-coordinates (531 -> 551) that
  contained "53" as a substring; caught via diff review and reverted
  before rendering anything from the corrupted source.
- .github/assets/social-preview.png: re-rendered from the fixed SVG.
- docs-site/static/img/{docusaurus-social-card.jpg,docusaurus.png,
  logo.svg}: regenerated from the corrected source assets (these were
  copied from the now-fixed files earlier this session, so they
  inherited the same stale text).
- .github/description.txt: the recommended repo description text was
  still proposing "53 AI writing patterns" and didn't mention the
  pre-commit hook.
- tools/demo.sh: the terminal-recording script (renders .github/assets/
  demo.gif via vhs) said "43 patterns" in two places, three versions
  behind. Fixed the text; the GIF itself isn't currently linked from
  any shipped doc, so it wasn't re-rendered.
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