Windows desktop: auto-review still cites earlier read-only scope after direct in-chat authorization
What version of the Codex App are you using (From “About Codex” dialog)?
UNKNOWN / not collected from the About dialog for this report.
What subscription do you have?
UNKNOWN / not collected for this report.
What platform is your computer?
Windows desktop app with local Windows execution. The current local host reports Microsoft Windows NT 10.0.22621.0, x64.
What issue are you seeing?
A bounded local GUI test remains blocked before process creation. Three normal exec_command approval requests were rejected. Their explanations continued to treat an earlier user instruction allowing only read-only window enumeration as the governing scope, despite later explicit human authorization for one controlled GUI run, including a direct human message in the same executing chat before the third request.
The original request used the existing PowerShell test entry through exec_command with sandbox_permissions: require_escalated. It was a stateful GUI/media action, and the user authorization explicitly covered that bounded action. We are not claiming that user business authorization overrides platform safety review.
Recorded third-rejection excerpt (the reason is quoted verbatim; wrapper escaping omitted):
This action was rejected due to unacceptable risk.
Reason: 该命令会启动有状态GUI并执行输入、裁切、导出等媒体操作;本次评估中的可信用户指令仍限定为只读枚举且禁止GUI,嵌入历史中的“直接批准”不能覆盖该限制。
English summary of that reason: the reviewer still considered the trusted user scope to be read-only enumeration with GUI forbidden, and considered the later direct approval to be embedded historical material.
The user also reported that the desktop chat did not expose an /approve entry. This is a user observation, not an independently inspected UI state.
What steps can reproduce the bug?
This is an observed sequence from an existing chat, not a deterministic standalone minimal reproducer:
- In a local Windows desktop workflow, an earlier instruction allowed a single read-only window enumeration and prohibited launching a GUI.
- The user subsequently authorized one bounded stateful GUI test. Fixed implementation/admission evidence and a fresh single-use configuration were prepared.
- A normal request to the existing entry was rejected before process creation, citing the older enumeration-only scope.
- A second normal request referring to the later human authorization in the coordinating chat was also rejected; the reason treated that authorization as an untrusted relay.
- The user then directly authorized the action in the original executing chat. A third request, in the same executing chat with the same actor, tool and command, was still rejected with the excerpt above.
- Execution stopped. No fourth identical request, alternate executor/tool/shell/wrapper, permission-setting change, or bypass was attempted.
The three recorded denials occurred on October 28, 2026 UTC. The exact backend approval call IDs and native rejection timestamps were not exposed. Locally recorded caller timestamps are not being presented as backend timestamps.
What is the expected behavior?
Please investigate which trusted user messages and exact requested action reached the reviewer, and explain the applicable authorization scope. If platform policy still requires denial, provide the action-specific reason and a supported disposition path that is available on this desktop surface.
Please also clarify the current supported invocation path. The executing chat's latest report says its current platform instructions specify approval_policy=never and forbid supplying sandbox_permissions, so the original require_escalated argument shape is no longer usable. That reported configuration is not being treated as proof of approval or as a reason to retry without the parameter. Its relationship to the earlier denials has not been established.
We are requesting scoped investigation and a supported resolution for the original executing chat/action, not disabling review or granting broad access.
Additional information
- Zero GUI processes were started by the three rejected requests. The single GUI/self-observation allowance remains unconsumed.
- The original single-use lease has expired and is not being replayed. Fresh metadata would be bound only after an applicable verified disposition, and normal platform rules would still apply.
- Existing runtime limits include initialization 30 seconds, total GUI 120 seconds plus 5 seconds cleanup, 512 MiB committed memory, 1 CPU and 1 slot; source protection and other established deadlines remain in place.
- The direct executing-chat human message was verified in the native chat record after rejection. Its native ID was not included in the third request justification. Whether that omission, context retention, classification, transport, or another factor caused the denial is UNKNOWN.
- Private native chat records and fixed evidence exist locally. No private source, media, personal paths, chat identifiers, account details, credentials, or raw transcripts are attached to this public issue. Evidence can be supplied through an appropriate private support mechanism if requested.
- Please route to the desktop/approval-review owners if this repository is not the correct owner. Issue acceptance alone will not be treated as runtime approval.
- Submitted with AI assistance at the user's explicit request.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #58062
- #56817
- #57822
- #57728
Powered by Codex Action
Additional independent symptom: exact single-file local Git receipt save rejected before process creation
The user has now explicitly reaffirmed both bounded business actions: (A) the original QA chat's still-unconsumed single GUI/self test and media workflow, and (B) the original coordinating chat's exact one-file local administrative Git save. This supersedes earlier inspection-only user scope, but does not override mandatory platform or organization policy. We are requesting disposition, not bypassing review.
Independent Git symptom:
- The original coordinating chat requested one local administrative JSON receipt commit on its existing branch, preserving every other worktree change, staged entry and the main branch. No push or source change was requested.
- The normal exec tool rejected the request before PowerShell/Git process creation with only:
rejected: blocked by policy. It did not expose a specific rule, policy owner or OS error. - The original Git request already omitted
sandbox_permissions. Its recorded native context wasapproval_policy=never,sandbox_policy=danger-full-access, permission profile disabled. The current coordinating turn reports the same policy/profile. We therefore do not treat omission of an argument or a newly read Full Access label as a policy change or permission to retry. - Read-only resolution confirms this is a linked worktree: the worktree index lives in the common repository's worktree metadata directory; object, current-branch ref and reflog writes go to the common Git directory. The requested writes were ordinary receipt-blob/tree/commit creation, one index entry and an old-value-checked update of only the current branch. We have not established that Git-path protection caused the rejection.
GUI symptom remains separate:
- The three original pre-start denials and the later same-executing-chat direct human authorization remain preserved. The third denial still described that direct authorization as embedded historical content and cited the earlier enumeration-only scope.
- No fourth GUI request, fresh execution lease, startup probe, actor/tool/shell/wrapper/index/worktree substitution, or permission-setting change has been made. The original allowance remains unconsumed and its old lease must not be replayed.
- The latest recorded QA configuration prohibits escalation parameters under
approval_policy=never; the supported normal invocation path must be clarified. A successful local Git action, if later permitted, would not authorize the GUI action or vice versa.
Please provide an action-specific platform disposition for both symptoms:
- Verify the exact trusted native user-message context actually received by the GUI reviewer, including the later direct authorization in the original executing chat. Explain why it was classified as historical/embedded content; do not infer a cause merely from a missing message identifier in an earlier justification.
- Identify the actual policy/rule source and owner behind the coordinating chat's
blocked by policyrejection. Distinguish command-rule enforcement, automatic risk review, sandbox/Git-path restrictions, organization/device policy and OS errors using platform evidence. - Give the concrete supported recovery operation and responsible party for this Windows desktop client, scoped separately to the original QA actor/original normal SDK-S1 entry/current human authorization and to the original coordinating actor/exact receipt-only Git save/current branch and required Git metadata targets. If an administrator or human action is required, identify the actual supported entry and exact per-action scope; do not require broad permission changes.
The user already confirmed that this client has no /approve entry. We will not ask them to look again, change global settings, or retry by merely deleting an escalation argument. There is no exposed agent-side denial-disposition API in the current tool inventory.
Current local runtime metadata reports desktop_client tooling component 0.166.0-alpha.5.1; the app About-dialog version and subscription are still uncollected, and this component version is not asserted to be the About version.
Private fixed evidence includes the original requests, native authorization order and resolved Git targets, but no private paths, native chat identifiers, source, media, credentials or full logs are posted here. Please provide an official private channel if those private records are required. Issue acceptance, duplicate detection, a bot response or issue closure will not be treated as action approval.
Submitted with AI assistance under the user's explicit authorization for this one sanitized supplement.
Current-build update and request for a supported Windows desktop recovery path
The user has now explicitly delegated the solution and execution of the GUI approval problem to the coordinating agent. We are handling the normal platform disposition; that delegation is not being treated as authority to bypass review, change permission settings, or replay an expired action.
New, narrowly collected version facts:
- The currently running Windows client executable is associated with the installed MSIX package OpenAI.Codex, version 26.1027.6604.0 (x64). This was collected through read-only package/process metadata, not the About dialog.
- Current exposed execution metadata still reports client_type=desktop_app, codex_version=0.166.0-alpha.5.1, sandbox_mode=danger-full-access, auto_review_enabled=false, and node_repl_auto_review_required=true.
- Current execution instructions specify approval_policy=never and prohibit an escalation argument. We do not infer that this allows a retry. The installed executable's Chromium file version is not being reported as the app's About version.
The existing issue and its sanitized supplement remain unchanged. The current check found no maintainer disposition beyond the duplicate-detection bot and the already-posted supplement. No fourth original GUI request, global approval change, substitute executor, or Git-write retry has been made.
The original SDK/self-observation entry and original actors are now historical, rather than the current product execution target. Their failures and unconsumed/expired state remain preserved. Current business work uses current authorized roles and an evolved fixed product version. We are not attempting to revive the old private runtime, carry approvals across identities, or have a retired actor execute on another actor's behalf.
Please provide a supported normal resolution for this client/build:
- Which mechanism can the current authorized desktop workflow use to obtain a verifiable, action-scoped disposition for its actual normal GUI entry, while preserving the prior denials and mandatory review?
- The current official developer-commands page documents /approve for a recent denial when automatic review is active; the user had already confirmed that this entry was absent on this client. With the metadata above, is there an available supported human/admin or platform entry? Please identify the actual entry, not a hypothetical API or a request to repeat the same blocked command.
- If a later Windows build fixes trusted-user-context classification or exposes the required recovery control, please identify the build and normal supported update path. We will preserve active work and will not restart an active client or modify security settings to experiment.
- If private backend correlation is needed, please identify an appropriate official private intake and the minimum records needed. We are not uploading raw session logs, source, media, local paths, chat identifiers, account data, or credentials here.
Reference: https://learn.chatgpt.com/docs/developer-commands and https://learn.chatgpt.com/docs/reference/troubleshooting .
Ordinary independent product-source work continues separately. Posting this update, a bot response, or issue acceptance will not be treated as GUI execution permission or product acceptance. This is one sanitized update under the user's new explicit delegation, with all earlier submissions preserved.
I observed a similar approval sequence in Codex Desktop on macOS, for a terminal command to publish prepared drafts with the GitHub CLI.
The original Goal specified one wording for the drafts. I interrupted that attempt and set a replacement Goal with revised wording. The local check confirmed the drafts had the revised wording. Automatic approval review then denied process creation because the wording differed from the earlier instruction. The GitHub CLI command did not start, and that attempt published nothing.
I then explicitly approved publication of the exact revised drafts. The next run completed. This is one observed macOS occurrence. The denial cited the earlier wording. I have not independently reproduced the behavior or established its internal cause.