bug: macOS com.apple.provenance blocks Python execution of new files #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Files created or restored by the Antigravity terminal get
com.apple.provenanceextended attribute. macOS (Sequoia+) blocks Python.app from executing files with this attribute.Affected: Any
.pyfile written by the agent terminal (includingcreate_issue.pywhich keeps vanishing).Not affected: Shell scripts (bash ignores provenance), files created before the agent session.
Fix options:
xattr -cr /Users/jasonwalker/Development/Gitea-Tools/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.