Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.
Shell agent-teamsai-agentai-automationanthropicautonomous-agentawsbusiness-operationsclaudeclaude-codeclaude-code-plugindevopsecommerceinbox-zeroklaviyomarketingmcpmorning-briefingpr-automationshopifyterminal
fix(ops-inbox-scan): resilient WhatsApp working set — don't let a corrupt archived flag blind the scan (#545)
Aurora Capitalf604826ff559
diff --git a/claude-ops/bin/ops-inbox-scan b/claude-ops/bin/ops-inbox-scanindex 598634a1..e8f6bbe6 100755--- a/claude-ops/bin/ops-inbox-scan+++ b/claude-ops/bin/ops-inbox-scan@@ -298,10 +298,17 @@ def scan_whatsapp():return candreturn jid- # Pull non-archived chats (groups/newsletters separated below).+ # Working set: non-archived OR any chat with activity in the recency window.+ # The local `archived` flag has been observed mass-corrupted (every chat+ # flagged archived=1, including live two-way threads), which silently blinds+ # the scan into a false "inbox zero". Falling back to recency guarantees a+ # corrupt flag can NEVER hide an actively-conversing chat; genuinely-archived+ # OLD chats (no msgs in the window) still stay hidden. (2026-06-09 fix.)chats = list(con.execute("SELECT jid, name, last_message_time FROM chats "- "WHERE archived=0 ORDER BY last_message_time DESC"+ "WHERE archived=0 OR last_message_time >= datetime('now', ?) "+ "ORDER BY last_message_time DESC",+ (f"-{DAYS} days",)))# Build merged DM groups keyed by canonical jid.