Status: Pending (ENOSPC deadlock - requires Cowork app restart)

Importance: High

Run start (ET): 2026-06-08 ~03:00

What happened

The daily cleanup attempted preflight and ran into the exact deadlock the runbook anticipates in the SELF-RECOVERY section.

What I did NOT do (intentional)

Why this happens

The Cowork guest filesystem is a dynamically-expanding VHDX. As sessions run, scratch (temp dirs, package caches, build artifacts, closed-session working dirs) accumulates inside the guest. The guest disk never auto-shrinks. The daily cleanup is exactly the mechanism that keeps the guest from getting here. If the daily run was previously failing or did not catch up after a heavy day of sessions, the guest fills, and once it fills, the cleanup itself cannot run, because Bash needs disk to start. That is the deadlock.

Recommended next action (1 click for Sam)

Restart the Cowork desktop app once. A restart tears down ephemeral state in /sessions/* for closed sessions, which is the single biggest scratch consumer. After the restart, free space comes back, Bash can start, the next scheduled run executes normally, and this task self-maintains from there. No manual command-line work is required.

Once unblocked, the daily 3 AM ET run should keep the guest comfortable indefinitely. If the deadlock repeats within 7 days after a restart, that points to a heavier-than-expected scratch source and the cleanup target thresholds should be tightened (see MCQ below).

Optional: host-side VHDX size check

This run could not check VHDX sizes (no Desktop Commander). After the restart, the next normal run will report rootfs.vhdx and sessiondata.vhdx sizes from C:\\Users\\SAguiar\\AppData\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\. If either exceeds 12 GB at that point, the runbook calls for scheduling a separate Optimize-VHD compaction (VM offline) — not done from this task.