You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows desktop: local service startup denied with "blocked by policy"; effective full-access configuration lacks actionable denial diagnostics #56045
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
On Windows, Codex desktop execution of local Node API / frontend startup for an existing synthetic QA environment was reported as rejected: blocked by policy. Local services therefore remain unavailable for browser acceptance testing. No production services or real payments are involved.
This report requests a supported diagnostic and recovery path, not a safeguard bypass. Related reports include #54746 and #55165; a shared cause has not been established.
Verified configuration evidence
A desktop log entry at 2026-10-22T01:12:01.877Z records:
Personal paths and conversation identifiers are omitted.
Read-only configuration inspection found a trusted project entry, no explicit approval/sandbox setting in the inspected user config, no requirements.toml at the inspected default user location, and no project .codex/config.toml. The inspected local rules contain an older exact-prefix allow entry, but this is NOT evidence that the current rejected calls match that entry or that higher-priority policy permits them.
A bounded search of desktop logs from October 21–22 did not recover the rejection itself. Accessible retained task records describe the API and frontend startup rejections but do not retain the complete original rejected arguments. Therefore the precise rejecting layer and a minimal reproducer are currently UNKNOWN.
Expected / requested guidance
How can the app expose the enforcing component, matched rule or privacy-safe decision ID for this generic pre-execution denial?
What supported diagnostic collection is available when the task has approval_policy=never and no command-approval or feedback-submission tool is exposed?
If this narrowly scoped localhost startup is permitted, what is the official recovery path without changing security settings or moving the denied operation to another tool?
Environment and limitations
Windows desktop app, PowerShell, local workspace and existing local synthetic database. Installed app version has not yet been verified for this report; desktop app and standalone CLI versions must not be conflated.
This is an observed failure report, not a newly executed minimal reproduction. The denied operations have not been replayed for this report; no policy files were changed. Full access is not asserted to override other restrictions.
No credentials, account identifiers, business data, source code, raw transcripts, database contents or personal filesystem paths are attached. Please specify the minimum additional sanitized diagnostics needed.
Additional sanitized diagnostics collected using the documented codex doctor --summary --no-color --ascii (exit 0):
Windows installed Appx package: OpenAI.Codex 26.1016.6573.0. PATH executable reports codex-cli 0.163.0-alpha.11; these are separate version observations, not proof of the backend executable used by the affected desktop turn.
Doctor reports installation consistent, local state databases healthy, authentication configured, provider connectivity working, and no locally visible recent Codex security enforcement.
Doctor flags thread inventory inconsistencies: rollout files absent from the state DB and state rows pointing to missing/unusable rollouts. No state repair/deletion was attempted.
Doctor's standalone invocation reports restricted filesystem/network with OnRequest, whereas the affected desktop log previously reported :danger-full-access / never. This appears to be different execution contexts; the standalone diagnostic must not be treated as the effective policy of the denied desktop command.
Doctor also lists generic Defender, non-Dev-Drive, optional MCP configuration and non-interactive terminal warnings. No evidence links these warnings to the denial; no exclusions or security settings were modified.
The report does not identify a rejecting rule. Which supported diagnostic can correlate a desktop pre-execution rejection with its policy decision? No rejected operation was retried to gather these observations.
Update: a read-only inspection of the affected task's retained rollout recovered two original request/result pairs (commands were read as data, never replayed):
Request 2026-10-21T22:30:43.187Z, paired result 22:30:45.218Z: local API/frontend launch. Result contains CreateProcess and blocked by policy; no process session ID or exit code.
Request 2026-10-21T22:43:05.676Z, paired result 22:43:05.866Z: local API launch. Result contains CreateProcess, blocked by policy, and rejected; no process session ID or exit code.
This establishes a process-creation-stage refusal rather than an application that started and subsequently exited. It does NOT identify the enforcing policy layer. No matched rule/policy ID or supported recovery hint appears in the paired results.
The rollout retains the outer functions.exec call IDs, but no separate nested tools.exec_command ID. Outer IDs and original commands are retained locally and omitted from this public comment; if needed, please provide an official private channel and specify the minimum correlation fields required.
The previously reported effective desktop configuration log was captured later than these failures; it should not be treated as a contemporaneous evaluator trace for either call. No denied operation was retried, no policy changed, and no data cleared. Please advise a supported correlation/review or fixed-build path for this process-creation denial.
Further bounded read-only verification of the original rollout now confirms the contemporaneous turn context for BOTH request/result pairs described above:
Neither call input supplied sandbox_permissions. The available evidence therefore does not support a forbidden escalation-parameter mismatch as the explanation. This is stronger context evidence than the previously cited later desktop log, but still not an evaluator decision trace and not an assertion that Full Access overrides safeguards.
The two inspected desktop logs in the incident time window contain no approval/reviewer/policy decision event that can be correlated with the affected task or calls. An uncorrelated generic decision occurrence was excluded.
The specific enforcing rule remains unknown. Please advise the supported way to correlate these pre-creation refusals with the winning rule, or an applicable official repair/review route. No command was replayed, no security setting changed, and no database modified during this investigation.
New sanitized evidence after the desktop updater reported restart_required and the user completed a normal app restart: existing local database, Redis, API, and one hotel frontend now start normally and pass readiness/HTTP checks. A separate platform frontend still received a pre-execution CreateProcess / blocked by policy refusal.
Read-only comparison of the retained successful hotel call and refused platform call shows the same exec_command tool, PowerShell, Node executable, and Start-Process form. The target artifact, working directory, port, log paths, and platform API-base environment variable differ. The platform standalone build ID, Next dependencies, and 59 static files are readable and hashes match the expected artifacts. No platform stdout/stderr files were created: the outer shell was refused before application execution. We have not identified a malformed path or an application crash, nor a winning policy rule.
No denied launch was replayed for this comparison, no alternate execution wrapper or tool was used, and no security settings or business database contents were changed. The four healthy local services were left untouched. Is there a supported private diagnostic channel or evaluator correlation procedure for this selective pre-creation rejection? The restart improved some execution but cannot be considered a full resolution.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Oct 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
zyj1971zyj-lab commentedon Oct 22, 2026
Additional sanitized diagnostics collected using the documented
codex doctor --summary --no-color --ascii(exit 0):The report does not identify a rejecting rule. Which supported diagnostic can correlate a desktop pre-execution rejection with its policy decision? No rejected operation was retried to gather these observations.
zyj1971zyj-lab commentedon Oct 22, 2026
Update: a read-only inspection of the affected task's retained rollout recovered two original request/result pairs (commands were read as data, never replayed):
CreateProcessandblocked by policy; no process session ID or exit code.CreateProcess,blocked by policy, andrejected; no process session ID or exit code.This establishes a process-creation-stage refusal rather than an application that started and subsequently exited. It does NOT identify the enforcing policy layer. No matched rule/policy ID or supported recovery hint appears in the paired results.
The rollout retains the outer
functions.execcall IDs, but no separate nestedtools.exec_commandID. Outer IDs and original commands are retained locally and omitted from this public comment; if needed, please provide an official private channel and specify the minimum correlation fields required.The previously reported effective desktop configuration log was captured later than these failures; it should not be treated as a contemporaneous evaluator trace for either call. No denied operation was retried, no policy changed, and no data cleared. Please advise a supported correlation/review or fixed-build path for this process-creation denial.
zyj1971zyj-lab commentedon Oct 22, 2026
Further bounded read-only verification of the original rollout now confirms the contemporaneous turn context for BOTH request/result pairs described above:
Neither call input supplied
sandbox_permissions. The available evidence therefore does not support a forbidden escalation-parameter mismatch as the explanation. This is stronger context evidence than the previously cited later desktop log, but still not an evaluator decision trace and not an assertion that Full Access overrides safeguards.The two inspected desktop logs in the incident time window contain no approval/reviewer/policy decision event that can be correlated with the affected task or calls. An uncorrelated generic
decisionoccurrence was excluded.The specific enforcing rule remains unknown. Please advise the supported way to correlate these pre-creation refusals with the winning rule, or an applicable official repair/review route. No command was replayed, no security setting changed, and no database modified during this investigation.
zyj1971zyj-lab commentedon Oct 22, 2026
New sanitized evidence after the desktop updater reported restart_required and the user completed a normal app restart: existing local database, Redis, API, and one hotel frontend now start normally and pass readiness/HTTP checks. A separate platform frontend still received a pre-execution CreateProcess / blocked by policy refusal.
Read-only comparison of the retained successful hotel call and refused platform call shows the same exec_command tool, PowerShell, Node executable, and Start-Process form. The target artifact, working directory, port, log paths, and platform API-base environment variable differ. The platform standalone build ID, Next dependencies, and 59 static files are readable and hashes match the expected artifacts. No platform stdout/stderr files were created: the outer shell was refused before application execution. We have not identified a malformed path or an application crash, nor a winning policy rule.
No denied launch was replayed for this comparison, no alternate execution wrapper or tool was used, and no security settings or business database contents were changed. The four healthy local services were left untouched. Is there a supported private diagnostic channel or evaluator correlation procedure for this selective pre-creation rejection? The restart improved some execution but cannot be considered a full resolution.