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(daemon): stop self-kickstart crash-loop + drop decommissioned wacli-keepalive (v2.2.4) (#241)

Aurora Capitalf5911cc875d6
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 55e3a01c..a8de1242 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -11,7 +11,7 @@
"name": "ops",
"description": "Business operations command center for Claude Code — 35 skills, 18 agents, smart background daemon. Manage communications (WhatsApp/Email/Slack/Telegram), projects, infrastructure (AWS), revenue (Stripe+RevenueCat), e-commerce, marketing, monitoring (Datadog/New Relic/OTEL), and voice. Includes /gtm go-to-market planner, /ops:projects portfolio dashboard, and YOLO autonomous mode with 4 parallel C-suite agents.",
"source": "./claude-ops",
- "version": "2.2.3",
+ "version": "2.2.4",
"category": "productivity",
"keywords": [
"ops",
diff --git a/claude-ops/.claude-plugin/plugin.json b/claude-ops/.claude-plugin/plugin.json
index 53910729..b070961a 100644
--- a/claude-ops/.claude-plugin/plugin.json
+++ b/claude-ops/.claude-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "ops",
- "version": "2.2.3",
+ "version": "2.2.4",
"description": "Business operations command center for Claude Code — 35 skills, 18 agents, and a smart background daemon that manage communications (WhatsApp/Email/Slack/Telegram), projects, infrastructure (all AWS services), revenue (Stripe + RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4/GSC), monitoring (Datadog/New Relic/OTEL), and voice (Bland AI/ElevenLabs/Whisper). Includes /gtm go-to-market planner, /ops:projects portfolio dashboard, and YOLO mode for autonomous operation with 4 parallel C-suite agents.",
"author": {
"name": "Lifecycle Innovations Limited",
diff --git a/claude-ops/CHANGELOG.md b/claude-ops/CHANGELOG.md
index db9e37e9..30227438 100644
--- a/claude-ops/CHANGELOG.md
+++ b/claude-ops/CHANGELOG.md
@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
+## [2.2.4] — 2026-05-17
+### Fixed
+- **Daemon silent crash-loop under launchd.** `scripts/ops-daemon.sh` included `com.claude-ops.daemon` in its own `EXPECTED_SERVICES` self-healing list. On startup the ENSURE loop read its own previous launchctl `exit=1` status (a normal post-install state), called `launchctl kickstart "gui/$UID/com.claude-ops.daemon"`, received SIGTERM, and respawned every ~30s via launchd's `ThrottleInterval`. Net effect: no `daemon-health.json` refresh, no service supervision, no message-listener, but `launchctl list` showed the entry registered with exit=1, no PID. Removed `com.claude-ops.daemon` from `EXPECTED_SERVICES` (launchd's `KeepAlive=true` already handles auto-restart). Also removed the decommissioned `com.claude-ops.wacli-keepalive` entry — it was a v2.0.3 leftover whose plist no longer ships, causing noisy "cannot repair — missing bash or source plist" log entries every monitor cycle. `install_daemon_launchd()` cleaned up to stop trying to install the non-existent wacli plist. (#241)
+
## [2.2.3] — 2026-05-17
### Fixed
- **Doppler MCP server failed to connect on every reload.** Plugin's `.mcp.json` invoked `npx -y @dopplerhq/mcp-server` which tries to run a binary matching the package name. The actual bin is `doppler-mcp` (`bin: { "doppler-mcp": "bin/doppler-mcp" }`), so npx couldn't find a command and exited with `command not found`. Switched to `npx -y -p @dopplerhq/mcp-server doppler-mcp` form which explicitly names the binary, eliminating the `Failed to connect` error from `/reload-plugins`.
diff --git a/claude-ops/package.json b/claude-ops/package.json
index 401cbda8..8091c6a2 100644
--- a/claude-ops/package.json
+++ b/claude-ops/package.json
@@ -1,6 +1,6 @@
{
"name": "claude-ops-bin",
- "version": "2.2.3",
+ "version": "2.2.4",
"private": true,
"description": "Runtime dependencies for claude-ops bin scripts (ops-telegram-autolink.mjs, ops-slack-autolink.mjs). Installed separately from telegram-server/ so the .mjs scripts resolve modules from claude-ops/node_modules regardless of invocation cwd.",
"type": "module",
diff --git a/claude-ops/scripts/ops-daemon.sh b/claude-ops/scripts/ops-daemon.sh
index dc4a282a..2769d736 100755
--- a/claude-ops/scripts/ops-daemon.sh
+++ b/claude-ops/scripts/ops-daemon.sh
@@ -1154,9 +1154,7 @@ install_daemon_launchd() {
mkdir -p "$agents_dir"
local daemon_plist_src="$SCRIPT_DIR/scripts/com.claude-ops.daemon.plist"
- local keepalive_plist_src="$SCRIPT_DIR/scripts/com.claude-ops.wacli-keepalive.plist"
local daemon_plist_dst="$agents_dir/com.claude-ops.daemon.plist"
- local keepalive_plist_dst="$agents_dir/com.claude-ops.wacli-keepalive.plist"
local bash_path
bash_path="$(command -v bash)"
@@ -1172,8 +1170,7 @@ install_daemon_launchd() {
_install_launchd_plist "$daemon_plist_src" "$daemon_plist_dst" \
"$bash_path" "$plugin_root" "com.claude-ops.daemon"
- _install_launchd_plist "$keepalive_plist_src" "$keepalive_plist_dst" \
- "$bash_path" "$plugin_root" "com.claude-ops.wacli-keepalive"
+ # wacli-keepalive decommissioned in v2.0.3 — WhatsApp now uses Baileys MCP.
}
# Install a single launchd plist: substitute placeholders, copy, bootstrap.
@@ -1387,10 +1384,19 @@ ENSURE_SERVICES_INTERVAL="${ENSURE_SERVICES_INTERVAL:-300}" # every 5 min
# Expected launchd agents (macOS) / systemd units (Linux).
# Format: "label|plist_src_basename|description"
-EXPECTED_SERVICES=(
- "com.claude-ops.daemon|com.claude-ops.daemon.plist|ops daemon"
- "com.claude-ops.wacli-keepalive|com.claude-ops.wacli-keepalive.plist|wacli keepalive"
-)
+#
+# IMPORTANT: do NOT include com.claude-ops.daemon here. The daemon must not
+# monitor itself — launchd's KeepAlive=true already auto-restarts on crash.
+# Self-monitoring causes the ENSURE loop to read its own stale launchctl
+# exit=1 status during early init, call `launchctl kickstart` on itself,
+# receive SIGTERM, and respawn every ~30s in a silent crash loop (no
+# stderr/stdout, just rapid START log entries).
+#
+# wacli-keepalive was decommissioned in v2.0.3 — WhatsApp ops moved to the
+# Baileys bridge (com.<user>.whatsapp-bridge) and mcp__whatsapp__* tools.
+# Including it caused noisy "cannot repair — missing bash or source plist"
+# entries every monitor loop because its plist no longer ships in the package.
+EXPECTED_SERVICES=()
ensure_all_services() {
local now