You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changelog
v5.3.1 -- Close Mode Fix (2026-03-23)
Close mode rewrite (Fix) -- stop-then-restart pattern. Stops CoworkVMService (triggers graceful VM shutdown ~31s), cleans HCS orphans, kills Claude UI, restarts service so it is ready for the next launch. Fixes the Windows behaviour where manually-stopped services ignore ETW named pipe triggers
Stop-ClaudeDesktop.bat -- new launcher for clean shutdown via Close mode. Double-click to stop Claude without running a repair
Test-RecentHcsErrors Admin log fix (Fix) -- Admin log code path now skips 0xC037010D events with continue instead of returning shutdown_stale, which was bypassing the >15 threshold on any single event
Version bump -- Fix updated to v5.3.1
v5.0.0 -- HCS Safety & Close Mode (2026-03-23)
Invoke-HcsDiag helper (Fix + Watch) -- all hcsdiag calls wrapped with Start-Job + 15s timeout to prevent indefinite hangs when HCS is corrupted. 14 call sites in Fix, 3 in Watch
ServiceTimeout raised (Fix) -- service stop timeout increased from 8s to 30s. Prevents premature force-kills that cause HCS state corruption
Graceful service polling (Fix) -- WaitForStatus replaced with polling loop, preventing PowerShell timeout exceptions during slow VM shutdowns
VHDX handle verification (Fix) -- 3 sites now verify VHDX files are not locked before backup/restore operations
0xC037010D threshold raised (Fix) -- from 8 to 15 in Test-RecentHcsErrors. This event occurs on every normal VM shutdown (property query bug) and is not a blocker
vmcompute restart guards (Watch) -- active session detection + Fix mutex check before vmcompute restart. Threshold raised from >5 to >15. Prevents disrupting running Cowork sessions
Log paths updated (Fix + Watch) -- primary log path changed to C:\ProgramData\Claude\Logs\coworkd.log with fallback to %APPDATA%\Claude\logs\cowork_vm_node.log
BootPrep delay increased (Prevent) -- boot-fix task delay raised from 30s to 45s with smart pre-check: skips if CoworkVMService or Claude is already running
Version bump -- Fix 5.0.0, Watch 5.0.0, Prevent 2.0.0
New detection source (Fix) -- reads C:\ProgramData\Claude\Logs\cowork-service.log for isGuestConnected RPC state via new Test-CoworkServiceLog helper
Guest timeout in HCS detection (Fix) -- Test-RecentHcsErrors now returns "guest_connect_failure" when repeated isGuestConnected polls get no guest response
Targeted Step 9 recovery (Fix) -- when guest-timeout is detected after 90s, performs HCS cleanup + service restart instead of waiting for the full 240s timeout
Guest connection health monitor (Watch) -- new Check 10 monitors cowork-service.log for sustained isGuestConnected polling with zero guest responses (3 consecutive checks required before trigger)
Error patterns expanded (Watch) -- added isGuestConnected timeout patterns to log-scan error list
README updated with isGuestConnected error documentation, new tracked issues (#31848, #31314), troubleshooting entry, and updated step descriptions