Skip to content

Windows desktop: Full access selected, permission controls disappear, and Git operations remain blocked. #56882

Open

Description

@videofeedback

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
Image
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

  1. Start a desktop session with Full access selected.
  2. Authorize Codex to commit and push changes.
  3. Observe that project files can be edited, but Git staging fails because its lock file cannot be created.
  4. Find that the permission options are absent from the chat input box.
  5. Receive no usable approval path for the blocked operation.
  6. 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?

  1. Open the Windows desktop app and select an existing local Git repository.

  2. Select Full access before starting the conversation.

  3. Ask Codex to modify project files, then commit and push the changes.

  4. 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
    
  5. 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.

  6. 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.

Image

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.

Image

Activity

  1. added
    app
    on Oct 25, 2026
  2. added
    bug
    windows-os
    sandbox
    on Oct 25, 2026
  3. chenzilunqq-pixel commented on Nov 11, 2026

    @chenzilunqq-pixel

    补充界面复现:2026 年 11 月 11 日(北京时间),经受影响用户明确授权提交。

    用户提供的连续截图证实:

    1. 桌面应用新建任务页面顶部选中“工作”,输入框提示工作模式,左下方显示“完全访问”。
    2. 发送首条简单问候后,左下方权限入口消失;回复完成后仍未出现。输入框仍提示工作模式,因此不应仅凭界面布局认定它切换成了聊天。
    3. 打开右上角滑杆菜单后,只有“输出”和“来源”,没有可用于查看或调整当前权限的选项。

    环境:微软视窗 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) 。这两个症状是否共享根因尚未确认。

    请核验首条消息之后权限控件的显示条件,以及新工作任务的有效权限是否正确继承。请提供保留已有对话、项目和历史的受支持恢复方案;若该任务不允许修改权限,应显示原因和有效权限。

    未改写安装文件、修改系统访问控制、绕过权限检查或清空聊天数据库。评论不含用户账号标识、私有对话或项目标识、本机路径、原始日志及截图。

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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions