b1b20b8cb7
StopInstance was calling sprite.Destroy() unconditionally, so every session stop tore down the cloud sandbox. Resume then always fell into the missing-sandbox fallback, re-cloned the repo, re-ran the prepare script, and lost the agent's working tree. That's a 30s+ round-trip for what should be "stop the process, then re-attach later". Limit Destroy to terminal lifecycle reasons (task/session deleted/archived), the same set runTerminalCleanupScript already uses. Plain stops just close the proxy and leave the sandbox alive. Also update the existing Docker e2e regex: the feature-branch suffix is now a deterministic 6-hex-char prefix of the task UUID rather than a random 3-char tail, so resume on legacy env rows lands on the same branch.