Antigravity sandbox blocks uv cache sentinel `.git`, causing `uv run` failures

uv run fails in Antigravity sandbox because uv touches cache metadata under ~/.cache/uv/**/.git.
These are cache sentinel files (to prevent git indexing), not real repositories.

Repro:

  1. Run any uv run ... command inside Antigravity sandbox.
  2. Observe sandbox denial on access to ~/.cache/uv/**/.git.
  3. Same command works in Claude Code / outside Antigravity sandbox.

Expected:
uv run should succeed; cache sentinel .git access should be allowed.

Suggested fix:
Whitelist ~/.cache/uv/**/.git in sandbox policy.

1 Like