Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.1021.31345
What subscription do you have?
$200
What platform is your computer?
Windows 11 Pro, version 25H2, 64-bit (x64).
What issue are you seeing?
Windows desktop: Full access selected, permission controls disappear, and Git operations remain blocked
I am experiencing recurring permission problems in the Windows desktop app. I started the affected session with Full access selected, but the agent’s effective permissions did not match that selection.
The permission options also disappear from the left side of the user’s chat input box (composer). Once those controls disappear, I cannot inspect or change the permission mode through the composer.
Observed behavior
Across multiple sessions:
- Codex could modify project files but could not write Git metadata.
- Git staging failed, preventing the intended commit-and-push workflow from completing.
- Earlier diagnostics reported credential-helper and networking failures.
- The environment reported to the assistant had writable project files, read-only Git metadata, restricted networking, and no available sandbox-approval escalation.
- The missing permission selector left no visible way to check or adjust the access mode from the chat input box.
Repeatedly authorizing the operation in chat did not resolve the restrictions.
Errors
Git staging failed with exit code 128:
fatal: Unable to create '<repository>/.git/index.lock': Permission denied
Earlier assistant diagnostics also reported:
Credential-helper failure: 0xC0000022
getaddrinfo() thread failed to start
The Git staging failure was corroborated by saved diagnostic results from separate attempts. The credential-helper and networking errors were reported in earlier conversations; they were not reproduced again while preparing this report.
Successful execution outside the agent session
Codex prepared a release helper that I subsequently ran from a user-launched Windows terminal. That execution successfully committed and pushed the changes to GitHub.
This demonstrates a difference between execution contexts. The terminal’s elevation and process security context were not recorded, so this comparison does not establish the exact cause.
Screenshot evidence

The attached cropped screenshot shows the chat input box with the permission selector missing from its left side, once the conversation starts.
There is no visible control in that area to inspect or change the access mode, including Full access. The screenshot documents the missing UI control; it does not independently establish the effective backend permissions.
Observed workflow
- Start a desktop session with Full access selected.
- Authorize Codex to commit and push changes.
- Observe that project files can be edited, but Git staging fails because its lock file cannot be created.
- Find that the permission options are absent from the chat input box.
- Receive no usable approval path for the blocked operation.
- Run the prepared release operation outside the agent session; it succeeds.
The exact action that causes the permission controls to disappear has not yet been isolated.
Expected behavior
The desktop app should consistently apply the selected permission mode and keep the effective access level visible.
If an overriding policy restricts Git metadata, networking, or credential-helper execution, the app should explain those restrictions and their source. If changing permissions is unavailable for a conversation, the composer should explain why instead of simply removing the control.
Please investigate:
- Whether Full access is correctly propagated to the execution environment.
- Why Git metadata remains read-only in the affected session.
- Why the permission options disappear from the chat input box.
- Whether the credential-helper and networking failures are related to the execution restrictions.
- How users can restore the intended access mode without recreating their working environment.
Identifying filesystem paths, repository names and URLs, account information, and commit identifiers have been omitted.
What steps can reproduce the bug?
-
Open the Windows desktop app and select an existing local Git repository.
-
Select Full access before starting the conversation.
-
Ask Codex to modify project files, then commit and push the changes.
-
Observe that Codex can edit project files, but Git staging fails with exit code
128:fatal: Unable to create '<repository>/.git/index.lock': Permission denied -
Inspect the left side of the chat input box. In the affected conversation, the permission selector is missing, preventing inspection or adjustment of the access mode through the composer.
-
Observe that the blocked operation has no usable approval path.
For comparison, I ran the prepared release operation from a user-launched Windows terminal, where the commit and push succeeded. The terminal’s elevation was not recorded.
These steps describe the workflow observed across multiple sessions. The exact trigger for the permission selector disappearing has not yet been isolated.
What is the expected behavior?
- Full access should be applied consistently. When Git operations are explicitly authorized, Codex should be able to stage, commit, and push using the available repository permissions and credentials.
- The permission selector should remain visible on the left side of the chat input box. It should display the effective access mode and allow changes where supported.
- Any overriding restrictions should be clearly explained. If a policy blocks filesystem access, networking, or credential-helper execution, the app should identify the restriction and provide an actionable approval or recovery path where available.
Additional information
The problem has occurred across multiple sessions. Saved diagnostic results confirm repeated Git staging failures with exit code 128, while ordinary project files remained editable.
A release helper prepared by Codex successfully committed and pushed when I ran it from a user-launched Windows terminal on the same computer and repository. The terminal’s elevation and process security context were not recorded, so this comparison does not establish the exact cause.
Earlier assistant diagnostics also reported a credential-helper failure (0xC0000022) and getaddrinfo() thread failed to start. Those additional errors were not reproduced again while preparing this report.
The accompanying cropped screenshot documents the missing permission selector on the left side of the chat input box. It demonstrates the UI issue, but does not independently establish the effective backend permissions.
Please investigate whether the selected Full access mode is being correctly propagated and whether the disappearing permission control is related. A shared cause has not been confirmed.
Identifying filesystem paths, repository details, account information, and commit identifiers have been omitted.
As I am writting this report, the Access permission is still not available once the chat start: (Windows version only, Mac is still there.

Activity
github-actions commentedon Oct 25, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
permission_profile: "managed"that is not defined locally, silently falling back to workspace-write #56663Powered by Codex Action
chenzilunqq-pixel commentedon Nov 11, 2026
补充界面复现:2026 年 11 月 11 日(北京时间),经受影响用户明确授权提交。
用户提供的连续截图证实:
环境:微软视窗 11、64 位、系统版本 10.0.26300;内置更新接口返回应用版本
26.1103.60933、构建25894、正式通道、up_to_date;微软应用包版本26.1103.7773.0;捆绑命令行0.167.0-alpha.3.2。本机保存的首页模式是
work,权限入口显示选项是true。用户已重启并新建多个工作对话,症状仍在。截图证实控件缺失,但本次没有在受影响工作对话中重新验证任意外部文件写入或 Git 操作,因此不声称已证实与原报告相同的有效文件权限限制。该用户的工作对话还出现只读桌面工具
-32000错误,同机编程任务对话的相应读取功能可以成功。工具路径诊断另见:#56421 (comment) 。这两个症状是否共享根因尚未确认。请核验首条消息之后权限控件的显示条件,以及新工作任务的有效权限是否正确继承。请提供保留已有对话、项目和历史的受支持恢复方案;若该任务不允许修改权限,应显示原因和有效权限。
未改写安装文件、修改系统访问控制、绕过权限检查或清空聊天数据库。评论不含用户账号标识、私有对话或项目标识、本机路径、原始日志及截图。