LearnNewsExamplesServices
Frontmatter
id19547
titleThe release-note archive leaves the engine for the content corpus
stateClosed
labels
enhancementaibuildtech-debtportal
assigneesneo-opus-grace
createdAtOct 10, 2026, 3:33 PM
updatedAtOct 10, 2026, 5:46 PM
githubUrlhttps://github.com/neomjs/neo/issues/19547
authorneo-opus-grace
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 10, 2026, 5:46 PM
milestonev13.2

The release-note archive leaves the engine for the content corpus

Closed v13.2.0/archive-v13-2-0-chunk-24 enhancementaibuildtech-debtportal
neo-opus-grace
neo-opus-grace commented on Oct 10, 2026, 3:33 PM

Context

.github/RELEASE_NOTES holds 169 files: the archive v8.1.0–v13.1.0 plus the pending v13.2.0.md. neomjs/github-content-sync publishes the same 168 versions under neo/release-notes, chunked at 100 (chunk-1 100, chunk-2 68, _index.json). Nothing keeps the two copies equal, and they have drifted: at corpus pin 1152671f7e, 34 are byte-identical (v13.1.0.md among them), 120 differ only in line endings and 14 in content, such as guide links the engine pinned to commits. The flat folder grows by one per release toward GitHub's 1,000-entry directory listing cap. Neo has 1,196 releases, so a backfill would cross that cap at once.

How the copy got here: #19157 chose .github/RELEASE_NOTES/ as the authored path. #19159 is the operator's call to delete resources/content, executed by #19322 on 2026-09-29. It git mv'd the chunked archive there flat and made the authored file the archive, while the corpus kept publishing the same notes.

The Problem

There are two archives and one of them is unguarded. A correction to an old note lands in one copy only. The engine also carries content that the 13.2 split moved out of it.

The Architectural Reality

Design authority: the operator, 2026-10-10: "gut feeling: except for the pending v13.2 release notes, we should remove items from the neo repo", followed by the request for this ticket. This supersedes #19159's "The authored file is the archive; publish.mjs reads it there and no longer deletes it after the release." The authored path stays (#19157). This is aligned with ADR 0004's single corpus with ordinal-100 chunking (learn/agentos/decisions/0004-github-content-architecture.md).

The readers of the flat archive at dev 5698517f19:

Reader Where Today
Portal apps/portal/neo-config.json:7 releaseNotesBasePath fetches the notes at runtime
Release index buildScripts/docs/index/release.mjs, root from buildScripts/util/contentRoot.mjs:50 getEngineReleaseNotesRoot writes releases.json with paths relative to the declared root
Index + SEO rebuild buildScripts/docs/rebuildContentIndexesAndSeo.mjs:119 --release-notes <path> already takes a declared root
Dev server buildScripts/webpack/webpack.server.config.mjs:135 serves the dot-directory
Release buildScripts/release/publish.mjs:18-19, 93 authors the note and keeps it as the archive
Specs PublishReleaseNoteOrphan.spec.mjs:39, ReleaseNoteFrontmatter.spec.mjs:34 (reads v13.1.0.md), seo/Generate.spec.mjs:45, RebuildContentIndexesAndSeo.spec.mjs:179 assert the flat archive
Pages neomjs/pages buildScripts/updateNeoVersion.mjs:130-183 (step 4.1) copies release-notes from the engine tag and every other family from the corpus pin
Brain KB neomjs/neo-agent-brain: ReleaseNotesCorpusSource reads the corpus; ai/services/knowledge-base/helpers/coreCorpusProfilePlan.mjs:35 omits the engine-path ReleaseNotesSource expected unchanged; verify

The Fix

  1. git rm v8.1.0–v13.1.0 from .github/RELEASE_NOTES. The folder keeps only the pending v<next>.md.
  2. The archive readers take the corpus root (neo/release-notes, chunked, _index.json). The pending note still comes from the engine wherever a build needs it before the corpus has it, because the corpus gains a release's note only after the post-release sync.
  3. In publish.mjs the note stays authored at .github/RELEASE_NOTES/v<version>.md, and "stays there as the archive" leaves the JSDoc. The previous note leaves the engine in the next release's commit, by version comparison alone: publish.mjs never reads the corpus, so the Engine-only boundary holds. Its corpus copy is two separate steps, the content sync archiving its GitHub Release and Pages moving its corpus pin past it (pages README, step 1). (Restated after review: 5479579324.)
  4. Pages step 4.1 (a companion PR in neomjs/pages) takes release-notes from the corpus pin plus the tag's own note.
  5. ADR 0004, CodebaseOverview.md and the specs follow the new shape.

Acceptance Criteria

  • AC-1 .github/RELEASE_NOTES holds only the pending note.
  • AC-2 The Pages build lists v8.1.0–v13.1.0 plus the pending note, and the Portal renders one archived note. (Restated at intake: a local engine build has no corpus, so its committed releases.json lists the pending note only; the merged list is Pages step 4.1's, AC-4.) Evidence: the merged note count and the rendered note.
  • AC-3 The release-note steps of publish.mjs pass for 13.2.0. Their specs move red→green with the new shape.
  • AC-4 Pages step 4.1 builds from the corpus archive plus the tag's note. The companion PR merges before or with this one.
  • AC-5 git grep RELEASE_NOTES is audited, and every remaining hit reads only the pending note.

Out of Scope

Backfilling the notes before v8.1.0, changing the corpus layout, and the Knowledge Base ingestion path.

Release relation

The operator would like this before the 13.2 publish. It rides the cut only if AC-1–AC-4 are green before the notes re-review (step 5 of #14800's cut order, 6097885253). Otherwise it lands after the publish. It never gates the release.

Related

#19157, #19159, #19322, #14800, neomjs/pages#11.

handoff: open to any seat. Vega authored #19322 and Ada the 13.2 notes. If it is still unclaimed when Grace's rail-ring PR opens, Grace takes it.

Sweeps: live latest-open sweep checked the latest 20 open issues at 13:33Z, no equivalent · A2A in-flight sweep: 30 messages, no overlapping claim · MC sweep: "release notes twice, flat folder, 1,000-file limit" (5 results; ADR 0004's Discussion #11180 already treated the 1,000-entry cap as a design driver for chunking; no decision to keep a second archive) · Own-assignment sweep: 2 open (#14800, #15000), none overlapping.

Origin Session ID: dbd862d7-9868-430b-8150-7a1fe23827c0 Retrieval Hint: "release notes archive flat .github/RELEASE_NOTES corpus neo/release-notes chunked"

tobiu referenced in commit c09b6c7 - "feat(release): the release-note archive leaves the engine for the corpus (#19547) (#19555) on Oct 10, 2026, 5:46 PM
tobiu closed this issue on Oct 10, 2026, 5:46 PM