Skip to content

fix(ci): kill the vault-core registry shadow permanently — bump core past the frozen registry#378

Merged
velvetmonkey merged 4 commits into
mainfrom
fix/ci-vault-core-shadow
Jun 7, 2026
Merged

fix(ci): kill the vault-core registry shadow permanently — bump core past the frozen registry#378
velvetmonkey merged 4 commits into
mainfrom
fix/ci-vault-core-shadow

Conversation

@velvetmonkey

Copy link
Copy Markdown
Owner

CI failed 44 tests on main ('no such table: wikilink_suppression_overrides'):
PR #377 added the v43 schema to the WORKSPACE core, but npm ci resolved
@velvetmonkey/vault-core@^2.12.12 to the REGISTRY 2.12.13 (frozen — npm
publish retired 2026-06-06) and nested it under packages/mcp-server/
node_modules, shadowing the workspace copy. New code queried a table its
shadowed runtime didn't have. deploy-local.sh purges the shadow, CI didn't.

Durable fix: core 2.12.12 → 2.12.16, mcp-server dep ^2.12.16. The registry
can never satisfy >2.12.13 again, so npm MUST link the workspace — lockfile
now resolves vault-core to packages/core (link:true) and the nested copy is
gone. This kills the shadow class everywhere, not just where we purge.

mutations + suppression-override suites (the 44): 84/84 locally.

…past the frozen registry

CI failed 44 tests on main ('no such table: wikilink_suppression_overrides'):
PR #377 added the v43 schema to the WORKSPACE core, but npm ci resolved
@velvetmonkey/vault-core@^2.12.12 to the REGISTRY 2.12.13 (frozen — npm
publish retired 2026-06-06) and nested it under packages/mcp-server/
node_modules, shadowing the workspace copy. New code queried a table its
shadowed runtime didn't have. deploy-local.sh purges the shadow, CI didn't.

Durable fix: core 2.12.12 → 2.12.16, mcp-server dep ^2.12.16. The registry
can never satisfy >2.12.13 again, so npm MUST link the workspace — lockfile
now resolves vault-core to packages/core (link:true) and the nested copy is
gone. This kills the shadow class everywhere, not just where we purge.

mutations + suppression-override suites (the 44): 84/84 locally.
…pm paths

npm publish is retired (registry frozen at 2.12.13) and the skill
installer pointed at it. README install section now: clone, npm ci,
build, point MCP config at dist/index.js (mirrors docs/local-deploy.md).
SETUP/CONFIGURATION client blocks (Claude Code / Codex / Claude Desktop /
HTTP) all moved off npx to node+dist; npm badge dropped; Windows notes
updated (full path to node instead of cmd /c npx).
…rtup smoke, benchmark path + ceilings, local-deploy TOC

Main CI has been red since 2026-05-29 with stacked causes. With the
vault-core shadow killed (previous commit), the remainder:

- backup.test: #377 added wikilink_suppression_overrides to
  SALVAGE_TABLES without a fixture row — every-table assertion saw
  undefined. Fixture added.
- package-startup: packed only the mcp-server tarball; npm then tried
  the registry for vault-core@^2.12.16 which can never exist (publish
  retired). Now packs the WORKSPACE core too and installs both tarballs
  — the honest smoke for the git-clone distribution model.
- graph.benchmark: relative path was one ../ short, pointing at
  packages/demos/ (a junk dir of stale state DBs that masked the bug
  locally; CI got ENOENT). Fixed to the real demos/artemis-rocket (66
  notes) — which exposed that its token ceilings had been calibrated
  against an EMPTY vault; recalibrated against real data with headroom
  (500→2000, 1000→3000) so they're tripwires, not pins.
- local-deploy.md: curated TOC added (toc-completeness gate).

All four suites green locally.
chmod(0o000) is a no-op under Windows ACLs — the locked file stays
readable, the abort-on-empty guard correctly doesn't trip, and the
rejects assertion fails. The guard itself is platform-independent; only
the unreadability simulation is POSIX-bound.
@velvetmonkey velvetmonkey merged commit 9671bac into main Jun 7, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant