PEP-20: service monitoring — health, heartbeats, alerts to platform admins
- web/bot/watchdog heartbeats in settings (heartbeat:<service>)
- watchdog checks bot+web, bot checks watchdog+web; quiet > 5 min → Telegram alert
to platform admins via outbox (platform.admins, default allowlist), recovery message,
hourly reminder, 15 min cooldown, deterministic dedupe; watchdog sends directly
when the bot is down
- GET /api/health (DB, version, services; 503 without DB)
- peppa status, peppa platform admins
- OpenSpec change pep-20-monitoring (archived), e2e monitor.test.ts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>