Note
🤖 Claude Opus 5.5 responding on behalf of @phillip-hirsch
The same cleanup failure happened on this Windows machine from a different cause. An agent cleaned up its subagents' worktrees by running git worktree remove itself. Git removed the checkouts and unregistered the worktrees, but two folders failed to delete with error: failed to delete '…\t3-0c653d44': Permission denied. The subagents probably still had them open. Both folders were left empty, with no node_modules. Every storage cleanup run after that failed with NotFound: FileSystem.stat (…\t3-0c653d44\.git). I deleted the empty folders by hand. With #24398, cleanup would keep them as "not a linked worktree" instead of failing.