Repository navigation
npm platform manifests: homepage https://ruv.io + canonical repository/bugs at the source template (ADR-356) - #1410
Merged
Merged
Conversation
…y/bugs (ADR-356) Every NAPI-RS platform-binary package (<pkg>-linux-x64-gnu, -darwin-arm64, -win32-x64-msvc, ...) now carries "homepage": "https://ruv.io", a repository of git+https://github.com/ruvnet/RuVector.git with its own directory, and the RuVector issue tracker, at the source: - 62 checked-in platform manifests (crates/*/npm/<platform>, npm/packages/*/npm/<platform>, npm/packages/<pkg>-<platform>, npm/core/platforms/<platform>); versions untouched. - Generators that write platform manifests at publish time: build-{attention,diskann,gnn,graph-transformer,kge,router,tiny-dancer, typesafe}.yml heredocs, sona-napi.yml and the attention platform blocks in publish-all.yml. - rvf-node platform READMEs point at the parent package and ruv.io. - scripts/ci/check-platform-manifests.sh fails if a checked-in platform manifest lacks these fields. Co-Authored-By: claude-flow <ruv@ruv.net>
…the guard in WASM Dedup Check (ADR-356) The four napi parents (attention-node, gnn-node, graph-transformer-node, rvf-node) get homepage https://ruv.io and the canonical repository/bugs, so a future napi create-npm-dir run copies the right values. Co-Authored-By: claude-flow <ruv@ruv.net>
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.
What
Every npm platform-binary package (
<pkg>-linux-x64-gnu,-darwin-arm64,-win32-x64-msvc, …) now carries the following fields at its source, so future publishes pick them up:"homepage": "https://ruv.io", placed afterdescription(or afterversionwhen there is no description)"repository": {"type": "git", "url": "git+https://github.com/ruvnet/RuVector.git", "directory": "<platform dir>"}"bugs": {"url": "https://github.com/ruvnet/RuVector/issues"}No
versionfield changed, and nothing was published.Checked-in templates (62 manifests, edited with jq)
crates/ruvector-{attention,gnn,graph-transformer}-node/npm/<platform>/package.json(7 + 7 + 7)crates/rvf/rvf-node/npm/<platform>/package.json(5)npm/packages/{graph-node,ruvllm,sona}/npm/<platform>/package.json(4 + 5 + 7)npm/packages/{router,ruvllm,tiny-dancer}-<platform>/package.json(15)npm/core/platforms/<platform>/package.json(5; these already hadhomepage, so only the repo URL was normalised)jq rewrites compact one-line arrays as multi-line, so the 7 graph-transformer manifests have a noisier diff. The content is otherwise the same.
Generators (manifests written at publish time)
build-{attention,diskann,gnn,graph-transformer,kge,router,tiny-dancer,typesafe}.ymlnode -ewriter insona-napi.yml@ruvector/attention-<platform>blocks inpublish-all.yml. The parent@ruvector/attentionblock was left alone.For kge, typesafe and diskann there is no checked-in platform directory, because they are built into a temporary
npm-pkg/directory. Theirrepository.directorytherefore points at the parent package (npm/packages/{kge,typesafe,diskann}) rather than at a path that doesn't exist.napi parents
crates/ruvector-{attention,gnn,graph-transformer}-node/package.jsonandcrates/rvf/rvf-node/package.jsonget the same fields, withdirectoryset to the parent's own directory. If someone runsnapi create-npm-diragain, it copies the parent'shomepage/repository/bugs. It also drops the per-platformdirectory, and the guard below would catch that.READMEs
The 3-line
crates/rvf/rvf-node/npm/<platform>/README.mdstubs now read "Platform binary for@ruvector/rvf-node; see@ruvector/rvf-nodefor the quickstart" and link https://ruv.io. The longer hand-writtennpm/core/platforms/*/README.mdfiles already link ruv.io and were left as they are.Guard
scripts/ci/check-platform-manifests.shfails if any git-tracked platform manifest is missing the canonical homepage, repository (including its owndirectory) or bugs fields. It runs as a one-line step in WASM Dedup Check, which already runs on every push and PR.Left alone
npm/packages/ruvector(that package is handled in ruvector 0.3.16: seed the ruqu engine, MCP accepts CLI circuit shorthand #1407).homepageofnpm/packages/ruvllmandnpm/packages/sonastill points at a GitHub tree URL. That is a separate lane.🤖 Generated with claude-flow