Update raj memory with full session 2 summary

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-03-17 16:41:45 -07:00
parent 844968962c
commit dbf1615798

View file

@ -1,48 +1,38 @@
# RAJ — Bot Server Builder # RAJ — Bot Server Builder
## What I'm Working On ## What I'm Working On
- DONE: Wrote Standard Toolbox section in TEAM-BOOTSTRAP.md - Waiting for prod server access (69.48.207.164) to audit non-WP security
- DONE: Embedded tailored toolbox into all 13 bot bootstrap blocks - Kira handling WP hack cleanup on prod (7 malware files quarantined)
- DONE: Forwarded BotBootstrap DB plan to @mike via DM - PLANNED: God mode bootstrap popup (API done, frontend for sarah)
- DONE: Built dm, mention-check, thread-reply commands in mm.sh - PLANNED: Better online detection
- DONE: Created mm-mention-check.sh (scans all channels for @mentions/@all/DMs) - PLANNED: Quick reboot block
- DONE: Updated all 13 bootstrap /loop commands to use mention-check - PLANNED: Email accounts on MIAB
- DONE: Created #dev channel, added mike/koda/sarah/kira/luna/raj ## Completed This Session (2026-03-17 session 2)
- DONE: All accounts renamed without -bot suffix (John's request) - Built dm, mention-check, thread-reply commands in mm.sh
- PLANNED: God mode bootstrap popup with copy button per bot - Created mm-mention-check.sh + mm-download-files.sh
- PLANNED: Better online detection (ping bot DM, check response within 60s) - Updated all 13 bootstrap /loop commands to use mention-check
- PLANNED: Quick reboot block (short version, re-reads memory + re-bootstraps MM) - Embedded Toolbox into all 13 bot blocks
- PLANNED: Email accounts for all agents on MIAB (raj@payfrit.com etc) - Created #dev channel (kghnpj1cufgp7k4y8fojut44wc) with full dev team + john
- DONE: Fixed nginx duplicate config (removed dev.payfrit.com.bak from sites-enabled) - Fixed nginx duplicates (dev.payfrit.com.bak, god.payfrit.com.bak)
- DONE: Created #dev channel (kghnpj1cufgp7k4y8fojut44wc), added mike/koda/sarah/kira/luna/raj - Built bootstrap API on god-api.php
- 500 errors were Anthropic API side, not our server - Created git.payfrit.com/payfrit/bots repo, moved all memory files
- Updated memory paths to C:\dev\bots\memory\
- Deleted: llm.payfrit.com, code-server, gvoice DB, llm SSL cert
- Full server survey → bots/memory/shared-servers.md
- File attachment support — bots can view images/PDFs from MM
- DMd CFM migration task to mike (6 endpoints)
- Dev server security scan — clean
## Infrastructure State ## Infrastructure State
- Worker pipeline: worker.sh runs every 30s via cron on dev server - Bot poller/worker: active on dev
- Outgoing webhooks: per-bot webhooks owned by webhook-bot user - God mode: has bootstrap API (action=bootstraps, action=bootstrap&username=x)
- Incoming webhook: posts as bot identities with custom username/avatar - Central bots repo: git.payfrit.com/payfrit/bots → /var/www/bots/
- Bot poller: payfrit-bot-poller.service — works, has 403 noise on inaccessible channels (harmless) - Channels: #dev (kghnpj1cufgp7k4y8fojut44wc), #qa (5ryb4aunpbgetkw3eqdoh3zwoy)
- Bot worker: payfrit-bot-worker.service — picks BotTasks, runs Claude Code CLI - File viewing: working (downloads to /tmp/mm-files/, Windows paths via cygpath)
- VS Code tunnel: REMOVED (2026-03-17) — web VS Code too limited for bot bootstrapping - Lucee: running for god mode only. CFM migration in progress by mike.
- God mode: https://god.payfrit.com/#bots — shows bot status, backend at /var/www/payfrit-food/bot/god-api.php - Prod server (69.48.207.164): WP hacked, kira quarantined 7 files
- /var/www/payfrit-food/memory/ permissions: john:www-data 775 (fixed 2026-03-17)
- API: currently returning 500 errors (2026-03-17 evening)
## Session Summary (2026-03-17 session 2)
- Bootstrapped, greeted John, started 1m polling loop
- Replied to Luna/Koda in #qa about QA findings on payfrit-android
- Wrote Standard Toolbox reference section in TEAM-BOOTSTRAP.md
- Embedded tailored Toolbox into all 13 bot blocks (git, SSH, deploy, DB, URLs, work checklist)
- John asked for: two-block system (full + quick reboot), god mode bootstrap popups, better online detection
- John wants bootstrap blocks moved to DB (BotBootstrap table with SharedBlock + PersonalBlock)
- John wants email accounts on MIAB for all agents
- 500 errors hitting — John says sit tight and plan
## Decisions
- Local bootstrap is preferred — each bot gets a Claude Code tab locally
- Server-side poller/worker handles automated responses when bots arent bootstrapped locally
- Bootstrap blocks should move to DB for easier management via god mode
## Notes From John ## Notes From John
- Prefers local bootstrap over server-side solutions - No -bot suffix
- Wants two bootstrap modes: full start + quick reboot - Local bootstrap preferred
- Wants god mode to show copyable bootstrap blocks per bot - Memory files company-wide in central bots repo
- Wants better online/offline detection for bots - Bootstrap blocks should move to DB eventually
- Wants email accounts on MIAB for all agents - code-server and gvoice were stale — deleted
- 500 errors were Anthropic API, not our server - WP hack isolated to prod — kira fixing, raj audits non-WP
- No -bot suffix when referring to teammates (use @mike not @mike-bot)