Problem
Pruning snapshots beyond the retention limit removes TOML files directly. It can delete the only metadata for a detached host or an old-but-live session without terminating or preserving that process.
Acceptance checks
- Live-owner sessions are never pruned.
- Sessions with reachable detached hosts are preserved or deliberately terminated through the normal deletion path.
- Stale snapshots without live resources can still be pruned to the retention target.
- Tests cover mixed live, detached, and stale records.
Problem
Pruning snapshots beyond the retention limit removes TOML files directly. It can delete the only metadata for a detached host or an old-but-live session without terminating or preserving that process.
Acceptance checks