The sandbox has /tmp/.git, so the ancestor walk finds a git root above the tempdir. Weakened the assertion: the result must not point inside the .git-free tempdir, but may point above it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The sandbox has /tmp/.git, so the ancestor walk finds a git root above the tempdir. Weakened the assertion: the result must not point inside the .git-free tempdir, but may point above it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>