Skip to content

Scheduled Work task loses workspace write and network permissions; identical Terminal command succeeds #56599

Open

Description

@matyyabel

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

26.1016.62342 (build 21477) Installed app: ChatGPT desktop for macOS Bundle ID: com.openai.codex Execution originator recorded in diagnostics: codex_work_desktop

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 25.6.0 arm64 arm

What issue are you seeing?

My daily 9am Australia/Sydney coaching briefing repeatedly fails during unattended execution because it receives restricted network access and, in the latest scheduled run, no write permission for its working directory.

Running the identical collector directly in normal Terminal succeeds. The subsequent manual chat can read the collected data and complete the briefing.

Automation ID:
mara-morning-coaching-briefing

Feedback/session ID:
01a11dd6-c77b-77b2-a10f-0b47de0f1b29

Latest failed scheduled turn:
01a16acb-a491-74d3-adb9-e76fa27c870c
24 October 2026 at 09:04:57 AEDT

That turn recorded:

  • network_access=false
  • Managed permission profile with network restricted
  • Working directory absent from its permitted write locations

Manual turn:
01a16ad4-cd48-7680-a121-a768a17941ca
24 October 2026 at 09:14:53 AEDT

The manual turn had write access to the working directory, but command networking remained restricted.

Running the original collector directly in Terminal then succeeded:

  • Retrieval: 09:19:09 AEDT
  • Collection completed: 09:20:45 AEDT
  • All 95 authorised records retrieved

Steps already taken:

  1. Enabled Work network access in app settings.
  2. Fully quit and reopened the app.
  3. Applied the support-recommended configuration below in ~/.codex/config.toml.
  4. Checked inspected user/project configurations for conflicting legacy sandbox settings; none were found.
  5. Checked standard /etc/codex configuration and requirements files; they were absent.
  6. Submitted diagnostic feedback using /feedback.

Saved configuration:

default_permissions = "workspace-net"

[features]
network_proxy = true

[permissions.workspace-net]
extends = ":workspace"

[permissions.workspace-net.network]
enabled = true

[permissions.workspace-net.network.domains]
"*" = "allow"

Despite this configuration and restarting, the effective runtime remains restricted.

Expected:
The existing scheduled task receives the required persistent working-directory write and network permissions and runs without manual intervention or temporary grants.

Actual:
Scheduled execution fails. Manual execution receives different filesystem permissions, and collection requires running the command separately in Terminal.

Please investigate:

  1. Which permissions layer controls this codex_work_desktop execution path?
  2. Why does scheduled execution omit the working-directory write permission available during manual execution?
  3. Does ~/.codex/config.toml apply to this execution path?
  4. What supported persistent configuration will allow this existing task to run unattended?

The source of the override is not confirmed. A successful Terminal collection has not resolved unattended execution.

What steps can reproduce the bug?

Feedback ID: 01a11dd6-c77b-77b2-a10f-0b47de0f1b29

What is the expected behavior?

The scheduled task should receive the configured working-directory write and network permissions and complete unattended, without requiring a temporary grant, a manual chat message or a separate Terminal command.

If the configured permission profile does not apply to this Work execution path, the app should clearly identify the effective controlling policy and provide a supported way to configure the required persistent access.

Scheduled and manual execution should not silently receive different working-directory permissions.

Additional information

Plan: ChatGPT Pro
App: ChatGPT desktop for macOS
Version: 26.1016.62342 (build 21477)
Bundle ID: com.openai.codex
Recorded execution originator: codex_work_desktop
Platform: Darwin 25.6.0 arm64 arm

The failed scheduled turn recorded:

  • network_access=false
  • Managed permission profile, network restricted
  • Working directory absent from permitted write locations

The saved ~/.codex/config.toml contains:

default_permissions = "workspace-net"

[features]
network_proxy = true

[permissions.workspace-net]
extends = ":workspace"

[permissions.workspace-net.network]
enabled = true

[permissions.workspace-net.network.domains]
"*" = "allow"

Work network access is enabled. Restarting the app did not resolve the issue.

No conflicting legacy sandbox settings were found in the inspected user/project configuration files. The standard /etc/codex/config.toml, requirements.toml and managed_config.toml files were absent.

Please identify which effective permissions layer controls this execution path and why scheduled runs omit working-directory access. The cause of the override remains unconfirmed.

Diagnostic feedback has already been submitted using the feedback ID above. No credentials or private client information are included in this report.

Activity

  1. added
    app
    on Oct 23, 2026
  2. added
    bug
    sandbox
    on Oct 23, 2026
  3. matyyabel commented on Oct 24, 2026

    @matyyabel
    Author

    Thanks. These reports appear related to the networking restriction. My issue also includes a scheduled-versus-manual filesystem difference: the scheduled run omits the working directory’s write permission, while manual execution includes it.
    The identical collector succeeds in normal Terminal. Please confirm whether an existing issue covers both symptoms and whether there is a supported workaround for unattended scheduled execution. Happy for this issue to be linked or consolidated if appropriate.

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

    appautomationsbugsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions