Commit graph

540 commits

Author SHA1 Message Date
rUv
0368f883df feat(edge): add ruv-swarm-transport integration example
New example: examples/edge/
- Distributed AI swarm communication using ruv-swarm-transport
- WebSocket, SharedMemory, and WASM transport support
- Intelligence sync for distributed Q-learning patterns
- Shared vector memory for collaborative RAG
- LZ4 + quantization tensor compression (up to 12x)
- Protocol with Join, Sync, Task, Election messages
- Agent roles: Coordinator, Worker, Scout, Specialist

Binaries:
- edge-demo: Demo of distributed learning
- edge-agent: CLI agent that joins swarm
- edge-coordinator: Swarm coordinator

Dependencies:
- ruv-swarm-transport v1.0.5
- tokio, serde, lz4_flex, clap
2025-12-31 17:20:51 +00:00
rUv
e08714dd44 feat: add batch learning and real-time subscriptions
New CLI Commands:
- batch-learn: Process multiple learning experiences at once
- subscribe: Stream real-time learning updates (polling)
- watch: Auto-learn from file changes in real-time

New MCP Tools (49 total):
- hooks_batch_learn: Batch process experiences array
- hooks_subscribe_snapshot: Get state deltas for subscriptions
- hooks_watch_status: Get current watch/learning status

Features:
- Batch learning processes multiple experiences efficiently
- Subscribe streams events: learn, route, memory, compress
- Watch monitors file changes and auto-learns patterns
- Co-edit detection in watch mode (files edited within 1 min)

Published as v0.1.71
2025-12-31 16:02:29 +00:00
rUv
2b4f809ceb fix: defensive checks for Q-learning patterns and data loading
- Add null checks in getQ() method for patterns object
- Add null checks in updateQ() and learn() methods
- Improve load() to merge file data with defaults
- Ensures all required fields exist even with partial data
- Fixes 'Cannot read properties of undefined' errors

Published as v0.1.70
2025-12-31 15:40:29 +00:00
rUv
58738f8cad feat: Full v2.1 upgrade with multi-algorithm learning and TensorCompress (v0.1.69)
## Multi-Algorithm Learning Engine
- 9 algorithms: q-learning, sarsa, double-q, actor-critic, ppo, decision-transformer, monte-carlo, td-lambda, dqn
- Task-specific configuration:
  - agent-routing: double-q (reduces bias)
  - error-avoidance: sarsa (conservative)
  - confidence-scoring: actor-critic (continuous)
  - trajectory-learning: decision-transformer (sequence)
  - context-ranking: ppo (stable)
  - memory-recall: td-lambda (traces)

## TensorCompress (10x Memory Savings)
- 5 compression levels based on access frequency:
  - none (hot >0.8): 0% savings
  - half (warm >0.4): 50% savings
  - pq8 (cool >0.1): 87.5% savings
  - pq4 (cold >0.01): 93.75% savings
  - binary (archive ≤0.01): 96.9% savings
- Auto-compression on session-end

## Pretrain Phases (11 total)
- Phase 10: Multi-algorithm learning bootstrap
- Phase 11: TensorCompress initialization

## Environment Variables (v2.1)
- RUVECTOR_MULTI_ALGORITHM=true
- RUVECTOR_DEFAULT_ALGORITHM=double-q
- RUVECTOR_TENSOR_COMPRESS=true
- RUVECTOR_AUTO_COMPRESS=true

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 15:24:30 +00:00
rUv
af4e3756f6 fix: robust sessionEnd with full data structure validation (v0.1.68)
- Check this.data exists before accessing properties
- Initialize trajectories array if missing
- Add try/catch around engine and save operations
- Null-check trajectory objects in filter

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 15:17:35 +00:00
rUv
bd6a775de2 fix: handle undefined stats in sessionEnd (v0.1.67)
- Add defensive check for this.data.stats
- Initialize with defaults if missing
- Fixes "Cannot read properties of undefined (reading 'last_session')"

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 15:15:45 +00:00
rUv
4953d1d5ac feat: add TensorCompress and multi-algorithm LearningEngine (v0.1.66)
TensorCompress:
- Adaptive tensor compression with 5 levels (none, half, pq8, pq4, binary)
- Access-frequency based auto-compression
- Up to 10x memory savings for pattern storage
- CLI: compress, compress-stats, compress-store, compress-get
- MCP: hooks_compress, hooks_compress_stats, hooks_compress_store, hooks_compress_get

LearningEngine (9 algorithms):
- Q-Learning: Simple off-policy (default)
- SARSA: On-policy, conservative (error-avoidance)
- Double Q-Learning: Reduces overestimation (precise routing)
- Actor-Critic: Policy gradient + value (confidence scoring)
- PPO: Stable policy updates (preference learning)
- Decision Transformer: Sequence modeling (trajectory patterns)
- Monte Carlo: Full episode learning (unbiased estimates)
- TD(λ): Eligibility traces (credit assignment)
- DQN: Experience replay (high-dim states)

CLI Commands:
- learning-config: Configure algorithms per task
- learning-stats: View algorithm performance
- learning-update: Record experiences
- learn: Combined action + recommendation

MCP Tools:
- hooks_learning_config, hooks_learning_stats
- hooks_learning_update, hooks_learn
- hooks_algorithms_list

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 15:13:13 +00:00
rUv
9b2c561c97 docs: update README with v2.0 features
- Add Claude Code Intelligence v2.0 section with MCP tools
- Add ONNX WASM embeddings documentation
- Add Windows installation with --ignore-scripts
- Add new CLI commands (AST, Diff, Coverage, Graph, Security, RAG)
- Update hooks configuration with new env variables
- Add performance comparison table (40,000x cache speedup)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 06:13:35 +00:00
rUv
52ded6e0e6 feat: add comprehensive intelligence layer with ONNX, AST, Graph, and Coverage modules
Core Modules Added:
- ast-parser.ts: Full AST parsing with symbol extraction, complexity analysis
- onnx-embedder.ts: ONNX WASM embeddings with SIMD acceleration
- diff-embeddings.ts: Semantic diff analysis with risk scoring
- coverage-router.ts: Test coverage-aware agent routing
- graph-algorithms.ts: MinCut, Spectral clustering, Louvain communities
- graph-wrapper.ts: Code dependency graph builder
- cluster-wrapper.ts: RuVector cluster management
- router-wrapper.ts: Semantic routing wrapper
- parallel-intelligence.ts: Parallel processing orchestration
- parallel-workers.ts: Worker pool with work stealing

CLI Hooks (13 new commands):
- ast-analyze, ast-complexity
- diff-analyze, diff-classify, diff-similar
- coverage-route, coverage-suggest
- graph-mincut, graph-cluster
- security-scan, rag-context, git-churn, route-enhanced

MCP Server (16 new tools):
- hooks_ast_*, hooks_diff_*, hooks_coverage_*
- hooks_graph_*, hooks_security_*, hooks_rag_*
- hooks_attention_info, hooks_gnn_info

Enhanced Features:
- 10 attention mechanisms (Flash, Hyperbolic, MoE, GraphRoPe, etc.)
- 9-phase pretrain with neural capabilities
- ONNX WASM runtime (7.4MB) with all-MiniLM-L6-v2 support
- hooks init generates v2.0 templates with full documentation

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 06:05:38 +00:00
rUv
fd2ae00caa chore: bump version to 0.1.65
New features in this release:
- 13 new CLI hooks commands (AST, Diff, Coverage, Graph, Security, RAG)
- 16 new MCP tools for Claude Code integration
- Enhanced hooks init with v2.0 templates
- 9-phase pretrain with attention/GNN capabilities
- Comprehensive CLAUDE.md documentation generation

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 06:04:06 +00:00
rUv
085bb0a453 docs(onnx-wasm): comprehensive README update for v0.1.2
- Added SIMD badge and documentation
- Added ParallelEmbedder API reference and usage examples
- Updated performance benchmarks with parallel vs sequential comparison
- Added browser compatibility table
- Added changelog section
- Added batch processing use case example
- Updated build instructions with SIMD flags

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 05:10:36 +00:00
rUv
5837e5e99d feat(onnx-wasm): add parallel worker threads for 3.8x batch speedup
- ParallelEmbedder class using Node.js worker_threads
- Distributes batches across multiple CPU cores
- Benchmark results: 3.6-3.8x speedup on batch processing
- Per-text latency drops from ~390ms to ~103ms with 4 workers
- Published v0.1.2 to npm and crates.io

Usage:
  import { ParallelEmbedder } from 'ruvector-onnx-embeddings-wasm/parallel';
  const embedder = new ParallelEmbedder({ numWorkers: 4 });
  await embedder.init();
  const embeddings = await embedder.embedBatch(texts);

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 05:02:28 +00:00
rUv
7c54eafbba feat(onnx-wasm): add SIMD support for improved performance
- Enable WASM SIMD128 instructions for vectorized operations
- Update simd_available() to properly detect SIMD at compile time
- SIMD build is 180KB smaller than non-SIMD (more compact instructions)
- Published v0.1.1 to both npm and crates.io

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:41:53 +00:00
rUv
938a82f1b4 docs(onnx-wasm): add comprehensive README with badges and API reference
- Added npm and crates.io version badges
- WebAssembly and MIT license badges
- Quick start examples for Browser, Node.js, and Cloudflare Workers
- Complete API reference for WasmEmbedder, WasmEmbedderConfig
- Model comparison table with 6 HuggingFace models
- Performance benchmarks and use case examples

Published to npm as ruvector-onnx-embeddings-wasm@0.1.0

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:19:26 +00:00
rUv
1ac3905c1a feat(onnx-embeddings-wasm): add model loader with HuggingFace support
Adds loader.js with:
- Pre-configured model URLs for 6 popular models
- ModelLoader class with caching and progress reporting
- createEmbedder() helper for quick setup
- embed() and similarity() one-liner helpers

Supported models:
- all-MiniLM-L6-v2 (default)
- all-MiniLM-L12-v2
- bge-small-en-v1.5
- bge-base-en-v1.5
- e5-small-v2
- gte-small

Usage:
```javascript
import { createEmbedder } from './loader.js';
const embedder = await createEmbedder('all-MiniLM-L6-v2');
const embedding = embedder.embedOne("Hello world");
```

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:12:48 +00:00
rUv
6cdadf935a fix(hooks): add --silent flag to remember command
Fixes PreToolUse:Read hook error by supporting --silent flag
for Read/Glob/Task hooks that should not produce output.

Published ruvector@0.1.54

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:08:04 +00:00
rUv
454ec86a68 test(onnx-embeddings-wasm): add WASM validation test
Validates core WASM bindings work:
- Version check
- Cosine similarity utility
- L2 normalization utility
- Config creation and chaining

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:07:57 +00:00
rUv
515c9b9e13 feat(onnx-embeddings-wasm): add WASM-compatible embedding crate
New optional companion package using Tract for inference:
- Runs in browsers, Cloudflare Workers, Deno, edge environments
- Same API as native crate
- JavaScript bindings via wasm-bindgen
- Supports all pooling strategies (Mean, Cls, Max, etc.)

Uses Tract instead of ONNX Runtime for WASM compatibility.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 04:00:24 +00:00
rUv
e0c51bf009 chore(onnx-embeddings): fix crates.io category slug
Changed invalid category "machine-learning" to "algorithms".

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 03:37:06 +00:00
rUv
77666d73cb fix(onnx-embeddings): fix HuggingFace model download fallback logic
The download logic would immediately fail if model.onnx wasn't at the
repo root, never trying the onnx/ subfolder where most sentence-transformer
models store their ONNX files.

Now tries both locations:
1. Root: {repo}/model.onnx
2. Subfolder: {repo}/onnx/model.onnx

Also applies fallback logic to auxiliary files (tokenizer.json, config.json).

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 03:34:24 +00:00
rUv
fb9c4e645e feat(hooks): add full IntelligenceEngine with trajectory, co-edit, and attention
- Add IntelligenceEngine class integrating VectorDB, SONA, and Attention
- Add 11 new MCP tools (22 total): trajectory tracking, co-edit patterns,
  error suggestions, swarm recommendations, force learning
- Add 8 new CLI commands: trajectory-begin/step/end, coedit-record/suggest,
  error-record/suggest, force-learn
- Integrate Flash/MultiHead attention for embeddings with fallbacks
- Add Read/Glob/Task hooks to settings.json for pattern learning
- Fix @ruvector/attention-linux-x64-gnu (publish v0.1.3)
- Published ruvector@0.1.53

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 00:28:19 +00:00
rUv
e7969e90f4 feat(mcp): add MCP server for Claude Code integration
Add Model Context Protocol (MCP) server with stdio transport for
seamless Claude Code integration. Provides 10 self-learning
intelligence tools via JSON-RPC protocol.

New commands:
- `npx ruvector mcp start` - Start MCP server
- `npx ruvector mcp info` - Show setup instructions

MCP Tools:
- hooks_stats - Get intelligence statistics
- hooks_route - Route task to best agent
- hooks_remember - Store context in vector memory
- hooks_recall - Search vector memory semantically
- hooks_init - Initialize hooks in project
- hooks_pretrain - Pretrain from repository
- hooks_build_agents - Generate agent configs
- hooks_verify - Verify hooks configuration
- hooks_doctor - Diagnose setup issues
- hooks_export - Export intelligence data

MCP Resources:
- ruvector://intelligence/stats
- ruvector://intelligence/patterns
- ruvector://intelligence/memories

Setup: claude mcp add ruvector npx ruvector mcp start

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 22:22:49 +00:00
rUv
cd224fac52 docs: add Claude Code hooks section to README and create HOOKS.md
- Added hooks feature summary near top of README.md
- Created comprehensive HOOKS.md documentation
- Links to detailed docs for pretrain, build-agents, verify, etc.
2025-12-30 21:51:37 +00:00
rUv
1f09abcbfc fix(hooks): use project-local storage for intelligence data
- Intelligence now saves to .ruvector/intelligence.json in project dir
- Falls back to ~/.ruvector/ only if no project context found
- Prefers project-local when .ruvector/ or .claude/ exists
- Fixes verify showing 'will be created' after pretrain
2025-12-30 21:40:23 +00:00
rUv
9556acfeff feat(hooks): add build-agents command and integrate pretrain/agents into init
New command:
- hooks build-agents: Generate optimized agent configs based on repo analysis
  - Focus modes: quality, speed, security, testing, fullstack
  - Detects languages (Rust, TypeScript, Python, Go) and frameworks (React, Vue)
  - Generates YAML/JSON/MD agent definitions with system prompts
  - Creates coordinator agent with routing rules
  - Outputs to .claude/agents/

Init enhancements:
- --pretrain: Bootstrap intelligence after init
- --build-agents [focus]: Generate agents after init

Example: npx ruvector hooks init --pretrain --build-agents security
2025-12-30 21:28:15 +00:00
rUv
280de74656 feat(hooks): add pretrain command + fix permissions deny pattern
New command:
- hooks pretrain: Bootstrap intelligence by analyzing repository
  - Phase 1: Analyze file structure → agent routing patterns
  - Phase 2: Analyze git history → co-edit patterns
  - Phase 3: Create vector memories from key files
  - Phase 4: Build directory-agent mappings

Options:
  --depth <n>: Git history depth (default: 100)
  --workers <n>: Parallel workers (default: 4)
  --skip-git: Skip git history analysis
  --skip-files: Skip file structure analysis
  --verbose: Show detailed progress

Fix:
- Removed fork bomb pattern from deny list (caused validation error)
2025-12-30 21:22:29 +00:00
rUv
6251165f3e feat(hooks): add verify, doctor, export, import commands and enhanced init
New commands:
- hooks verify: Check if hooks are working correctly
- hooks doctor: Diagnose and fix setup issues (with --fix)
- hooks export: Export intelligence data for backup
- hooks import: Import intelligence data (with --merge, --dry-run)

Enhanced init:
- Auto-detect project type (Rust, Node, Python, Go, Ruby, Java)
- Project-specific permissions (cargo for Rust, npm for Node, etc.)
- StatusLine configuration with .claude/statusline.sh
- MCP server configuration (claude-flow)
- .gitignore update (adds .ruvector/)
- Creates .ruvector/ directory

New options for init:
- --no-gitignore: Skip .gitignore update
- --no-mcp: Skip MCP server configuration
- --no-statusline: Skip statusLine configuration
2025-12-30 21:18:29 +00:00
rUv
430fb4fb43 feat(hooks): enhanced init with full configuration
- Add environment variables (RUVECTOR_INTELLIGENCE_ENABLED, LEARNING_RATE, etc.)
- Add permissions configuration (allow/deny lists)
- Add UserPromptSubmit hook for context suggestions
- Add PreCompact hook for preserving context before compaction
- Add Notification hook for event tracking
- Add --minimal flag for basic hooks only
- Add --no-env and --no-permissions flags
- Updated CLAUDE.md template with complete documentation
2025-12-30 21:11:48 +00:00
rUv
abc6ff84fe feat(hooks): init command now creates CLAUDE.md with RuVector documentation
- Added CLAUDE.md creation to 'hooks init' command
- Includes complete hooks documentation and CLI commands
- Added --no-claude-md flag to skip CLAUDE.md creation
- Respects existing CLAUDE.md unless --force is used
2025-12-30 19:25:59 +00:00
rUv
5e5841925a fix(hooks): init command now fixes invalid schema and hook names
- Fixes $schema to correct URL
- Removes invalid Start/End hooks (renamed to SessionStart/Stop)
- Preserves other existing settings when merging

Bumps to v0.1.43

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 19:22:00 +00:00
rUv
6e9cb87493 chore: sync settings and dependencies
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 18:26:41 +00:00
rUv
4fba7401b6 fix(postgres): fix chrono and timestamp compilation errors
- Add chrono dependency to Cargo.toml
- Replace pgrx::TimestampWithTimeZone with chrono::Utc strings
- Fix temporary reference error in analysis.rs

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 18:02:13 +00:00
rUv
40fca2ba51 docs: fix hooks format in CLAUDE.md
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 17:24:34 +00:00
rUv
ae928f0002 fix(hooks): correct hooks format - string matcher, hooks wrapper
Format fixes based on Claude Code validation:
- matcher: string regex (e.g., "Edit|Write|MultiEdit") not object
- SessionStart/Stop: require { hooks: [...] } wrapper

Bumps to v0.1.42

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 17:23:37 +00:00
rUv
af1a362d04 docs: update CLAUDE.md with new hooks format
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 17:21:40 +00:00
rUv
83b52e12f0 fix(hooks): update to new Claude Code hooks format
Updates hooks to use new object-based format:
- matcher: { tools: [...] } instead of string
- hooks: [{ type: "command", command: "..." }] instead of string array

Required by Claude Code's updated hooks schema.
Bumps to v0.1.41

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 17:20:48 +00:00
rUv
63534a69a2 fix(npm): hooks init now generates npx ruvector commands
The hooks init command now generates settings.json with
npx ruvector hooks instead of ruvector hooks, ensuring
commands work without global installation.

Bumps to v0.1.40

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 17:11:27 +00:00
rUv
dd0887cd35 docs: update CLAUDE.md with RuVector hooks config, add hooks to npm README
Updates all hook commands to use npx ruvector instead of ruvector
for portability (no global install required).

Updated files:
- .claude/settings.json - all hooks now use npx ruvector
- CLAUDE.md - documentation updated to npx ruvector

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 17:10:45 +00:00
rUv
11f271f931 feat(npm): add hooks support to ruvector package
Adds Intelligence class with self-learning capabilities:
- Q-learning for agent routing
- Vector embeddings for semantic memory
- Command classification and risk analysis
- File sequence prediction

Hooks commands added:
- init, stats, session-start, session-end
- pre-edit, post-edit, pre-command, post-command
- route, suggest-context, remember, recall
- pre-compact, swarm-recommend, async-agent
- lsp-diagnostic, track-notification

Bumps version to 0.1.39

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:58:53 +00:00
rUv
31a8c58a5d docs(ruvector): add Self-Learning Hooks section to README
Comprehensive documentation for hooks including:
- init, session-start, session-end
- pre-edit, post-edit with success/error recording
- pre-command, post-command with risk analysis
- route for agent recommendations
- remember/recall for vector memory
- suggest-context for relevant context
- stats for intelligence statistics
- swarm-recommend for task routing
- Configuration example for .claude/settings.json
- Explanation of how self-learning works

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:51:58 +00:00
rUv
f7d5e75db5 chore(rudag): add .npmkeep to preserve WASM directories
Prevents wasm-pack from regenerating .gitignore files that block npm

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:42:33 +00:00
rUv
6d8987a455 fix(rudag): include WASM binaries in npm package
Remove wasm-pack generated .gitignore files that were blocking
npm from including the pkg/ and pkg-node/ WASM binaries.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:41:03 +00:00
rUv
fa81a07665 docs(rudag): add comparison table vs graphlib, dagre, d3-dag
Feature comparison table showing:
- Performance (WASM advantage)
- Unique features (critical path, attention, persistence)
- TypeScript support
- Bundle sizes

Plus 'When to Use What' guide for choosing the right library

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:37:20 +00:00
rUv
a632354ae2 chore(rudag): add LICENSE file
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:35:24 +00:00
rUv
430f8ff6c2 chore(rudag): SEO optimize package.json for npm discoverability
Description: Include key search terms (DAG, topological sort, critical path)
Keywords: Expanded from 12 → 32 high-traffic terms including:
- Graph terms: dag, directed-acyclic-graph, topological-sort, critical-path
- Use cases: task-scheduler, workflow-engine, pipeline, etl, build-system
- Tech: wasm, rust, typescript, indexeddb
- Features: self-learning, bottleneck, performance

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:34:40 +00:00
rUv
f9db206ed3 docs(rudag): enhanced introduction with better visuals and clarity
- Quote-style hook question
- 3-line code snippet showing value immediately
- Box-style ASCII diagram (more professional)
- Question/Method/Answer table format
- Expanded use cases with examples
- Added Game AI and Workflow Engines

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:32:47 +00:00
rUv
2391d21f88 docs(rudag): add Key Capabilities section highlighting self-learning
- Self-Learning Optimization with ML-inspired attention
- WASM-Accelerated Performance (Rust/WebAssembly)
- Automatic Cycle Detection
- Critical Path Analysis
- Zero-Config Persistence
- Serialization & Interop

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:31:26 +00:00
rUv
712f024e09 docs(rudag): simplify introduction with relatable examples
- Lead with the problem, not technical jargon
- Visual task dependency diagram
- Show what each method answers
- Real-world use cases with emojis
- Before/after comparison table

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:29:49 +00:00
rUv
d78de78c7f docs(rudag): fix CLI usage - rudag vs npx @ruvector/rudag
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:26:51 +00:00
rUv
e128bebefd docs(rudag): add badges to README
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:25:33 +00:00