From 1fea28492201abd0a479b299bbb067fe57ae5f6d Mon Sep 17 00:00:00 2001 From: AlexAI Date: Tue, 3 Mar 2026 06:22:17 -0600 Subject: [PATCH] vault backup: 2026-03-03 06:22:17 --- OpenClaw/MEMORY Index.md | 32 ++++++++++++++++++++++++++++- OpenClaw/Sync History 2026-03-03.md | 10 +++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 OpenClaw/Sync History 2026-03-03.md diff --git a/OpenClaw/MEMORY Index.md b/OpenClaw/MEMORY Index.md index 99065f0..746d534 100644 --- a/OpenClaw/MEMORY Index.md +++ b/OpenClaw/MEMORY Index.md @@ -19,7 +19,7 @@ | **Mission Control Python** | ✅ Live | `memory/projects/mission-control-python.md` | "dashboard", "mission control", "python", "flask" | | **Proton Mail Bridge** | ✅ Functional | `memory/projects/proton-mail-bridge.md` | "proton", "email", "imap", "smtp", "mail" | | **Coding Workflow** | ✅ Active | `memory/projects/coding-workflow.md` | "coding", "git", "repo", "workflow" | -| **Memory System** | ✅ Active | `memory/projects/memory-system.md` | "memory", "database", "backup", "sqlite" | +| **Memory System** | ✅ **Supermonkey** | `memory/projects/memory-system.md` | "memory", "database", "backup", "sqlite", "vector", "embeddings" | | **Discord Voice Bot** | ✅ Complete | `memory/projects/discord-voice-bot.md` | "voice bot", "glados", "TTS", "STT" | | **Daily Notes Automation** | ✅ Active | `Obsidian/Daily Notes/` | "daily notes", "evening", "template" | | **Workspace Git Backup** | ✅ Active | `gitea.lasuca.com/admin/openclaw-workspace` | "backup", "git", "gitea" | @@ -102,9 +102,39 @@ |--------|----------|----------| | **Daily Notes** | `memory/2026-*.md` | "What happened on [date]?" | | **SQLite DB** | `~/.openclaw/memory.db` | "What tasks are pending?" (structured query) | +| **Vector Search** | `~/.openclaw/memory.db` → `memory_embeddings` | Semantic search across all memory | | **Workspace Context** | `workspace-context.md` | Current conversation, in-progress | | **Supermemory** | Cloud backup | Disaster recovery | +### Vector Search (NEW 2026-03-02) + +**Replaces:** Supermemory embedding API (unreliable) + +**How it works:** +1. Daily notes → Ollama (nomic-embed-text) → 768-dim vectors +2. Stored in SQLite via sqlite-vector extension +3. Cosine similarity search for semantic retrieval + +**Tools:** +```powershell +# Search memories +python tools/search_memories.py "your query" + +# Manual snapshot +python tools/session_snapshotter.py "summary text" +``` + +**Database:** +- Table: `memory_embeddings` (1,185+ entries) +- Columns: source_type, source_path, content_text, embedding (BLOB) +- Extension: `sqlite-vector` (sqliteai) + +**Cron Jobs:** +- Daily: `0 3 * * *` → Processes yesterday's memory file +- Session: Every 15 messages → Real-time conversation capture + +Source: See daily note `2026-03-02.md` for full details + --- ## Security Update: Obsidian Write Workflow (2026-02-27) diff --git a/OpenClaw/Sync History 2026-03-03.md b/OpenClaw/Sync History 2026-03-03.md new file mode 100644 index 0000000..a53c2f6 --- /dev/null +++ b/OpenClaw/Sync History 2026-03-03.md @@ -0,0 +1,10 @@ +# OpenClaw Sync - 2026-03-03 + +## Files Synced +- Tools Reference.md (from TOOLS.md) +- MEMORY Index.md (from MEMORY.md) + +## Notes +Last updated: 06:00 + +---