-
-
Notifications
You must be signed in to change notification settings - Fork 9
Migration from V2
Upgrading from SuperLocalMemory V2 to V3 is a one-command process. No data is lost.
- Three operating modes (A/B/C) — choose your privacy/accuracy trade-off
- 4-channel retrieval — semantic, keyword (BM25), entity graph, and temporal search working together
- Mathematical foundations — information-geometric similarity, consistency checking, self-organizing lifecycle
- Scene and bridge discovery — connects related memories across conversations
- Cross-encoder reranking (Mode C) — precision ordering of results
- Enhanced entity resolution — smarter deduplication and linking
- Back up your database (recommended but not required — migration creates an automatic backup):
cp ~/.claude-memory/memory.db ~/.claude-memory/memory.db.backup- Update to the latest version:
npm install -g superlocalmemory@latest- Check migration readiness:
slm migrate --statusRun the migration command:
slm migrateThe migration will:
- Create a backup of your V2 database
- Add V3 tables (entity graph, scenes, temporal events, math state)
- Add V3 columns to existing tables
- Re-index memories for 4-channel retrieval
- Build the entity graph from existing memories
- Move the database to
~/.superlocalmemory/(with symlink from~/.claude-memory/) - Update IDE configurations
This takes 1-5 minutes depending on database size.
Everything from V2 carries over:
- All stored memories (content, tags, timestamps, importance)
- All profiles and profile isolation
- Trust scores per agent
- Learning system state (LightGBM models, patterns)
- Provenance chains
- Compliance settings (retention policies, audit logs)
- Knowledge graph data
| Item | V2 | V3 |
|---|---|---|
| Database location | ~/.claude-memory/ |
~/.superlocalmemory/ (symlink for compat) |
| Default mode | Single mode | Mode A (zero cloud) |
| Retrieval | Semantic + FTS5 | 4-channel (semantic + BM25 + graph + temporal) |
| Lifecycle | Manual | Self-organizing (Langevin dynamics) |
| Consistency | None | Automatic contradiction detection |
Verify the migration succeeded:
slm status
slm healthCheck your memory count matches what you had before.
If anything goes wrong, rollback within 30 days:
slm migrate --rollbackThis restores your V2 database from the automatic backup and reverts IDE configurations.
Will my IDE connections break?
No. The migration updates IDE configs automatically. The ~/.claude-memory/ path is symlinked to ~/.superlocalmemory/, so old paths still work.
Do I need to re-store my memories? No. All existing memories are preserved and re-indexed for V3's 4-channel retrieval.
Can I go back to V2?
Yes, use slm migrate --rollback within 30 days. After 30 days, the backup is automatically removed.
Does migration require an internet connection? No. The migration is entirely local.
How long does it take? 1-5 minutes for typical databases (under 50,000 memories). Larger databases may take longer.
Part of Qualixar | Created by Varun Pratap Bhardwaj
SuperLocalMemory V3 — Your AI Finally Remembers You. 100% local. 100% private. 100% free.
Part of Qualixar | Created by Varun Pratap Bhardwaj | GitHub
SuperLocalMemory V3
Getting Started
Reference
Architecture
Enterprise
Release Notes
V2 Documentation