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): give claude-ops-daemon the gog file-keyring env so memory-extractor can read email

auroracapital624ec679ae40
diff --git a/claude-ops/scripts/systemd/claude-ops-daemon.service b/claude-ops/scripts/systemd/claude-ops-daemon.service
index a0e6a21c..56fe9e12 100644
--- a/claude-ops/scripts/systemd/claude-ops-daemon.service
+++ b/claude-ops/scripts/systemd/claude-ops-daemon.service
@@ -12,6 +12,16 @@ Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
# CLAUDE_PLUGIN_ROOT is read by ops-daemon.sh and the services it spawns.
# Override at install time if your marketplace dir lives elsewhere.
Environment=CLAUDE_PLUGIN_ROOT=%h/.claude/plugins/marketplaces/ops-marketplace/claude-ops
+# memory-extractor (and any other gog-backed service the daemon spawns) calls
+# `gog gmail search` to collect email. gog stores its OAuth tokens in a file
+# keyring encrypted with GOG_KEYRING_PASSWORD; without GOG_KEYRING_PASSWORD +
+# GOG_KEYRING_BACKEND=file in the unit env, gog cannot decrypt them and returns
+# no data, so extraction silently logs "gog returned no data" and skips email.
+# These creds live in the same mcp-secrets.env used by the pocket/whatsapp
+# helper units. Optional (-) so installs without the file still boot; gog
+# resolves the default account from ~/.config/gogcli/config.json, so no
+# GOG_ACCOUNT is required here.
+EnvironmentFile=-%h/.config/systemd/env/mcp-secrets.env
ExecStart=/bin/bash %h/.claude/plugins/marketplaces/ops-marketplace/claude-ops/scripts/ops-daemon.sh
Restart=on-failure
RestartSec=10