Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9bf8e0b
feat: add shared e-means clustering and ecosystem integrations
Nov 11, 2026
e45eaf8
fix(e-means): validate typed array storage without custom iterators
ruvnet Nov 11, 2026
9864a65
review: keep legacy PQ codes, pin new edges, fix Darwin 0.13.1 path, …
ruvnet Nov 11, 2026
77f6cd5
Qualify and protect exact e-means crate and npm publication
ruvnet Nov 11, 2026
8fadad3
Require official registry source and exact lock checksum in public co…
ruvnet Nov 11, 2026
97b36c2
Preserve workspace WASM optimization profile in archived-source builds
ruvnet Nov 11, 2026
342cfdc
Require exact e-means qualification commands and reparse owned logs
ruvnet Nov 11, 2026
04cfe4a
Integrate concurrent e-means API compatibility review fixes
ruvnet Nov 11, 2026
4005c4c
Release shared e-means crate and portable npm runtime before consumers
ruvnet Nov 11, 2026
2f2317c
Normalize registry transport file ending
ruvnet Nov 11, 2026
7060e27
Require both exact-source release-branch qualification jobs
ruvnet Nov 11, 2026
c8d9463
Merge sealed e-means leaf into reviewed consumer integration
ruvnet Nov 11, 2026
03c1751
Pin TAP reporters for exact e-means Node qualification
ruvnet Nov 11, 2026
b960bda
Merge explicit TAP qualification from sealed e-means leaf
ruvnet Nov 11, 2026
e0a1b34
Align e-means consumer package engines with Node 20 runtime
ruvnet Nov 11, 2026
b54139a
Use lock-bound tooling closure for offline e-means consumers
ruvnet Nov 11, 2026
efdfdad
Qualify real Darwin tuning on the Node 20 minimum
ruvnet Nov 11, 2026
1532ee8
Document real minimum-runtime and lock-bound offline qualification
ruvnet Nov 11, 2026
230f80d
Merge final Node 20-qualified e-means leaf into consumers
ruvnet Nov 11, 2026
7600dcd
Qualify actual e-means browser results through pinned Playwright
ruvnet Nov 11, 2026
1c2e468
Merge verified Playwright browser qualification into consumers
ruvnet Nov 11, 2026
af1e7d9
Merge upstream e-means squash and NAPI binaries without losing review…
ruvnet Nov 11, 2026
d681890
Target reviewed shared e-means generation 0.1.1 without reusing publi…
ruvnet Nov 11, 2026
9df6dde
Serialize exact-source main mutations with protected e-means publication
ruvnet Nov 11, 2026
de2166e
Stage npm facade pins on public e-means until reviewed 0.1.1 publishes
ruvnet Nov 11, 2026
539c287
Merge upstream release versions while preserving reviewed e-means sta…
ruvnet Nov 11, 2026
0e2b193
Merge upstream native binaries built from reviewed release versions
ruvnet Nov 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/scripts/require-build-head.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Mutation jobs hold ruvector-main-mutation while using this exact source.
set -euo pipefail

if [[ ! ${GITHUB_SHA:-} =~ ^[a-f0-9]{40}$ ]] || [[ ${GITHUB_REF:-} != refs/heads/* ]]; then
echo 'Artifact updates require an exact source SHA and a branch ref' >&2
exit 1
fi
git check-ref-format "$GITHUB_REF"
if [[ $(git rev-parse HEAD) != "$GITHUB_SHA" ]]; then
echo 'Checkout differs from the source that built these artifacts' >&2
exit 1
fi
if [[ -n $(git status --porcelain) ]]; then
echo 'Artifact updates require a clean source checkout' >&2
exit 1
fi
remote_head=$(git ls-remote --exit-code origin "$GITHUB_REF" | cut -f1)
if [[ $remote_head != "$GITHUB_SHA" ]]; then
echo 'Target branch advanced; refusing to apply artifacts from a stale build' >&2
exit 1
fi
15 changes: 13 additions & 2 deletions .github/workflows/build-attention.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ jobs:
commit-binaries:
name: Commit Built Binaries
runs-on: ubuntu-24.04
concurrency:
group: ruvector-main-mutation
queue: max
cancel-in-progress: false
needs: [build, build-wasm]
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
permissions:
Expand All @@ -251,7 +255,10 @@ jobs:
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
ref: ${{ github.head_ref || github.ref_name }}
ref: ${{ github.sha }}

- name: Require the exact build source before applying artifacts
run: bash .github/scripts/require-build-head.sh

- name: Download all artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
Expand Down Expand Up @@ -304,7 +311,11 @@ jobs:
- wasm

🤖 Generated by GitHub Actions"
git push
if [ "$GITHUB_REF" = refs/heads/main ]; then
git push origin HEAD:refs/heads/main
else
git push origin "HEAD:$GITHUB_REF"
fi
fi

publish:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/build-gnn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ jobs:
commit-binaries:
name: Commit Built GNN Binaries
runs-on: ubuntu-24.04
concurrency:
group: ruvector-main-mutation
queue: max
cancel-in-progress: false
needs: build
if: github.event_name == 'workflow_dispatch' && inputs.update_binaries == true
permissions:
Expand All @@ -184,7 +188,10 @@ jobs:
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
ref: ${{ github.head_ref || github.ref_name }}
ref: ${{ github.sha }}

- name: Require the exact build source before applying artifacts
run: bash .github/scripts/require-build-head.sh

- name: Download all artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
Expand Down Expand Up @@ -230,7 +237,11 @@ jobs:
- win32-x64-msvc

Generated by GitHub Actions"
git push
if [ "$GITHUB_REF" = refs/heads/main ]; then
git push origin HEAD:refs/heads/main
else
git push origin "HEAD:$GITHUB_REF"
fi
fi

publish:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/build-graph-transformer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ jobs:
commit-binaries:
name: Commit Built Binaries
runs-on: ubuntu-24.04
concurrency:
group: ruvector-main-mutation
queue: max
cancel-in-progress: false
needs: [build, build-wasm]
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
permissions:
Expand All @@ -195,7 +199,10 @@ jobs:
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
ref: ${{ github.head_ref || github.ref_name }}
ref: ${{ github.sha }}

- name: Require the exact build source before applying artifacts
run: bash .github/scripts/require-build-head.sh

- name: Download all artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
Expand Down Expand Up @@ -248,7 +255,11 @@ jobs:
- wasm

Generated by GitHub Actions"
git push
if [ "$GITHUB_REF" = refs/heads/main ]; then
git push origin HEAD:refs/heads/main
else
git push origin "HEAD:$GITHUB_REF"
fi
fi

publish:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/build-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ jobs:
commit-binaries:
name: Commit Built Binaries
runs-on: ubuntu-24.04
concurrency:
group: ruvector-main-mutation
queue: max
cancel-in-progress: false
needs: build
if: |
!inputs.skip_commit &&
Expand All @@ -199,7 +203,10 @@ jobs:
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
ref: ${{ github.head_ref || github.ref_name }}
ref: ${{ github.sha }}

- name: Require the exact build source before applying artifacts
run: bash .github/scripts/require-build-head.sh

- name: Download all artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
Expand Down Expand Up @@ -246,7 +253,11 @@ jobs:
- win32-x64-msvc

🤖 Generated by GitHub Actions"
git push
if [ "$GITHUB_REF" = refs/heads/main ]; then
git push origin HEAD:refs/heads/main
else
git push origin "HEAD:$GITHUB_REF"
fi
fi

# NOTE: Publish step removed - packages are published manually
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/build-rvf-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ jobs:
commit-binaries:
name: Commit RVF Node Binaries
runs-on: ubuntu-24.04
concurrency:
group: ruvector-main-mutation
queue: max
cancel-in-progress: false
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
Expand All @@ -177,7 +181,10 @@ jobs:
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
ref: main
ref: ${{ github.sha }}

- name: Require the exact build source before applying artifacts
run: bash .github/scripts/require-build-head.sh

- name: Download all artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
Expand Down Expand Up @@ -216,5 +223,9 @@ jobs:
Platforms: linux-x64-gnu, linux-arm64-gnu, darwin-x64, darwin-arm64, win32-x64-msvc

Co-Authored-By: claude-flow <ruv@ruv.net>"
git push
if [ "$GITHUB_REF" = refs/heads/main ]; then
git push origin HEAD:refs/heads/main
else
git push origin "HEAD:$GITHUB_REF"
fi
fi
81 changes: 81 additions & 0 deletions .github/workflows/e-means-preflight.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: e-means-preflight
on:
push:
branches: ['release/**']
workflow_dispatch: {}
permissions:
contents: read
concurrency:
group: e-means-preflight-${{ github.ref }}
cancel-in-progress: true
jobs:
qualify:
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
- uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec
with:
toolchain: '1.98.1'
targets: wasm32-unknown-unknown
components: clippy
- name: Install pinned MSRV and WASM binding tools
run: |
rustup toolchain install 1.81.0 --profile minimal
cargo install wasm-bindgen-cli --version '=0.2.125' --locked --root "$RUNNER_TEMP/e-means-tools"
cargo install cargo-audit --version '=0.22.2' --locked --root "$RUNNER_TEMP/e-means-tools"
echo "$RUNNER_TEMP/e-means-tools/bin" >> "$GITHUB_PATH"
- name: Install pinned real Chromium
run: |
npm install --prefix "$RUNNER_TEMP/browser-tools" --ignore-scripts --no-save playwright@1.62.1
"$RUNNER_TEMP/browser-tools/node_modules/.bin/playwright" install chromium
node -e 'const p=require(process.env.RUNNER_TEMP+"/browser-tools/node_modules/playwright"); console.log("E_MEANS_CHROMIUM="+p.chromium.executablePath())' >> "$GITHUB_ENV"
echo "E_MEANS_PLAYWRIGHT_ROOT=$RUNNER_TEMP/browser-tools" >> "$GITHUB_ENV"
- name: Exercise release guards
run: python3 -m unittest discover -s scripts/e-means -p 'test_*.py' -v
- name: Build exact archives and execute native, installed, Worker and browser consumers
run: python3 scripts/e-means/release.py seal --expected-sha "$GITHUB_SHA" --directory "$RUNNER_TEMP/e-means-seal"
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: e-means-candidate-${{ github.sha }}
path: ${{ runner.temp }}/e-means-seal
if-no-files-found: error
retention-days: 90
- name: Preserve owned command logs when qualification fails
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: e-means-failure-logs-${{ github.sha }}
path: ${{ runner.temp }}/e-means-seal/command-*.log
if-no-files-found: ignore
retention-days: 14
node20:
needs: qualify
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '20.0.0'
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
with:
name: e-means-candidate-${{ github.sha }}
path: ${{ runner.temp }}/e-means-node20
- name: Exercise sealed portable runtime, PQ/IVF and actual Darwin tuning on the advertised Node minimum
run: python3 scripts/e-means/release.py node20 --expected-sha "$GITHUB_SHA" --directory "$RUNNER_TEMP/e-means-node20"
- name: Preserve Node minimum command logs when qualification fails
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: e-means-failure-logs-${{ github.sha }}
path: ${{ runner.temp }}/node20-consumer/command-*.log
if-no-files-found: ignore
retention-days: 14
84 changes: 84 additions & 0 deletions .github/workflows/e-means-protected-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: e-means-protected-release
on:
workflow_dispatch:
inputs:
expected_sha:
description: Exact main SHA qualified by the release-branch e-means preflight
required: true
type: string
permissions:
contents: read
issues: read
actions: read
concurrency:
group: protected-e-means-release
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-24.04
concurrency:
group: ruvector-main-mutation
queue: max
cancel-in-progress: false
timeout-minutes: 45
environment: npm-production
permissions:
contents: write
issues: read
actions: read
id-token: write
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '24'
registry-url: https://registry.npmjs.org
- uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec
with:
toolchain: '1.98.1'
- name: Verify exact source and select sealed pre-main artifacts
env:
GH_TOKEN: ${{ github.token }}
EXPECTED_SHA: ${{ inputs.expected_sha }}
run: python3 scripts/e-means/release.py download --expected-sha "$EXPECTED_SHA" --directory "$RUNNER_TEMP/e-means-publication"
- name: Publish only the verified crate and npm archive
env:
GH_TOKEN: ${{ github.token }}
EXPECTED_SHA: ${{ inputs.expected_sha }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_API_KEY }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: python3 scripts/e-means/release.py publish --expected-sha "$EXPECTED_SHA" --directory "$RUNNER_TEMP/e-means-publication"
- name: Install real Chromium for the public archive consumer
run: |
npm install --prefix "$RUNNER_TEMP/browser-tools" --ignore-scripts --no-save playwright@1.62.1
"$RUNNER_TEMP/browser-tools/node_modules/.bin/playwright" install chromium
node -e 'const p=require(process.env.RUNNER_TEMP+"/browser-tools/node_modules/playwright"); console.log("E_MEANS_CHROMIUM="+p.chromium.executablePath())' >> "$GITHUB_ENV"
echo "E_MEANS_PLAYWRIGHT_ROOT=$RUNNER_TEMP/browser-tools" >> "$GITHUB_ENV"
- name: Test fresh public registry consumers without publication credentials
env:
GH_TOKEN: ${{ github.token }}
EXPECTED_SHA: ${{ inputs.expected_sha }}
run: python3 scripts/e-means/release.py verify-public --expected-sha "$EXPECTED_SHA" --directory "$RUNNER_TEMP/e-means-publication"
- name: Publish exact-source GitHub release and redownload every asset
env:
GH_TOKEN: ${{ github.token }}
EXPECTED_SHA: ${{ inputs.expected_sha }}
E_MEANS_RELEASE_ENVIRONMENT: npm-production
run: python3 scripts/e-means/github_release.py --expected-sha "$EXPECTED_SHA" --directory "$RUNNER_TEMP/e-means-publication"
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
if: always()
with:
name: e-means-publication-${{ github.sha }}
if-no-files-found: error
path: |
${{ runner.temp }}/e-means-publication/ci.json
${{ runner.temp }}/e-means-publication/candidate/candidate.json
${{ runner.temp }}/e-means-publication/candidate/FILES.json
${{ runner.temp }}/e-means-publication/public/*
${{ runner.temp }}/e-means-publication/publication.json
${{ runner.temp }}/e-means-publication/public-consumers.json
${{ runner.temp }}/e-means-publication/fresh/command-*.log
${{ runner.temp }}/e-means-publication/github-release.json
${{ runner.temp }}/e-means-publication/github-release-assets/*
Loading
Loading