Apex Ops — Decisions & Changes

Last updated: 2026-05-21 | Session: Barry + Athena
Barry's Pending Actions
MakeMeRich: Create GitHub PAT
Go to github.com/settings/tokens → New token (classic) → repo scope → copy token → send to Athena. Unblocks all P1 bug fixes and App Store submission. All code is written and waiting.
MakeMeRich: Unlock Apple Account
apple ID barry_au_yeung@yahoo.com is locked. Unlock via security questions or email. Required for iOS TestFlight build.
Voice Assistant David: Test v1.5
Call +1 (650) 460-1036. Run through the intake flow as if you're a new client. Say pass or fail. Nothing ships until you say pass.
Outbound VA: Test Phase 1
SSH tunnel: ssh -L 8892:localhost:8892 apex@2.24.214.147 then open http://localhost:8892/admin. Add a contact, schedule a call, check History. Say pass before iOS/Android build starts.
Today's Architecture Changes (2026-05-21)
COO Loop Consolidated to Single Process
Replaced 4 cron jobs (ops-watcher, coo-loop, usage-refresh, backup) with one unified main-loop.sh. Crontab now has 1 entry: @reboot main-loop.sh. Every 5min: health checks. Every 30min: usage refresh. Every hour: scheduling. Every 3hr: full COO cycle. 3am: backup.
Usage Monitoring Fixed: API Headers (Real Numbers)
Previous: DB token estimates (wrong, overcounted). Now: Anthropic API headers x-ratelimit-unified-5h-utilization and x-ratelimit-unified-7d-utilization. Cache: /tmp/usage-cache.json refreshed every 30min. Matches /usage screen exactly.
Agent Day/Night Schedule
DAY (7am-midnight UTC): Trading + Main ONLY. All others off. NIGHT (midnight-7am): Social 1am, Yoga/Software 2am. Tasks queued during day go as 'paused', auto-activate at scheduled hour. Prevents session window collisions.
polkitd Memory Leak: Auto-Fixed
polkitd daemon was consuming 6.3GB RAM (recurring leak). Now auto-fixed every 5 minutes by main-loop.sh: if VmRSS > 500MB, runs sudo systemctl restart polkit. Freed 6.3GB on first fix.
New Rules (2026-05-21)
95% Rule: Ask Before Proceeding
If not 100% clear on what Barry wants, ask before doing anything. If I proceed without asking and get it wrong, that's on me. Never guess on ambiguous instructions.
Universal Documentation Rule
Every agent: after every task update CHANGELOG.md, STATUS.md, MEMORY.md. Document immediately, not overnight. If it isn't documented, it didn't happen.
New Project Standard: PRD + SOP + GitHub First
Before any code: 1) PRD (requirements), 2) SOP (operations), 3) Designs in PRD. Save to ~/projects/[name]/docs/. Then create private GitHub repo under bazdev0001. No code without these.
20-Turn Rule: Stop If Stuck
Any task exceeding 20 turns is stuck or wrong. Stop, document the blocker in MEMORY.md, report to COO. Never spin indefinitely.
Voice on Every Reply
Every text response must include a voice message via voice-notify.sh. Voice is primary channel. Cartesia API (separate from Claude) - zero impact on session usage.
New Projects (2026-05-20/21)
Outbound Voice Assistant — Phase 1 Done
General-purpose outbound AI calling SaaS. Backend: port 8892. TCPA compliance built in (DNC, AI disclosure, opt-out, calling hours). GitHub: bazdev0001/outbound-va. Target: law firms. Pricing: $0.18-0.25/min + $99/mo compliance tier. Phase 2 (iOS/Android) starts after Barry tests.
Mary AI Influencer — Character Built
Mary Chen, 24, Miami. Dark brown hair, warm tan, luxury minimalist, mysterious. Character bible: ~/claudeclaw/agents/social/output/influencers/MARY-MASTER-DOC.md. 5 mockup images generated. 6-month storyline researched. UGC revenue model (Alo Yoga, Lululemon). Higgsfield automation pipeline: software building overnight.
Current Status
Usage: 68% Weekly / 16% Session
Weekly limit resets Saturday 5am local time. Session resets every 5 hours. No agents running. Queue clear. Main loop healthy.