Skip to content

feat(tools): render the WCM social card from the shared template - #71

Merged
imran-siddique merged 2 commits into
mainfrom
feat/wcm-card
Sep 14, 2026
Merged

imran-siddique merged 2 commits into
mainfrom
feat/wcm-card

Conversation

@imran-siddique

@imran-siddique imran-siddique commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

The WCM social card was the last one outside the AgenTrust card family: a 1731x909 cream illustration reading "Release · Attest · Revoke" with the wordmark "agentrust.io", a domain the project does not use.

Changes

  • tools/render-og-card.py now holds named cards in one HTML template. python tools/render-og-card.py still writes og.png for agentrust-io.com, and re-rendering it here produced a byte-identical file. python tools/render-og-card.py wcm --out PATH renders the WCM card: "An AgenTrust open specification", "Weight Custody Manifest", "Release model weights only to an attested runtime.", and the chain row with 01 Weights underlined. Long titles step down to 84px so they stay on one line.
  • The WCM card is committed in weight-custody-manifest as docs/assets/og.png, in a companion PR there, because that site serves its own card.
  • wcm/index.html, the redirect stub, now points og:image and twitter:image at https://agentrust-io.com/wcm/og.png, 1200x630 with a new alt. wcm/og.png is a copy of the card weight-custody-manifest serves, byte-identical to wcm.agentrust-io.com/assets/og.png, because wcm/redirect.test.js requires the stub's card to be served from its own directory. wcm/og-launch.png stays, so shares cached against it still resolve, and the test now checks for both files.

Checked

  • Re-rendered og.png is unchanged in git; the WCM card renders as PNG image data, 1200 x 630.
  • check-site.py, build-discovery.py --check, check-discovery.py and check-dashes.js pass.

Generated with Claude Code

https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2

imran-siddique and others added 2 commits September 14, 2026 13:50
tools/render-og-card.py rendered only the agentrust-io.com card. It now holds
named cards in one template, and `wcm --out PATH` renders the Weight Custody
Manifest card that the WCM docs site commits as docs/assets/og.png. The chain
row underlines the card's own step.

The /wcm/ redirect stub points its Open Graph tags at that card, 1200x630,
instead of the 1731x909 launch image that still read agentrust.io.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2
wcm/redirect.test.js keeps the stub's og:image on an image this directory
serves. The new card is copied to wcm/og.png (byte-identical to
wcm.agentrust-io.com/assets/og.png) and the test now checks for it, while
og-launch.png stays for cached shares.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2
@imran-siddique
imran-siddique merged commit 79caf22 into main Sep 14, 2026
6 checks passed
@imran-siddique
imran-siddique deleted the feat/wcm-card branch September 14, 2026 21:05
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