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.

2.3 KB
Raw Blame

Phase 16 SUMMARY

Status: Shipped (backfilled) Shipped via: PR #149, merge commit f291c75, merged 2026-04-23

What Shipped

Daemon hardening — infrastructure resilience and self-monitoring in scripts/ops-daemon.sh:

  • Parallel cache pre-warm via _run_parallel_warm (PID-array wait) for briefing, calendar, project health, contact activity, and marketing cache
  • prefetch_marketing_cache + opt-in marketing-prewarm cron service (ops-cron-marketing-prewarm.sh) so /ops:marketing loads instantly from cache
  • Persistent-failure notification: max_restarts_exceeded triggers a HIGH ops-notify.sh push (deduped, re-armed on recovery)
  • Expanded daemon-health.json per-service schema: latency_ms, last_success, error_count, last_error
  • track_api_call + check_rate_limits: per-integration quota tracking with 80% threshold notifications and window rollover handling
  • check_credential_expiry: offline inspection of preferences.json for *_expires_at / *_created_at, warns 7 days before expiry and 180 days after key creation
  • Top-level credential_warnings + rate_limit_warnings arrays in health JSON
  • scripts/ops-install-git-hooks.sh: idempotent post-commit/post-merge hook installer for smart cache invalidation (dry-run + uninstall modes)
  • SKILL.md updates for ops-daemon and ops-fires

Addresses: INFR-01, INFR-02, INFR-03, INFR-04, INFR-05, INFR-06, INFR-07.

Files Changed

  • claude-ops/scripts/daemon-services.default.json (+6)
  • claude-ops/scripts/ops-cron-marketing-prewarm.sh (+31 new)
  • claude-ops/scripts/ops-daemon.sh (+364/-10)
  • claude-ops/scripts/ops-install-git-hooks.sh (+194 new)
  • claude-ops/skills/ops-daemon/SKILL.md (+72/-1)
  • claude-ops/skills/ops-fires/SKILL.md (+13)

Verification

  • Commit message confirms all INFR-01 through INFR-07 addressed
  • ops-daemon.sh contains _run_parallel_warm, prefetch_marketing_cache, track_api_call, check_rate_limits, check_credential_expiry
  • daemon-health.json schema expanded with latency/error tracking fields
  • ops-install-git-hooks.sh ships with dry-run and uninstall modes

Deviations from Plan

None noted — shipped as specified.

Commits

  • 82a8ceee9f26ac5be10b657cd80dd43706b9f2cc — feat(daemon): phase 16 - parallel pre-warm, self-heal notify, rate limits, credential alerts