#1888
Recover orphaned Cloud service terminal locks
An interrupted Docker service terminal could retain exclusive Cloud workspace admission and block server exec or deployments. The existing recovery job only selected host terminal claims.
- Include service terminal claims in the existing recovery job. Keep the controller and workspace advisory-lock checks.
- Verify the service's active release and provider VM binding, then check Docker's exec inventory. Preserve the claim while Docker reports an exec or cannot confirm the result.
- Close the matching service-terminal audit rows and clear the claim in one transaction. A same-scope retry runs the same recovery before opening a new shell.
- Page through terminal claims across recovery sweeps so active sessions or unreachable VMs cannot keep later candidates out of the fixed-size batch.
The affected Cloud workspace was reconciled individually after confirming there were no Docker execs. Server command admission succeeded afterward and released normally.
Verified locally with 148 tests across Cloud workspace coordination, Docker exit confirmation, lifecycle, service terminal handling, and the workspace repository. Platform typechecking passed.