Skip to content

macOS: new chats have networking disabled and no permission selector while an older Full access chat works #56808

Closed as not planned

Description

@mateuszkrolp

Resolution update — 25 October 2026

The reporter identified the missing distinction: ChatGPT mode versus Codex mode in the application. The affected new chats were created in ChatGPT mode; the working conversations used Codex mode, where the Full access control is available.

The reporter reports the solution is to switch from ChatGPT to Codex and select the appropriate access mode. The earlier old/new-chat and phone/desktop correlations were misleading because the selected mode had not been controlled.

Closing at the reporter's request as a mode-selection misunderstanding, rather than a confirmed Codex networking regression. No repository reinstall, DNS changes, token rotation, or safeguard bypass is required by this finding. A fresh post-switch network test has not been independently recorded in this issue.

The original observations are retained below for transparency; their attribution to a Codex-mode defect is withdrawn.


What version of the Codex App are you using (From “About Codex” dialog)?

26.1021.31345 (build 21828), verified from the installed application's Info.plist. Initially observed on 26.1016.62342.

What subscription do you have?

Pro

What platform is your computer?

macOS, Apple Silicon (arm64).

What issue are you seeing?

Newly tested local chats run shell commands with networking disabled and do not show the permission selector that is visible in an older working chat. An older chat in another project shows Full access and successfully reaches GitHub. A new chat in that same otherwise working project fails the network test.

This is a report of an effective-permissions/UI discrepancy. The exact cause has not been established.

Observed in affected chats:

$ printenv CODEX_SANDBOX_NETWORK_DISABLED
1

$ curl -I --connect-timeout 10 https://api.github.com
curl: (6) Could not resolve host: api.github.com
# exit 6

$ git ls-remote origin HEAD
ssh: Could not resolve hostname github.com: -65563
fatal: Could not read from remote repository.
# exit 128

The affected session reports workspace-write filesystem sandboxing and restricted network access.

Configuration observations, read-only:

  • User config.toml has sandbox_mode = "danger-full-access" and approval_policy = "never".
  • The affected projects are marked trusted.
  • Persisted local app permission selection says full-access.
  • No project/ancestor .codex/config.toml overriding network permissions was found for the initially affected project.
  • These stored values do not establish the effective permissions of a specific chat.

What steps can reproduce the bug?

Observed sequence, not a claim that every installation reproduces it:

  1. Open an older local chat where the Full access selector is visible.
  2. Run the environment-variable and curl tests above: the variable is unset (printenv exit 1); curl returns HTTP/2 200 (exit 0).
  3. Create a new chat in that same project.
  4. The user reports no permission selector in the new chat.
  5. Run the same tests: the variable is 1 and curl exits 6.
  6. Newly tested chats in a second project also show the restriction.

Control tests on the same Mac and exact repository:

  • Ordinary macOS Terminal: HTTPS, gh auth status and Git SSH remote read all succeed.
  • Claude's local terminal: the same tests succeed.
  • Codex's GitHub connector can read the same private repository while Codex shell networking fails.
  • Restarting the computer did not resolve the affected session's failure.
  • Creating a separate project entry pointing directly at the existing checkout did not resolve the reported network test.

What is the expected behavior?

The UI should expose the effective permissions and a supported way to request the network access needed for Git operations, subject to applicable policy. If a managed policy intentionally overrides user settings, the app should make that explicit and explain why the selector is unavailable. Shell failures should identify policy denial rather than lead users toward DNS or token resets.

Additional information

gh auth status reports an invalid token inside the affected environment, but this is inconclusive when DNS/network access fails; the same account authenticates successfully outside that environment. No tokens were reset.

Related reports: #56762, #56576, #12867.

Please investigate why older and newly created chats receive different effective permissions and why the permission selector is absent in the affected chats. This report does not request bypassing safeguards.

No credentials, private repository contents, local paths, account email, or private conversation content are included.

Activity

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

    @github-actions
    Contributor
  3. mateuszkrolp commented on Oct 25, 2026

    @mateuszkrolp
    Author

    Correction / resolution: the missing distinction in this report was ChatGPT mode versus Codex mode in the application. The reporter identified that the affected conversations were in ChatGPT mode, while the working conversations used Codex mode, which exposes the Full access control.

    The reported solution is to switch from ChatGPT to Codex and choose the appropriate access mode. Our earlier attribution to chat age, desktop versus phone, or a Codex networking regression was not established and is withdrawn. The original network-test observations remain accurate, but they were compared across different modes. No fresh post-switch network-test output has been independently recorded here.

    I have added this correction prominently to the issue description and closed the issue at the reporter's request. Sorry for the misleading initial diagnosis and the investigation noise.

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

    appbugsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions