- Add EdgeNet service with real WASM module initialization from CDN
- Add PiKey cryptographic identity store with Ed25519 signatures
- Add IndexedDB persistence for credits, tasks, and settings
- Add ConsentWidget for CPU/GPU contribution with settings modal
- Add IdentityPanel for crypto identity management
- Add DocumentationPanel with comprehensive user guide
- Add SpecializedNetworks component for network communities
- Deploy Edge-Net Genesis Relay to Google Cloud Run with security:
- Origin validation (CORS whitelist)
- Rate limiting (100 msgs/min per node)
- Message size limits (64KB)
- Connection timeout (30s heartbeat)
- Max 5 connections per IP
- Update Header with Edge-Net branding
- Update Sidebar with Docs tab
- Update networkStore to use real WASM stats
- Configure dashboard to connect to Genesis relay
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Build dual WASM targets (web + nodejs) for universal compatibility
- Add Node.js polyfills for web APIs (crypto, performance, window, document)
- Create universal entry point with auto-detection of environment
- Update CLI with comprehensive benchmark, demo, and info commands
- Fix ESM/CJS compatibility with .cjs extension for Node.js module
- Package includes both browser and Node.js WASM binaries
Published to npm as @ruvector/edge-net v0.1.1
Package: 885.4 kB compressed, 3.2 MB unpacked
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Implement comprehensive tests for adaptive learning mechanisms including MicroLoRA and SONA in learning_tests.rs.
- Introduce tests for bio-inspired neural components such as HDC, BTSP, and Spiking Neural Networks in nervous_system_tests.rs.
- Create common utilities for random vector generation, vector assertions, and softmax calculations in mod.rs.
- Ensure all tests validate expected behaviors and maintain numerical stability.
Four attention mechanisms answering fundamental questions:
- Neural Attention: What words/tokens matter?
- DAG Attention: What computational steps matter?
- Graph Attention: What relationships matter?
- State Space: What history still matters?
Includes:
- dag_attention.rs: Critical path analysis, topological ordering
- attention_unified.rs: Unified interface composing all 4 types
- Updated mod.rs architecture diagram
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Enable capabilities module with pub export
- Add compute/ module with SIMD, WebGPU, WebGL backends
- Add ai/ module with attention, router, federated learning, LoRA
- Streamline WASM API for Time Crystal, NAO, MicroLoRA, HDC, WTA, BTSP
- Add Global Workspace and Morphogenetic network support
- Add learning scenarios for error recovery and file sequences
- Add swarm collective intelligence and consensus modules
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Critical security fixes before production deployment:
1. Argon2id PBKDF in pikey/mod.rs (replaces SHA-256)
- Memory-hard KDF with 64MB memory, 3 iterations
- Version 0x02 format with salt, backward compatible with v1
- Secure zeroization of key material
2. Ed25519 signature verification in rac/mod.rs
- Real cryptographic verification for authority resolutions
- ScopedAuthority::sign_resolution() helper for signing
- Canonical message format for verification
3. Password-protected key export in identity/mod.rs
- export_secret_key now requires 8+ character password
- AES-256-GCM encryption with Argon2id-derived key
- import_secret_key for secure recovery
Dependencies added:
- argon2 v0.5 (memory-hard KDF)
- zeroize v1.7 (secure memory cleanup)
Test coverage:
- 125 tests passing (40 lib + 85 integration)
- Updated adversarial tests with real Ed25519 signatures
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
## Learning Module (src/learning/mod.rs)
- ReasoningBank for pattern storage with similarity lookup and pruning
- TrajectoryTracker ring buffer for task execution tracking
- Spike-driven attention for 87x energy efficiency (based on Yao et al.)
- Multi-head attention for distributed task routing
- NetworkLearning unified interface for edge nodes
## RAC Module (src/rac/mod.rs) - Adversarial Coherence Thesis
Implements the 12 axioms for browser-scale adversarial truth maintenance:
1. Connectivity is not truth
2. Everything is an event
3. No destructive edits (deprecation only)
4. Every claim is scoped
5. Semantics drift is expected
6. Disagreement is signal
7. Authority is scoped, not global
8. Witnesses matter
9. Quarantine is mandatory
10. All decisions are replayable
11. Equivocation is detectable
12. Local learning is allowed
Core components:
- Append-only Merkle event log for tamper-evident history
- CoherenceEngine for conflict detection and resolution
- QuarantineManager for contested claims
- Authority policy and verifier traits
- Decision traces for audit and replay
## Integration
- Learning and RAC integrated into EdgeNetNode
- 28 tests pass (13 new tests for learning/RAC)
References:
- FLP Impossibility (MIT CSAIL)
- PBFT Byzantine Fault Tolerance
- CRDTs (Lip6)
- RFC 6962 Certificate Transparency
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Updated README to focus on research and simulation aspects:
- Renamed to 'Artificial Life Simulation'
- Cells instead of nodes terminology
- Energy system instead of cryptocurrency
- Clear disclaimer: NOT a financial product
- Research goals and applications
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add Concurrency section with 4 worker modes:
- Main Thread (no workers, simple)
- Worker Pool (auto-scaling, recommended)
- Dedicated (one worker per task type)
- Shared Worker (cross-tab coordination)
- Add comprehensive worker templates with code examples
- Update stats to show worker count
- Include WorkerPool class with batch operations
- Add SharedWorker cross-tab example
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add comprehensive Web Workers section explaining UI responsiveness
- Include WorkerPool usage examples with practical code
- Add feature table explaining auto-scaling, load balancing, timeouts
- Add "when to use workers" guidance table
- Update Table of Contents with Consensus Modes and Web Workers
- Add WorkerPool to API Reference section
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add npm package section at top with install commands
- Link to pkg/README.md for JavaScript documentation
- Clarify Raft vs Gossip+CRDT consensus modes
- Add Web Worker pool to distributed systems features
- Update WASM badge to show 364KB size
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Include worker.js and worker-pool.js in package
- Add exports for @ruvector/edge/worker and @ruvector/edge/worker-pool
- Document WorkerPool API with examples
- Features: round-robin distribution, batch splitting, load balancing
- Keeps UI responsive during heavy WASM operations
- Bump to v0.1.9
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Raft assumes stable membership and trusted nodes - not suitable for
wild browser swarms. Updated docs to:
- Position Raft for "trusted cohorts" (teams, enterprise, private relays)
- Add Gossip + CRDT for "open swarms" (public, high-churn, adversarial)
- Explain when to use each mode with code examples
- Update capability tables to reflect both consensus strategies
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update heading to "Free Self-Learning AI Swarms at the Edge"
- Emphasize self-optimizing agents that get smarter over time
- Mention LoRA fine-tuning, EWC++ continual learning, ReasoningBank
- Bump to v0.1.7
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add comprehensive platform diagram showing edge vs edge-full
- List all capabilities of edge-full modules
- Add optional/peer dependency on @ruvector/edge-full
- Show usage patterns for both packages together
- Bump to v0.1.6
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- 5-step tutorial: Identity, Crypto, Vector Search, Routing, Consensus
- P2P transport options: WebRTC, GUN.js, IPFS/libp2p, Nostr
- Full code examples for each transport integration
- Architecture diagrams showing edge-first design
- Transport comparison table with recommendations
- Complete API reference for all 9 WASM exports
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Emphasize zero-cost edge-first architecture
- Add economics comparison (cloud vs edge)
- Document all WASM APIs with examples
- Add use cases and architecture diagram
- Compare with cloud alternatives (OpenAI, LangChain, AutoGPT)
- Include agentic-flow integration example
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Built WASM bindings with wasm-pack for browser/Node.js usage
- Exports: WasmIdentity, WasmCrypto, WasmHnswIndex, WasmSemanticMatcher,
WasmRaftNode, WasmHybridKeyPair, WasmSpikingNetwork, WasmQuantizer,
WasmAdaptiveCompressor
- 364KB optimized WASM binary with full TypeScript types
- Published to npm as @ruvector/edge@0.1.0
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- 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>
- 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>
- 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>
- 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>
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>
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>
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>
The Rust example files (learning_demo.rs, simd_distance_benchmark.rs)
were causing linker errors during pgrx tests because they use pgrx
functions without proper PostgreSQL library context.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add setup.ps1: Auto-installs espup, espflash, and ESP32 toolchain
- Add build.ps1: Auto-detects toolchain paths, no hardcoded values
- Add flash.ps1: Auto-detects COM ports with interactive selection
- Add env.ps1: Sets up environment for current session
- Add monitor.ps1: Serial monitor with auto port detection
- Update CLI to use PowerShell scripts on Windows
- Improve COM port detection using System.IO.Ports
- Update README with improved Windows workflow
Fixes Windows-specific issues:
- No more hardcoded paths (C:\Users\ruv\...)
- Dynamic libclang and Python path resolution
- Auto-detection of ESP toolchain location
- Better error handling and user feedback
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>