Skip to content

feat: add routing OG card, sharing checks and developer guide - #7

Merged
BunsDev merged 3 commits into
mainfrom
docs/sharing-completion-2026-09-26
Sep 26, 2026
Merged

BunsDev merged 3 commits into
mainfrom
docs/sharing-completion-2026-09-26

Conversation

@BunsDev

@BunsDev BunsDev commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Completed sharing slice

  • Add an actual public 1200×630 PNG OG renderer and correct OG/Twitter metadata for route.jev.works.
  • Add source-contract checks to CI and browser checks for exact public origins, PNG signatures/dimensions, verified demo readiness and zero evaluation attempts.
  • Retain real PNGs, desktop/mobile screenshots and provenance in successful CI artifacts.
  • Refresh the primary README with the canonical TypeSafeAI clone URL while preserving the complete prior README byte-for-byte as REFERENCE.md.
  • Add a developer/source map, editable repository SVG and deeper agent navigation.

Verification and conversations

Latest exact-head CI for e1912fe00ebfc7dd8d72620dd3993c7cc9d90085 passed in run 36264841238: source guard, unit tests, types, lint, production build and browser suite.

Artifact 10914340261 was downloaded and matched SHA-256 ddf846040bd58d20db515e07a4c557312e363bdbf826f5cf1768f4ed9401d4d1. Generated PNG and both screenshots were visually inspected. Provenance records the tested merge commit, verified no-key demo and zero classification attempts; the configuration GET is intentionally allowed.

All five review threads were addressed and resolved. The Edge-only premise was checked against official documentation and actual successful Node-runtime PNG generation; no unnecessary runtime switch was made. The renderer accepts no request/user/provider input.

Publication boundaries

No application routing policy, credentials, dependencies, license or visibility changed. Artwork is not a screenshot, and test captures are not production captures. GitHub About/topics and repository Social preview settings remain separate authorized settings operations, not effects of committing this PR.

Copilot AI lite review requested due to automatic review settings September 26, 2026 18:48
@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
typesafe-router Ready Ready Preview Sep 26, 2026 7:05pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The OG route lacks the required Edge runtime, and several sharing/source-contract checks need stronger assertions or CI integration.

Review effort: Lite
Findings: 1 High severity · 4 Medium severity

Open (5)
What changed in this PR

Adds OG/Twitter sharing metadata, a 1200×630 PNG renderer, sharing checks, and developer discovery documentation.

Changes:

  • Adds generated social-card rendering and metadata.
  • Adds Playwright and source-contract validation.
  • Adds architecture/privacy guidance, llms.txt, and SVG artwork.
File Summary Final review notes
scripts/​social-metadata.test.mjs Source-contract validation Moderate (2 votes): include this check in CI or the normal test command.
llms.txt Project navigation and guidance No findings.
e2e/​sharing.spec.ts Metadata, PNG, and screenshot checks Moderate (2 votes): wait for Demo mode; moderate (3 votes): assert the configured origin; moderate (2 votes): assert no /api/route request.
docs/​discovery/​README.md Developer, architecture, privacy, and sharing guide No findings.
docs/​discovery/​assets/​social-preview.svg Editorial sharing artwork No findings.
app/​opengraph-image.tsx Generated social image renderer Critical (1 vote): export runtime = "edge".
app/​layout.tsx OG/Twitter metadata configuration No findings.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread app/opengraph-image.tsx
Comment thread e2e/sharing.spec.ts Outdated
Comment thread e2e/sharing.spec.ts
Comment thread e2e/sharing.spec.ts Outdated
Comment thread scripts/social-metadata.test.mjs
@BunsDev
BunsDev merged commit 4c6855c into main Sep 26, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — e1912fe0 Deployed Sep 26, 2026 by vercel[bot]
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.

2 participants