Skip to content

Codex Desktop effective granular approval policy differs from user config #50101

Open

Description

@SketchCop

I’m using Codex Desktop on macOS with a personal Pro workspace.

My ~/.codex/config.toml contains:

approval_policy = { granular = { sandbox_approval = true, rules = true, skill_approval = true, request_permissions = true, mcp_elicitations = true } }

After fully quitting and relaunching, the session’s effective policy still reports:

  • sandbox_approval: false
  • rules: false
  • skill_approval: false
  • request_permissions: true
  • mcp_elicitations: true

Read-only checks found no project config along the active directory’s ancestor path, no profile config files or selected profile setting, no /etc/codex/config.toml, requirements.toml, or managed_config.toml, and no relevant macOS managed-preference keys in the locations checked.

Desktop logs show the same values in requestApprovalPolicy and resolvedApprovalPolicy, with requestPermissionProfile=:workspace.

Startup logs show configRequirements/read calls completing without reported errors, but do not show the returned payload. Searches found no cloud_requirements events, allowed_approval_policies entries, or policy-fallback messages in the logs checked.

Expected: the effective policy reflects the user configuration unless an override or enforced requirement applies.

Please help identify what supplies these three false values and how to verify its source.

Activity

  1. added
    bug
    app
    config
    sandbox
    on Oct 1, 2026
  2. github-actions commented on Oct 1, 2026

    @github-actions
    Contributor
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

    appbugconfigsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions