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
git rm v8.1.0–v13.1.0 from .github/RELEASE_NOTES. The folder keeps only the pending v<next>.md.
- 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.
- 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.)
- Pages step 4.1 (a companion PR in
neomjs/pages) takes release-notes from the corpus pin plus the tag's own note.
- ADR 0004,
CodebaseOverview.md and the specs follow the new shape.
Acceptance Criteria
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"
Context
.github/RELEASE_NOTESholds 169 files: the archive v8.1.0–v13.1.0 plus the pendingv13.2.0.md.neomjs/github-content-syncpublishes the same 168 versions underneo/release-notes, chunked at 100 (chunk-1100,chunk-268,_index.json). Nothing keeps the two copies equal, and they have drifted: at corpus pin1152671f7e, 34 are byte-identical (v13.1.0.mdamong 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 deleteresources/content, executed by #19322 on 2026-09-29. Itgit 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.mjsreads 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
dev5698517f19:apps/portal/neo-config.json:7releaseNotesBasePathbuildScripts/docs/index/release.mjs, root frombuildScripts/util/contentRoot.mjs:50getEngineReleaseNotesRootreleases.jsonwith paths relative to the declared rootbuildScripts/docs/rebuildContentIndexesAndSeo.mjs:119--release-notes <path>buildScripts/webpack/webpack.server.config.mjs:135buildScripts/release/publish.mjs:18-19, 93PublishReleaseNoteOrphan.spec.mjs:39,ReleaseNoteFrontmatter.spec.mjs:34(readsv13.1.0.md),seo/Generate.spec.mjs:45,RebuildContentIndexesAndSeo.spec.mjs:179neomjs/pagesbuildScripts/updateNeoVersion.mjs:130-183(step 4.1)release-notesfrom the engine tag and every other family from the corpus pinReleaseNotesCorpusSourcereads the corpus;ai/services/knowledge-base/helpers/coreCorpusProfilePlan.mjs:35omits the engine-pathReleaseNotesSourceThe Fix
git rmv8.1.0–v13.1.0 from.github/RELEASE_NOTES. The folder keeps only the pendingv<next>.md.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.publish.mjsthe 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.mjsnever 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.)neomjs/pages) takesrelease-notesfrom the corpus pin plus the tag's own note.CodebaseOverview.mdand the specs follow the new shape.Acceptance Criteria
.github/RELEASE_NOTESholds only the pending note.releases.jsonlists the pending note only; the merged list is Pages step 4.1's, AC-4.) Evidence: the merged note count and the rendered note.publish.mjspass for 13.2.0. Their specs move red→green with the new shape.git grep RELEASE_NOTESis 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"