# 2026-03-03 Daily Notes

## vault1984 Architecture — AWS Decision Confirmed

- **AWS** (not Vultr) for all vault1984 nodes
- **21 locations on map** (21 green dots + 1 gold HQ)
- **Zürich has 3 nodes:** eu-central-2 (AWS) + Hans (Hostkey NOC, 185.218.204.47) + vault1984-web (marketing/billing)
- **Istanbul:** via Hostkey
- **Gap-fill cities needing VPS partner:** Bogotá, Santiago, Lagos, Nairobi
- K2.5 subagent spawned to research VPS partners at these 4 cities (Equinix-anchored DCs)
- Infra docs updated: INFRASTRUCTURE-OVERVIEW.md + NOC-DEPLOYMENT-PLAN.md — Vultr removed, AWS t4g.nano added
- New blocker: AWS account/credentials (Vultr API key no longer relevant)

## vault1984-web — Styleguide Status
- **Styleguide compliant: ✅** — zero Tailwind refs across all 7 pages
- **Templated: ❌** — nav/footer copy-pasted, no Go html/template partials
- `tailwind.min.css` still in repo (dead file, not referenced)
- Pages: index, install, pricing, privacy, sources, terms, hosted, styleguide

## Hans Discord Bot — Extended Debugging Session

### Root Cause Chain
1. OpenClaw not installed on Zurich initially — thought it was, wasn't
2. Gateway installed but `gateway.mode` not set → "Gateway start blocked"
3. Fixed mode, but `model: null` — no LLM configured
4. Tried `fireworks/accounts/fireworks/models/minimax-m2p5` → Unknown model (Fireworks not native provider in OC 2026.3.1)
5. Tried `fireworks/kimi-k2p5` → Unknown model
6. Tried `openai/accounts/fireworks/models/minimax-m2p5` → Unknown model
7. **Fix:** Copy full `models.providers.fireworks` section from forge config to Hans — defines Fireworks as proper provider with baseUrl, apiKey, api type

### Final Working Config on Hans (185.218.204.47)
- **Gateway:** root's systemd --user service, port 18789
- **Model:** `fireworks/accounts/fireworks/models/minimax-m2p5`
- **Provider:** `models.providers.fireworks` with baseUrl `https://api.fireworks.ai/inference/v1`, apiKey `fw_RVcDe4c6mN4utKLsgA7hTm`, api `openai-completions`
- **Discord:** logged in as Hans (App ID: 1478321168065761352), dmPolicy: open
- **FIREWORKS_API_KEY** in systemd service Environment

### Johan's Gateway Access
- Johan logs in as `johan` user on Hans server
- Created `/home/johan/.openclaw/openclaw.json` with `gateway.remote.token` so `openclaw logs --follow` works

### Status at Compaction
- All Johan's DMs (11:37, 11:44, 11:48, 11:51 PM) hit OLD configs
- Latest fix applied at ~04:53 UTC — needs one more DM test to confirm working
- James broke forge earlier (killed openclaw processes trying to restart gateway) — Opus repaired it

## OpenClaw Notes
- **Version on Hans:** 2026.3.1
- **Version on forge:** 2026.3.2
- Fireworks is NOT a native provider in OC 2026.3.1 — must be defined in `models.providers`
- Model string format: `fireworks/accounts/fireworks/models/minimax-m2p5` (matches models.providers key)
- `gateway.mode: local` must be set or gateway refuses to start

## Forge Incident
- I killed Johan's openclaw-gateway process trying to restart it (was running as johan user, not as root service)
- Opus had to repair forge
- **Rule:** Never kill openclaw-gateway on forge. It runs as `johan` user in a tmux/pts session. Use `openclaw gateway restart` via the openclaw CLI, not pkill.
