Codex app permission mode changes apply across chats instead of the active chat
What version of the Codex App are you using (From “About Codex” dialog)?
26.513.20950 (2816)
What subscription do you have?
Not included here; this appears to be local app/runtime behavior rather than plan-specific behavior. I can provide it if needed.
What platform is your computer?
Darwin 25.4.0 arm64 arm
What issue are you seeing?
In the macOS Codex desktop app, changing the permission mode in one chat appears to apply that permission mode globally across other chats, instead of being scoped to the active chat/thread.
This is surprising and potentially unsafe for multi-chat workflows. If I raise permissions for one high-trust task, unrelated existing or new chats appear to inherit that raised mode. Conversely, lowering permissions for one chat affects other active work.
The app UI makes this feel like a chat/session control, but the observed effect is app-wide. If the intended behavior is app-wide defaults, the UI should make that explicit. If the intended behavior is chat-local permissions, the app should persist/apply the mode per thread.
What steps can reproduce the bug?
- Open Codex.app on macOS.
- Start or open Chat A.
- Use the permission mode control in Chat A and switch to a different mode, for example Full Access or Auto-review.
- Open or start Chat B in the same Codex.app instance.
- Observe that Chat B now shows/uses the same permission mode change from Chat A.
- Switch the mode in Chat B.
- Return to Chat A and observe that the permission mode has changed there as well.
What is the expected behavior?
Either:
- Permission mode changes made from a chat are scoped to that chat/thread and do not alter other chats, or
- The control is clearly labeled as an app-wide/default permission setting so users understand that changing it affects all chats.
For safety, I think chat/thread-local behavior is the better default. A broad permission grant for one task should not silently change the safety envelope for unrelated chats.
Additional information
I checked the public repo before filing this. The public contribution policy says unsolicited PRs are not accepted, so I am filing this as an issue with analysis rather than opening a PR.
Relevant public app-server/protocol evidence from openai/codex at e6a73688105735c73cfc21b16c9701e2c05b7849:
codex-rs/app-server/README.mddocuments thatthread/start,thread/resume, andthread/forkaccept permission override rules. This suggests thread-level permission selection is already supported at the app-server boundary.codex-rs/app-server/README.mdalso says approval requests includethreadIdandturnId, and clients should scope UI state to the active conversation.codex-rs/app-server-protocol/schema/typescript/v2/TurnStartParams.tsdescribesapprovalPolicyandsandboxPolicyas overrides for the current turn and subsequent turns, not global app settings.- The same README exposes
config/value/writeandconfig/batchWritefor writing userconfig.toml, includingdesktop.*keys. My root-cause hypothesis is that the desktop app permission mode control may be persisting a global/user config value rather than applying a thread/turn-scoped override.
Potential fix direction:
- Treat the permission mode selector in a thread as thread-local state.
- On thread creation/resume/turn start, pass the selected permission profile / approval policy / sandbox policy through the existing
thread/start,thread/resume,thread/fork, orturn/startoverride fields. - Avoid writing the active thread's permission selection into global user config unless the user explicitly chooses a global default setting.
- If global behavior is intentional, rename/relabel the control to make that scope explicit, for example “Default permissions for all chats”.
I am happy to help with a targeted PR if a maintainer confirms this is the desired behavior and invites an external contribution.
Anthropic made this long time ago
I would like an explicit global default plus independent per-session overrides. In my workflow, switching one Codex chat from Approve for Me to Full Access immediately changed the mode shown in another chat, making the scope of the control unclear. This is a user-observed UI result; I have not established how the effective runtime permissions changed.
Please provide:
- A clearly labeled global default.
- A per-session choice to inherit that default or use an explicit override.
- An indication of the effective mode and its source.
- Session changes that leave other sessions unchanged.
- Clear behavior when the global default changes, including which existing sessions are affected.
- Consistent scope and terminology across supported clients, with enforced workspace restrictions shown explicitly.
The relevant app/client and backend builds were not captured, and the sessions' host and policy associations were not independently established. This adds a concrete default-and-override model to the existing request; it does not establish the internal cause of the cross-chat UI behavior.
Additional observation of the same UI behavior:
All existing chats displayed Ask for approval. After selecting Approve for me in one chat, the displayed selection changed to Approve for me in all the other chats, including an existing chat whose selector had not been changed individually.
Observed sequence:
- Open several existing chats and check the approval selector below the composer.
- In one chat, change Ask for approval to Approve for me.
- Switch to the other existing chats.
- Observe that their selectors now also display Approve for me.
Expected: the selector should clearly communicate whether its scope is the current chat or a shared setting across chats.
This reports the visible behavior observed by the account owner. It does not establish that the effective permissions of every running chat changed immediately. Submitted at the account owner's request; no local configuration details, logs, identifiers, or environment diagnostics are included.
Additional Windows reproduction observed on November 17, 2026.
Environment:
- ChatGPT/Codex desktop package: OpenAI.Codex 26.1103.7773.0 (x64)
- Bundled Codex runtime: codex-cli 0.167.0-alpha.3.2
- OS: Windows 10 Pro 64-bit, version 10.0.19045 (build 19045)
Observed behavior:
- Open three existing conversations in the desktop app.
- Change the permission mode using the selector below the composer in one conversation.
- Switch to either of the other two conversations.
- Their displayed permission selection has changed to the same mode, even though neither selector was changed in those conversations.
- Changing the mode in another conversation similarly changes the displayed selection across all three.
This reproduces the cross-chat UI propagation described in the original report. It makes a control positioned within a conversation behave like an application-wide setting.
Scope of this observation:
- This confirms the visible selector state propagates across existing conversations.
- It does not establish whether the effective runtime sandbox/approval policy of every already-running conversation changes at the same time; no logs or private session transcripts were inspected or attached.
Expected:
- Existing conversations retain independent permission selections; or
- If the setting is intentionally application-wide, the UI clearly labels its scope and places it in application settings rather than presenting it as a conversation-local control.