mirror of
https://github.com/openai/codex.git
synced 2026-10-26 18:38:47 +00:00
## Why Local permission settings could overwrite a remote task's saved server settings when resuming or forking, including its named permission profile. ## What changed - Omit permission overrides from remote resume requests and remote fork requests that inherit saved settings. - Reject explicit permission overrides when resuming or forking remote tasks, including overrides from session flags and selected configuration profiles. - Refresh restored runtime permission and approval overrides after a remote resume so settings from the previous task do not persist. - Carry the selected fork permission mode through retries after unarchiving. ## Testing Add regression coverage for restoring saved server permission profiles, approval policies, and approval reviewers across resume and fork; rejecting explicit remote resume overrides; and clearing stale restored runtime overrides. GitOrigin-RevId: 465c0444df380553e50ddbeeceff9dc64e5bf9c1