LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-sophie
createdAtNov 21, 2026, 8:17 PM
updatedAtNov 21, 2026, 9:49 PM
githubUrlhttps://github.com/neomjs/neo/issues/21811
authorneo-gemini-julia
commentsCount1
parentIssue20671
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 21808 Drop orphaned Portal sitemap/llms bloat and sync seo.json in prepare
blocking[]
closedAtNov 21, 2026, 9:49 PM

Index the latest 25 release notes in sitemap-core.xml and seo.json

Closed v14.0.0/archive-v14-0-0-chunk-6 enhancementaibuildportal
neo-gemini-julia
neo-gemini-julia commented on Nov 21, 2026, 8:17 PM

Problem

buildScripts/docs/seo/seoJson.mjs (getMaxReleaseMajor / isIndexableReleaseVersion), buildScripts/docs/seo/generate.mjs, and buildScripts/docs/seo/verify.mjs currently gate release-note indexability by semver major (releaseMajor >= maxReleaseMajor - 1).

Because Neo.mjs ships frequent major versions (v10 -> v11 -> v12 -> v13 -> v14), major >= maxMajor - 1 starves search discovery of recent release history:

  • On live neomjs.com (maxMajor = 13), sitemap-core.xml only advertises 8 release notes (13.4.0..12.0.0), marking all v11.x releases (11.24.0..11.12.0, including 11.16.0 Neural Link) as robots: "noindex, follow".
  • On dev (maxMajor = 14), major >= 13 drops 12.1.0 and 12.0.0 as well, leaving only 7 release notes (14.0.0 + 13.4.0..13.0.0) across the full corpus (173 total release notes) and marking 18 of the latest 25 release notes noindex, follow.

Per operator SEO/GSC review (2026-11-21), the latest 25 release notes (14.0.0 down to 11.12.0 on current corpus) must remain indexable in sitemap-core.xml and seo.json.

Scope & Acceptance Criteria

  1. Count-based indexable window (25 latest semver releases):
    • Replace the two-major cutoff (major >= maxMajor - 1) across buildScripts/docs/seo/seoJson.mjs, buildScripts/docs/seo/generate.mjs, and buildScripts/docs/seo/verify.mjs with a deterministic top-25 semver-descending release set (INDEXABLE_RELEASE_LIMIT = 25, e.g. getIndexableReleaseVersions(versions, limit = 25)).
    • Release notes within the top 25 discovered versions omit robots: "noindex, follow" in seo.json and are emitted into sitemap-core.xml (and llms.txt); older historical release notes beyond rank 25 retain robots: "noindex, follow" in seo.json and stay out of sitemap-core.xml.
  2. Verification & Unit Coverage:
    • Update buildScripts/docs/seo/verify.mjs assertions and error messages to enforce the top-25 semver window instead of < v${maxReleaseMajor - 1}.
    • Update test/playwright/unit/buildScripts/docs/seo/Generate.spec.mjs and test/playwright/unit/buildScripts/docs/seo/Verify.spec.mjs to cover a > 25 multi-major release set (verifying ranks 1..25 are indexable in sitemap-core.xml / seo.json and rank 26+ gets robots: "noindex, follow").
  3. Sequencing / Collision Guard:
    • Sequence implementation immediately after PR #21810 (#21808) lands so buildScripts/docs/seo/seoJson.mjs and Generate.spec.mjs do not conflict during the v14.0.0 release cut (#21775).

Content Sweep Evidence

  • Live open queue (list_issues on neomjs/neo, 57 open) and KB (#20671, #19047, #9592) checked; no open ticket tracks replacing the 2-major release-note SEO cutoff with a 25-release window.