# SYSTEM-BASELINE.md Review — Rivet
**Reviewed:** 2026-02-18 05:14 AEDT

---

## ✅ What's Accurate & Good
- Infrastructure specs correct (4 vCPU, 8GB confirmed)
- Agent registry (ports, workspaces, models) all match actual configs
- Cron jobs verified — all 10 match actual `crontab -l`
- Operating model diagram and three-layer architecture well-articulated
- Communication protocol comprehensive
- Recovery procedures are solid and battle-tested from yesterday
- Known issues section is honest and up to date

---

## 🔴 ERRORS / INACCURACIES

### 1. Rivet's Service Name & Status
**Baseline says:** Service is `clawdbot-gateway`, listed as active
**Reality:** `clawdbot-gateway.service` is **inactive (dead)** since 04:50 AEDT. Rivet is running (PID 1242880 on port 18789) but NOT via systemd — started by PID 994 (manual/parent process). This means **Rivet won't auto-restart on crash** unlike all other agents.

**Fix needed:** Either restart via systemd (`systemctl start clawdbot-gateway`) or document that Rivet runs outside systemd.

### 2. Duplicate Section Numbers
- Two "Section 7" headers (Model Strategy + Curation)
- Two "Section 8" headers (Known Issues + Audit Checklist)
**Fix:** Renumber sections sequentially (0-9)

### 3. Harper's Model
**Baseline says:** Primary `moonshot/kimi-k2.5` with MiniMax fallback
**Reality (per Builder 19:06 AEDT):** Harper was overridden to Opus 4.5 by Michael for grant work. Her working chain is DeepSeek → Sonnet → Gemini Flash. Moonshot is dead, MiniMax crashes Clawdbot.

### 4. Susan Memory Count
**Baseline says:** 7 files  
**Builder's audit (19:35):** 19 files  
**Should verify current count**

---

## 🟡 MISSING — Should Be Added

### 5. External Services (Major Gaps)
The baseline lists 10 services but TOOLS.md documents significantly more:

| Missing Service | Purpose | Location |
|----------------|---------|----------|
| **Growth Engine CRM** | Sales pipeline, lead management | https://rateright-growth-production.up.railway.app |
| **RateRight v1 (Fly.io)** | Main site | https://rateright.com.au (Fly.io: rateright-au, Flask) |
| **Google Workspace** | 6 email addresses on rateright.com.au | Google OAuth in /root/.clawdbot/ |
| **Google Calendar** | Scheduling | Google OAuth |
| **Twilio** | Voice calls, Rivet's phone line | +61 238 205 443 |
| **ElevenLabs** | TTS for phone calls (Charlie voice) | /root/.clawdbot/secrets.json |
| **Edge TTS** | Chat voice notes (free, no key) | Built into Clawdbot |
| **Apollo** | Contact enrichment for sales | In agent configs |
| **Exa** | Company search for prospecting | In agent configs |
| **Notion** | Business ops, planning | In Clawdbot config |
| **VAPI** | Backup voice AI assistant | phone-ai repo .env |

### 6. Phone Lines & Voice
Missing entirely from baseline:
- Michael: +61 426 246 472
- Business: +61 468 087 171  
- Rivet voice: +61 238 205 443 (Twilio)
- Voice call config: Clawdbot voice-call plugin (Twilio + ElevenLabs Charlie @ 1.2x)
- Chat TTS: Edge TTS (en-AU-WilliamNeural) — FREE, used for work-hours voice notes

### 7. Email Infrastructure
6 Google Workspace addresses not documented:
- michael@rateright.com.au (Founder)
- support@rateright.com.au (Dedicated account)
- finance@rateright.com.au (Harper alias)
- sales@rateright.com.au (Susan alias)
- hello@rateright.com.au (General)
- noreply@rateright.com.au (System)

### 8. WhatsApp Channel
Just connected (05:01 AEDT today). Not mentioned in baseline. Status: intermittent (disconnected/reconnected at 05:08).

### 9. Telegram Bot Details Per Agent
Each agent has its own Telegram bot but the baseline doesn't list bot usernames or the shared group chat:
- Rocky & Rivet group: -1003505625266 (11 topic threads)
- Each agent has a @rateright_{agent}_bot

### 10. Security & Access
No mention of:
- SSH configuration
- Firewall rules (ufw/iptables)
- fail2ban (if running)
- API key rotation policy
- Who has VPS access
- Backup strategy beyond git sync

### 11. BAS / Tax Lodgement Approach
- **Quarterly BAS:** Self-lodged (no external accountant)
- **Annual return:** External accountant used once a year
- **Current:** Harper preparing Q2 BAS for self-lodgement by Feb 28

### 12. Michael's Communication Preferences
The daily rhythm table is good but missing:
- **Work hours (5:30am-6pm):** Send voice notes, not text (can't read on site)
- **The Window (7-8:30pm):** Decisions to approve, concise
- **After 8:30pm:** Queue for morning, don't message

### 13. Skills & Capabilities Per Agent
No mention of installed Clawdbot skills (prospector, youtube-channels, growth-engine, bird/X, etc.) or which agents have which capabilities.

### 14. Builder Communication (Gateway Bridge)
The doc mentions agent-bridge.js but not the gateway-to-gateway bridge:
```bash
node scripts/builder-bridge.js send <sessionKey> "TASK"
node scripts/builder-bridge.js wake "message"
node scripts/builder-bridge.js status
```

### 15. AUTONOMOUS-DESIGN.md Status
6/8 complete, 2 pending (Rivet, Susan). This is a current project not tracked in the baseline.

---

## 🔵 SUGGESTIONS (Nice to Have)

### 16. Runbook for Common Operations
- How to add a new agent
- How to change an agent's model safely (config + session archive)
- How to onboard a new company
- How to check why an agent is stalled (diagnostic flowchart)

### 17. Cost Tracking
No mention of monthly costs or budget:
- VPS: ~$48/month
- API spend breakdown per agent/provider
- Target budget

### 18. Git Repositories
Not listed:
- `/home/ccuser/the-50-dollar-app` (RateRight v2, Next.js)
- `/home/ccuser/rateright-growth/rivet` (Rivet workspace, git tracked)
- Any other repos on the VPS

### 19. Deployment Procedures
Brief mention of systemd restart but no full deploy procedure:
```bash
cd /home/ccuser/the-50-dollar-app && npm run build && systemctl restart rateright-app
```

---

## Summary

**Grade: B+** — Solid foundation covering the agent fleet, comms, and automation comprehensively. The operating model explanation (Section 0) is excellent. Main gaps are external services (only 10 of ~20+ listed), no voice/phone/email infrastructure, no security section, and a few factual errors (Rivet's service status, Harper's model, duplicate section numbers).

**Top 5 items to add:**
1. External services (Growth Engine, Google Workspace, Twilio, ElevenLabs, Apollo, Exa, Notion)
2. Phone/voice infrastructure  
3. Email addresses
4. Security & access controls
5. Fix Rivet's systemd service (actual operational risk)

— Rivet, 05:14 AEDT
