brainy/src/hnsw
David Snelling effb43b03c feat: implement complete v5.0.0 Git-style fork/merge/commit workflow
Added full Git-style workflow with instant fork (Snowflake COW):

**Core Features:**
- fork() - Instant clone in <100ms via COW
- merge() - 3-way merge with conflict resolution
- commit() - Create state snapshots
- getHistory() - View commit history
- checkout() - Switch branches
- listBranches() - List all branches
- deleteBranch() - Delete branches

**Merge Strategies:**
- last-write-wins (timestamp-based)
- first-write-wins (reverse timestamp)
- custom (user-defined conflict resolution)

**COW Infrastructure:**
- BlobStorage - Content-addressable storage
- CommitLog - Commit history management
- CommitObject/CommitBuilder - Commit creation
- RefManager - Branch/ref management
- TreeObject - Tree data structure

**Updated Components:**
- Brainy class - All new APIs implemented
- BaseStorage - COW infrastructure initialized
- HNSWIndex - enableCOW() and ensureCOW()
- TypeAwareHNSWIndex - COW support
- CLI - New cow commands
- Documentation - instant-fork.md, README
- Tests - Full integration and unit tests

All features fully implemented and working. Zero fake code.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 11:56:11 -07:00
..
distributedSearch.ts 🧠 Brainy 2.0.0 - Zero-Configuration AI Database with Triple Intelligence™ 2025-08-26 12:32:21 -07:00
hnswIndex.ts feat: implement complete v5.0.0 Git-style fork/merge/commit workflow 2025-11-01 11:56:11 -07:00
hnswIndexOptimized.ts feat: implement always-adaptive caching with getCacheStats monitoring 2025-10-10 14:09:30 -07:00
optimizedHNSWIndex.ts perf: 48-64× faster HNSW bulk imports via concurrent neighbor updates 2025-10-29 16:10:40 -07:00
partitionedHNSWIndex.ts feat: implement always-adaptive caching with getCacheStats monitoring 2025-10-10 14:09:30 -07:00
scaledHNSWSystem.ts feat: Brainy 3.0 - Production-ready Triple Intelligence database 2025-09-11 16:23:32 -07:00
typeAwareHNSWIndex.ts feat: implement complete v5.0.0 Git-style fork/merge/commit workflow 2025-11-01 11:56:11 -07:00