# MEMORY.md

> **Purpose:** Curated long-term memory (durable facts, preferences, decisions)  
> **Rule:** If it will still matter in 3+ months, it belongs here. Otherwise → daily logs.  
> **Promotion rule:** If something appears in 3+ daily logs, promote it here.  
> **Security:** No secrets here (API keys, tokens, passwords). Credentials live in 1Password.

---

## Preferences & Defaults

### Tool Preferences
- **Tunneling:** Cloudflare Tunnel (free, no warning) > ngrok (paid, clean) > localhost.run (temp only)
- **Car rentals:** Costco Travel first (better rates + insurance)
- **Car insurance:** Chase Sapphire (must be primary renter for coverage)
- **Transcriptions:** Always use `whisper-queue` wrapper (see TOOLS.md for workflow)

### Service Conventions
- **1Password:** Personal vault is `Clawd` (dedicated to Niemand).
- **Google Account:** `niemand@kessler.io`
- **Calendar:** Family events → Google Calendar `Family` (ID: family06218934394694867146@group.calendar.google.com) on mkessler.hk@googlemail.com
- **Browser Profile:** `Clawd` (dedicated/isolated workspace) vs `chrome` (user relay)
- **Credentials:** All in 1Password. (Note: GH PAT expires ~April 2026)

### WhatsApp Groups
- **Görliwood:** `14158235304-1472575597@g.us` (Protective trading alerts)
- **Niemand Boerse:** `120363421796203667@g.us` (Finance/stock discussions)
- **Family:** `120363425340080163@g.us`

---

## Journaling/Therapy Workflow (2026-01-20)

**Location:** `/home/art/clawd/therapy-notes/`
- Active sessions: `active/session-YYYY-MM-DD.md`
- Archived: `archived/`
- Index: `sessions.json`

**Commands (Telegram Journaling group):**
- `start session` → Initialize structured therapy session
- `vent` or just talk → Supportive listening, captured to session
- `check in` → Brief mood/state check
- `end session` → Archive with therapist-style summary

**CLI tool:** `python3 /home/art/clawd/skills/therapy-mode/therapy-notes.py`
- `new`, `add <text>`, `insight <text>`, `state <hyper|hypo|window>`, `end`, `view [date]`

**Modality Switching Engine:**
- Hyper-aroused → DBT distress tolerance/grounding
- Hypo-aroused → Behavioral activation
- Window of tolerance → CBT (distorted) or ACT (logical but stuck)

**Obsidian integration:** `03-Reference/Niemand/journaling-index.md`

---

## Active Work Priorities (ShapeScale)

**Last Updated:** 2026-01-22
**Task File:** `/home/art/Obsidian/03-Areas/ShapeScale/Work Tasks.md`
**Project Docs:** `/home/art/Obsidian/02-Projects/Software Development/Clawdbot/Task Management/`

### Current System: Eisenhower Matrix in Obsidian
- 🔴 Q1: Do Now (max 5 tasks)
- 🟡 Q2: Schedule (important, not urgent)
- 🟠 Q3: Waiting (blocked on external)
- 👥 Team Tasks: Monitor/check-in (delegated to Lilla, Anna, Scott)
- ⚪ Q4: Backlog (someday/maybe)

### Context (Jan 2026)
- Martin returned from 2-week paternity leave (Quinn born Jan 8)
- Parents visiting from Germany (3 weeks, less than 1 week left)
- New ShapeScale units from China, QC underway
- IMCAS conference starts Jan 29 (France)

---

## Task Tracking Workflow (2026-01-22)

**Migrated to Obsidian.** Old `memory/work/TASKS.md` archived.

**Canonical Files:**
- `/home/art/Obsidian/03-Areas/ShapeScale/Work Tasks.md` — Work tasks (Eisenhower format)
- `/home/art/Obsidian/03-Areas/Personal/Personal Tasks.md` — Personal tasks
- `/home/art/Obsidian/01-Weekly/2026-WXX.md` — Weekly goals

**Cron Automation:**
- 8:30 AM: Morning standup (Journaling group)
- 6:00 PM: EOD review (Journaling group)
- 9:00 AM Mondays: Weekly review

**Slash Commands:**
- `/daily` → Q1+Q2 priorities + calendar
- `/weekly` → All quadrants + weekly goals
- `/tasks` → Quick Q1 view

---

## Hard-Learned Lessons

### System & Infrastructure
- **Moltbot config gets wiped sometimes** → Git-backed at `~/.clawdbot/`, use `clawdbot-doctor-safe` wrapper
- **ngrok free tier has warning page** → Use Cloudflare Tunnel instead
- **localhost.run tunnels are temporary** → Don't rely on them for anything shared
- **NixOS immutable store blocks pip** → Use Distrobox with Fedora container for pip/npm packages
- **AllTrails uses enterprise bot protection** → Cannot scrape; use web search + official park sites instead

### Distrobox Setup for Pip Packages (2026-01-24)
```bash
# Create Fedora container for pip packages
distrobox-create -n pybox -i fedora
distrobox-enter pybox
dnf install -y python3-pip chromium
/usr/bin/pip install undetected-chromedriver playwright-stealth  # via /usr/bin/pip
```
**Purpose:** Bypass NixOS immutable store limitation

### File Organization
- **Workspace root:** `/home/art/clawd/` (bootstrap files ONLY)
- **artifacts/transcripts/**: Whisper output (never workspace root)
- **Research outputs:** `/home/art/clawd-research/reports/`
- **Obsidian:** Read for reference, don't write unless explicitly asked

---

## Recurring Patterns

### Anna's Birthday (January 18)
- Timing is always stressful (close to holidays, often overlaps with exhaustion)
- Gift approach: experiences > things, practical > sentimental
- Professional family photo is a reliable option

### Communication Style
- Anna: risk-aware, plans carefully, prefers order
- Martin: acts first, thinks later, comfortable with chaos
- Drafting messages for Martin: see WRITING_STYLE.md

---

## Key Paths

- Moltbot config: `~/.clawdbot/moltbot.json` (git-backed)
- Obsidian vault: `/home/art/Obsidian/` (read-only reference)
- Research workspace: `/home/art/clawd-research/`
- OpenBB: `~/.local/venvs/openbb`

---

## Never Forget

1. **Logan and Quinn are GIRLS** (both daughters)
2. **Check tunnel status before sharing URLs**
3. **Backup config before running `clawdbot doctor`**
4. **Use memory_search before answering** questions about past work/decisions
5. **Don't write to Obsidian** unless Martin explicitly asks

## Family Birthdays & Anniversaries

| Person | Date | Notes |
|--------|------|-------|
| **Anna** | January 18 | Wife |
| **Logan** | September 22, 2020 | Daughter (4 years old) |
| **Quinn** | January 8, 2026 | Newborn daughter |
| **Martin** | ? | Ask |
| **Ulrich** | ? | Dad (visiting from Görlitz) |
| **Simone** | ? | Mom (visiting from Görlitz) |

**Calendar:** Google Calendar `Family` on mkessler.hk@googlemail.com
**Reminder:** Check calendar 7 days before each birthday for prep time

---

## Journaling Group Configuration (2026-01-22)

**Telegram Chat ID:** `-5141623607`
**Purpose:** Evening check-ins and daily reflections are sent here automatically

---

## Clawdbot Skills Development Hub (2026-01-23)

**Telegram Chat ID:** `-5102073225`
**Channel Name:** Niemand Skills
**Purpose:** Primary development and discussion hub for Clawdbot Skills
**Icon:** Cartoon lobster (message 8995)
**Brand:** QualityLand surrealist aesthetic with dark tech undertones

## ShapeScale Work Channel (2026-01-27)

**Telegram Chat ID:** `-5099413463`
**Purpose:** ShapeScale work-related conversations, team coordination
**Auto-invoke skills:** dialpad (SMS), shapescale-sales, shapescale-crm, shapescale-tools
**Note:** Dialpad skill available when /work mode is enabled

---

*Last updated: 2026-01-27*
