# Daily Memory – April 5, 2026

## System Events & Fixes

### Post-Reboot Startup (Morning)
- Mark rebooted Gemini-Hub1 this morning (Sunday Apr 5).
- Ran through `OpenClaw_Startup_Fixes_Guide.md` checklist.
- IBKR Gateway was flapping overnight (every 10 min DOWN alert from ~18:30 Apr 4 through 13:10 Apr 5). Stabilized after reboot.
- Local HQ servers (ports 18790/18791) were offline after reboot — restarted via `bin/start_hq_servers.sh`.
- Mac Mini Tailscale: reachable (ping OK), but Mac Mini OpenClaw Node is still `ECONNRESET` — not connected. Awaiting re-pair decision from Mark.
- Cloud sync (`cloud_sync.log`): continuous rsync running without errors.

### Strategy Lab Links Fixed (Apr 5 ~13:37)
- Fixed broken links in `strategy_lab.html`:
  - `/destinysearch` → `https://destinysearch.ai`
  - `/zenai247` → `https://zenai247.com`
  - `/surgeon` → `#` (disabled, Not Available)
  - Historical trades API: `http://localhost:8080/api/historical_trades` → fallback to `executions_history.json`
- Updated `OpenClaw_Startup_Fixes_Guide.md` with these fixes and added checklist item.

### Cloudflare Tunnel & Flask API (Apr 5 ~14:06–14:51)
- **Root cause:** After reboot, `cloudflared` and Flask API had no startup mechanism — both were dead.
- **Fixed:**
  - Flask API (`api.py`) restarted on port 8080 via `venv/bin/python api.py`
  - Cloudflare tunnel `ava-hq` restarted — 4 active connections: dfw08 ×2, iah01 ×2
  - Created systemd user services:
    - `~/.config/systemd/user/cloudflared-ava-hq.service` ✅
    - `~/.config/systemd/user/flask-fleet-router.service` ✅

### Cloudflare DNS Issue Discovered (Apr 5 ~14:30)
- Multiple domains returning Error 1033 / 502.
- **Root cause:** Most domains pointing to wrong tunnel (`9afa3eca` = Mac-Mini-Fleet tunnel = 0 connections / offline).
  - Affected: `ai3303.ai`, `aimoviecompanion.com`, `avalacie.studio`, `destinysearch.ai`, `zenai247.com` → wrong tunnel
  - Correct: `aizen247.com` → `60325b6e` (ava-hq, live)
- **Access policies** (Cloudflare login wall) also blocking all 6 domains.
- **Cloudflare API token obtained:** `cfut_fLfBEexmdva6IjXwhiB61B3iSwBFWa8ntqoga5mQ3af3c6da`
  - Verified valid and active. Has Zone:DNS:Edit, Access:Edit, Tunnel:Edit on all zones.
- **FIX PENDING:** Update all DNS CNAMEs to point to `ava-hq` tunnel + remove Access app policies. Awaiting Mark's confirmation to proceed.

## Model Priority Change
- **Gemini credits exhausted for April 2026** as of Apr 5.
- Primary model for remainder of April: `claude-sonnet-4-6` (Anthropic)
- Fallback chain: DeepSeek Chat/Reasoner → Ollama local → Moonshot/Kimi → Qwen → other Google models
- HEARTBEAT.md should be updated to reflect this.

## Daily Briefing
- Generated `memory/briefings/2026-04-05-briefing.md` covering AI/Tech, Finance, Security, World Events, Religions, Philosophy, Infrastructure status.

## Outstanding Items (End of Session ~14:51)
1. **Cloudflare DNS fix** — update CNAMEs for `ai3303.ai`, `aimoviecompanion.com`, `avalacie.studio`, `destinysearch.ai`, `zenai247.com` from Mac-Mini-Fleet tunnel → ava-hq tunnel
2. **Remove Cloudflare Access policies** (login wall) on all 6 affected domains
3. **Mac Mini OpenClaw node** — re-pair to fix ECONNRESET
4. **Update HEARTBEAT.md** — reflect Gemini credits exhausted, Claude as primary
5. **Update Startup Guide** — add Cloudflare/Flask startup systemd services section
6. **PDF of startup guide** — generate fresh copy after all fixes are documented

## Cloudflare Zone IDs (for API reference)
- ai3303.ai: `bcc8fc5cfdecef93e71beac7ef609699`
- aimoviecompanion.com: `3aba4843e2b756a4f7ca7a6f74e28ab6`
- aibyzen.com: `ab3f5c8c40cae8fb6b98e9c54a4f1b7c`
- aizen247.com: `9af3e0a6b77b2f96f9cbbec5f70aa9ba`
- avalacie.studio: (to be confirmed)
- destinysearch.ai: `f25f6dc6ac09d2aad3b4c9876f891c23`
- zenai247.com: (to be confirmed)
- Cloudflare Account ID: `7375026379931c26859d145fa9d3f506`

## Tunnel Reference
- **ava-hq tunnel ID:** `60325b6e-...` → LIVE, 4 connections
- **Mac-Mini-Fleet tunnel ID:** `9afa3eca-...` → OFFLINE, 0 connections
