The test home under target/ outlives a run, so the identity the first run imported made every later run fail. The test now points AppDirs at a temporary directory of its own, which also works when another test resolved the profile first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>