Seeded defect in a throwaway copy of HEAD: the copy removes the old copy before it has made the new one.
Changed: lib/package-copy.mjs
Command: node verify/lifecycle.mjs --steps npx-v1,npx-v2-unreadable --depth 2 --property failed-copy-leaves-old-install
Exit code: 1

Install lifecycle. 2 steps (npx-v1, npx-v2-unreadable), every sequence of up to 2, 6 real steps run in 11.8 s, the result kept from 2026-11-27T19:28:43.299Z for these exact files (--fresh runs the search again).
BOUNDED. Sequences stop at 2 steps, so a pass means no property broke in any of them, not that none can break in a longer one.
  assumes one user on one machine, one install at a time (two at once is the lock, which a test covers)
  assumes the package is this repo's own files in two versions, v1 and v2, and the clone is v1; both are laid out as npx lays them out
  assumes no crash between the two renames of a swap (a test covers it)
  assumes macOS or Linux paths, no Windows
  assumes the owner changes nothing in the home folder while a step runs, and the folder run from stays empty
FAIL  failed-copy-leaves-old-install. a copy that failed changed .100x/pkg, .100x/pkg/LICENSE, .100x/pkg/NOTICE.md and 253 more. After: npx-v1 > npx-v2-unreadable.
