# Upgrade Guide — v0.24.14

## What Changed

### Server Supervisor Self-Healing

The ServerSupervisor now runs preflight diagnostics before every server spawn attempt. Previously, if the shadow install was missing or the node symlink was broken, the server would crash immediately on startup — and restarting via `/lifeline restart` would just repeat the same failure.

Now, before each spawn, the supervisor checks and auto-repairs:

- **Missing shadow install** — reinstalls via npm automatically
- **Broken node symlink** — recreates it from available node binaries
- **Stale lifeline locks** — removes locks older than 10 minutes

This means `/lifeline restart` now actually fixes the problem instead of blindly retrying a broken state. Agents on remote machines can self-recover from common post-update failures without manual SSH intervention.

## What to Tell Your User

Your agent's server is now more resilient. If the server goes down due to a missing or corrupted install, the system will automatically detect and fix the issue before restarting. The /lifeline restart command in Telegram now does real recovery, not just a blind retry.

## Summary of New Capabilities

- **Preflight self-healing**: Server supervisor diagnoses and fixes common startup failures before each spawn
- **Shadow install auto-repair**: Missing shadow installs are reinstalled automatically
- **Node symlink recovery**: Broken node symlinks are recreated from available binaries
- **Stale lock cleanup**: Old lifeline locks are removed to prevent restart deadlocks
