84 lines
3.0 KiB
Markdown
84 lines
3.0 KiB
Markdown
# 2026-03-02 — Monday (Heartbeat Check)
|
|
|
|
## Morning (04:13)
|
|
- Heartbeat initiated — systems check
|
|
- Monday weekly maintenance triggered
|
|
|
|
## Weekly Maintenance (Monday Tasks)
|
|
- [x] Backup logs reviewed — some expected errors (UniFi credential path, private IP blocks)
|
|
- [x] MEMORY.md reviewed — current and accurate
|
|
- [ ] Store key decisions from past week — no major decisions since Feb 28
|
|
|
|
## Log Review — Issues Flagged
|
|
|
|
### 🔴 UniFi Skill — Credential Write Failing
|
|
- **Error:** `write failed: Path escapes workspace root` (5+ occurrences since midnight)
|
|
- **Root cause:** Skill trying to use `write` tool for `~/.clawdbot/credentials/unifi`
|
|
- **Fix:** Update skill to use `exec` + file operations (like Obsidian CLI pattern)
|
|
- **Impact:** UniFi monitoring may not have credentials cached
|
|
|
|
### 🟡 Expected/Normal
|
|
- `web_fetch` blocked for `192.168.0.39` — security policy blocking private IPs
|
|
- `read` failed for `2025-03-02.md` — date math error (old date), non-critical
|
|
|
|
## Active Projects (Carried Forward)
|
|
- UniFi Network Monitoring — needs credential fix
|
|
- Research Agent Spawning — active
|
|
- Mission Control Python — stable
|
|
- Discord Reminder System — stable ✅
|
|
|
|
## Notes
|
|
- Supermemory backup running via cron (status nominal)
|
|
- Discord voice bot operational
|
|
- All core systems green
|
|
|
|
## Evening — Memory Vector System Complete
|
|
|
|
### What We Built
|
|
Replaced flaky Supermemory embedding with local SQLite-vector solution.
|
|
|
|
**Components:**
|
|
| Component | File | Purpose |
|
|
|-----------|------|---------|
|
|
| `memory_vector.py` | `/workspace/` | Core wrapper for sqlite-vector |
|
|
| `memory_embedding_worker.py` | `/tools/` | Daily memory processor |
|
|
| `session_snapshotter.py` | `/tools/` | Real-time conversation capture |
|
|
| `search_memories.py` | `/tools/` | CLI search tool |
|
|
| `bulk_memory_loader.py` | `/tools/` | One-time historical import |
|
|
| `memory-embeddings-cron.ps1` | `/scripts/` | Cron wrapper |
|
|
|
|
**Technical Details:**
|
|
- **Database:** `~/.openclaw/memory.db` with `memory_embeddings` table
|
|
- **Dimensions:** 768 (nomic-embed-text)
|
|
- **Extension:** sqlite-vector (sqliteai) via Python package
|
|
- **Backup:** `memory-backup-20260302-215210.db` created before migration
|
|
|
|
**Bulk Load Results:**
|
|
- Daily notes: 818 embeddings
|
|
- Project files: 332 embeddings
|
|
- MEMORY.md: 33 embeddings
|
|
- **Total:** 1,186 embeddings in vector DB
|
|
|
|
**Automation:**
|
|
- Daily cron at 3 AM: Processes yesterday's memory file
|
|
- Session snapshotter: Every 15 substantial messages
|
|
- Manual tools: `search_memories.py` for CLI queries
|
|
|
|
**Search Example:**
|
|
```python
|
|
python tools/search_memories.py "home assistant automation"
|
|
```
|
|
|
|
### Session Memory Tracker
|
|
- Message count tracked in `workspace-context.md`
|
|
- Auto-snapshot at message #15, #30, #45, etc.
|
|
- Audit trail visible in Session Memory Tracker table
|
|
- All snapshots stored with `source_type="session_snapshot"`
|
|
|
|
### Status
|
|
🟢 **Operational** — Supermonkey-powered memory system active
|
|
|
|
---
|
|
*Session: Heartbeat | Monday maintenance mode | Evening: Memory Vector System deployed*
|
|
*Session ended: 23:00 CST | 46 messages | 1,187 total embeddings*
|