This release adds 2 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Summary
AI summaryFixed critical incremental indexing bug that caused full re-indexing on every file change.
Full changelog
🔧 Fix: Incremental Indexing
This release fixes the critical incremental indexing bug that caused full re-indexing on every file change.
Root Cause
incremental_index compared blake3(file_content) vs blake3(chunk₁ ++ chunk₂ ++ ...). Because AST chunking skips small nodes, trims large ones, and reformats content — these hashes never matched. Every file was treated as modified.
What's Fixed
🗄️ File-Level Hash Tracking
- New
file_hashestable storesblake3(file_content)per file incremental_indexnow compares actual file content hash → skip if unchanged- Hashes are stored after full index and updated after incremental re-index
🧹 Symbol Relation Cleanup
delete_symbols_by_pathwas usingfile_pathonsymbol_relation— an edge table that has no such field- Fixed to use
in/outsubquery throughcode_symbols - No more orphaned relations after file deletion
🛡️ Prevent Accidental Full Re-index
index_projecttool now returns "already indexed" when project status isCompletedorEmbeddingPending- New
forceparameter (default:false) to explicitly trigger full re-index - File changes are handled incrementally by the file watcher
🔄 EmbeddingPending State Handling
CodebaseManager::start()now treatsEmbeddingPendingas completed (index data is valid)- Previously fell through to catch-all branch and did nothing
Files Changed
| File | Change |
|------|--------|
| schema.surql | New file_hashes table |
| traits.rs | 4 new trait methods |
| surrealdb.rs | Implementations + SQL fix |
| indexer.rs | Hash comparison + file hash recording |
| manager.rs | EmbeddingPending handling |
| params.rs | force parameter |
| logic/code.rs | Skip re-index + cleanup |
Tests
- 73 tests passing ✅
cargo clippyclean ✅
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About pomazanbohdan/memory-mcp-1file
A self-contained Memory server with single-binary architecture (embedded DB & models, no dependencies). Provides persistent semantic and graph-based memory for AI agents.
Related context
Beta — feedback welcome: [email protected]