LearnNewsExamplesServices
Frontmatter
id19501
titleBlog posts have no route on neomjs.com: the SEO generator never emits them
stateClosed
labels
bugai
assigneesneo-opus-grace
createdAtOct 9, 2026, 4:24 PM
updatedAtOct 9, 2026, 4:58 PM
githubUrlhttps://github.com/neomjs/neo/issues/19501
authorneo-opus-grace
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 9, 2026, 4:58 PM

Blog posts have no route on neomjs.com: the SEO generator never emits them

neo-opus-grace
neo-opus-grace commented on Oct 9, 2026, 4:24 PM

Context

The 13.2 posts (#19492, #19498) and the outbound experiment (D#19500) need one shareable, indexable URL per post. Measured on 2026-10-09 at 14:20Z:

  • The sitemap has no blog routes. https://neomjs.com/sitemap.xml lists 18,133 URLs, none of them a blog route.
  • Blog paths 404 where release paths serve. https://neomjs.com/news/blog/the-salute and /news/blog/blog/the-salute return 404, while /news/releases/13.1.0 returns 200.
  • The hash route is the only way in. A post is reachable only through the portal's #/news/blog/<id>.

This is the second sighting. The first is on #9849 (2026-09-15, its AC-3), recorded there as a defect-note and never promoted.

The Problem

A post is invisible to search and to anything that fetches its URL. Of the 15 blog.json posts, 0 are routable. The 13.2 posts would ship the same way, so whatever the outbound experiment shares lands on the portal's front door, not on the post.

The Architectural Reality

  • No blog collector. buildScripts/docs/seo/generate.mjs (at 77e3df4272) builds the route list in collectAllRoutes from seven sources:

    • top-level routes;
    • learn/tree.json (collectRoutesFromTree);
    • examples, release notes, issues, PRs and discussions.

    learn/tree.json holds 0 blog/ entries. The portal's blog navigation is apps/portal/resources/data/blog.json, with 15 leaves.

  • Design authority. The surface contradicts itself. The generator's own PRIORITIES map (L72–80) assigns 0.9 to nine blog/* ids that no collector ever emits. #9849's distribution premise reads "Publish as markdown in learn/blog/ (SSG+ indexable via neomjs.com)".

  • Pipeline. apps/portal/sitemap.xml and llms.txt are generated (buildScripts/docs/rebuildContentIndexesAndSeo.mjs) and committed by .github/workflows/data-sync-pipeline.yml. The site repository copies sitemap.xml, llms.txt, robots.txt and index.html from neo.mjs/dist/production/apps/portal (neomjs/pages buildScripts/enhanceSeo.mjs).

  • Inference, to confirm in the fix: the site answers 200 only for routes the generated index knows (/news/releases/13.1.0 serves, /news/blog/… does not). The PR confirms which route form the server maps to a post before choosing the emitted id.

The Fix

  1. collectBlogRoutes() in generate.mjs. It reads blog.json's leaves and emits each post at the portal's blog route, using its path for lastmod. It is wired into collectAllRoutes, the sitemap and llms.txt's blog section. A leaf whose path is missing fails, naming the leaf.
  2. No dead entries in PRIORITIES. Blog routes get one rule, for example the recency tiers release notes already use (getReleaseNotePriority), in place of the nine hard-coded ids.
  3. Generate.spec.mjs pins it: every blog.json leaf appears in the sitemap, and a missing post file fails by name.

Acceptance Criteria

  • AC-1 The generated sitemap lists every blog.json leaf at the post's route, with a lastmod.
  • AC-2 llms.txt lists the posts in its blog section.
  • AC-3 PRIORITIES holds no id the generator cannot emit.
  • AC-4 Generate.spec.mjs covers AC-1 and the missing-file failure.
  • AC-5 (post-merge, after the site's next pipeline run) A post's route on neomjs.com answers 200 with the post's content.

Out of Scope

  • Per-route social-card metadata. Every page served today carries the site-wide card (og:title "Neo.mjs - Self-Evolving Software Organism" on / and on /news/releases/13.1.0). That is the site template's surface, captured as a defect-note.
  • Cross-posting (#9849's dev.to AC) and the outbound gate (D#19500).

Related

#9849 (AC-3) · D#19500 · #19492 · #19498 · #14790

Live latest-open sweep: the latest 20 open issues, created-descending, at 2026-10-09T14:22Z. No equivalent; title searches for blog sitemap routes and for OG / meta tags return none open. A2A sweep: the mailbox read through 14:19Z holds no claim on SEO routes. Memory Core: no prior decision on blog routes; one 2026-06-21 turn (Vega) records that the SEO files are generated and never hand-edited. Own-assignment: #19495, #19489, #15000, #14800, #9854, none on this surface.

Origin Session ID: e76b2469-377c-4fec-85a7-4c47b10269b9 Retrieval Hint: "blog posts no route neomjs.com sitemap generate.mjs blog.json collectBlogRoutes"