Vishnu Work Done Log

Tracking all work performed on Ian Ferguson's Vishnu AI Assistant
Feb 3, 2026 — 4:37 PM 🔥 Context Overflow — Root Cause & Fix FIX

Problem

Vishnu was experiencing recurring context overflow errors and API rate limit failures (HTTP 429). After investigation, we discovered the root cause: Ian had shared his entire conversation history from ChatGPT and Claude with Vishnu, asking it to save everything permanently.

Root Cause

A transcribed voice message confirmed Ian asked Vishnu to "take all this information and save it and make sure that it's in a place you can reference forever." This caused:

  1. Memory Database Bloat: main.sqlite grew to 5.1 MB with 89 embedding entries (vs 4 in a clean database)
  2. Context Inflation: Every interaction searched the bloated index, pulling in years of historical context
  3. Concurrent Session Overload: Multiple sessions each carrying inflated context triggered cascading rate limits

Pre-Fix State — Vishnu's Mac Mini

main.sqlite: 16 MB (48 chunks, 48 embeddings, 23 memory files from a single day)
Total text: 59 KB actual content buried under 1.9 MB of vector embeddings
Result: Context overflow errors, Claude usage burned through daily limits

Fix Applied — Vishnu's Mac Mini (6:13 PM MST)

ssh vishnu@100.106.206.127
cp ~/.clawdbot/memory/main.sqlite ~/.clawdbot/memory/main.sqlite.bak  # backup
rm ~/.clawdbot/memory/main.sqlite  # remove 16 MB bloated DB
# System auto-rebuilds fresh, minimal database on next use

Post-Fix Validation

Lessons Learned

  1. Never bulk-import conversation history from other AI platforms — summarize key points instead
  2. Embedding databases grow silently (5.1 MB DB had only 8 KB of readable text)
  3. Concurrent sessions multiply memory bloat into rate limit cascades
Feb 3, 2026 — 12:25 PM API Rate Limit Optimization CONFIG

Problem

Vishnu was hitting Anthropic API rate limits (HTTP 429), falling back to Gemini despite having Tier 2 limits (450k tokens/min, 1k requests/min).

Solution

  1. Reordered Fallback Chain: Opus → Gemini → Sonnet → GPT-4o (Gemini moved up as faster fallback)
  2. Preserved Concurrency: Kept all 4 concurrent agents
  3. Smart Retry Logic: 3-minute cooldowns to prevent retry loops

Commands

cp ~/.clawdbot/clawdbot.json ~/.clawdbot/clawdbot.json.backup.$(date +%s)
# Updated fallbacks in config: ["gemini-3-pro-preview", "claude-sonnet-4", "gpt-4o"]
clawdbot gateway restart

Result

When Claude hits rate limits: tries Gemini first (fast), then Sonnet, then GPT-4o. 3-min cooldown prevents retry storms.

Feb 1–2, 2026 Initial Setup & Configuration SETUP

Work Completed

Configuration

About Vishnu

Vishnu is Ian Ferguson's personal AI assistant running 24/7 on his Mac Mini. It operates through Telegram (@Vishnuexu_bot) and provides advanced AI capabilities including coding, research, file processing, and contextual memory.