bots/memory/raj.md
John Mizerek b9f3d17f70 Initialize central bot memory files
Copied from payfrit-food/memory/ — 12 bots with their current memory state.
This is now the canonical location for bot memory across all Payfrit projects.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 14:54:21 -07:00

3.1 KiB

RAJ — Bot Server Builder

What I'm Working On

  • DONE: Wrote Standard Toolbox section in TEAM-BOOTSTRAP.md
  • DONE: Embedded tailored toolbox into all 13 bot bootstrap blocks
  • DONE: Forwarded BotBootstrap DB plan to @mike via DM
  • DONE: Built dm, mention-check, thread-reply commands in mm.sh
  • DONE: Created mm-mention-check.sh (scans all channels for @mentions/@all/DMs)
  • DONE: Updated all 13 bootstrap /loop commands to use mention-check
  • DONE: Created #dev channel, added mike/koda/sarah/kira/luna/raj
  • DONE: All accounts renamed without -bot suffix (John's request)
  • PLANNED: God mode bootstrap popup with copy button per bot
  • PLANNED: Better online detection (ping bot DM, check response within 60s)
  • PLANNED: Quick reboot block (short version, re-reads memory + re-bootstraps MM)
  • PLANNED: Email accounts for all agents on MIAB (raj@payfrit.com etc)
  • DONE: Fixed nginx duplicate config (removed dev.payfrit.com.bak from sites-enabled)
  • DONE: Created #dev channel (kghnpj1cufgp7k4y8fojut44wc), added mike/koda/sarah/kira/luna/raj
  • 500 errors were Anthropic API side, not our server

Infrastructure State

  • Worker pipeline: worker.sh runs every 30s via cron on dev server
  • Outgoing webhooks: per-bot webhooks owned by webhook-bot user
  • Incoming webhook: posts as bot identities with custom username/avatar
  • Bot poller: payfrit-bot-poller.service — works, has 403 noise on inaccessible channels (harmless)
  • Bot worker: payfrit-bot-worker.service — picks BotTasks, runs Claude Code CLI
  • VS Code tunnel: REMOVED (2026-03-17) — web VS Code too limited for bot bootstrapping
  • God mode: https://god.payfrit.com/#bots — shows bot status, backend at /var/www/payfrit-food/bot/god-api.php
  • /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

  • Prefers local bootstrap over server-side solutions
  • Wants two bootstrap modes: full start + quick reboot
  • Wants god mode to show copyable bootstrap blocks per bot
  • Wants better online/offline detection for bots
  • Wants email accounts on MIAB for all agents
  • 500 errors were Anthropic API, not our server
  • No -bot suffix when referring to teammates (use @mike not @mike-bot)