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(marketing): record successful empty blog runs (#956)
Aurora Capital084218f77027
diff --git a/claude-ops/scripts/ops-cron-seo-blog-gen.sh b/claude-ops/scripts/ops-cron-seo-blog-gen.shindex b3dabf49..f1287737 100755--- a/claude-ops/scripts/ops-cron-seo-blog-gen.sh+++ b/claude-ops/scripts/ops-cron-seo-blog-gen.sh@@ -29,6 +29,7 @@ export CLAUDE_OPS_USE_CREDIT_POOL="${CLAUDE_OPS_USE_CREDIT_POOL:-0}"DATA_DIR="${OPS_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}"PREFS="${OPS_AUTOPILOT_PREFS:-${DATA_DIR}/preferences.json}"+SUCCESS_MARKER="${DATA_DIR}/cache/content-seo-blog-last-success"DRY_RUN=falseSINGLE_PROJECT=""@@ -373,3 +374,8 @@ else_process_project "$proj" || truedone < <(prefs_projects)fi++if [ "$DRY_RUN" = "false" ]; then+ mkdir -p "$(dirname "$SUCCESS_MARKER")"+ touch "$SUCCESS_MARKER"+fidiff --git a/claude-ops/tests/test-ops-content-seo.sh b/claude-ops/tests/test-ops-content-seo.shindex dbae705f..bd25f7fb 100755--- a/claude-ops/tests/test-ops-content-seo.sh+++ b/claude-ops/tests/test-ops-content-seo.sh@@ -10,6 +10,7 @@# 6. GSC filter: excludes out-of-range rows# 7. manifest.json created after live run# 8. script has no project-specific branding defaults+# 9. successful live run writes freshness marker; dry-run does notset -euo pipefailPLUGIN_ROOT="$(cd "$(dirname "$0")/.." && pwd)"@@ -225,6 +226,24 @@ elseok "script has no project-specific branding defaults"fi+# ── Test 9: freshness marker records successful live runs only ────────────────+echo "Test 9: freshness marker records successful live runs only"+MARKER="${OPS_DATA_DIR}/cache/content-seo-blog-last-success"+rm -f "$MARKER"+run_script "$PREFS_FULL" testproject --dry-run >/dev/null 2>&1 || true+if [ ! -e "$MARKER" ]; then+ ok "dry-run does not write freshness marker"+else+ err "dry-run must not write freshness marker" "path: $MARKER"+fi++run_script "$PREFS_FULL" testproject >/dev/null 2>&1 || true+if [ -f "$MARKER" ]; then+ ok "live run writes freshness marker"+else+ err "live run should write freshness marker" "path: $MARKER"+fi+echo ""echo "---"echo "Results: $pass passed, $fail failed"