ruvector/.gitignore
rUv 227bb3f876
fix(ruvector-npm): accurate MCP tool count + reconcile tool lists (0.2.33) (#624)
* fix(ruvector-npm): accurate MCP tool count + reconcile tool lists (0.2.33)

The package advertised 103 MCP tools but the server registers 97, and the
README listed 12 tools (brain_agi_*, midstream_*) that don't exist. Three
independent sources had also drifted: server TOOLS array (97), the cli
'mcp tools' display list (91, missing the 6 decompile_* tools), and the
README count (103).

- README: 103 → 97; drop the 12 phantom tool bullets; point to
  'npx ruvector mcp tools' as the authoritative list
- cli.js 'mcp tools': add the missing 'decompile' group (6 tools) →
  now lists 97, matching the server
- mcp-server.js: report version from package.json instead of the
  hardcoded (and stale) '0.2.30'
- bump 0.2.32 → 0.2.33

All three sources now reconcile to 97. Full test suite passes
(73 + 7 + 2 + 8 + 2 across the publish-gate files).

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(ci): commit optimizer module, ignore RUSTSEC-2026-0190, ship src/optimizer

Root-causes three pre-existing CI failures on the ruvector npm package:

1. Optimizer test (Cannot find module src/optimizer/index.js): the module
   was never committed because .gitignore's bare 'index.js' rule (for napi
   artifacts) silently ignored this hand-written module. Add a negation
   exception (as already done for @ruvector/sona) and commit index.js —
   8 profiles, detectTaskType, applyProfile. Test: 135/135 pass.

2. cargo deny (advisories FAILED): RUSTSEC-2026-0190 (unsoundness in
   anyhow's Error::downcast_mut, anyhow 1.0.102, single version in tree).
   Added to deny.toml ignore list with justification + re-review date,
   consistent with the existing unsoundness exceptions — we never downcast
   anyhow::Error to a mismatched mutable type.

3. src/optimizer/ now ships (added to package.json files), so the published
   package's 'optimize' command works instead of graceful-degrading.

Pre-existing failures NOT addressed here (separate infra work; main is also
red): Functional smoke / Recall quality / Learning check fail because the
npm CI installs with --no-optional, so @ruvector/rvf + the native HNSW addon
are absent and the engine runs degraded. dependency-review is already
continue-on-error (awaiting a repo Dependency-Graph settings flip).

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-06-29 12:06:21 -04:00

169 lines
3.9 KiB
Text

# macOS
.DS_Store
# Generated by Cargo
# will have compiled files and executables
debug
target
# These are backup files generated by rustfmt
**/*.rs.bk
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Generated by cargo mutants
# Contains mutation testing data
**/mutants.out*/
# RustRover
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# Node.js
**/node_modules/
package-lock.json
!npm/package-lock.json
# UI build artifacts
ui/**/build/
ui/**/.svelte-kit/
ui/**/adapter-node/
# napi-rs build artifacts
*.node
index.js
index.d.ts
# @ruvector/sona ships committed JS bindings: CI's napi CLI version drifts
# (v3 emits no v2-style loader), which published an empty 0.1.6 (#516)
!npm/packages/sona/index.js
!npm/packages/sona/index.d.ts
# ruvector optimizer is a hand-written module (not a napi artifact); the bare
# `index.js` rule above wrongly ignored it, so it was never committed and CI's
# optimizer test could not resolve it.
!npm/packages/ruvector/src/optimizer/index.js
# Environment variables and secrets
.env
**/.env
**/.env.local
**/.env.*.local
*.key
*.pem
credentials.json
# Removed Windows wrapper files per user request
hive-mind-prompt-*.txt
# Removed Windows wrapper files per user request
hive-mind-prompt-*.txt
examples/scipix/test_images/
.fastembed_cache/
# Apify actor storage datasets
examples/apify/*/storage/
# Claude Flow generated files
.claude/settings.local.json
.mcp.json
mcp.json
claude-flow.config.json
.swarm/
.hive-mind/
.claude-flow/
memory/
coordination/
memory/claude-flow-data.json
memory/sessions/*
!memory/sessions/README.md
memory/agents/*
!memory/agents/README.md
coordination/memory_bank/*
coordination/subtasks/*
coordination/orchestration/*
*.db
*.db-journal
*.db-wal
*.sqlite
*.sqlite-journal
*.sqlite-wal
claude-flow
# Removed Windows wrapper files per user request
hive-mind-prompt-*.txt
# Agent worktree directories (runtime-only, per-agent isolation)
.claude/worktrees/
# Native intelligence database (binary)
.claude/intelligence/data/intelligence.db
# Intelligence data files (generated, not tracked)
.claude/intelligence/data/*.json
# RuVector intelligence data
.ruvector/
.claude/statusline.sh
# Benchmark generated files
logs/
data/
# PhotonLayer MNIST cache (public dataset, fetched at bench time, never committed)
crates/photonlayer-bench/data/
# Large model files
*.gguf
test_models/*.gguf
# Compiled server binaries (built for Cloud Run deploy)
/mcp-brain-server
crates/mcp-brain-server/mcp-brain-server
# Backup files
*.bak
# Large model checkpoint files (use weights.bin for runtime)
model*/*.pt
model*/*.onnx
model*/*.onnx.data
# Build dist artifacts for examples
examples/*/dist/
# Unrelated report SVGs
*_report.svg
*_sky_map.svg
# Training data
training-data*.jsonl
# Extracted code artifacts
claude-code-extracted/
examples/open-claude-code/
examples/real-eeg-analysis/data/*.edf
examples/real-eeg-multi-seizure/data/*.edf
agentdb.rvf
agentdb.rvf.lock
.kalshi
bench_data/
# Hailo Dataflow Compiler droppings — `hailo` CLI writes these into
# whatever cwd it's invoked from, even with --output-dir set. Always
# transient so any tree they land in should ignore them.
acceleras.log
hailo_sdk.client.log
# Iter 228 — per-crate Cargo.lock files for the hailo workspace members
# (post iter-219 workspace rejoin). The parent workspace's Cargo.lock
# is canonical; cargo regenerates these locally as a side effect of
# `cargo fmt --manifest-path` etc., but they should never be committed.
crates/ruvector-hailo/Cargo.lock
crates/ruvector-hailo-cluster/Cargo.lock
crates/hailort-sys/Cargo.lock
crates/ruvector-mmwave/Cargo.lock
node_modules