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: address review findings — env var safety, uncommitted count, health categories
auroracapital9ffefc1906e7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 0bcca7da..eb02cddb 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -37,13 +37,15 @@ jobs:bash -n claude-ops/bin/ops-gatherbash -n claude-ops/bin/ops-setup-detectbash -n claude-ops/bin/ops-setup-install+ bash -n claude-ops/bin/ops-projects+ bash -n claude-ops/scripts/ops-gsd-registry-sync.sh- name: Prettier checkrun: cd claude-ops && npx prettier --check "**/*.{js,mjs,json}" --ignore-path .gitignore- name: Install gitleaksrun: |- curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz | tar xz+ curl -sSfL --retry 3 --retry-delay 5 https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz | tar xzchmod +x gitleaks- name: Run gitleaksrun: ./gitleaks detect --source . --config claude-ops/.gitleaks.toml --verbosediff --git a/claude-ops/bin/ops-projects b/claude-ops/bin/ops-projectsindex 732d71cb..516a9c2a 100755--- a/claude-ops/bin/ops-projects+++ b/claude-ops/bin/ops-projects@@ -7,8 +7,8 @@ set -euo pipefailOPS_DATA_DIR="${OPS_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}"export OPS_DATA_DIR # ensure Python subprocess sees the same path-REGISTRY="$OPS_DATA_DIR/registry.json"-HEALTH="$OPS_DATA_DIR/cache/projects_health.json"+export REGISTRY="$OPS_DATA_DIR/registry.json"+export HEALTH="$OPS_DATA_DIR/cache/projects_health.json"PLUGIN_ROOT="$(cd "$(dirname "$0")/.." && pwd)"usage() {@@ -50,14 +50,14 @@ show_dashboard() {fi# Load registry- TOTAL=$(python3 -c "import json; print(json.load(open('$REGISTRY'))['total'])" 2>/dev/null || echo "?")- OWNER=$(python3 -c "import json; print(json.load(open('$OPS_DATA_DIR/preferences.json')).get('owner','owner'))" 2>/dev/null || echo "owner")+ TOTAL=$(python3 -c "import json, os; print(json.load(open(os.environ['REGISTRY']))['total'])" 2>/dev/null || echo "?")+ OWNER=$(python3 -c "import json, os; print(json.load(open(os.path.join(os.environ['OPS_DATA_DIR'],'preferences.json'))).get('owner','owner'))" 2>/dev/null || echo "owner")NOW=$(date +"%a %Y-%m-%d %H:%M")# Daemon health snippetDAEMON_STATUS="●"if [[ -f "$OPS_DATA_DIR/daemon-health.json" ]]; then- SERVICES=$(python3 -c "import json; d=json.load(open('$OPS_DATA_DIR/daemon-health.json')); print(sum(1 for v in d.get('services',{}).values() if v.get('status') in ['polling','scheduled']))" 2>/dev/null || echo "?")+ SERVICES=$(python3 -c "import json, os; d=json.load(open(os.path.join(os.environ['OPS_DATA_DIR'],'daemon-health.json'))); print(sum(1 for v in d.get('services',{}).values() if v.get('status') in ['polling','scheduled']))" 2>/dev/null || echo "?")DAEMON_STATUS="● $SERVICES services"fi@@ -69,8 +69,8 @@ show_dashboard() {# Get health summary if availableif [[ -f "$HEALTH" ]]; thenSUMMARY=$(python3 -c "-import json-d=json.load(open('$HEALTH'))+import json, os+d=json.load(open(os.environ['HEALTH']))s=d.get('summary',{})print(f\" GSD Portfolio — {s.get('total',0)} projects\")print(f\" 🟢 {s.get('executing',0)} executing 🟡 {s.get('paused',0)} paused 🔴 {s.get('blocked',0)} blocked ⚪ {s.get('idle',0)} idle\")diff --git a/claude-ops/scripts/ops-gsd-registry-sync.sh b/claude-ops/scripts/ops-gsd-registry-sync.shindex ba0f524b..566a6f18 100755--- a/claude-ops/scripts/ops-gsd-registry-sync.sh+++ b/claude-ops/scripts/ops-gsd-registry-sync.sh@@ -5,7 +5,7 @@set -euo pipefailDATA_DIR="${OPS_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}"-export DATA_DIR # pass to Python subprocess+export OPS_DATA_DIR="$DATA_DIR" # expose resolved path to Python subprocessCACHE_DIR="$DATA_DIR/cache"REGISTRY="$DATA_DIR/registry.json"PROJECTS_HEALTH="$CACHE_DIR/projects_health.json"@@ -82,11 +82,11 @@ for base in [Path(HOME) / "Projects", Path(HOME) / "gsd-workspaces"]:).strip().decode() or ""except: passtry:- dirty_out = subprocess.check_output(+ status_out = subprocess.check_output(["git", "-C", str(d), "status", "--porcelain"],- timeout=3, stderr=subprocess.DEVNULL+ timeout=5, stderr=subprocess.DEVNULL).decode()- uncommitted = len([l for l in dirty_out.splitlines() if l.strip()])+ uncommitted = len([l for l in status_out.strip().splitlines() if l.strip()])except: passtotal_phases = ""