Per-route SEO meta and build-time sitemap.xml #242
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.47) × (1 − Review Confidence (0.38)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 336 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 78% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.348
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #242"
general
weight: 0.35
chatgpt-codex-connector[bot]
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
Summary
RouteSeoso each route gets its own<title>, meta description, canonical URL, and OG/Twitter tags (collectible detail pages use catalog name, set, and finish).index.html(canonical is set per route after navigation).sitemap.xmlat the end ofnpm run buildfrom bundled catalog JSON (6 public static routes + 591 SKU detail URLs).robots.txtwithSitemap:and disallows/adminand/t/; private routes stay out of the sitemap.How to verify (local)
From repo root:
npm run test:scripts(sitemap SKU count assertions).How to verify (after deploy)
1. Open
https://shardstash.web.app/sitemap.xml— XML, not the SPA HTML shell.2. Open
https://shardstash.web.app/robots.txt— includesSitemap: https://shardstash.web.app/sitemap.xml.3. Open a card finish URL such as
https://shardstash.web.app/collectibles/LT24-ELS-01/LT24-ELS-01-DUN— browser tab title includes card name, finish, and set; View Source or devtools shows matchinglink[rel=canonical]andmeta[name=description].Deploy steps
Use the existing Hosting deploy workflow (
npm run deploy:hostingor GitHub Actions Front end only deploy). The production build already runsgenerate-sitemap.jsafter Vite; no Firebase config change is required because static files infrontend/distare served before the SPA rewrite.<!-- CURSOR_AGENT_PR_BODY_END -->
<div><a href="https://cursor.com/agents/bc-e38791ae-55a9-5c60-9dbe-6b3e2e5af317?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-e38791ae-55a9-5c60-9dbe-6b3e2e5af317&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div>