08Permissions & Interaction Requests
SECTION 08SECURITY & CONTROL

Permissions & Interaction Requests

Native approval flows, tool confirmations, and question prompt handling.

The Native Approval Flow

Antigravity tools frequently solicit operator feedback. Orbit captures these events over the JSON stream and converts them into native UI modals, completely removing prompt collisions from terminal buffers.

// Sample JSON Stream Interaction Event
{
"type": "interaction_request",
"request_id": "req_01j78...",
"action": "execute_command",
"command": "git clean -fdx",
"risk_level": "high"
}

Tool Execution Policies

Users can configure granular security policies per project:

  • Read-only operations: File viewing, pattern searches, and directory listings are executed automatically without user interruption.
  • Workspace modifications: File edits and writes inside the project root can be configured for automatic acceptance or approval per-turn.
  • System shell execution: Commands that execute external binaries or package managers always present the exact command line for inspection before running.

Interactive Question Prompts

When an agent calls ask_question to disambiguate requirements, Orbit renders selectable options, custom response fields, and submit buttons directly in the active turn thread.