Repository navigation
fix(ci): run npm ci before verification gates so omp-extension smoke resolves typebox - #120
Merged
Merged
Conversation
…resolves typebox Golden Anti-Vacuity Suite run 33981866073 failed verification-gates on main (39/40): the omp-extension gate executes scripts/omp-smoke.ts, which imports extensions/omp-hooks.ts -> typebox. Plain-node ESM resolution needs node_modules, but golden-suite.yml never installed node deps (every other gate is bash/python). Full npm ci added (typebox is a devDependency, so --omit=dev would not work). Local preflight after the change: compliance, 40/40 golden gates incl. omp-extension, sync-skills, trace --strict. Follow-up to the #119 fix (a487565), which introduced the runtime smoke gate but only verified it in environments that already had TypeBox (local node_modules; pi's bundled copy). Bug file: specs/bugs/BUG-2026-09-05-golden-gate-missing-node-deps.md
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 6, 2026
## [2.88.2](v2.88.1...v2.88.2) (2026-09-06) ### Bug Fixes * **ci:** run npm ci before verification gates so omp-extension smoke resolves typebox ([#120](#120)) ([9a457e6](9a457e6))
|
🎉 This PR is included in version 2.88.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
CI run 33981866073 failed
verification-gatesonmain(39/40):[omp-extension] FAIL (.26s, exit 1).Follow-up to the #119 fix (a487565 / v2.88.1): that PR hardened
scripts/validate-omp-extension.shto executenode scripts/omp-smoke.tsas a runtime regression gate. The smoke importsextensions/omp-hooks.ts, which doesimport { Type } from "typebox". Under plain Node ESM (not pi's aliased loader) that import must resolve fromnode_modules— which does not exist on the CI runner, becausegolden-suite.ymlnever installed node deps (every other gate is bash/python only).Fix
Add one step to the
verification-gatesjob:Full
npm ci(no--omit=dev) —typeboxis a devDependency. Precedent:docs-site.ymlandpublish.ymlalready runnpm ci.Rejected: skipping the smoke when deps are absent (vacuous gate — violates the anti-vacuity doctrine this suite enforces); importing via pi's loader (same install requirement, no gain).
Verification
ERR_MODULE_NOT_FOUND: Cannot find package 'typebox'); reproduced locally pre-npm ci.npm ci,bash scripts/run-verification-gates.sh→ 40/40 PASS incl.omp-extension(81 commands +bigpowers_skilltool + 2 handlers, 0 load errors).npm run compliance✓, gates ✓,sync-skills.sh✓,trace-stories.sh --strict✓.gh pr checksgreen on this PR (and the next push-triggered golden suite on main) is the true validation.RCA + rejected alternatives + lesson:
specs/bugs/BUG-2026-09-05-golden-gate-missing-node-deps.md