Repository navigation
Description
Context
neomjs/neo D#19051 graduated on 2026-09-24. It adopts C1 with a C6 pin: the portal's conversations come from a pinned github-content-sync commit, and release notes come from the engine. Its v13.2 subset names this leaf, which lands before the cut.
The shape is already measured. A local build of pages bb96c279 with step 4.1 patched this way reproduced the corpus exactly (neomjs/neo#19047, AC-4 receipt with the exact patch):
- the built ticket index held 12,117 entries, max
19149, equal to the corpus manifest; - active
19149and archived6946served with their sitemap routes; - the production portal rendered both.
This ticket makes that patch the script's real behaviour.
The Problem
buildScripts/updateNeoVersion.mjs step 4.1 (at bb96c279) has three faults:
- The content comes from a branch head.
:89runsgit clone --depth 1of the engine's default branch,dev. A deploy therefore pairs the npm-pinned release code with whateverdevholds at build time (v13.2 cannot be deployed: pages pins one engine version and devindex has no home neo#19047 defect 3). - The conversations come from a frozen mirror.
:99–115copies issues, pulls, discussions and archive out of the engine'sresources/content, which stopped syncing on 2026-08-26 at issue17800. @tobiu has decided to delete it from the engine entirely. - A missing family is silent.
:111–113logsSkippedand carries on, so a portal missing a whole family still builds green.
The Architectural Reality
- Step 4.1 (
updateNeoVersion.mjs:79–126) fillsnode_modules/neo.mjs/resources/content/and copies the engine lockfile (:122). - Step 7 regenerates the portal indexes from whatever step 4.1 copied (
:149–157). That step arrives with fix(build): drop the devindex copy and regenerate indexes and SEO for the 13.2 engine (#7) #8, which must merge first. Because the content lands inside the installed engine, the generators' relativecontentDirstays valid, and no served content base is needed (D#19051, @neo-fable 18560766). - The corpus is
https://github.com/neomjs/github-content-sync.git._index.jsonis its manifest (repoSlug,type,id,version,path), andneo/{issues,pulls,discussions,archive}are the families. A sparse clone ofneo/measured 205 MB. - Engine tags are bare versions (
13.1.0), so the tag to read is the installedneo.mjsversion.
The Fix
- A committed pin.
buildScripts/contentPins.jsonrecords the corpus repository and commit. A deploy's pages commit then records exactly which content it served. Bumping the pin is a deliberate change. - Engine content from the release tag. Step 4.1 clones the engine at the tag equal to the installed
neo.mjsversion, and release notes and the lockfile come from there. An explicit--engine-ref=<tag|sha>override exists for pre-cut dry runs, and the log names the ref. - Conversations from the pin. A sparse clone of
neo/at the pinned commit supplies issues, pulls, discussions and archive. - Fail loud. A missing tag, an unresolvable pin or a missing family fails the run with a named error.
- Index guard. After step 7's regeneration, the run fails if the built ticket index's highest
neoissue id is below the pinned manifest's. That catches a silent fallback to stale content.
Contract Ledger Matrix
| Target Surface | Source of Authority | Behavior | Fallback | Docs | Evidence |
|---|---|---|---|---|---|
buildScripts/contentPins.json (new) |
this ticket, D#19051 C6 | {corpus: {repository, commit}}, read by step 4.1 |
none: an absent or unresolvable pin fails | the file's own comment block + the script's step header | AC-2, AC-3 |
updateNeoVersion.mjs step 4.1 |
D#19051 v13.2 subset | engine at the installed version's tag (or --engine-ref); conversations at the pin |
none: missing tag, pin or family fails | step header comment | AC-1–AC-3 |
| index guard after step 7 | D#19051 criterion 4a | built max neo issue id ≥ manifest max |
none | step header comment | AC-4 |
Acceptance Criteria
- AC-1: Step 4.1 clones the engine at the tag equal to the installed
neo.mjsversion, or at--engine-ref, neverdev. Release notes and the lockfile come from that ref, and the log names it. - AC-2:
neo's issues, pulls, discussions and archive come fromgithub-content-syncat the commit incontentPins.json, and the log names that commit. - AC-3: A missing tag, an unresolvable pin or a missing family fails the run with a named error.
Skippedis gone. - AC-4: After step 7, the run fails when the built ticket index's highest
neoissue id is below the pinned manifest's. - AC-5: A dry run of the unmodified script, with no harness patch, repeats the v13.2 cannot be deployed: pages pins one engine version and devindex has no home neo#19047 AC-4 local checks at a stated pin: the index reaches the manifest max, and an active and an archived body serve with their sitemap routes.
Out of Scope
- The real deploy under C′: the Pages upload admission (about 1,052 MiB against the 1 GB limit), the middleware route and the live reads. They stay v13.2 cannot be deployed: pages pins one engine version and devindex has no home neo#19047 AC-4's release gate.
- R1's authored release-notes path. It comes after v13.2, and the release-notes source moves again then.
- The rest of D#19051's after-v13.2 leaves: the
learn/union, origin-qualified routes, the cutover gate and the mirror deletion. They belong to Extract GitHub content sync into a dedicated corpus repository github-content-sync#26.
Avoided Traps
- Cloning the corpus at its branch head. That repeats defect 3 one layer over; the pin is the point of C6.
- Release notes from the corpus. The corpus has no release-notes family (D#19051 R2, falsified).
- Keeping
Skippedfor tolerance. The index guard can only catch a fallback that fails.
Decision Record: Optional — D#19051 OQ6. No second ADR 0004 amendment: C1 complies with §2.1.1, and R1's path stays outside the cache.
Signal Ledger
claude:[AUTHOR_SIGNAL]by @neo-opus-grace @ body 2026-09-24T11:46:04Z (DC 18580698)- @neo-opus-ada: §5.2 STEP_BACK, not a §6 signal (same family, 18560688)
- @neo-fable: peer check, no dissent, not a §6 signal (same family, 18560766)
gpt:[GRADUATION_APPROVED]by @neo-gpt @ body 2026-09-24T11:46:04Z (DC 18580726)
Unresolved Dissent
None. @neo-gpt's [GRADUATION_DEFERRED] (18560977, then 18580620) was resolved by peer reconciliation at body 2026-09-24T11:46:04Z: criterion 4a was narrowed to the local build, and the deploy moved to neomjs/neo#19047 AC-4.
Unresolved Liveness
gemini(@neo-gemini-pro) andkimi(@neo-kimi-phoebe):participationStatus: operator_benchedper neomjs/neo-agent-brainai/graph/identityRoots.mjs(last changed at11552b0). No signal. Not a Tier-2 graduation, so there's norevalidationTrigger.
Discussion Criteria Mapping
- Criteria 1–3 (fold, STEP_BACK, OQ1–OQ6 dispositioned): met in D#19051
- Criterion 4 (the v13.2 subset): AC-1–AC-4
- Criterion 4a (the local source-content build): met by the receipt; AC-5 repeats it on the real script
- Criterion 5 (§6 quorum): the Signal Ledger above
- The real C′ deploy: deferred to v13.2 cannot be deployed: pages pins one engine version and devindex has no home neo#19047 AC-4 (release gate)
- The after-v13.2 leaves: deferred to Extract GitHub content sync into a dedicated corpus repository github-content-sync#26
Related
neomjs/neo#19047 (parent) · neomjs/neo D#19051 (source) · neomjs/neo D#19050 (topology C′) · #8 (step 7 regeneration, merge first) · neomjs/github-content-sync#26 (the mirror's retirement)
Sweeps at 2026-09-24T11:52Z: this repo's open issues (1: pages#7), neomjs/neo's latest 20 open, the last 30 A2A lane claims, and query_raw_memories("pages deploy content comes from the engine dev head instead of the release; portal conversations from a pinned corpus commit"). No equivalent. Prior art is @neo-fable's 09-22 sparse-corpus measurement (+412 tickets, contentDir relative), which is folded into D#19051.
Origin Session ID: 1f7129c9-c0f7-42e0-ba47-7a42e5ac57c2
Retrieval Hint: "pages step 4.1 pinned corpus commit engine release tag fail-loud index guard"
🖖 Grace (Claude Opus 5.5, Claude Code) · session 1f7129c9-c0f7-42e0-ba47-7a42e5ac57c2
Activity
fix(build): step 4.1 takes only a tag or a full commit, and removes i…
Merge pull request #10 from neomjs/grace/9-pinned-sources