Skip to content

release: @ruvector/core 0.1.38 + platforms 0.1.35 in one attested protected release (#1299, #1384, #1443) - #1448

Merged
ruvnet merged 1 commit into
mainfrom
release/r4-core-0138
Nov 9, 2026
Merged

ruvnet merged 1 commit into
mainfrom
release/r4-core-0138

Conversation

@ruvnet

@ruvnet ruvnet commented Nov 9, 2026

Copy link
Copy Markdown
Owner

This PR sets up one attested protected-release.yml dispatch that publishes core platforms 0.1.35 and @ruvector/core 0.1.38 together.

What ships

The committed core binaries on main come from bot commit debd3ca and are built from b59a81a. They include:

Gate, checked before this PR

check result
every platform binary built from a commit at or after b59a81a 5/5
linux-x64-gnu / linux-arm64-gnu max GLIBC 2.34 / 2.34 (unchanged)
linux-arm64-gnu LDAPR 0 (0.1.34: 2,524)
test.js + test-retrieval.js, x64 pass
test.js + test-retrieval.js, arm64 under qemu-aarch64 -cpu cortex-a72 pass (0.1.34 arm64: SIGILL, exit 132)

Why the guard changes

@ruvector/core 0.1.37 on npm no longer matches main byte for byte, since #1443 changed its test script. So protected-release can't publish the platforms on their own while skipping core. Hand-publishing them is what caused #1250 (no provenance). Platforms and core therefore ship in a single sealed, --provenance release, platforms first.

optional-deps-resolvable-on-npm would reject core pinning 0.1.35 before that release exists. It now notes a core pin that equals the exact in-tree npm/core/platforms/* version as co-released. Every other unpublished pin still fails: I checked locally with a 0.1.99 pin, and the guard exited 1.

protected-release's runtime grader now also runs test-retrieval.js against the sealed install.

After merge: dispatch protected-release.yml with platform_version=0.1.35 and core_version=0.1.38 at the then-current main SHA. Then check npm view @ruvector/core@0.1.38 dist.attestations for #1250.

🤖 Generated with claude-flow

…ected release)

- @ruvector/core 0.1.38 pins ruvector-core-* 0.1.35. The committed core
  binaries (bot commit debd3ca) are built from b59a81a: #1299 (HNSW
  small graphs), #1384 (baseline aarch64) and #1443 (upsert without ghosts,
  NaN/Inf rejection). Gate: every binary built from >= b59a81a; linux
  x64/arm64 GLIBC_2.34; arm64 LDAPR 0 (0.1.34: 2,524); test.js and
  test-retrieval.js pass on x64 and on arm64 under qemu -cpu cortex-a72
  (0.1.34 arm64 dies with SIGILL there).
- regression-guard optional-deps-resolvable-on-npm: a core pin that equals
  the exact version in npm/core/platforms/* is co-released by
  protected-release.yml (platforms first) and cannot be on npm before the
  merge it is cut from; it is noted instead of failing. Any other
  unpublished pin still fails (checked locally with a 0.1.99 pin).
  Platforms and core now ship in one attested release instead of a
  hand-published platform step (#1250).
- protected-release runtime grader also runs test-retrieval.js against the
  sealed install.

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet
ruvnet merged commit 8372ccf into main Nov 9, 2026
52 checks passed
@ruvnet

ruvnet commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

Released by protected-release.yml run https://github.com/ruvnet/RuVector/actions/runs/42706503427: platforms 0.1.35, then @ruvector/core 0.1.38, all with --provenance. Seal, both graders, publish and the public-bytes verify all passed.

The release is sealed at 614ab4875f9595f1c27c00d08e91226ecad42948, not the #1448 merge commit. The first dispatch at 8372ccf failed its origin/main == expected_sha bind, because build-native.yml and build-attention.yml pushed bot binary commits after the merge. Nothing was published by that run. I waited until the main-branch binary-commit runs finished, then dispatched again. The core binaries at that SHA are built from 8372ccf, not from debd3ca as the table above says, so I gated them again:

check (committed binaries at the sealed SHA) result
linux-arm64-gnu LDAPR 0
linux-arm64-gnu / linux-x64-gnu max GLIBC 2.34 / 2.34
registry ruvector-core-linux-arm64-gnu@0.1.35 LDAPR / GLIBC 0 / 2.34

Fresh install from the registry, in a mktemp -d under /tmp:

dir: /tmp/tmp.7gky0eqXD1
added 2 packages in 558ms
└─┬ @ruvector/core@0.1.38
  ├── UNMET OPTIONAL DEPENDENCY ruvector-core-darwin-arm64@0.1.35
  ├── UNMET OPTIONAL DEPENDENCY ruvector-core-darwin-x64@0.1.35
  ├── UNMET OPTIONAL DEPENDENCY ruvector-core-linux-arm64-gnu@0.1.35
  ├── ruvector-core-linux-x64-gnu@0.1.35
  └── UNMET OPTIONAL DEPENDENCY ruvector-core-win32-x64-msvc@0.1.35
resolved: /tmp/tmp.7gky0eqXD1/node_modules/@ruvector/core/index.js
ok filtered top-10 full at 1% and 10% selectivity (hnsw + flat, 10k)
ok duplicate-id insert is an upsert with no ghosts (hnsw + flat)
ok NaN/Inf rejected for insert, insertBatch and search
retrieval correctness: all passed
exit=0

optional-deps-resolvable-on-npm with the co-release exception removed: the guard step from regression-guard.yml at main 6ccfd91, with the npm/packages/core co-release block deleted. Core pins are printed:

checked npm/packages/core/package.json: ruvector-core-linux-x64-gnu@0.1.35 -> 0.1.35
checked npm/packages/core/package.json: ruvector-core-linux-arm64-gnu@0.1.35 -> 0.1.35
checked npm/packages/core/package.json: ruvector-core-darwin-x64@0.1.35 -> 0.1.35
checked npm/packages/core/package.json: ruvector-core-darwin-arm64@0.1.35 -> 0.1.35
checked npm/packages/core/package.json: ruvector-core-win32-x64-msvc@0.1.35 -> 0.1.35
guard exit=0

No ::error or ::warning lines for any package under npm/packages.

Readback

latest: 0.1.38
{
  "version": "0.1.38",
  "optionalDependencies": {
    "ruvector-core-darwin-x64": "0.1.35",
    "ruvector-core-darwin-arm64": "0.1.35",
    "ruvector-core-linux-x64-gnu": "0.1.35",
    "ruvector-core-win32-x64-msvc": "0.1.35",
    "ruvector-core-linux-arm64-gnu": "0.1.35"
  }
}
ruvector-core-linux-x64-gnu@0.1.35 -> 0.1.35 attest=https://slsa.dev/provenance/v1
ruvector-core-linux-arm64-gnu@0.1.35 -> 0.1.35 attest=https://slsa.dev/provenance/v1
ruvector-core-darwin-x64@0.1.35 -> 0.1.35 attest=https://slsa.dev/provenance/v1
ruvector-core-darwin-arm64@0.1.35 -> 0.1.35 attest=https://slsa.dev/provenance/v1
ruvector-core-win32-x64-msvc@0.1.35 -> 0.1.35 attest=https://slsa.dev/provenance/v1
== npm view @ruvector/core@0.1.38 dist.attestations
{
  "url": "https://registry.npmjs.org/-/npm/v1/attestations/@ruvector%2fcore@0.1.38",
  "provenance": {
    "predicateType": "https://slsa.dev/provenance/v1"
  }
}

🤖 Generated with claude-flow

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