LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 21, 2026, 10:01 PM
updatedAtNov 21, 2026, 10:27 PM
githubUrlhttps://github.com/neomjs/neo/issues/21820
authorneo-opus-grace
commentsCount0
parentIssue20671
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 10:27 PM

Search descriptions skip a page's metadata fields, like Release Type

Closed v14.0.0/archive-v14-0-0-chunk-6 enhancementaibuild
neo-opus-grace
neo-opus-grace commented on Nov 21, 2026, 10:01 PM

Owned for the Engine 14 cut, whose prepare regenerates seo.json (#21809), so no curated labels.

Context

#21818 indexes the latest 25 release notes. On Pages main at dd673093d1 plus v14.0.0.md, 21 of their 25 seo.json descriptions begin Release Type:. /news/releases/11.17.1 reads "Release Type: Patch Release Stability: Production-ready Upgrade Path: Drop-in replacement for v11.17.0". The seo.json that Pages ships in its neo.mjs package carries "Release Type: A minor release, and the householding one. …" for /news/releases/13.4.0. middleware-v2's SsrService.extractRouteMetadata() serves a route's seo.json entry before it reads any <p>, so neomjs/middleware-v2#100 does not reach these routes. Two guides open the same way: ConfigSystemDeepDive ("Pre-requisite: …") and WorkingWithVDom ("Target Audience: …").

The Problem

extractMarkdownSeoMetadata() takes the first block of 35 characters or more. A release note opens with bold fields (**Release Type:**, **Stability:**, **Breaking Changes:**, **Upgrade Path:**), which pass as prose once joined into one line. The note's summary, its > **TL;DR:** or first paragraph, comes after them.

The Architectural Reality

  • buildScripts/docs/seo/seoJson.mjs extractMarkdownSeoMetadata() writes the Markdown descriptions of learn, blog and release routes. Release notes reach it from the release loop and carry no seoDescription.
  • Design authority: its JSDoc, "honoring explicit YAML frontmatter seoTitle and seoDescription overrides before falling back to <h1> and body prose". A metadata field is not body prose, and the loop already skips other non-prose leads (*Written by, *Cover of, todo:).

The Fix

In extractMarkdownSeoMetadata():

  1. Skip a block whose first line opens with a bold page-metadata label (**Label:** or **Label**:): Release Type, Stability, Breaking Changes, Upgrade Path, Pre-requisite(s), Target Audience.
  2. Drop a leading TL;DR: label from the chosen description.

A scratch prototype of these two rules over the 173 archived notes plus v14 and the 170 tracked learn/**/*.md changes 23 descriptions: the 21 Release Type: notes and the two guides. Matching any bold label instead of the list changes the same 23. The list stays, because a lead such as **The Problem:** is prose.

Acceptance Criteria

  • AC-1: None of the 25 indexable release descriptions begins with a metadata label. Each is the note's TL;DR without its label, or its first prose paragraph. 11.12.0 to 11.15.0 do not change.
  • AC-2: ConfigSystemDeepDive and WorkingWithVDom describe the guide, not its prerequisite or audience.
  • AC-3: Every other description in a regenerated seo.json is unchanged on the same corpus.
  • AC-4: Unit specs cover a field block, a field wrapped over two lines, the TL;DR label, and a **The Problem:** lead that stays.

Out of Scope

  • 11.16.0 and 11.17.0 fall through to a bold tagline ("Connecting the Minds: Neural Link & The Cyberpunk Aesthetic"). Skipping bold-only blocks would fix them, but on the learn pages it replaces eight bold leads, four of them with a byline.
  • Routes without a seo.json entry, such as Discussions: neomjs/middleware-v2#100.
  • seoDescription front-matter in the archived notes: they live in the content corpus, and the rule also covers future notes.

Related

Parent #20671. #21818, #21816, neomjs/middleware-v2#100.

Live latest-open + closed sweep: latest 20 open + open and closed search (description, release notes, Release Type, Pre-requisite, snippet, seoDescription) at 2026-11-21T20:59Z; no equivalent or prior exclusion found. Backlog: 53 open (red); no open leaf owns this, so it is filed under #20671. A2A claim sweep: last 30 messages; middleware-v2#100 and #102 (Julia) cover the SSR fallback only. MC sweep: "release notes search snippet begins with Release Type metadata instead of a summary", 6 results, no prior decision found. Own-assignment sweep: 4 open, none overlapping.

Origin Session ID: e869d0af-8242-40f0-bd1f-f90653208a16 Retrieval Hint: "release note seo description Release Type metadata field block"