mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
## Why Built-in permission selections in connected TUI threads previously applied local settings directly. Use server-confirmed settings so the TUI adopts the authoritative permissions and refreshes cached network configuration. ## What changed - Send built-in permission selections through the existing app-server settings API, including selections after Windows sandbox setup. Allow built-in selections during a running turn. - Block task creation and switching while permission updates are pending, restoring submitted text to the composer when necessary. - Refresh local permissions, approval settings, runtime overrides, and network configuration when the server confirms a built-in selection. - Submit a pending initial prompt when the selected permissions already match the current settings. ## Testing Add regression tests for server-confirmed built-in selection during a running turn, blocked task switches, stale proxy removal, and pending prompt submission when permissions already match. Update background-task tests to wait for settings confirmation. GitOrigin-RevId: 76e71a8c278c37c0a7ce7c0246da7d185e12ee7a