Repository navigation
Description
What version of the Codex App are you using?
Desktop application bundle version: 26.917.51856 (read from the installed bundle; not the About dialog). Session engine/CLI version: 0.159.2.
What subscription do you have?
Not included in this report.
What platform is your computer?
macOS 27.0, arm64.
What issue are you seeing?
An existing Full Access session silently changed from danger-full-access to workspace-write with restricted network access, while the approval policy remained never. The user did not intentionally change permissions. The transition coincided with a model change from gpt-6-luna to gpt-6.1-sol.
This left the agent unable to perform previously authorized operations or request escalation. In a Git worktree, committing failed because the actual Git metadata directory was outside the writable worktree root:
fatal: Unable to create '<main-repository>/.git/worktrees/<worktree>/index.lock': Operation not permitted
Watchman startup also failed when trying to modify its state directory outside the workspace.
What steps can reproduce the bug?
Observed sequence, not yet independently reproduced in a clean installation:
- Use an existing session in a macOS desktop/CLI shared-thread workflow, with Full Access (
danger-full-access, approval policynever). The CLI launch aliases used--dangerously-bypass-approvals-and-sandbox. - Continue the thread using
gpt-6-luna, then switch back togpt-6.1-solwithout intentionally changing permissions. - Submit another task involving Git worktree metadata or another path outside the workspace.
- The next turn runs under
workspace-write, network restricted, approval policy stillnever.
What is the expected behavior?
Changing the model or continuing a thread should preserve the explicitly selected Full Access permission profile. A permission downgrade should require an explicit user action and be clearly reflected in the UI before the next turn executes.
Additional information
Sanitized local session and client submission logs show the following timeline (UTC):
| Time | Model | Sandbox | Approval |
|---|---|---|---|
| 2026-09-30 23:23:08 | gpt-6-luna | danger-full-access | never |
| 2026-09-30 23:56:12 | gpt-6.1-sol | workspace-write, network_access=false | never |
| 2026-10-01 00:06:54 | gpt-6.1-sol | danger-full-access | never |
The client submission immediately preceding the downgrade, at 2026-09-30 23:56:11 UTC, included:
ThreadSettingsOverrides {
approval_policy: Some(Never),
sandbox_policy: None,
permission_profile: Some(Managed {
file_system: Restricted { ... },
network: restricted
}),
active_permission_profile: Some(ActivePermissionProfile {
id: ":workspace",
extends: None
}),
model: Some("gpt-6.1-sol"),
...
}
Subsequent submissions continued requesting :workspace. A later submission requested :danger-full-access, and Full Access was restored. This establishes that the client submitted the downgraded profile; it does not establish why the client selected it. No screenshot of the permission selector at the moment of transition is available.
Before any workaround was applied, a later app-state snapshot had both agent-mode-by-host-id.local and config-derived-agent-mode-by-host-id.local set to auto, even though the running thread had returned to Full Access. This is a post-incident observation, not proof of the state at the moment of downgrade. At the time of the incident, the CLI aliases supplied bypass flags, but config.toml did not contain explicit top-level sandbox/approval defaults. Explicit defaults and app-state changes were only applied afterward as a local workaround.
Related reports:
- Codex Desktop model switch downgrades project task to read-only, prompting for every workspace write #33322: model-switch downgrade on Windows (workspace-write to read-only).
- Codex Desktop resumes thread with workspace-write sandbox despite UI showing Full Access #25590: resumed thread uses workspace-write despite Full Access UI.
This report adds a macOS case with client-side :workspace override evidence and the consequential workspace-write + never combination. The shared desktop/CLI workflow may be relevant; this has not been isolated to desktop-only use. Full session logs, private paths, and conversation contents are intentionally omitted.
Activity
github-actions commentedon Oct 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Swivelgames commentedon Oct 9, 2026
This keeps happening to me as well, and I'm on Linux, not macOS.
Thread ID
01a0f5af-bfa0-7ed2-ab81-b148ae4783f7It happens multiple times throughout the same thread. Switches to
workspace, and I have to manually change it back toFull Access.This original thread was opened with
--yolo, and resumed withcodex --yolo resume.