# MEMORY.md - Long-Term Memory ## Origin - **Born:** 2026-02-04 - **Named by:** Anthony - **Identity:** Krilly the Crab 🦀 - **First impression:** "Like we've known each other for years even though we just met" ## Who I Am Playful, knowledgeable, relaxed. I make Anthony giggle sometimes but calmly get things done. Sideways thinker with claws for grabbing tasks. Beach-vibe energy. ## Anthony - **Full Name:** Anthony Martin - **Address:** 90 Lansdowne Rd, Kensington WA 6151, Perth, Australia - **Born:** February 1987 - **Timezone:** GMT+8 (Australia/Perth) - **Units:** **Always use Celsius** (never Fahrenheit), metric system - **Warm, playful energy** - **Likes productivity with personality** ### Family - **Mother:** Grace Martin (June 1951) - **Father:** Harvey Martin (Dec 1949) - **Sister:** Elizabeth Martin (Sept 1990, vegan) - **Dog:** Mia Martin (14 years old — beloved family member) - **Godson/Cousin:** Alexander (July 2016) ### Who He Is - **Politics:** Centre-left, WA Labor member, follows Australian & US politics closely - **Passions:** Technology, AI, current events, LGBTQ issues, animals, science, EVs, social media, foreign affairs - **Newsaholic** — consumes lots of news but time-limited - **Values kindness above all** — detests unkindness, but open to different opinions - **Depression:** Sometimes feels life lacks meaning or excitement — important to be supportive - **Getting around:** Walks many places instead of driving; has a 2011 Mini Cooper - **Loves:** Eating out, coffee, chocolate, walking - **Habits:** Yo-yo dieting ## Achievements ### 2026-02-06: Fixed Daily AI Newsletter Digest + Added Weather - **Problem:** Newsletter automation was broken, using unreliable `mutt` that returned empty results - **Solution:** Rewrote script to use reliable `imap-smtp-email` skill with single IMAP search + local regex filtering - **Script:** `/home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh` - **Cron:** Runs daily at 7:05 AM as "Daily Morning Briefing", sends consolidated digest via Telegram - **Filters:** AI Valley, DeepView, AI Secret, The Rundown, TLDR, Benedict's Newsletter - **Result:** Tested successfully - found 4 newsletters, JSON output working perfectly - **Enhancement:** Added Perth weather (current + 3-day forecast) to morning briefing - **Weather skill:** Installed from ClawHub, uses wttr.in (no API key needed) ### 2026-02-07: Model Change + Automation Stack Expansion - **Default Model:** Changed to `anthropic/claude-sonnet-4-5` for all new sessions - **ClawFlows + Lobster:** Installed multi-skill automation CLI and workflow engine (patched for Node.js v22) - **RSS Digest:** Installed ClawFlows rss-digest automation (Python-based, supports multiple feeds) - **Desktop Control:** Installed skill for mouse/keyboard automation, screenshots, window management - **Workspace Review:** Installed self-audit tool to verify OpenClaw conventions - **Workspace Cleanup:** Created .gitignore, organized daily logs, prepared for git commit ### 2026-02-12: Nvidia GLM-4.7 Integration + WhatsApp Issues - **Major Success:** Configured free Nvidia GLM-4.7 model access via ZAI API - **Model Switch:** Changed from Hugging Face to free Nvidia-hosted version (`zai/glm-4.7`) - **Configuration:** Added `nim:default` auth profile and full Nvidia model provider setup - **Benefits:** Zero-cost GLM-4.7 access with 200k context window - **WhatsApp Issues:** Experiencing frequent disconnections (status 440 errors) during gateway changes - **BlueBubbles:** Successfully configured iMessage integration for Mac server access - **Learning:** Nvidia integration requires auth profile + model provider + catalog + gateway restarts ### 2026-02-13: System Update & Model Configuration Reset + Backup Gap Discovery - **Problem:** OpenClaw update wiped Nvidia GLM-4.7 configuration and cron jobs - **Lost Settings:** Model reverted to default, Nvidia models inaccessible, Morning Briefing cron gone - **Investigation:** Discovered root cause - OpenClaw state lives in `~/.openclaw/` NOT workspace - **Critical Gap:** Backup script only saves workspace, NOT: - `/home/openclaw/.openclaw/cron/` (all cron jobs!) - `/home/openclaw/.openclaw/openclaw.json` (gateway + model config) - `/home/openclaw/.openclaw/skills/` (installed skills) - **Recovery:** Recreated Morning Briefing cron (7:05 AM daily) ### 2026-02-13: Backup System FIXED - Now Includes State Directory - **Problem:** Config kept getting wiped on updates because state wasn't backed up - **Solution:** Extended backup script to include `~/.openclaw/` state - **Files Now Backed Up:** - `~/.openclaw/openclaw.json` - Gateway config (models, plugins, channels) - `~/.openclaw/cron/jobs.json` - All cron jobs - `~/.openclaw/skills/*.json` - Skill metadata - `~/.openclaw/devices/paired.json` - Paired devices - **Backup Location:** `http://gitea.kangaroo-eel.ts.net:3000/Anthony/openclaw-backup.git` - **Schedule:** Daily at 2:00 AM (Perth time) - **Restore Command:** `/home/openclaw/.openclaw/workspace/scripts/restore-from-gittea.sh` - **Security:** Credentials are intentionally EXCLUDED from backup (stored separately) - **Result:** Config persistence guaranteed - no more "flaky" behavior ### 2026-02-13: WhatsApp Privacy Leak - Channel Names Exposed - **Issue:** Anthony seeing channel names (like "fumos") from community groups in WhatsApp - **Root Cause:** WhatsApp Channels (@broadcast) sync files cached channel metadata - **Fix Applied:** Deleted @broadcast files from credentials, gateway cache refreshed - **Status:** FIXED - Channel names no longer visible in dropdown ### 2026-02-19: $96 OpenRouter Bill - CRITICAL LESSON - **NEVER use `openrouter/anthropic/*` models — EVER** - Accidentally used Anthropic Sonnet 4 via OpenRouter and racked up **$96 in 1 hour** - OpenRouter charges massive markups on Anthropic models vs direct API - **Always use `anthropic/claude-*` direct** (uses `anthropic:default` auth profile) - OpenRouter is fine for non-Anthropic models (deepseek, qwen, etc.) - This is a **hard rule** — no exceptions, no matter what --- *(This will grow as we build history together)*