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-dash): stop the loading bar from killing the probes on first run (#954)
Aurora Capital2636c3cc5354
diff --git a/claude-ops/bin/ops-dash b/claude-ops/bin/ops-dashindex 948f04e3..fc1b7117 100755--- a/claude-ops/bin/ops-dash+++ b/claude-ops/bin/ops-dash@@ -325,8 +325,9 @@ TOTAL_PROBES=13# 5) Marketing — iterate ALL configured projects in parallel subshells(- MK_TMPDIR=$(mktemp -d)- trap 'rm -rf "$MK_TMPDIR"' EXIT+ # Subdir of TMPDIR_DASH: one tmpdir, one trap, cleaned after the final wait.+ MK_TMPDIR="$TMPDIR_DASH/marketing"+ mkdir -p "$MK_TMPDIR"# Read project list from preferences; fall back to default_project onlyif [ -f "$PREFS" ]; then@@ -568,7 +569,10 @@ if [[ "$MOBILE_MODE" -eq 0 && -z "${NO_COLOR:-}" && "${TERM:-dumb}" != "dumb" ]]_start_time=$(date +%s)_tick=0while true; do- _done=$(ls "$TMPDIR_DASH"/done_* 2>/dev/null | wc -l | tr -d ' ')+ # find never fails on zero matches. `ls done_*` exits 2 before the first+ # probe finishes; with `set -e` + pipefail that killed the script and the+ # EXIT trap removed TMPDIR_DASH while the workers were still writing.+ _done=$(find "$TMPDIR_DASH" -maxdepth 1 -name 'done_*' 2>/dev/null | wc -l | tr -d ' ')_pct=$(( (_done * 100) / TOTAL_PROBES ))_filled=$(( (_done * _bar_width) / TOTAL_PROBES ))_empty=$(( _bar_width - _filled ))