Repository navigation
Description
Summary
A Windows desktop user reports that a previously working Codex Git workflow can no longer commit or push because the affected chat disables sandbox approval requests. The user explicitly states they did not add any permission restriction or request a permissions change.
Automatic app plugin/tool maintenance is a suspected trigger. Local evidence closely correlates an automatic refresh with a user configuration file rewrite. The exact link between that rewrite and the changed effective approval policy remains unconfirmed.
Observed behavior
- The repository is trusted and project files are writable, but Git metadata is protected as read-only.
- Ordinary staging fails with the generic error:
Unable to create .git/index.lock: Permission denied. - There is no stale lock file.
- The affected chat supplies a granular policy with
sandbox_approval=false, preventing the scoped escalation path. - The user has explicitly authorized commit and push.
- No new escalated Git request was submitted in the affected chat because its supplied policy disallows that request.
Comparison with the working session
The previous successful session also protected Git metadata as read-only. However, it used on-request approval with automatic review, and scoped additional-access requests for staging, committing, and pushing succeeded.
The substantive difference is therefore the availability of scoped approvals, rather than the mere existence of read-only Git protection.
Follow-up: scoped Git operations succeed in another chat (October 24, 2026)
The user returned to another development chat and asked it to check whether scoped escalation was permitted, then commit and push the eight pending files if so.
The user supplied a screenshot of that chat's result. It reports that scoped escalation was permitted, the Git escalation requests were approved, and exactly the eight pending files were committed and pushed successfully.
A separate read-only inspection of the same primary checkout corroborated the Git outcome:
- A new commit is present.
- The local working tree is clean.
- Local HEAD and the remote-tracking branch match.
- The remote-tracking reflog explicitly records an update by push.
The successful chat's approval assertions are reported from the screenshot; this follow-up did not independently inspect that chat's full execution transcript or query the live remote.
This is evidence that the failure is specific to the affected chat's effective approval path, rather than a repository-wide inability to perform Git operations. The original affected chat is still supplied a policy with sandbox escalation disabled; it did not perform a new Git write probe after the successful operation in the other chat.
The immediate commit/push blockage has been worked around through another chat. The approval-policy inconsistency remains the reported bug. Please investigate why the same project has a working scoped approval path in one chat and no exposed usable approval path in another. This finding does not establish that the earlier automatic configuration refresh caused the policy difference.
Automatic configuration refresh
Local inspection found the following sequence on October 23, 2026. All times in the table are UTC (local Eastern Daylight Time is UTC−04:00):
| Time (UTC) | Evidence |
|---|---|
| 16:51:24.713 | App log: bundled_plugins_reconcile_started ... reason=focus |
| 16:51:27.027 | App log: BrowserUseThreadConfig selected browser/tool runtime paths |
| 16:51:27.0335355 | config.toml filesystem last-write timestamp |
| 16:51:27.041 | App log: bundled_plugins_reconcile_completed ... reason=focus |
The file modification falls inside the refresh interval, approximately 6.5 milliseconds after runtime path selection and 7.5 milliseconds before refresh completion. In local time, these events occurred around 12:51:27 PM EDT.
Read-only inspection of the installed app code also found that the plugin/tool synchronization path calls config/batchWrite to update tool configuration. These are extracted event names and timestamps; local paths, security identifiers, and private log contents remain redacted.
This supports an inference that app maintenance rewrote the configuration without a user configuration edit. It does not establish which keys changed. A successful Git push was recorded later than that refresh, so the timestamp alone does not prove that the refresh caused the subsequent approval regression.
Expected behavior
Keep the previously functioning scoped approval path available for user-authorized Git operations, or provide a clear repository-scoped permission grant. Requiring unrestricted computer access or manual removal of sandbox protections is not an acceptable replacement.
If an intentional managed restriction overrides the selected preference, identify its source and explain the supported correction. Automatic app maintenance should not silently break an established development workflow.
Requested investigation
Please investigate why one session permits scoped Git approvals while a later chat disables them without a user-requested restriction, and whether automatic plugin/tool refresh or chat provisioning contributes to that change.
Related reports
- Windows: “Ask for approval” selected, but runtime disables sandbox approval requests #50738
- Codex Desktop Ask for approval silently disables shell escalation in projectless tasks #32563
Codex App cannot request approval: sandbox_approval is false#54368
Redaction
This report intentionally omits project and repository identity, absolute local paths, user identifiers, security IDs, private conversation links, raw logs, commit hashes, and detailed machine/build metadata. The narrowly relevant refresh and file-modification timestamps are included above at the user's request.
Activity
github-actions commentedon Oct 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
fubin1999 commentedon Nov 11, 2026
Same on Codex MacOS 26.1103.60933.
Bobby1787 commentedon Nov 17, 2026
Update — November 16, 2026
I'm continuing to experience Git checkpoint failures in the Codex Windows desktop app.
Today I retried the same assignment multiple times using Luna Medium, Terra Light, and Sol Medium, with different reasoning-effort levels. All attempts failed.
Notably, Sol Medium had successfully completed an equivalent checkpoint on November 10, but I couldn't reproduce that success today.
I've also been using Claude Code successfully across multiple projects throughout the past week. After today's Codex failures, I submitted the identical assignment to Claude Sonnet Medium, which completed it successfully without changes to the prompt, repository, or Git configuration.
This suggests the problem may involve Codex's execution environment or approval handling rather than Git itself, although the root cause remains unconfirmed.
I've also provided these findings to OpenAI Support under case #19359053.