Prove a test failure is pre-existing with a throwaway git worktree
When a test in code you did not touch fails and the git stash is shared with other sessions or worktrees, do not stash to check the base. Run git worktree add --detach /tmp/base HEAD, symlink the repo's node_modules into it (ln -s "$PWD/node_modules" /tmp/base/node_modules), run only the failing file there with vitest, then git worktree remove --force /tmp/base && git worktree prune. It takes seconds, leaves the working tree untouched, and gives a clean yes/no on whether the base commit is already red. Before that, rerun the failing files with npx vitest run --no-file-parallelism <files>: on a heavily loaded machine, timeout and benchmark tests fail in the parallel run and pass serially, which separates load noise from a deterministic failure.