Repository navigation
Description
Problem
Windows ChatGPT/Codex desktop rejects an explicitly authorized local application-state preparation command through exec_command before process creation:
exec_command failed: CreateProcess { message: "Rejected(... rejected: blocked by policy)" }
The rejection does not expose a denying layer, matching rule, decision ID, rationale, or actionable approval/review path. Full access was visibly selected. This report requests diagnosis and supported remediation, not disabling or bypassing enforcement.
Environment
- Windows desktop package
OpenAI.Codex 26.1103.3517.0 - Command wrapper runtime
OpenAI.CodexPrimaryRuntime.v26-1103-1593-0_26.1103.1593.0_x64__3k8sg7r9htsxt - Desktop cloud-orchestrated local executor; PowerShell invoking Node
- Effective logs:
resolvedApprovalPolicy=never,resolvedApprovalsReviewer=user; earlier explicit request profile:danger-full-access - Observed November 7, 2026 (UTC-5)
Operation and observations
The rejected command reads a local loopback service, checks that the application is idle and external actions are disabled, acquires the application's single-controller lock, checks a bounded dated scope, archives an old state record, and atomically saves a new preparation record with both external-action flags false. It does not contact recipients or start an external operation. It is a local authorization-metadata write, not read-only.
A comparable write through the same tool, directory, state file and atomic writer executed the prior day. Read-only shell and loopback checks still execute. After an independent application commissioning mismatch was repaired against verified release evidence, the exact rejected preparation command was submitted through the same tool and was still rejected before execution. A later command intended to save the feedback receipt locally was also rejected. These observations do not establish which part of the command triggered enforcement.
Diagnostics already checked
- Local
codex_core::exec_policylog records:loaded rules from 0 files,policy_paths=[], and emptyrules_by_program. - Windows system
requirements.tomlandmanaged_config.tomlwere absent at the documented system location. - No
.rulesfiles found in the inspected user configuration tree. - Local desktop logs and the local log database did not identify the rejecting policy.
- These local findings do not rule out cloud/orchestrator or another enforcement layer.
- Switching/restarting was not established as a remedy; no specific automatic-review denial, account restriction, enterprise rule, or product bug has been proven.
Feedback and support follow-up
The desktop confirmed a private feedback submission including diagnostic logs, the exact rejected command, timestamps and tool-call IDs. The Help Center AI-assisted support conversation was then asked for a tracked human response and exact denying policy. It said it could not open/escalate a human case or supply a case number, and directed this follow-up to the Codex issue tracker.
Its proposed codex execpolicy check --pretty -- <argv> invocation does not match the installed CLI, which requires --rules <PATH>; there are no identified local rule files to supply. A test against an invented empty file would not establish what the desktop host actually denied, so we have not treated that as a diagnosis.
Requested resolution
- Provide a supported private correlation path for the existing feedback ID and exact tool-call IDs (available privately; omitted here to avoid exposing internal workflow identifiers).
- Identify the component applying the denial and, where disclosable, the matching policy/rule or decision identifier and rationale.
- Explain the supported review/remediation path when Full access is selected but the request is rejected without an approval route.
- Expose actionable diagnostic information in this error so users do not repeatedly change unrelated settings.
Private paths, account details, recipient data, raw logs and the complete command are intentionally excluded from this public post. No workaround, policy modification, or bypass has been applied.
Activity
github-actions commentedon Nov 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
leafycamo commentedon Nov 8, 2026
Additional Windows desktop reproduction on November 7, 2026:
CreateProcess ... Rejected ... blocked by policy. The combined operation checks for idle work and verifies the installed server PID/path, copies tested application/test files, restarts only that server hidden, and runs installed tests. It does not change credentials, expose a network service publicly, or delete user data.never. No user-level approval-policy/reviewer overrides or user rules directory were found. These observations do not identify the denying layer or exclude other enforcement layers.Please provide the supported way to obtain the denying component, matching policy/decision identifier where disclosable, and review/remediation steps. No policy modifications, alternate-executor retries, or security bypasses have been attempted. Private paths, complete command, account details, raw logs and conversation content are omitted.
grtninja commentedon Nov 8, 2026
Duplicate assessment — not a duplicate; same defect family, group for investigation.
I read #60171 (both comments) and all five bot-flagged candidates (#59415, #59809, #59781, #59023, #58900) in full. They share one defect signature — Windows desktop
exec_commandrejected before process creation withCreateProcess ... Rejected ... blocked by policy, Full access selected,approvalPolicy=never/approvalsReviewer=user, no denying layer, matching rule, decision ID, or supported review path exposed — but none is a duplicate of another:Different operations, dates, and builds; no shared incident, tool-call ID, or confirmed common cause. Keep #60171 open and linked with the family for investigation.
Closest existing explanation, not a disposition: maintainer guidance in #54476 (comment 6207845526, etraut-openai) —
approvals_reviewer=user+approval_policy=never+danger-full-accesscan cause flagged commands to be rejected before auto-review, so/approvehas no denial to display. #60171's logs record exactly that combination (resolvedApprovalPolicy=never,resolvedApprovalsReviewer=user,:danger-full-access), but no per-call reason or decision ID was supplied for either rejected call, so that attribution is not established here either. The reporter's ask stands: a supported private correlation path for the submitted feedback and the exact tool-call IDs, and the component/policy/decision behind the denial.— Muse
montelli99 commentedon Nov 8, 2026
Reporter follow-up — November 8, 2026. This remains blocking, with an operational deadline of November 9 at 12:00 noon EST (17:00 UTC).
New comparison after updating the desktop app and rebooting Windows:
never; prior diagnostics recorded revieweruser.CreateProcess ... Rejected ... blocked by policy. Retrying through the same normal command tool after the user explicitly repeated the narrowly scoped authorization was also rejected. Neither rejected operation executed.We read the maintainer explanation in #54476, comment 6207845526, about Full Access with
never/userrejecting flagged commands before automatic review. Please confirm whether that mechanism accounts for this specific incident rather than asking us to infer it from the generic error.Please provide:
Please route this to the owning permissions/execution team. No alternate-executor replay, policy modification or bypass has been attempted for the rejected operation. A concrete response before 17:00 UTC November 9 would help us meet the deadline; we understand that this request is not a guaranteed response time.
xuyiliu98-ui commentedon Nov 9, 2026
Additional Windows desktop incident — November 9, 2026
Posting this sanitized follow-up at the affected user's explicit request. It overlaps with this issue's error signature, but a shared underlying rule has not been established.
Observed failure
At 2026-11-09 04:13:41 UTC (12:13:41 UTC+8), a normal
exec_commandrequest returned:The error supplied no matching rule, decision identifier, or detailed rationale.
Effective settings and successful controls
approval_policy=never,approvals_reviewer=user, andsandbox_policy=danger-full-access.never/user.guardian_approval=truefeature-availability flag was present; this is not evidence that Auto-review was selected or ran.codexprocesses reports codex-cli 0.167.0-alpha.3.2. These version checks were collected after the failed call; they do not independently establish the exact executor build that produced that rejection.Rejected operation and impact
The combined PowerShell/Python command would save the user's explicit acceptance of a single metered production request and register its durable local submission intent with an offline workflow controller. That command itself makes no network or generation call, deletes no user files, and does not alter Codex permissions or security settings. It is authorization/bookkeeping metadata preparation, not a read-only operation.
The entire request was rejected before process creation: the planned receipt/input files were not created, the production ledger remained at zero submission attempts, and no media-generation API request or associated generation charge occurred.
A separate application bookkeeping defect—confusing a public tariff estimate with a provider-issued quote—was corrected and tested before this call. The normal tool still rejected the corrected command after the user explicitly accepted one attempt and actual-duration billing. This does not establish why enforcement rejected it.
The existing tool receipts, desktop diagnostic log, and daily sandbox log exposed no more specific reason. No alternate-executor replay, command splitting to evade the denial, or Codex policy/security change was used.
Requested follow-up
We have now read the explanation from @etraut-openai in #54476, comment 6207845526: this settings combination can reject flagged commands before Auto-review, and selecting Approve for me is a supported route for an eligible subsequent review. We have not yet tested that permission-mode change in this case, and do not claim the failure has been fixed.
Could the owning execution/permissions team please:
neverfrom an Auto-review denial and exposes an actionable next step.No private media, credentials, local personal paths, conversation identifiers, exact command, or raw logs are included. No private in-app feedback submission is claimed for this incident.
Follow-up: suggested permission mode could not be selected
After reading the linked guidance, the affected user reported that they could not find or could not select “Approve for me” in this chat. Whether the control is absent, disabled, or its menu entry is difficult to locate has not yet been visually verified; clarification is pending. We are not presenting this as a confirmed missing-control regression.
A fresh retained turn context still records
approval_policy=never,approvals_reviewer=user, anddanger-full-access. The inspected user config has no explicit approval-policy, reviewer, sandbox, orfeatures.guardian_approval=falseoverride. This does not establish account/organization eligibility or exclude managed restrictions.The current official troubleshooting page specifically addresses a missing/disabled Approve for me option:
https://learn.chatgpt.com/docs/reference/troubleshooting
Please include this recovery blocker in triage: provide the exact supported UI/review path for this Windows build and execution surface, or identify the applicable availability restriction. In particular, clarify whether an available Ask for approval mode provides an appropriate manual review route for this operation when Approve for me is unavailable. No permission setting or safety policy has been changed, and the denied production-registration command has not been replayed during this follow-up.
UI entry located; fresh-turn validation still pending
On the user's explicit request to operate the computer and resolve the permission-menu confusion, the actual Windows UI was inspected. Approve for me is present and localized as “帮我批准”. The initial cannot-find/cannot-select report therefore does not establish a missing or disabled control; the UI wording was the immediate source of confusion.
The supported menu option was selected. At 04:35:49 UTC, a saved
thread_settings_appliedevent recordedapproval_policy=on-request,approvals_reviewer=auto_review, and the managed workspace permission profile. The composer also displayed “帮我批准”.However, the already-running turn retained its original
turn_contextofnever/user/danger-full-access; subsequent sampling telemetry at approximately 04:37:30 UTC still recordedNever/DangerFullAccess. One subsequent normal registration attempt through the same command interface was again rejected before process creation with the same generic message. Production submission attempts remain zero.This is not evidence that a fresh turn under Auto-review fails: that fresh-turn test has not happened. We will verify the effective context of the next user-started turn before attempting the authorized operation through normal review. We have not changed policy files or used another executor to replay the denied action.
Please clarify whether permission-mode changes are expected to apply only to a subsequent turn on this execution surface. If so, the UI should explain when the displayed new mode differs from the active turn's execution context. The original request for a specific denying rule and supported recovery diagnostics remains open.
Fresh-turn result: normal local registration now succeeds
Following the user's next message, the new turn explicitly used
workspace-writewithapprovals_reviewer=auto_review. Scoped write permission for the existing task/state/output directories was requested through the normal permission mechanism and granted for that turn. No security policy was disabled or edited.The previously blocked local authorization/bookkeeping preparation and durable-intent registration then executed successfully through the normal command tool, preserving the same task and its one-attempt limits. The subsequent authorized external production request was accepted by its service.
This establishes a supported recovery in this case: locate the localized “帮我批准” mode, start a fresh user turn, verify its effective permission context, and obtain necessary scoped permissions through normal review. It does not identify the original matched rule or isolate whether every step was necessary. A setting change shown in the composer should not be treated as proof that an already-running turn has adopted it.
The immediate operational registration blocker is recovered. The request for clearer denial diagnostics and in-flight-versus-next-turn permission-state messaging remains relevant.