Skip to content

Mnemosyne v2.0.0 - Production Ready

Choose a tag to compare

@rand rand released this 31 Oct 02:39
· 536 commits to main since this release

Mnemosyne v2.0.0 - Production Ready Release

Release Date: October 30, 2025
Status: ✅ Production Ready


🎉 Major Features

🧠 Complete Evaluation System

Privacy-Preserving Hierarchical Learning

  • 13 privacy-preserving features (statistical only, no raw content)
  • Database-backed persistence with LibSQL
  • Hierarchical learning: Session (30% dampening) → Project (10% dampening) → Global
  • Performance metrics (precision, recall, F1)
  • Result: All 11 evaluation TODOs resolved

✏️ ICS: Integrated Context Studio

13-Language Syntax Highlighting (tree-sitter 0.23):

  • Rust, Python, Go, TypeScript, JavaScript
  • JSON, TOML, YAML, Markdown, Bash, C, C++, Zig

Complete Vim Mode (14 movement commands):

  • Word navigation: `w`, `b`, `e`
  • Character finding: `f`, `F`, `t`, `T`
  • Page navigation: Ctrl+U, Ctrl+D
  • Buffer navigation: `gg`, `G`
  • Testing: 13 comprehensive tests

🔄 Evolution System Enhancements

  • Link traversal tracking (`last_traversed_at`)
  • User-created link preservation (no decay)
  • Decay factors: 25% (180d), 50% (90d), 80% (30d for old links)

✅ Test Infrastructure

  • Cross-platform E2E: bash 3.2 compatibility (macOS)
  • 20 E2E scenarios: Exceeds 17 required
  • 454 unit tests: 100% pass rate (0 failures)
  • Coverage: 70-75% overall (critical path 85-90%)

📊 Test Results

Unit Tests

```
running 461 tests
test result: ok. 454 passed; 0 failed; 7 ignored
Finished in 4.88s
```

Coverage

  • Overall: 70-75%
  • Critical path: 85-90%
  • Business logic: 75-80%
  • UI layer: 60-65%

Build Performance

  • Build time: 38.9s (release)
  • Test time: 4.88s (454 tests)
  • Status: Clean compilation, no warnings

🔧 Technical Achievements

1. Privacy-First Evaluation Architecture

All evaluation features are statistical with no raw content storage:

  • Keyword overlap scores (not keywords themselves)
  • Semantic similarity (cosine distance only)
  • Access patterns tracked, not content accessed
  • Historical success rates aggregated anonymously

2. Hierarchical Learning System

```
Session Weights (rapid adaptation)
↓ 30% dampening
Project Weights (stable patterns)
↓ 10% dampening
Global Weights (conservative accumulation)
```

3. Complete Vim Implementation

  • Proper word boundary detection
  • Multiline word navigation
  • Character finding with till vs. find distinction
  • 13 comprehensive tests covering all edge cases

4. Cross-Platform Compatibility

  • Fixed bash 3.2 compatibility for macOS
  • Portable E2E test suite across all platforms

📝 Commits (7 total)

  1. `9c97906` - Hierarchical learning propagation and metrics
  2. `3bd6c5a` - Memory lookups and historical queries
  3. `c88c008` - Evaluation feature storage and contextual matching
  4. `32362a5` - Vim movement commands implementation
  5. `db5781c` - E2E test bash compatibility fix
  6. `1e37c5c` - Documentation updates for v2.0
  7. `65a5407` - Version bump to 2.0.0

Total changes: ~800 lines added, ~50 deleted, 9 files modified, 27 tests added


🚀 Installation

```bash

Clone and install

git clone https://github.com/rand/mnemosyne.git
cd mnemosyne
./scripts/install/install.sh

Or manual installation

cargo build --release
cp target/release/mnemosyne ~/.local/bin/
mnemosyne init
```


📚 Documentation

  • README: Complete feature overview
  • ROADMAP: All 12 phases complete
  • Installation: Automated scripts validated
  • API Documentation: All endpoints current

🎯 What's Next (v2.1.0)

  • Performance optimization pass
  • Enhanced evaluation tuning
  • Additional ICS language support
  • Advanced agent features (prefetching, role-based views)
  • VSCode extension (separate project)

🙏 Acknowledgments

Built with:

  • Rust - Safe, fast systems programming
  • LibSQL - SQLite with vector extensions
  • tree-sitter - Incremental parsing
  • fastembed - Local embeddings
  • Ractor - Actor-based orchestration

Full changelog: v1.0.0...v2.0.0