Skip to content

Make repo pages distinct and sitemap dates honest; plain-language copy - #15

Merged
hsnice16 merged 1 commit into
mainfrom
seo/sitemap-lastmod
Oct 4, 2026
Merged

hsnice16 merged 1 commit into
mainfrom
seo/sitemap-lastmod

Conversation

@hsnice16

@hsnice16 hsnice16 commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Repo pages lead with an "At a glance" summary (rank, best and weakest agent, biggest fix) and show the three checks each agent weighs most, with this repo's result. Each page gets a repo-specific meta description.
  • Sitemap lastmod and JSON-LD dateModified now move only when a repo's score or badge changes.
  • Visible copy across the site is rewritten in plain words.

Motivation

Search Console (2026-09-24): 92 repo pages "crawled, not indexed", 364 "discovered, not indexed".

  • Repo pages shared ~70% of their text, mostly the nine per-agent rationale paragraphs, which read as templated duplicates. Now ~58%. The rationales stay on /methodology#model-<id>, linked from every agent row.
  • lastmod changed on every request (static pages) or every rescore (repos), so it carried no signal.

Changes

  • repo.content_changed_at: set by the upsert only when overall_score or badge_embedded changes. Added by an immediate-transaction migration. data/rank.db is migrated and backfilled from git history, where a rescore commit only lands when a score changes.
  • Package sitemap URLs use their repo's content_changed_at. Static pages with no data dependency drop lastmod.
  • lib/utils/repo-summary.ts: rank by leaderboard position (ties match the table); "Top N%" only for the top half; best-agent ties say "+ N more".
  • PerModelScores: score bar plus key-check chips, replacing the shared paragraphs. Also used by live-score pages.
  • Copy pass: home, methodology, about, live score, packages, action, skill, roadmap, 404, share images, APP_DESCRIPTION. Facts and caveats unchanged. Privacy, terms and changelog untouched.

Testing

  • bun x tsc --noEmit, bun run test (208 pass), bun x biome check . (3 existing warnings only), bun run build.
  • next start: 24 routes return expected statuses. Repo-page rank matches the leaderboard on tied scores. The lowest-ranked repo shows no "Top %".
  • Migration run against main's DB and against the migrated DB (no-op).
  • Visual pass in light and dark on the repo page and homepage.

Docs + roadmap sync

N/A for changelog: SEO and polish, no roadmap item. AGENTS.md (layout, "Adding a model" checklist) and README updated.

🤖 Generated with Claude Code

Search Console showed 92 repo pages "crawled, not indexed" and 364
"discovered, not indexed". Two causes addressed here:

- lastmod moved on every request (static pages) or every rescore (repos),
  so Google had no reason to trust it. A new repo.content_changed_at only
  moves when the score or badge changes; sitemap, package URLs and
  JSON-LD dateModified use it. The bundled DB is migrated and backfilled
  from git history (the rescore job only commits when a score changes).
- Repo pages were ~70% identical text, mostly the nine per-agent
  rationale paragraphs. Each page now has an "At a glance" summary
  (rank matching the leaderboard, best/weakest agent, biggest fix), the
  three checks each agent weighs most with this repo's result, and a
  repo-specific meta description. The rationales stay on /methodology,
  linked from every agent row. Shared text is now ~58%.

Visible copy across the site is rewritten in plain words; facts and
caveats are unchanged. Privacy, terms and the changelog are untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
agent-friendly-code Ready Ready Preview Oct 4, 2026 3:48am UTC

@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Agent Friendly Code — score diff

Overall: 91.0 → 91.0 (±0.0)

Per model

Model Base Head Δ
Claude Code 95.3 95.3 ±0.0
Cursor 85.5 85.5 ±0.0
Devin 94.8 94.8 ±0.0
GPT-5 Codex 96.3 96.3 ±0.0
Kimi CLI 96.1 96.1 ±0.0
Gemini CLI 85.5 85.5 ±0.0
Aider 83.1 83.1 ±0.0
OpenHands 85.4 85.4 ±0.0
Pi 96.6 96.6 ±0.0

No signals changed between base and head.


Posted by agent-friendly-action.

@hsnice16
hsnice16 merged commit a58e7d8 into main Oct 4, 2026
4 checks passed
@hsnice16
hsnice16 deleted the seo/sitemap-lastmod branch October 4, 2026 03:49

This branch was successfully deployed

1 active deployment
Preview — 66787765 Deployed Oct 4, 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.

1 participant