Pre-compaction: working-context + daily notes updated
This commit is contained in:
parent
454e7c4a15
commit
90a8c057f3
|
|
@ -229,3 +229,18 @@ Johan promoted James from assistant to **Chief of Staff**. Key principles:
|
||||||
- contextPruning.mode: "cache-ttl", ttl: "5m"
|
- contextPruning.mode: "cache-ttl", ttl: "5m"
|
||||||
- hooks.messages → sessionKey: "mail" (was "main")
|
- hooks.messages → sessionKey: "mail" (was "main")
|
||||||
- MC triage prompt: ~/clawd/config/email-triage-prompt.md
|
- 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
|
||||||
|
|
|
||||||
|
|
@ -1,35 +1,33 @@
|
||||||
# Working Context
|
# Working Context
|
||||||
|
|
||||||
## Current Project: inou-mobile Flutter App
|
## Last Session: 2026-02-13 (RCA & Architecture Overhaul)
|
||||||
- **Location:** `/home/johan/dev/inou-mobile/`
|
|
||||||
- **Device:** ThinkPhone (ZY22J5H4FQ), Android 15
|
|
||||||
- **Mac SSH:** `johanjongsma@192.168.1.14`
|
|
||||||
|
|
||||||
### Theme: ✅ Complete
|
### What happened
|
||||||
- inou styleguide colors applied (amber accent, cream background)
|
- Deep RCA on continuity loss → led to full infrastructure restructuring
|
||||||
- Light theme default, dark theme available
|
- 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
|
### Active Projects
|
||||||
- Create `lib/features/auth/login_screen.dart`
|
- **MC triage** — just deployed, needs monitoring. Watch for false negatives (important emails getting trashed)
|
||||||
- Update `lib/services/auth_service.dart`
|
- **Shannon VPS** (82.24.174.112) — Docker built, Shannon containers up, but API key has no credits. Needs top-up.
|
||||||
- Flow: email/password login → then biometric for subsequent logins
|
- **Alert Dashboard** — running on port 9202, source at /home/johan/dev/alert-dashboard/
|
||||||
- AuthGate exists but is commented out in main.dart
|
- **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
|
### Pending
|
||||||
- WebView 404: `https://inou.com/app` doesn't exist
|
- Kaseya device policy change (BYOD → managed devices). Johan needs to request MacBook Pro.
|
||||||
- Either create web content OR change `AppConfig.webAppUrl` in `lib/core/config.dart`
|
- Real estate: 851 Brightwaters listed at $7.25M on Zillow. Diana Geegan negotiating.
|
||||||
|
- Belastingdienst: Dutch corporate tax filing reminder for 2025
|
||||||
|
|
||||||
### Key Commands
|
### Key Reminders
|
||||||
```bash
|
- bird for X/Twitter — ALWAYS
|
||||||
# Screenshot
|
- memory_search before responding to references — MANDATORY
|
||||||
ssh johanjongsma@192.168.1.14 'PATH=/opt/homebrew/bin:$PATH adb -s ZY22J5H4FQ exec-out screencap -p' > /tmp/phone_screenshot.png
|
- Right model for right job: Opus for judgment, K2.5 for grunt work
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue