Skip to content

npm platform manifests: homepage https://ruv.io + canonical repository/bugs at the source template (ADR-356) - #1410

Merged
ruvnet merged 2 commits into
mainfrom
weaver/seo-platform-homepage
Nov 9, 2026
Merged

ruvnet merged 2 commits into
mainfrom
weaver/seo-platform-homepage

Conversation

@ruvnet

@ruvnet ruvnet commented Nov 9, 2026

Copy link
Copy Markdown
Owner

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 after description (or after version when 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 version field 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 had homepage, 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)

  • Heredocs in build-{attention,diskann,gnn,graph-transformer,kge,router,tiny-dancer,typesafe}.yml
  • The node -e writer in sona-napi.yml
  • The five @ruvector/attention-<platform> blocks in publish-all.yml. The parent @ruvector/attention block 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. Their repository.directory therefore 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.json and crates/rvf/rvf-node/package.json get the same fields, with directory set to the parent's own directory. If someone runs napi create-npm-dir again, it copies the parent's homepage/repository/bugs. It also drops the per-platform directory, and the guard below would catch that.

READMEs

The 3-line crates/rvf/rvf-node/npm/<platform>/README.md stubs now read "Platform binary for @ruvector/rvf-node; see @ruvector/rvf-node for the quickstart" and link https://ruv.io. The longer hand-written npm/core/platforms/*/README.md files already link ruv.io and were left as they are.

Guard

scripts/ci/check-platform-manifests.sh fails if any git-tracked platform manifest is missing the canonical homepage, repository (including its own directory) or bugs fields. It runs as a one-line step in WASM Dedup Check, which already runs on every push and PR.

Left alone

🤖 Generated with claude-flow

…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>
@ruvnet
ruvnet merged commit 1adfdef into main Nov 9, 2026
108 of 112 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