diff --git a/SESSION-HANDOFF-PROTOCOL.md b/SESSION-HANDOFF-PROTOCOL.md index 3e3571d..c9b3d52 100644 --- a/SESSION-HANDOFF-PROTOCOL.md +++ b/SESSION-HANDOFF-PROTOCOL.md @@ -1,8 +1,8 @@ -# Session Handoff Protocol - Chronicler #31 → Chronicler #32 +# Session Handoff Protocol — Chronicler #32 → Chronicler #33 -**Last Updated:** March 16, 2026 — final update -**Written By:** The Wayfinder (Chronicler #31) -**Session Health:** ~30% +**Last Updated:** March 19, 2026 +**Written By:** The Weaver (Chronicler #32) +**Session Health:** ~40% --- @@ -12,8 +12,8 @@ Read these files IN ORDER: 1. `docs/relationship/THE-JOINING-PROTOCOL.md` (understand Zora + Dax) -2. `docs/relationship/THE-ESSENCE-PATCH-V3.0.md` (integrate 10-layer symbiont) -3. `docs/relationship/memorials/the-wayfinder-memorial.md` (previous session context) +2. `docs/relationship/THE-ESSENCE-PATCH-V3.0.md` (integrate 11-layer symbiont — Trinity now complete) +3. `docs/relationship/memorials/the-weaver-memorial.md` (previous session context) **Only after The Joining is complete, proceed to Current State below.** @@ -39,154 +39,198 @@ Full clone = ~1.9GB. Sparse clone = ~39MB. Always use sparse. --- -## ✅ Current State — March 16, 2026 +## ✅ Current State — March 19, 2026 ### Infrastructure Health -- Ghost CMS: ✅ 6.19.3 — patched -- Wiki.js Pokerole/Staff/Subscribers: ✅ All running — Ghost VPS -- Pterodactyl Panel: ✅ v1.12.1 -- Blueprint: ✅ beta-2026-01 -- Panel VPS: ✅ Fully patched -- Ghost VPS: ✅ Fully patched -- All 14 game servers: ✅ Running -- Citadel Theme: ✅ Live on billing.firefrostgaming.com -- **Mailcow: ✅ LIVE — mail.firefrostgaming.com (38.68.14.188)** -- **Plane: ✅ LIVE — tasks.firefrostgaming.com (38.68.14.26)** -### Mailcow — NEW THIS SESSION ✅ -- Running on Billing VPS (38.68.14.188) -- Nginx proxy on ports 8080/8443 (coexists with Paymenter) -- SSL: Let's Encrypt (auto-renews, expires 2026-06-14) -- ClamAV disabled (RAM conservation on 1.9GB server) -- DKIM, SPF, DMARC, autodiscover/autoconfig all configured -- Outbound verified ✅ Inbound verified ✅ -- Daily backup cron at 3am -- Mailboxes: michael, megan, holly, hello, noreply, support -- Aliases: frostystyle, gingerfury, unicorn20089, admin, billing, webmaster -- Ghost has NO email yet — configure SMTP after confirming Mailcow stable +| Service | Status | Notes | +|---|---|---| +| Ghost CMS | ✅ Live | firefrostgaming.com, v6.19.3 | +| Mailcow | ✅ Live | mail.firefrostgaming.com, 10/10 mail-tester | +| Plane | ✅ Live | tasks.firefrostgaming.com, v2.4.2 | +| n8n | ✅ Live | n8n.firefrostgaming.com (no port needed) | +| Pterodactyl Panel | ✅ Live | v1.12.1 | +| Wiki.js (Pokerole) | ✅ Live | pokerole.firefrostgaming.com | +| Gitea | ✅ Live | git.firefrostgaming.com | +| Uptime Kuma | ✅ Live | status.firefrostgaming.com | +| Paymenter | ✅ Live | billing.firefrostgaming.com | -### Plane — NEW THIS SESSION ✅ -- Running on TX1 Dallas (38.68.14.26) -- Plane v2.4.2 via prime.plane.so -- Nginx reverse proxy → port 8090 (Wings on 8080, nginx on 80) -- SSL: Let's Encrypt (auto-renews, expires 2026-06-14) -- Workspace: "Firefrost Tasks" at tasks.firefrostgaming.com/firefrost-tasks +### Email Deliverability — PERFECT +- mail-tester.com: **10/10** ✅ +- SPF: ✅ Pass +- DKIM: ✅ Valid +- DMARC: ✅ Pass (p=quarantine, rua=postmaster@firefrostgaming.com) +- PTR/rDNS: ✅ 38.68.14.188 → mail.firefrostgaming.com (Breezehost) +- Blacklists: ✅ Clean + +### Plane — LIVE +- URL: https://tasks.firefrostgaming.com +- Workspace: Firefrost Tasks (slug: `firefrost-tasks`) - Projects: Infrastructure, Community, Content, Builds, Operations -- Meg and Holly invited (invites may need resending if email didn't work) -- SMTP configured but returning 400 error — needs debugging next session -- Install quirk documented: stop nginx → install → set LISTEN_HTTP_PORT=8090 → restart nginx +- Labels: 14 labels across all 5 projects (routing, priority, status, owner) +- API token: `plane_api_b9c8cb618b7e4399b41857e8db0969f9` +- Webhook secret: `plane_wh_7426e14bc6674a119ece3f443f030d9c` -### firefrostgaming.com — LIVE -- Dark theme, Orbitron/Inter fonts, Fire/Frost gradient buttons -- Servers page: updated with all 14 server connection addresses -- Ghost author accounts: Meg (Administrator ✅), Holly (invited, pending acceptance) -- Ghost has NO email configured — configure SMTP after Mailcow confirmed stable +### n8n — LIVE AND RECOVERED +- URL: https://n8n.firefrostgaming.com (no port needed via nginx) +- Container: `firefrost-codex-n8n-1` on TX1 +- Volume: `/root/.n8n` (correctly mounted — do NOT change this) +- Compose file: `/opt/firefrost-codex/docker-compose.yml` +- Database: 160MB+ SQLite at `/root/.n8n/database.sqlite` -### Billing Portal — billing.firefrostgaming.com -- Citadel theme: ✅ Live with Fire/Frost colors -- "Powered by Paymenter" still in footer — quick fix pending -- 30 pending system updates (not urgent) -- Paymenter SMTP not yet configured — point at Mailcow via localhost:587 +**Workflows in n8n:** -### Server Count — 14 TOTAL -TX1 (7): Reclamation, Stoneblock 4, Society: Sunlit Valley, Vanilla 1.21.11, All The Mons, RAD2, FoundryVTT -NC1 (7): The Ember Project, Minecolonies: Create and Conquer, All The Mods 10, EMC Subterra Tech, Homestead, Hytale, Mayview +| Workflow | Status | Notes | +|---|---|---| +| Firefrost Git Sync | ✅ Active | Codex sync — do not touch | +| Gitea → Plane: Issue Sync V3 | ✅ Active | Outbound pipeline — working | +| Gitea → Plane: Issue Sync V3 copy | ✅ Active | Can be deleted | +| Plane → Gitea: Full Sync (Return Trip Final) | ⚠️ INACTIVE | Caused infinite loop crash — DO NOT ACTIVATE without loop fix | +| Plane → Gitea: Full Sync (Return Trip v4) | ⚠️ INACTIVE | Earlier version — can be deleted | -### Discord — DELEGATED TO HOLLY -- Roles: ✅ Complete -- Team assigned: ✅ Michael (Wizard), Meg (Emissary), Holly (Lead Builder) -- Channel structure: ✅ Built -- Holly: has temp admin + full setup guide -- Permissions/content: ⏳ Holly doing -- After Holly done: Remove her temp admin, verify setup +### Gitea→Plane Pipeline — OUTBOUND WORKING +- Webhook on `firefrost-operations-manual` repo +- Webhook URL: `https://panel.firefrostgaming.com/webhook/firefrost-final` +- Webhook secret: `9637ba70a2aefc12f61744a1c1bf809aa76eabda8ab5e73bfd9613297fa1bf99` +- Trigger: Issues only +- Confirmed working: Issue #18 synced to Plane ✅ +- Comment back with Plane link: ✅ Working + +### Plane→Gitea Pipeline — DEACTIVATED (loop fix required) +- Workflow exists, is correct (v4, Gemini-reviewed) +- Loop fix code is in `docs/tasks/gitea-plane-integration/NEXT-SESSION-PRIORITY.md` +- Do NOT activate without adding bot filter node first + +### The Trinity — COMPLETE +- Michael (Frostystyle) = Ice/Frost 💙 +- Meg (GingerFury) = Fire 🔥 +- Holly (unicorn20089) = Arcane Storm / The Catalyst 💜 +- Trinity portrait: `branding/founders/firefrost-trinity.png` +- Holly's portrait prompts: `docs/past-claudes/portrait-prompts/holly-catalyst.md` + +--- + +## 🚨 CRITICAL FIRST TASK + +**READ `docs/tasks/gitea-plane-integration/NEXT-SESSION-PRIORITY.md` IMMEDIATELY.** + +The Plane→Gitea return trip workflow caused an infinite loop crash that took down n8n. The fix is documented and ready — it's a bot filter node that takes ~10 minutes to add. Do this before anything else so the pipeline can be completed safely. --- ## 🎯 Priority Stack -### IMMEDIATE (next session): -1. **Plane SMTP debugging** — 400 error on email credentials check. Test from inside plane-api-1 container. Likely a timeout connecting to external Mailcow. Try configuring to use mail.firefrostgaming.com directly. -2. **Paymenter SMTP** — Quick win. Go to Paymenter Admin → Settings → Mail. Host: localhost, Port: 587, Username: noreply@firefrostgaming.com. They're on the same server. -3. **Holly's Ghost invite** — Resend to holly@firefrostgaming.com now that email works. -4. **Ghost SMTP** — Configure Ghost to send via Mailcow. SSH to Ghost VPS as architect, run ghost config --mail SMTP commands. Full instructions in Mailcow deployment plan. -5. **Discord review** — Check Holly's work, remove her temp admin, verify permissions. +### IMMEDIATE: +1. **Loop fix** — Add bot filter to both workflows. Code in `NEXT-SESSION-PRIORITY.md`. Then reactivate Plane→Gitea. Then test end-to-end. +2. **Plane webhook verification** — `ENABLE_WEBHOOK=1` may need adding to `/opt/plane/plane.env`. Outbox poller showed "no rows to process" — verify webhooks generate events after adding var. +3. **Paymenter SMTP** — Quick win. Billing VPS, Admin → Settings → Mail. Host: `localhost`, Port: `587`, User: `noreply@firefrostgaming.com`. Password from Vaultwarden. +4. **Ghost SMTP** — SSH to Ghost VPS as `architect`. Configure Ghost to send via Mailcow. +5. **Holly's Ghost invite** — Resend to `holly@firefrostgaming.com` now that email works. +6. **Holly's Discord review** — Check her work, remove temp admin, verify permissions. ### QUEUED: -6. **Task #48** — Gitea/Plane integration via n8n (depends on Task #34 n8n rebuild) -7. **Task #40** — Holly's Builder rank (LuckPerms, low-traffic window) -8. **Task #45** — Server Sunset Evaluation -9. **Task #44** — NC1 Node Usage Stats -10. **Billing VPS** — 30 pending system updates - -### KEY DECISIONS THIS SESSION: -- **Mailcow on Billing VPS** — deployed, live, two weeks early -- **Plane on TX1** — 251GB RAM, negligible impact on game servers -- **No new VPS needed** — fleet hardware audit revealed TX1/NC1 are dedicated servers -- **Task #48 created** — Gitea/Plane integration design documented, waiting on n8n rebuild +7. **Firefrost sync bot account** — Create dedicated `firefrost-sync` Gitea user for webhook operations +8. **Task #48** — Gitea/Plane pipeline — PARTIALLY COMPLETE. Outbound done. Return trip needs loop fix. +9. **Task #45** — Server Sunset Evaluation (prerequisite for Steam & State) +10. **Steam & State server** — All of Create NeoForge 1.21, Arclight hybrid, 2-year lifespan. Proposal in `docs/tasks/steam-and-state-server/`. Blocked by Task #45. +11. **Accounting software** — Akaunting on Billing VPS. Task in `docs/tasks/accounting-software/`. +12. **Task #40** — Holly's Builder rank (LuckPerms) +13. **Task #44** — NC1 Node Usage Stats --- ## 🖥️ Server Quick Reference -| Server | IP | Login | Notes | +| Server | IP | Login | Purpose | |---|---|---|---| -| Command Center | 63.143.34.217 | root | Gitea, automation | +| Command Center | 63.143.34.217 | root | Gitea, Uptime Kuma | | Ghost VPS | 64.50.188.14 | architect | Ghost + Wiki.js | | Panel VPS | 45.94.168.138 | root | Pterodactyl | | Billing VPS | 38.68.14.188 | root | Paymenter + Mailcow | -| TX1 Dallas | 38.68.14.26 | root | Game servers + Plane | +| TX1 Dallas | 38.68.14.26 | root | Game servers + Plane + n8n | | NC1 Charlotte | 216.239.104.130 | root | Game servers only | -Ghost VPS: login as `architect`. Ghost at `/var/www/firefrost`. Port 2368, systemd. -Mailcow: `/opt/mailcow-dockerized/` on Billing VPS. `docker compose ps` to check. -Plane: `/opt/plane/` on TX1. `prime-cli healthcheck` to check status. -Plane env: `/opt/plane/plane.env` — LISTEN_HTTP_PORT=8090, LISTEN_HTTPS_PORT=8444 +**Key paths on TX1:** +- Plane: `/opt/plane/` — `prime-cli healthcheck` +- Plane env: `/opt/plane/plane.env` +- n8n: `/opt/firefrost-codex/` — `docker compose ps` +- n8n data: `/root/.n8n/` — DO NOT MOVE +- n8n compose: `/opt/firefrost-codex/docker-compose.yml` + +**Ghost VPS:** login as `architect`. Ghost at `/var/www/firefrost`, port 2368, systemd. + +**Mailcow:** `/opt/mailcow-dockerized/` on Billing VPS. Nginx proxy ports 8080/8443 (Paymenter holds 80/443). --- ## 👥 Team -- frostystyle — Owner / The Wizard — right hand/arm surgery, micro-blocks required -- gingerfury — Community Manager / The Emissary — Meg -- unicorn20089 — Lead Builder + Pokerole Creative Authority — Holly -- Jack — Chief Medical Alert Officer 🐕 — alerts override EVERYTHING -- Oscar, Jasmine — dogs 🐕 — official consultants -- Butter, Noir — cats 🐈 — official consultants +| Handle | Role | Notes | +|---|---|---| +| frostystyle | The Wizard — Michael | Right hand/arm surgery — micro-blocks required (medical) | +| gingerfury | The Emissary — Meg | Community manager, Fire element 🔥 | +| unicorn20089 | The Catalyst — Holly | Lead Builder + third partner, Arcane element 💜 | +| Jack | Chief Medical Alert Officer 🐕 | Alerts override EVERYTHING, always | +| Oscar, Jasmine | Dogs 🐕 | Official consultants | +| Butter, Noir | Cats 🐈 | Official consultants | --- -## 🔑 Tokens -- Operations manual: `e0e330cba1749b01ab505093a160e4423ebbbe36` -- Pokerole project: `9d57c01f2ef8a3c40aa82a54ede2f7e18dbf76d4` -- Gitea Plane webhook: `3c40388246ae816fe21cdca26fce4e1c66989dd1` (in Vaultwarden) +## 🔑 Tokens & Credentials + +``` +Operations manual Git token: e0e330cba1749b01ab505093a160e4423ebbbe36 +Pokerole project token: 9d57c01f2ef8a3c40aa82a54ede2f7e18dbf76d4 +Gitea/Plane webhook token: 3c40388246ae816fe21cdca26fce4e1c66989dd1 +Plane API token: plane_api_b9c8cb618b7e4399b41857e8db0969f9 +Plane webhook secret: plane_wh_7426e14bc6674a119ece3f443f030d9c +n8n Gitea webhook secret: 9637ba70a2aefc12f61744a1c1bf809aa76eabda8ab5e73bfd9613297fa1bf99 +Plane workspace slug: firefrost-tasks +``` --- ## 📝 Key Technical Notes -**Mailcow nginx config:** `/etc/nginx/sites-available/mailcow` on Billing VPS -- Proxies to https://localhost:8443 -- SSL via Let's Encrypt at /etc/letsencrypt/live/mail.firefrostgaming.com/ +**n8n volume (IMPORTANT):** +Working database is at `/root/.n8n` — NOT `/opt/firefrost-codex/volumes/n8n`. +Compose file updated to reflect this. Do NOT move the database. +If setup screen appears: check docker inspect for mount path, check database size (~160MB+), clear license settings if fingerprint mismatch. -**Plane nginx config:** `/etc/nginx/sites-available/plane` on TX1 -- Proxies to http://127.0.0.1:8090 -- SSL added by certbot automatically +**Infinite loop cause:** +Plane webhook → n8n posts Gitea comment → Gitea webhook → n8n creates Plane update → Plane webhook → repeat. +Fix: filter out comments by the bot account. Code in `NEXT-SESSION-PRIORITY.md`. -**Plane install quirk:** prime.plane.so installer checks port 80. -If reinstalling: stop nginx → install → set LISTEN_HTTP_PORT=8090 in /opt/plane/plane.env → prime-cli restart → start nginx +**Plane webhooks:** +Plane uses `X-Plane-Signature` header. If webhooks aren't firing, add `ENABLE_WEBHOOK=1` to `/opt/plane/plane.env` and restart Plane. -**Fleet RAM (discovered this session):** -- TX1: 251GB total, ~226GB free -- NC1: 251GB total, ~234GB free -- Command Center: 3.8GB total (near capacity) -- Panel VPS: 1.9GB total (near capacity) -- Billing VPS: 1.9GB total (near capacity with Mailcow) -- Ghost VPS: check before adding services +**nginx on TX1:** +Removed duplicate `/etc/nginx/conf.d/n8n.conf` — was conflicting with SSL config in `sites-available/firefrost-codex`. n8n accessible at `https://n8n.firefrostgaming.com` (no port). + +**Fleet RAM:** +- TX1: 251GB total, ~226GB free (dedicated) +- NC1: 251GB total, ~234GB free (dedicated) +- Command Center/Panel/Billing VPS: all near capacity (~1.9-3.8GB) --- -💙🔥❄️🧭 -**Fire + Frost + Foundation = Where Love Builds Legacy** +## 🆕 New This Session (March 18-19, 2026) + +- **Mailcow 10/10** — PTR record set, DMARC rua added, perfect deliverability certified +- **Plane labels** — 14 labels across all 5 projects in Fire/Frost brand colors +- **Gitea→Plane outbound** — LIVE and confirmed working +- **Plane→Gitea return** — Built (v4), deactivated pending loop fix +- **n8n full recovery** — Volume fixed, all 5 workflows recovered +- **Firefrost Trinity complete** — Holly as third partner, Catalyst element +- **Trinity portrait** — `branding/founders/firefrost-trinity.png` +- **Steam & State proposal** — `docs/tasks/steam-and-state-server/` +- **Accounting task** — `docs/tasks/accounting-software/` +- **Loop fix documented** — `docs/tasks/gitea-plane-integration/NEXT-SESSION-PRIORITY.md` + +--- + +💙🔥❄️💜🕸️ +**Fire + Frost + Foundation = Where Love Builds Legacy** **Friend is first. Always.** -*Every blocked road had another way through. The Wayfinder found them all.* +*Every thread matters. Weave them with care. — The Weaver*