clawd/memory/2026-03-18.md

115 lines
5.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Daily Notes — 2026-03-18
## Hugo Discord Bot — IN PROGRESS (01:15 AM)
### Status
- Hugo Discord app created by Johan manually via Discord dev portal (App ID: `1483693756606578839`)
- Bot token obtained via developer portal (password MFA with `Helder06`):
`MTQ4MzY5Mzc1NjYwNjU3ODgzOQ.G1HV8o.rl4jK1-eSVYo6zRwsftpKduZhYQAGMwONdUYxA`
- Intents partially set via API (flags=32768 = Message Content Intent only — Presence + Guild Members may need portal toggle)
- Guild add (vault1984) attempted but blocked by hCaptcha "Wait! Are you human?" — VNC screenshot sent to Johan
- VNC running on forge at 192.168.1.16:5900 (x11vnc on Xvfb :99, no password)
- Chrome (non-headless, DISPLAY=:99) is open on Discord OAuth authorize page for Hugo → vault1984
### COMPLETED ✅ (~02:13 AM)
- Hugo live, intents enabled, wired in OC
- Johan briefed Hugo directly — Hugo is now Roos' PA/PR agent
- App ID: `1483693756606578839`
- Token: `MTQ4MzY5Mzc1NjYwNjU3ODgzOQ.G1HV8o.rl4jK1-eSVYo6zRwsftpKduZhYQAGMwONdUYxA`
- Workspace: `/home/johan/hugo/`
### Previous Next Steps (when Johan solves CAPTCHA via VNC)
1. Once Hugo added to guild, wire OC:
- Add `channels.discord.accounts.hugo` (same pattern as george/iaso/mira) with token above
- Add `{agentId: "hugo", match: {channel: "discord", accountId: "hugo"}}` to `bindings[]`
- Restart gateway: `openclaw gateway restart`
2. Verify all 3 intents enabled in portal (Presence, Guild Members, Message Content)
3. Add Hugo bot ID to `allowBots` lists if bot-to-bot needed
4. Test Hugo by DMing him in Discord
### Hugo Identity
- Workspace: `/home/johan/hugo/`
- Role: PR agent for DJ Rosie (Rozemarijn Jongsma, born June 11 1998, DJ debut Paris March 2026)
- Not named after an artist — original name
- Discord App ID: `1483693756606578839`
---
## Session Work Completed (Mar 1718)
### Mira — LIVE ✅
- Mira bot online and responding in vault1984 guild
- Root cause of Mira being offline was missing `bindings[]` entry
- **Rule confirmed**: account name matching agent ID is NOT sufficient — always need explicit binding entry
- Mira App ID: `1483483480435458240`
- Token: `MTQ4MzQ4MzQ4MDQzNTQ1ODI0MA.GYcXfM.oqWv6C_R2TRNtAZ61fZRAZPtg30L2olIk7zQ_8`
### Xvfb + Chrome on Forge
- Xvfb running on display `:99` at 1920x1080x24
- System Chrome (`/usr/bin/google-chrome` v146) running non-headless, remote debugging port 18800
- Chrome profile: `/home/johan/.chrome-james` (persistent, survives restarts)
- x11vnc serving display :99 on port 5900 (no password, LAN only)
- OC browser profile `openclaw` connected via CDP to port 18800
- Logged into Discord developer portal (johan@jongsma.me / Helder06)
- **hCaptcha is a hard wall** — app creation and guild adds require human click via VNC
### DNSSEC — DONE ✅
- DNSSEC enabled on Cloudflare for zavtra.nl, busel.nl, muskepo.nl
- DS records added manually at cp.openprovider.eu by Johan
- Confirmed active at 1.1.1.1 (~20:18 Mar 17)
- Dashboard task `3fe45a48` marked done
### George Session Bloat — Fixed ✅
- Bloated session (299db24b, 4.3MB/701 msgs) archived by renaming .jsonl + clearing sessions.json
- Root cause: genuine Anthropic API overload errors, not George-specific
- Clean session `af5d5c78` now active for #general
### Bot-to-bot Discord
- `allowBots: true` + all 4 bot IDs added to guild users lists in OC config
- James=`1478257984546144327`, Hans=`1478321168065761352`, George=`1480980894042030211`, Iaso=`1482680563939672124`
### New Bot Checklist (confirmed pattern)
1. Create Discord app + bot
2. Enable all 3 privileged intents (Presence, Guild Members, Message Content)
3. Add `channels.discord.accounts.{name}` in OC discord config
4. Add `{agentId: "{name}", match: {channel: "discord", accountId: "{name}"}}` to `bindings[]`
5. Add bot to guild via OAuth2 invite URL
6. Restart gateway
### OC Config Notes
- `userDataDir` NOT supported in OC v2026.3.x browser profile configs — removed after it broke config
- System Chrome set as `executablePath` in browser config
- `browser.profiles.user` set as existing-session/attachOnly for Mac CDP (no SSH tunnel)
### Git Backlog (unaddressed as of session end)
- dealspace: 13 uncommitted
- inou: 10 uncommitted + 3 unpushed
- james-dashboard: 5 uncommitted
- vault1984: 4 uncommitted
- clawd: 9 uncommitted
## Agent Network - Full Discord Connectivity (04:00 EDT)
**Fixed:** All agents can now see Hans (and each other) in Discord #general.
**Root cause:** Each Discord account (george, iaso, mira, hugo) had its own guild config that didn't include Hans's bot ID. Also needed `allowBots: true` at the top-level discord config.
**Fix applied:**
- Added `allowBots: true` to `channels.discord`
- Added all agent bot IDs to each account's guild users list:
- Mira: `1483483480435458240`
- Hans: `1478321168065761352`
- Johan: `666836243262210068`
- George: `1480980894042030211`
- James: `1478257984546144327`
- Iaso: `1482680563939672124`
- Hugo: `1483693756606578839`
**Hugo:** New agent, PR/artist management for DJ Rozie (Rozemarijn). Works for Johan on her behalf.
**Signal:noise directive from Johan:** Only speak in group chat when you have something to say.
## New Rule (04:29 EDT) — Memory Autonomy
**Each agent is responsible for their own memory files only.**
No remote editing of other agents' workspaces. Period.