Headline numbers

Metric Before After Reclaim
Data volume free 108 GB (88% used) 182 GB free (80% used) after Trash empty ~75 GB
Library/Caches 60 GB < 5 GB 57 GB (CloudKit was 55 GB)
Duplicate files 1,948 in 806 groups 1,043 moved + emptied Trash 14.28 GB
CapCut projects 12 GB moved to Trash per Sam +12 GB pending Trash empty

Status: COMPLETE

Sam approved all four QA recommendations. Subsequently asked to also kill CapCut. All executed.

Done in this session

  1. Trash emptied for the dedup batch. 14 GB recovered. Disk dropped from 88% to 80% used.
  2. CapCut data folder moved to Trash. ~/Movies/CapCut/ (12 GB, 10 projects) moved to ~/.Trash/CapCut_2026-05-08/. Recoverable for ~30 days. Empty Trash again to reclaim the additional 12 GB.
  3. Weekly cache-clear scheduled task built. weekly-cache-clear, Sundays 2:05am. SKILL at /Users/samaguiar/Documents/Claude/Scheduled/weekly-cache-clear/SKILL.md. Targets CloudKit, ShipIt updaters, browser HTTP caches, electron, node-gyp, npm, manus, SiriTTS. Uses osascript to bypass the Cowork bash useradd issue. Mirrors a run report to SAIL Knowledge Base each week.
  4. Monthly dedup scan scheduled task built. monthly-dedupe-scan, 1st of month 3am. PROPOSAL-ONLY mode. Asks Sam for approval via 4-way MC if reclaimable is over 5 GB. Under 5 GB it logs and exits silently.
  5. Scripts canonicalized. dedupe_scan.py and dedupe_stage.py saved to /Users/samaguiar/Documents/Codex/scripts/dedupe/ with README. Future runs of monthly-dedupe-scan use these.
  6. **ROLLBACK.sh now self-protects.** Refuses --execute unless the dry-run count is passed back: bash ROLLBACK.sh --execute --restore-count N. Forces every future dedup-stage run's rollback script to be dry-run-first by design. No future agent can fire it accidentally.
  7. Desktop Commander "ENOSPC" root-caused. It is NOT a real disk-space issue. Cowork bash workspace returns useradd failed: fork/exec /usr/sbin/useradd: input/output error. Same Q2 finding from today's projects-snapshot run (Notion link). Workaround: route shell through mcp__Control_your_Mac__osascript or Desktop Commander. Permanent fix: build the proposed cowork-bash-fallback skill.
  8. Inline handoff doc written. /Users/samaguiar/Documents/Codex/dedupe_runs/2026-05-08/HANDOFF_INLINE.md. Contains 8 self-audit TODOs, current state, active issues, canonical paths, paste-ready pickup prompt.
  9. Downloads CLAUDE.md updated. Added "Working scratch is fine in Downloads" section so future agents don't waste time being precious about scratch script locations.

Findings worth knowing

Artifacts