Skip to content

macOS Desktop: switching to Full access during an active turn leaves command/file approvals on the old policy, while MCP rejects with approval policy is never #56405

Open

Description

@seye11

Summary

After updating Codex Desktop, I experienced repeated approval prompts despite selecting Full access. Local diagnostics show that the Full access change reached the backend, but the ongoing turn continued using its earlier OnRequest / WorkspaceWrite policy. File-change approval prompts continued afterward. In the same conversation, a user-requested MCP action then failed with MCP tool call requires approval, but approval policy is never.

This report distinguishes the observed policy inconsistency from an unconfirmed root cause. I have not established the first affected release or a deterministic minimal reproduction.

Environment

  • ChatGPT Desktop / Codex mode on macOS 26.1 (25B78), Apple Silicon.
  • Installed app: 26.1016.62342, build 21477, production channel. The app updater reported up_to_date during diagnosis on October 23, 2026.
  • Affected conversation runtime recorded at creation: 0.163.0-alpha.11.1.
  • A separate, working diagnostic conversation recorded 0.163.0-alpha.11.2.
  • Affected model: gpt-6-astra; working diagnostic conversation: gpt-6.1-sol. This is not a controlled model comparison.
  • The project is marked trusted. The user explicitly authorized the development work and subsequently requested the document action.

Observed sequence

All timestamps below are UTC on October 23, 2026; local timezone was Asia/Shanghai (UTC+8).

Time Observation
07:40:13 The resumed development turn recorded approval_policy: on-request, sandbox_policy.type: workspace-write, and network_access: false.
07:41:21 Desktop received a commandExecution approval request.
07:48:22 Backend logged a settings change with approval_policy: Some(Never) and permission_profile: Some("disabled"). The user had selected Full access.
07:48:32 Another commandExecution approval request arrived.
07:52:52, 08:02:03, 08:09:53 Desktop received further fileChange approval requests after the Full access change. Responses accepting these requests are also logged.
07:59:32 and later Sampling diagnostics for the ongoing turn still recorded approval_policy=OnRequest and sandbox_policy=WorkspaceWrite, with network access disabled.
08:13:37 A user-requested Feishu document creation call through mcp__mcp_server_lark__create_doc returned MCP tool call requires approval, but approval policy is never. The call did not create the document through that invocation.
08:18:42 The user attached a screenshot showing Full access selected with a checkmark.

The earlier approval requests before 07:48:22 are included for context, not presented as evidence that Full access was already effective then.

Evidence

Sanitized backend settings event:

2026-10-23T07:48:22Z
operation="thread_settings"
ThreadSettingsOverrides {
  approval_policy: Some(Never),
  approvals_reviewer: Some(User),
  sandbox_policy: None,
  permission_profile: Some("disabled")
}

Later sampling diagnostics for the same ongoing turn:

2026-10-23T07:59:32Z
approval_policy=OnRequest
sandbox_policy=WorkspaceWrite { ... network_access: false ... }

Read-only inspection of the thread's persisted database record during diagnosis showed approval_mode: never and sandbox_policy: {"type":"disabled"}. The ongoing turn's rollout and sampling diagnostics still showed the earlier restricted policy. These snapshots were collected at different times; they do not establish every tool's live enforcement state.

Additional restoration observation

In the same desktop log, 14 resume events for other conversations had this combination:

responseActivePermissionProfile=:danger-full-access
responseApprovalPolicy=never
responseSandboxPolicy.type=dangerFullAccess

derivedActivePermissionProfile=null
derivedApprovalPolicy=on-request
derivedSandboxPolicy.type=workspaceWrite
approvalPolicySource=default
hasCurrentPermissions=false
hasExplicitPermissions=false
hasLatestThreadSettings=false
shouldSendPermissions=false

This establishes a difference between the server response and the client's derived state. I have not established that these restoration events caused the active-turn symptoms above or actually downgraded execution in those other conversations.

Expected behavior

Selecting Full access should have a clear, consistent effect across the UI, ongoing execution, and tools. If changing permissions only affects a subsequent turn, the UI should clearly state that the active turn still uses its old permissions and provide a supported way to apply the change without losing work.

If an MCP action still requires separate approval, the app should explain the responsible permission layer and provide an actionable approval path, rather than leaving the user with a never-policy rejection.

Scope and limitations

  • This is a reconstruction of a real session, not a newly executed isolated reproduction. Suggested verification: start a turn in Ask for approval, switch to Full access while it is running, then compare subsequent shell/file approval behavior and a separately approval-gated MCP call.
  • I did not interrupt or restart the affected task, modify permission databases/configuration, or bypass tool restrictions during this investigation.
  • Global and applicable project configuration did not contain an explicit sandbox/approval override. /etc/codex/requirements.toml contained feature/hook configuration, with no top-level sandbox/approval constraint found. All 31 local command-prefix rules were allow; none were prompt or forbidden.
  • Third-party hooks are installed, including a PermissionRequest hook, and managed hooks are configured. They were not disabled for an A/B test, so their contribution has not been ruled out.
  • A separate current conversation correctly received danger-full-access + never; a temporary-file create/read/remove control completed without an approval request. This does not reproduce or repair the affected conversation.
  • The regression start version, whether switching permissions before starting a fresh turn avoids it, and the MCP service's own approval requirements remain unconfirmed.

Related reports

These are symptom references, not proof of a shared root cause.

Please investigate whether active-turn permission snapshots, thread-setting updates, MCP approval checks, and desktop permission restoration can diverge, and clarify the supported recovery path.

Activity

  1. added
    bug
    app
    sandbox
    mcp
    on Oct 23, 2026
  2. vincigiramondo-coder commented on Nov 15, 2026

    @vincigiramondo-coder

    A workaround that worked for me on macOS: from an existing thread that already had working Full Access, I asked GPT to create a new thread with Full Access. Full Access worked in the newly created thread.

    Clarification: the request needs to be made from the existing, working Full Access thread.

    This worked in my case; I have not verified it as a general fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugmcpsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions