Private
Public Access
The idempotency check only looked for the venv directory's existence, so a venv left behind by an earlier failed run (e.g. missing ensurepip, as just hit) — present but with no bin/pip — made every later re-run skip venv creation entirely and then fail on a pip that was never created. Check for bin/pip specifically and wipe+recreate if it's missing. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>