diff --git a/memory/2026-02-13.md b/memory/2026-02-13.md index 53c943b..f0b1f40 100644 --- a/memory/2026-02-13.md +++ b/memory/2026-02-13.md @@ -229,3 +229,18 @@ Johan promoted James from assistant to **Chief of Staff**. Key principles: - contextPruning.mode: "cache-ttl", ttl: "5m" - hooks.messages → sessionKey: "mail" (was "main") - MC triage prompt: ~/clawd/config/email-triage-prompt.md + +### Memory System Discussion (11:54 PM) +- Discussed LoRA vs file-based memory — LoRA would bake patterns into weights, eliminating the "read files to pretend I remember" gap +- Johan proposed SQLite + embeddings as alternative to .md files +- Tested existing memory_search — it already works well (Gemini embeddings, 0.80+ scores for Shannon queries across sessions) +- **Key insight:** The problem isn't search quality — it's that I don't USE memory_search consistently before responding +- Added MANDATORY memory_search rule to AGENTS.md: "Search before speaking, no exceptions" +- Johan's framing: "I will write the number down if I think it is important" — hybrid approach (explicit + auto-extraction) +- OpenClaw has `maxInjectedChars` config but doesn't auto-inject memory results per-turn — it's a tool I must call +- Future consideration: auto-inject memory search results into system prompt before each turn (gateway-level) + +### Late Night Session Summary +This was the most productive infrastructure session we've had. Everything stems from Johan's philosophy: **attack problems at their source, not downstream.** +- Started with RCA on continuity loss +- Ended with a fundamentally restructured system: email triage in MC, session management aligned to schedule, context pruning active, cron rationalized, memory discipline enforced diff --git a/memory/working-context.md b/memory/working-context.md index 2eb801b..25d82a3 100644 --- a/memory/working-context.md +++ b/memory/working-context.md @@ -1,35 +1,33 @@ # Working Context -## Current Project: inou-mobile Flutter App -- **Location:** `/home/johan/dev/inou-mobile/` -- **Device:** ThinkPhone (ZY22J5H4FQ), Android 15 -- **Mac SSH:** `johanjongsma@192.168.1.14` +## Last Session: 2026-02-13 (RCA & Architecture Overhaul) -### Theme: ✅ Complete -- inou styleguide colors applied (amber accent, cream background) -- Light theme default, dark theme available +### What happened +- Deep RCA on continuity loss → led to full infrastructure restructuring +- Johan promoted me to Chief of Staff +- Rebuilt email pipeline: K2.5 triage embedded in Message Center (Go binary at /home/johan/dev/message-center/) +- MC triage prompt: ~/clawd/config/email-triage-prompt.md (hot-reloadable) +- Killed K2.5 watchdog cron (288 phantom sessions/day) +- Cleaned 2,514 orphaned session files +- Daily reset moved from 4am → 9pm ET +- Nightly Maintenance cron at 9pm (updates + memory flush + session cleanup) +- Context pruning enabled (cache-ttl, 5m) +- Email webhook moved from main → mail agent -### Next: Login Screen + Biometric -- Create `lib/features/auth/login_screen.dart` -- Update `lib/services/auth_service.dart` -- Flow: email/password login → then biometric for subsequent logins -- AuthGate exists but is commented out in main.dart +### Active Projects +- **MC triage** — just deployed, needs monitoring. Watch for false negatives (important emails getting trashed) +- **Shannon VPS** (82.24.174.112) — Docker built, Shannon containers up, but API key has no credits. Needs top-up. +- **Alert Dashboard** — running on port 9202, source at /home/johan/dev/alert-dashboard/ +- **Azure Files Backup** — feature complete, blocked on `az login` MFA. Free account expires ~Feb 27! +- **inou Mobile** — Flutter app, WebView needs inou.com/app content +- **Dr. Madan call** — Sunday Feb 15 at 2PM ET (reminder cron set, auto-deletes) -### Blockers -- WebView 404: `https://inou.com/app` doesn't exist -- Either create web content OR change `AppConfig.webAppUrl` in `lib/core/config.dart` +### Pending +- Kaseya device policy change (BYOD → managed devices). Johan needs to request MacBook Pro. +- Real estate: 851 Brightwaters listed at $7.25M on Zillow. Diana Geegan negotiating. +- Belastingdienst: Dutch corporate tax filing reminder for 2025 -### Key Commands -```bash -# Screenshot -ssh johanjongsma@192.168.1.14 'PATH=/opt/homebrew/bin:$PATH adb -s ZY22J5H4FQ exec-out screencap -p' > /tmp/phone_screenshot.png - -# Build & Run (on Mac) -cd ~/dev/inou-mobile && flutter run -d ZY22J5H4FQ - -# Hot reload: press 'r' in flutter session -``` - -### Git -- Remote: `git@zurich.inou.com:inou-mobile.git` -- Push from server, pull on Mac before building +### Key Reminders +- bird for X/Twitter — ALWAYS +- memory_search before responding to references — MANDATORY +- Right model for right job: Opus for judgment, K2.5 for grunt work