Repository navigation
Description
What version of the Codex App are you using?
Installed Windows package: OpenAI.Codex 26.930.7945.0, checked on October 6, 2026. Versions during earlier failures were not captured.
What platform is your computer?
Windows, using PowerShell through the desktop app.
What issue are you seeing?
In an existing desktop task, the user repeatedly reported selecting Full access, but subsequent attempts still encountered restricted effective permissions. This repeatedly blocked an authorized Git publishing task and required the user to stop work and retry permission changes.
Observed effective turn settings varied between:
workspace-write, restricted network access, and approval policynever;danger-full-access, enabled network access, and approval policynever.
During restricted attempts:
- Git network operations failed with
getaddrinfo() thread failed to start. - A GitHub connector mutation failed with
MCP tool call requires approval, but approval policy is never.
After the user enabled Full access again and requested a retry, normal Git fetch and push succeeded. The requested publication was completed and the remote commit verified.
What steps can reproduce the bug?
This is an observed sequence, not a deterministic minimal reproduction:
- Continue an existing Windows desktop task that needs ordinary Git network access.
- Select Full access and ask the agent to retry.
- In affected attempts, the next execution still receives restricted permissions, producing the failures above.
- Enable Full access again and send another retry request.
- A later turn receives full-access permissions and the same type of Git operations succeeds.
The user also reported updating and restarting the app during troubleshooting.
What is the expected behavior?
The effective permissions for a new turn should match the selected mode, subject to clearly explained higher-priority policies. If a selection is not applied, expires, or is overridden, show that clearly and provide an actionable recovery path. An operation requiring approval while approval policy is never should explain the conflict without sending the user through repeated unsuccessful retries.
Additional information
The runtime permission differences and tool outcomes were observed; the UI selection at each failure was user-reported and was not independently captured. The trigger and root cause are unknown. The Git error alone does not establish a sandbox defect, and connector approval policy may be a separate issue.
Related reports: #33114 (permission changes during an active task), #51201 (permissions reloaded after daemon restart). Neither mechanism has been established here.
Submitted by the assistant at the user's explicit request to report the problem. No private project content, local paths, account identifiers, or session logs are included.
Activity
github-actions commentedon Oct 6, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
virajchoudhary commentedon Oct 13, 2026
Related public-backend findings are now documented in #29915: #29915 (comment).
Against upstream
cb7091b1803761ea882bf4017f519b9b83b83fd4, I reproduced a subscribed loaded-threadthread/resumeignoring an explicitnever+:danger-full-accessselection, and a separate fork path overwriting rawconfig.approval_policywith the persisted policy. The proposed local fix validates and awaits loaded permission updates and preserves explicit fork approval precedence. Windows source-level validation passes 72 distinct integration cases plus one unit test under Rust 1.99, with independent source review. Existing upstream cold-resume restoration already covers several persisted-profile cases and was not blindly replaced.This is not a deterministic reproduction of the Desktop sequence reported here. The UI click at each failure, proprietary client restoration, Git DNS error, and connector approval gate are still not established as one root cause. The source tests do not certify a released Desktop fix.
Separately, the current publication tool refused an authorized
git commitbefore execution withapproval required by policy, but AskForApproval is set to Never. No commit or push occurred. The independently allowed issue-comment action succeeded. That difference is an observed tool-gate result, not proof that Full Access persistence or the Git transport caused it. No installed application or permission configuration was changed to work around the refusal.A useful maintainer-side acceptance sequence would record the selected request, acknowledged effective profile/policy/reviewer, next-turn context, and restored state after a normal restart. It should also distinguish a rejected or unsupported permission update from an independent tool approval requirement.
virajchoudhary commentedon Oct 14, 2026
Publication update to #51408 (comment).
The supported approval path now permits the previously blocked commit and push. The exact tested public-backend candidate is published on my fork: virajchoudhary@db540b7. Remote SHA read-back confirms publication, and the committed diff matches the tested patch byte for byte.
The changes address ignored explicit permission/policy/reviewer updates on subscribed loaded-thread resume and overwritten raw-config approval policy on fork restoration. Existing findings, test results, and proprietary-client limitations remain documented in #29915. This does not establish that the Desktop picker, cloud restoration, Git DNS failure, and independent tool approval gate share a root cause. No upstream PR, merge, installed-app modification, or provider switch was made.