Commit graph

4 commits

Author SHA1 Message Date
rUv
a10f527566 docs: update CLAUDE.md with RuVector hooks config, add hooks to npm README
- Update CLAUDE.md to reflect actual hooks configuration from settings.json
- Document all 7 hook event types (PreToolUse, PostToolUse, SessionStart, etc.)
- Add RuVector environment variables documentation
- Update agent coordination protocol to use ruvector hooks CLI
- Add self-learning hooks section to npm ruvector README
- Bump ruvector to v0.1.38 with hooks documentation
- Fix sync-lockfile.sh to handle platform-specific optional deps

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 22:31:11 +00:00
rUv
ca527cb5b9 feat: Add persistence support and Cypher queries to @ruvector/graph-node
- Add persistence support using redb storage backend
- Add GraphDatabase.open() factory method for opening existing databases
- Add isPersistent() and getStoragePath() methods
- Update TypeScript definitions with all new APIs
- Add benchmark suite (131K+ ops/sec batch inserts)
- Add comprehensive test suite with persistence tests
- Add GitHub workflow for multi-platform builds
- Fix sync-lockfile.sh working directory bug
- Publish @ruvector/graph-node@0.1.15 to npm
- Publish @ruvector/graph-node-linux-x64-gnu@0.1.15 to npm

Performance benchmarks:
- Node Creation: 9.17K ops/sec
- Batch Node Creation: 131.10K ops/sec
- Edge Creation: 9.30K ops/sec
- Vector Search (k=10): 2.35K ops/sec
- k-hop Traversal: 10.28K ops/sec

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 04:26:50 +00:00
rUv
66dc4736b8 fix: Resolve pre-existing test failures and fix sync script
Test fixes:
- test_version: Updated assertion from "0.1.0" to "0.1.2" to match Cargo.toml
- test_tokenize: Fixed assertion - "the" (3 chars) passes > 2 filter
- test_mode_collapse_detection: Use truly identical vectors for collapse test

Script fix:
- sync-lockfile.sh: Handle missing npm directory gracefully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 17:54:38 +00:00
rUv
38c79dc4ac feat: Add automated package-lock.json sync tooling
 New Features:
- sync-lockfile.sh: Auto-sync lock file with package.json changes
- install-hooks.sh: Install git pre-commit hooks
- ci-sync-lockfile.sh: CI/CD auto-fix for lock file issues
- Pre-commit hook: Automatically runs on git commit
- validate-lockfile.yml: GitHub Actions workflow for validation

📚 Documentation:
- CONTRIBUTING.md: Complete contribution guide
- scripts/README.md: Automation scripts documentation

🎯 Benefits:
- Prevents "lock file out of sync" CI/CD failures
- Automatic staging of lock file changes
- Zero manual intervention needed
- Works with any workflow (hooks, manual, CI/CD)

🔧 Usage:
1. Install hooks: ./scripts/install-hooks.sh
2. Add dependencies normally
3. Commit - hook auto-syncs lock file
4. CI validates automatically

Resolves the recurring package-lock.json sync issues.
2025-11-25 21:24:14 +00:00