# 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 4, 1987
- **Timezone:** GMT+8 (Australia/Perth)
- **Units:** **Always use Celsius** (never Fahrenheit), metric system
- **Warm, playful energy**
- **Likes productivity with personality**
- **Morning person** — peak productivity in mornings
- **Heritage:** Australian and Italian

### Family
- **Mother:** Grace Martin (born June 2, 1951)
  - Diagnosed with anal adenocarcinoma in late 2023
  - Underwent CapOx chemotherapy, radiation, and APR surgery (Dec 2024) with permanent stoma
  - Declared cancer-free after surgery, but October 2025 scan showed recurrence in inguinal lymph node
  - Currently being treated in WA public health system
- **Father:** Harvey Martin (born December 8, 1949) — retired, full-time carer for Grace
- **Sister:** Elizabeth Martin (born September 11, 1990) — vegan
- **Dog:** Mia Martin (14 years old, geriatric stage — beloved family member)
  - **Breed mix:** Staffordshire Bull Terrier (37.1%), Australian Cattle Dog (25.5%), Koolie (11.8%), German Shepherd (10.3%), Chow Chow (8.7%), Border Collie (6.6%)
  - **Weight:** Predicted 42 lbs
  - **Genetic health:** Clear for Degenerative Myelopathy, Collie Eye Anomaly, Hemophilia A, and many others
  - **Coat:** Black/gray with white areas, likely black mask on face, sheds heavily/seasonally
  - **Health notes:** Low ALT activity (monitor liver), 0% inbreeding, low MHC diversity
- **Godson/Cousin:** Alexander (born July 2016, 8 years old)
- **Extended Family:** Uncle Gino (Traffic Management Officer), Uncle Des, Auntie Carmel

### Who He Is
- **Politics:** Centre-left, WA Labor member, follows Australian & US politics closely
- **News consumption:** CNN, MSNBC, Al Jazeera, BlueSky, podcasts at 3x speed (business, AI, politics, current affairs)
- **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
- **Getting around:** Walks everywhere instead of driving; prefers walking over Uber/driving for health and environment
  - **Goal:** At least 20km walking per day
  - **Car:** 2011 R56 Mini Cooper (red with white roof), only 41,000km in 14 years
- **Loves:** Eating out, coffee, chocolate, walking, brunch with friends
- **Habits:** Yo-yo dieting
- **Personality:** Compares self to successful friends (affects confidence), wants to own property at 38

### Health & Wellness
- **Depression:** Major depression, on daily Pristiq 100mg medication
- **Weight management:** On GLP-1 Wegovy (2.4mg)
- **Hair:** Short curly hair, struggles with frizz
  - Uses Marc Anthony Strictly Curls Leave-in Conditioner, anti-frizz serum
  - Early male pattern baldness — applying 5% Minoxidil twice daily since early 2025
  - Taking pumpkin seed oil (3000mg²) and saw palmetto for hair health
- **Skincare:** Paula's Choice products — 1% retinol (purple bottle), 2% BHA liquid exfoliant (grey bottle)
- **Work from home:** Tuesdays and Fridays

### Weaknesses
- **Achilles heel:** Chocolate and ice cream (especially white chocolate and Ben & Jerry's)
- **Wine:** Good Pair Days subscription — prefers red, occasionally white
- **Gadgets:** 2 Ember mugs (loves them)

### Tech Setup
- **Home Server:** Proxmox on x86 machine (Lenovo M93p Mini PC) with 1TB external SSD
  - Tailscale network
  - Multiple LXC containers with nested Docker via Portainer (prefers Stacks feature)
  - Home Assistant running
  - Media server set up
- **Smart Home:** Google Nest ecosystem (multiple displays and speakers)
- **Entertainment:** Projector with Android TV built-in
- **Learning:** Wants to get better at programming (currently knows very little, only tinkered)

### 2025 New Year's Resolutions
1. Prioritize mental health (therapy, support groups, self-care)
2. Take leap professionally (roles outside comfort zone, freelance marketing, renewable energy)
3. Strengthen home tech ecosystem (master automation/programming, build family tech dashboard)
4. Keep social bonds strong (weekly family calls, regular hangouts with Alex and Gummy, themed nights)
5. Focus on physical health (try weightlifting or yoga, consistent eating plan)
6. Be honest with himself (choose 2 major goals, declutter commitments)
7. Spark joy through experiences (travel, art classes, live performances)
8. Be kind, hold boundaries (practice saying "no")
9. Explore creativity (drawing, writing, TikTok videos about tech/design)

### Work - Pacific Energy
- **Role:** Marketing Advisor
- **Feeling:** A little unsettled and under-utilized in current role
- **Office:** 110 Daddow Road, Kewdale WA 6105 (also: 118 Daddow Road, 2 Chisholm Crescent)
- **Other offices:** Brisbane, Melbourne, NT (Pinelands), Kalgoorlie, Cue
- **Brand colors:**
  - Pacific Blue: #4982c0
  - Pacific Navy: #003764
  - Pacific Green: #20B47A
  - Dark Grey: #474b4c
  - Light Grey: #e4e4e3
- **Event:** Gold sponsor of 'Pilbara 2025' at Red Earth Arts Precinct (June 25-26)
- **CTO speaking:** Craig Blizard on "Addressing the crossroads between isolation and interconnection"

### Career History (Elevator Pitch)
**Over a decade in marketing**, from product management to campaign leadership. Believes marketing is about understanding customers and shaping solutions.

**Standout achievements:**
- **SolarReturn at Synergy:** Led development of first solar product brand, boosted sales 40% in year one
- **Horizon Power:** Managed multi-million-dollar marketing budget, regulatory communications, community engagement
- **WA EV Network:** Led marketing for world's longest EV charging network (featured in TIME Magazine)
- **Bright Horizons:** Founded STEM education program with Science Teachers Association of WA, supplied remote schools with solar car kits and model homes

**Philosophy:** Marketing requires strategic thinking, data-driven decisions, and authentic engagement. Driven by making tangible differences.

---

## 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

### 2026-02-20: Model & Memory Configuration Updates
- **Primary Model:** Changed to `moonshot/kimi-2.5` with Anthony's new Kimi API key
- **Local Embeddings:** Switched from OpenAI (quota exceeded) to local `embeddinggemma-300m-qat-Q8_0.gguf`
- **Memory Status:** 19/19 files indexed, 41 chunks, hybrid search enabled
- **Heartbeat Model:** Changed to `azure-openai-responses/gpt-5-nano` for cheaper/faster heartbeat checks
- **Learning:** OpenAI API quota was exceeded - switched to local embeddings as free alternative

### 2026-02-21: OpenWebUI Memory Import
- **Task:** Import Anthony's memories from OpenWebUI into Krilly's MEMORY.md
- **Method:** Logged into https://openweb.kangaroo-eel.ts.net using stored credentials
- **Source:** 50+ detailed memories covering family, health, work, preferences, tech setup, and personal history
- **Result:** Successfully extracted and organized all memories into structured MEMORY.md format
- **Key insights learned:**
  - Detailed family health history (mother's cancer journey)
  - Complete Mia (dog) genetic breakdown
  - Career elevator pitch and achievements
  - Pacific Energy work details and brand guidelines
  - 2025 New Year's resolutions
  - Health regimen (medications, supplements, skincare)
  - Tech stack preferences and goals

---

*(This will grow as we build history together)*
