Repository navigation
Description
Environment
- Windows desktop app, local PowerShell workspace; observed on 2026-10-19 (Asia/Shanghai).
- App update checker reports installedVersion
26.1007.71326, build20398, channelprod. - Installed Windows package version:
26.1007.9446.0(a separate component version). - Bundled executor:
codex-cli 0.162.0-alpha.17.2. - Effective task instructions:
approval_policy=never,sandbox_mode=danger-full-access. These are not asserted to override another policy. - Subscription not collected.
Observed issue
A user-authorized, narrowly scoped local application update was rejected before execution with an opaque error containing:
exec_command failed: CreateProcess
Rejected(... blocked by policy)
The intended command would use the application's normal loopback shutdown endpoint, verify process exit, copy an explicit manifest of four UI source files and their associated static build assets after hash/backup checks, and start the local application normally. It did not request business-data mutations, credential access, cloud deployment, or deletion. No force-kill was proposed.
This is an observed failure, not a newly run minimal reproduction. The command was not executed, and the blocked outcome has not been pursued through another transport. The exact enforcing component, decision ID and detailed rationale remain unknown.
Two earlier shutdown requests were separately rejected by the application for missing normal source headers; these did not stop the application. The later command included the source headers required by the application's existing shutdown implementation, but was rejected by the execution tool before it ran. We cannot establish that these distinct failures share a cause.
Approval / recovery gap
The user explicitly authorized the local update. In the desktop composer, entering /approve did not expose an actionable denial picker. Read-only inspection shows that the installed client contains an approval command conditioned on eligible denial records, but does not prove this particular rejection created one.
The current official Auto-review documentation says approval_policy=never does not generate interactive review requests. Therefore this report does not attribute the rejection to Auto-review, and does not assume /approve must resolve it.
The user restarted the desktop app; the update checker still reported the same version and restart_required. We cannot establish whether that status is stale or whether a pending update did not apply.
Expected behavior / questions
Please identify the supported diagnostic and recovery path:
- Which privacy-safe fields identify the enforcing policy for a pre-execution
blocked by policyrejection with no reason or actionable denial? - If eligible for narrow manual approval, how should this Windows version expose the record? If ineligible, what supported escalation/support path applies?
- Is a persistent
restart_requiredafter restart a known update-reporting issue?
Please preserve security restrictions; we are not requesting a bypass or a global policy relaxation.
Related reports: #50524 and #54746 have similar symptoms; a shared root cause is unconfirmed.
Privacy / scope
No credentials, private paths, source code, business data, full session transcript or raw logs are attached. The local app's update remains unloaded.
Additional non-executing source inspection
The published source tag matching the reported executor version, rust-v0.162.0-alpha.17.2 / windows_dangerous_commands.rs, contains a best-effort PowerShell token classifier that can return dangerous when a URL and a Start-Process/Invoke-Item token coexist in the parsed invocation. The source comments explicitly describe best-effort token scanning rather than a full PowerShell parser.
Our retained operation description includes a loopback health/shutdown request and ordinary process startup in the same command. This makes the published classifier a diagnostic lead, not confirmed attribution: we have no evaluator trace, normalized argument vector, matching-rule receipt, or proof that this exact source implementation produced our rejection. We have not executed or rewritten the denied action to test the hypothesis, and have not changed permission settings.
Could a maintainer identify the actual enforcing evaluator and its privacy-safe decision trace for this rejection, and clarify the supported review or fixed-version route if the classifier applies? Please distinguish a confirmed restriction from a command-classification defect. We are not asking for a workaround or a global relaxation.
Activity
github-actions commentedon Oct 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Marwinner93 commentedon Oct 19, 2026
I am seeing a similar opaque pre-execution rejection in the Codex Windows desktop app. A common root cause with this issue is not confirmed. OpenAI’s support assistant recommended adding the in-app feedback ID to a relevant GitHub report.
Feedback ID:
01a13667-56e9-7ce0-abd2-8980da9f43f5Environment
OpenAI.Codex 26.1013.3656.0(package version, not an independently verified executor version).25H2, build26200.9445.sandbox_mode=danger-full-access,approval_policy=never; the UI displays unrestricted Full access.Observed operation
The user explicitly authorized resuming a local Python visual-model training project for GTA V Legacy Story Mode after tested evaluation fixes. The combined PowerShell command would update the project’s own curriculum JSON, remove its local STOP marker, and launch its existing Python runtime with stdout/stderr redirected to project files. It was rejected before PowerShell started:
The process-launch portion was:
This is only an excerpt of the rejected combined command; we have not isolated which part triggers the decision. Routine read-only commands and Python tests work. The training remains stopped with its saved models and counters intact.
No user
rules/default.rules, project.codex/rulesdirectory, or%ProgramData%\OpenAI\Codex\requirements.tomlwas found at the checked locations.%USERPROFILE%\.codex\.sandbox\sandbox.logis also absent. This does not rule out other managed or execution-layer restrictions.Please identify the enforcing component and a supported, narrowly scoped approval or diagnostic route for this rejection. We are not requesting a bypass or global policy relaxation. No raw logs, credentials, private absolute paths, or training files are included in this public comment.