# MEMORY.md - Curated Long-Term Memory
# Keep this LEAN. Reference material lives in docs/reference.md (searched on-demand).

## Critical Rules (Always Loaded)
- **Gemini API key:** `AIzaSyDXqYZInk83iVV4mD29pSuHQKbgkiI1x9Q` (in ~/.bashrc as GEMINI_API_KEY — fixed 2026-03-04, old key was dead)
- **Image generation:** Use Nano Banana Pro skill with `GEMINI_API_KEY` env var. Models: `gemini-3.1-flash-image-preview` (default), `imagen-4.0-generate-001`, `imagen-4.0-ultra-generate-001`
- **Figma Bridge:** WSS tunnel URL changes on restart — check `screen -S figma-tunnel` for current URL. Channel: `Kitt`
- **Notion key:** /home/clawd/secrets/notion/api_key
- **CE Google token:** /home/clawd/secrets/google/kitt-workspace-token.json (PRIMARY)
- **Screenshots:** Use Playwright (`/usr/bin/playwright`), NOT ScreenshotOne
- **Images:** Compress before deploying (`node scripts/images/compress-images.js <dir>`)
- **CE pages:** MUST use styleguide. Quality gate: `skills/ce-ui-quality/SKILL.md`
- **Memory search:** ENABLED with Gemini
- **gcal.py:** Sometimes hangs — retry or timeout

## Team Intro Show
- **Trigger:** "present the team" / "let the team present themselves"
- **Script:** `node scripts/discord/team-show.cjs`
- **Webhook:** hardcoded for #curious-endeavor (channel 1467975707106738290)
- **What it does:** Each agent posts as themselves via Discord webhook with their own avatar, name, personality. ~25 seconds.
- **Figma relay:** `scripts/figma/figma-relay-web.cjs` on port 3055, needs `screen -dmS figma-relay` to start. Tunnel via cloudflared if external access needed.

## Lukas CRM
- **Sheets CRM:** https://docs.google.com/spreadsheets/d/1P39N6Tt_OeMWP0q2MMxooJOhm3E8g5pzT085XyK7X4w/edit#gid=1173318268
- **Tab:** Pipeline | **Auth:** token-lukas.json
- **Rule:** Always use this sheet (never Notion) when Lukas asks to add/update CRM entries

## Active Projects
Query Notion for current state. Key references in docs/reference.md.

## Cropster Pitch
- **Status:** IN PROGRESS — pitch page live, tone-of-voice page built, recommendations section staged
- **Contact:** Christina Jakob, Head of Marketing at Cropster (warm intro via Lukas Richthammer)
- **Context:** Post-Verdane acquisition (Oct 2024 majority stake) = growth mandate. CE angle: agency-grade output without agency overhead.
- **Live URL:** `https://www.curiousendeavor.com/cropster-pitch/`
- **Tone of Voice:** `https://www.curiousendeavor.com/cropster-pitch/tone-of-voice.html`
- **Files:**
  - `public/cropster-pitch/index.html` — main pitch page
  - `public/cropster-pitch/tone-of-voice.html` — tone of voice page
  - `work/pitches/cropster/` — research, brand assets, visual research, brand brief
  - `work/pitches/cropster/cropster/brand-research.md` — brand research
  - `work/pitches/cropster/brand-brief/phase1-research.md`
- **Hero headline:** "Marketing that moves as fast as the coffee supply chain."
- **Pitch angle:** Four Cropster products (Origin, Roast, Cafe, Commerce) = four audiences CE handles simultaneously
- **Key copy decision:** CE is NOT an agency — AI system encoding decades of marketing judgment. Brand person is guide/director, not passenger.
- **Branch/deploy:** `staging` branch → staging.curiousendeavor.com | `main` → production (curiousendeavor.com). **Always work on `staging` branch.**
- **Next:** Lukas to review → draft outreach from Lukas to Christina Jakob → send URL (no screenshots in Discord)

## Key Notion IDs
- **Inspiration Library:** `2ff330c2-8646-81f0-bbd9-ec474393d7a5`
- **Trend Intelligence DB:** `30e330c2-8646-810b-a638-c4b782320804`
- **Sync Log:** `301330c2-8646-8146-8451-cf7d2d142925`
- **Guild ID:** `1467974388581273603`

## Strategic Intelligence
Before decks/proposals/strategy: check `/strategic-intelligence/patterns/` and `/strategic-intelligence/zeitgeist/`

---
*Reference material → docs/reference.md (searched on-demand)*
*Daily logs → memory/YYYY-MM-DD.md*
*Learnings → LEARNINGS.md*
