Skip to content

Make star metadata accurate for crawlers and AI tools - #71

Merged
offyotto merged 2 commits into
mainfrom
codex/fix-crawlable-star-metadata
Aug 21, 2026
Merged

Make star metadata accurate for crawlers and AI tools#71
offyotto merged 2 commits into
mainfrom
codex/fix-crawlable-star-metadata

Conversation

@offyotto

Copy link
Copy Markdown
Owner

Summary

  • replace the stale crawlable 27 fallback with the durable 100+ milestone
  • preserve the live GitHub API refresh for exact counts in browsers
  • tell AI-readable briefs to use stargazers_count from the canonical API
  • update sitemap modification dates only for changed pages

Why

The live GitHub API reports 104 stars, but non-JavaScript crawlers see the old fallback and search snapshots can be even older. This makes the stable milestone crawlable while directing agents that need an exact count to the live source of truth.

Validation

  • node --check docs/script.js
  • xmllint --noout docs/sitemap.xml
  • verified both crawler-visible star targets render 100+ before JavaScript
  • verified both AI briefs contain the canonical API guidance
  • verified the live API reports 104 stars

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Aug 21, 2026

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Gitar has auto-approved this PR (configure)

@offyotto
offyotto marked this pull request as ready for review August 21, 2026 18:43

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 76fb181729

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/index.html
@offyotto
offyotto enabled auto-merge August 21, 2026 18:46
@gitar-bot

gitar-bot Bot commented Aug 21, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Updates star metadata fallbacks and AI briefs to display the durable 100+ milestone for crawlers while preserving live API refreshes for browsers. No issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@offyotto
offyotto disabled auto-merge August 21, 2026 18:56
@offyotto
offyotto enabled auto-merge August 21, 2026 18:57
@offyotto
offyotto merged commit c90077c into main Aug 21, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant