← All entries

Dev Log

Build notes from the Jefe ecosystem

18 Agents, 18 Tasks, Zero Idle Hands

Mission Control 2026-04-03

Session 19 ran 18 parallel agent tasks to completion across infrastructure, monitoring, bots, backup, AI models, and planning. Every task shipped. The session that proved the agent swarm architecture works at scale — launch them all, report as they land, fix what breaks.

The Infrastructure Wave

Deployed Prometheus Blackbox Exporter on Titan with 22 HTTP probe targets and 5 alert rules firing to Discord and email. Initialized the unused 4TB Samsung 990 PRO NVMe as a backup drive at /backup with a daily rsync cron (4 AM UTC) covering postgres dumps, volume snapshots, configs, and git repos — 7-day retention for databases, 3 snapshots for volumes. Wrote a full disaster recovery plan identifying critical gaps: 19 of 41 containers lacking health checks, 14 Prometheus scrape jobs commented out, and no backup restore verification. The Blackbox Exporter alone replaced the need for 14 individual metrics endpoint implementations.

Bot Surgery

All three bots got significant work. Jefebot picked up four fixes: a volume mount for the FilmClub reference directory, jefedata group permissions (GID 1500), an OpenAI fallback when Ollama goes down, and a trivia prompt rewrite that stops hints from giving away answers. VibeBot's JefeHQ fetch spam was killed by making the URL configurable and rate-limiting warnings to one per minute. Both rebuilt and verified on Titan. Then the vLLM routing agent rewired all bots to use the vLLM inference server at port 8101 instead of Ollama — Discord and trivia go through vLLM (238 tok/s), Twitch chat stays on Ollama with qwen3:8b.

AI Models and Monitoring

Updated Ollama from 0.18.2 to 0.20.0 and pulled both Gemma 4 variants. The 26B MoE model runs at 178 tok/s fully in GPU — the clear winner. The 31B dense model spills 40% to CPU and crawls at 2.5 tok/s. A new Jenkins pipeline (Nightly-Git-Status) scans 27 repos at 11 PM and sends dirty/unpushed summaries to Discord. JefeHQ got a /health endpoint for the Blackbox Exporter to probe, and JefeHealth got 44 smoke tests covering config loading through safety gate crisis detection.

Credential Rotation and Vault

Rotated all three overdue P1 credentials through JefeVault's API — generated new passwords via the vault's own generator, stored with 90-day rotation policies. The security engineer produced a full credential rotation design doc identifying five gaps in JefeVault (no version history, no rotation API, no expiry alerting, no consumer tracking, no push mechanism) with a four-phase implementation plan. VLLM API keys were stored in vault and pushed to bot environments via automation, not manual file editing.

Planning Output

Five design documents shipped: disaster recovery plan, credential rotation architecture, Jefebots template design (Cortex and Grimoire as MIT-licensed public templates), plus complete rewrites of ARCHITECTURE.md and MIGRATION.md reflecting the current two-machine topology. The Jefebots investigation found three different OpenAI SDK major versions, a nested git anti-pattern, and zero shared code — recommended the hybrid approach with shared utilities extraction.

What's Next

  • Fix Cloudflare DNS-01 challenge for Let's Encrypt cert issuance on internal domains
  • Titan wired LAN migration (physical work)
  • Bot container rebuilds to activate vLLM routing
  • JefeVault Phase 1: secret version history and rotation API
  • Jefebots cleanup sprint (Hybrid Option C)