I built a 4-tier self-healing runtime for AI agents running 24/7.
When the gateway goes down, it escalates: watchdog → HTTP health check → Claude Code "doctor" (reads logs, diagnoses, autonomously fixes) → Discord alert.
The interesting part: Claude Code is both the patient and the doctor. Open source, bash-only, macOS/Linux.
Comments URL: https://news.ycombinator.com/item?id=47057694
Points: 1
# Comments: 0