Skip to content

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.

fix(scripts): address codex P1 (curl --fail) + P2 (honor --dry-run) review feedback

auroracapital91bfd791cd70
diff --git a/claude-ops/scripts/finops-bridge.sh b/claude-ops/scripts/finops-bridge.sh
index 77c31b73..ec515b76 100755
--- a/claude-ops/scripts/finops-bridge.sh
+++ b/claude-ops/scripts/finops-bridge.sh
@@ -42,7 +42,7 @@ if [[ -z "$BASE" ]]; then
esac
fi
-CURL_OPTS=(--silent --show-error --connect-timeout 5 --max-time 15)
+CURL_OPTS=(--silent --show-error --fail --connect-timeout 5 --max-time 15)
[[ -n "$TOKEN" ]] && CURL_OPTS+=(-H "Authorization: Bearer ${TOKEN}")
CURL_OPTS+=(-H "Accept: application/json")
diff --git a/claude-ops/scripts/whatsapp-bridge-migrate.sh b/claude-ops/scripts/whatsapp-bridge-migrate.sh
index 3b610d1d..9c021c0f 100755
--- a/claude-ops/scripts/whatsapp-bridge-migrate.sh
+++ b/claude-ops/scripts/whatsapp-bridge-migrate.sh
@@ -149,6 +149,9 @@ OSASCRIPT
if [[ "$CONTACTS_JSON" == "[]" ]] || [[ -z "$CONTACTS_JSON" ]]; then
log " Contacts.app returned 0 contacts (permissions or empty) — leaving contacts table empty."
log " Re-run with WHATSAPP_BRIDGE_DB set after granting Contacts access to run a refresh."
+ elif [[ $DRY_RUN -eq 1 ]]; then
+ CONTACT_COUNT=$(echo "$CONTACTS_JSON" | python3 -c 'import json,sys; print(len(json.load(sys.stdin)))' 2>/dev/null || echo "?")
+ log " DRY RUN — would insert up to $CONTACT_COUNT Contacts.app entries (skipping write)."
else
INSERTED=$(python3 - "$BRIDGE_DB" "$CONTACTS_JSON" <<'PYEOF' 2>/dev/null || echo "0"
import json, sqlite3, sys, re, time