← Back to Portfolio

Jupiter Pulse Daemon

The Sovereign Heartbeat

System Logic

Jupiter Daemon → Fibonacci timer → pulse(Soul) → SQLite pulse_log → [failure: Fibonacci backoff + Telegram alert]

The Mission

The pulse scheduler for all 16 souls. Jupiter runs as an always-on Docker service, calling every active agent's pulse() method on a Fibonacci-timed schedule. When agents fail, it applies exponential backoff using Fibonacci multipliers. The system's health score is computed as a φ-weighted average across all registered souls.

How It Works

**Fibonacci Backoff:** When an agent's pulse fails N consecutive times, its next interval is multiplied by the Nth Fibonacci number — 1, 1, 2, 3, 5, 8, 13... This prevents thundering-herd recovery while naturally spacing out retries.

**φ Health Threshold:** The system is considered healthy if the average pulse success rate across all souls is ≥ 1/φ ≈ 0.618. Below this threshold, a broadcast warning fires to Telegram every 10 minutes until recovery.

**Registered Souls:** Saturn (60s), Grey (600s), Iron (600s), Venus (900s), Mercury (1800s), Silver (3600s), Yellow (3600s), Blue (86400s). Each soul implements a pulse() method that Jupiter calls on schedule.

**SQLite Pulse Log:** Every pulse result — success, failure, health score, latency — is persisted to the pulse_log table. This creates a complete health history of the sovereign node.