bug: macOS com.apple.provenance blocks Python execution of new files #3

Open
opened 2026-06-21 17:16:25 -05:00 by jcwalker3 · 0 comments
Owner

Files created or restored by the Antigravity terminal get com.apple.provenance extended attribute. macOS (Sequoia+) blocks Python.app from executing files with this attribute.

Affected: Any .py file written by the agent terminal (including create_issue.py which keeps vanishing).
Not affected: Shell scripts (bash ignores provenance), files created before the agent session.

Fix options:

  1. Clear provenance from a Full Disk Access terminal: xattr -cr /Users/jasonwalker/Development/Gitea-Tools/
  2. Grant Full Disk Access to the terminal app in System Settings → Privacy & Security
  3. Run xattr -d com.apple.provenance <file> from Terminal.app (not the IDE terminal)

This is a macOS security feature, not a bug in our code — but we should document the workaround.

Files created or restored by the Antigravity terminal get `com.apple.provenance` extended attribute. macOS (Sequoia+) blocks Python.app from executing files with this attribute. **Affected:** Any `.py` file written by the agent terminal (including `create_issue.py` which keeps vanishing). **Not affected:** Shell scripts (bash ignores provenance), files created before the agent session. **Fix options:** 1. Clear provenance from a Full Disk Access terminal: `xattr -cr /Users/jasonwalker/Development/Gitea-Tools/` 2. Grant Full Disk Access to the terminal app in System Settings → Privacy & Security 3. Run `xattr -d com.apple.provenance <file>` from Terminal.app (not the IDE terminal) This is a macOS security feature, not a bug in our code — but we should document the workaround.
jcwalker3 added the importantbug labels 2026-06-21 17:16:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#3