Repository navigation
Description
What version of Codex CLI is running?
codex-cli 0.162.1
What subscription do you have?
ChatGPT Plus
Which model were you using?
Exact model at rejection not independently verified. Current doctor configuration reports gpt-6.1-sol.
What platform is your computer?
Windows 11 Professional, Microsoft Windows NT 10.0.26200.0, x64
What terminal emulator and version are you using (if applicable)?
Windows PowerShell 5.1.26100.9711. Terminal emulator/host version not independently verified.
Codex doctor report
Doctor summary; full JSON has not been attached to this form.
CLI: 0.162.1
overallStatus: fail
sandbox.helpers: fail; elevated Windows sandbox provisioning failed; helper_unknown_error
Doctor invocation approval policy: OnRequest
Active thread overrides: not inspected
Doctor working directory: C:\WINDOWS\system32
app_server.status: warning, stale or unreachable control socket
Authentication/provider connectivity: checks passed
The rejected thread reported approval_policy=never. These are different invocation contexts. A causal connection between sandbox provisioning failure and the policy rejection has not been established.What issue are you seeing?
An explicitly authorized, wheel-only pip dependency-resolution dry-run
was rejected before process creation.
Observed error:
exec_command failed: CreateProcess
rejected: blocked by policy
The rejected session reported approval_policy=never. No approval action,
matched rule, policy identifier or actionable explanation was provided.
The requested operation involved no package installation, source builds,
application execution or SQL access. HTTPS requests were restricted to
pypi.org and files.pythonhosted.org. Output was restricted to a dedicated
D: staging directory.
A subsequent codex doctor invocation reports:
- overallStatus: fail
- elevated Windows sandbox provisioning: failed
- error code: helper_unknown_error
The doctor invocation reports OnRequest and did not inspect active thread
overrides. It ran from C:\WINDOWS\system32, so its configuration is not
assumed identical to the rejected session.
The sandbox finding is relevant, but its causal relationship to the
original policy rejection is unestablished.
What steps can reproduce the bug?
Observed incident; not an independently verified minimal reproduction.
- Request a wheel-only pip dry-run in Codex CLI on Windows.
- Codex submits a PowerShell/Python launcher.
- Before process creation, it returns: CreateProcess ... rejected: blocked by policy.
- No approval action or specific policy reason is shown; no resolver output is created.
The blocked action was not retried.
Feedback thread: 01a13af8-7cab-7402-8582-7e282e3ef0ae
What is the expected behavior?
If the operation is prohibited, identify the enforcing policy or provide
a privacy-safe diagnostic and supported review path.
If approval is required, explain how to request it under the effective
configuration without bypassing safeguards.
Additional information
codex doctor --json reports overallStatus=fail.
sandbox.helpers:
- status: fail
- backend: elevated
- provisioning: failed
- error: helper_unknown_error
- invocation approval policy: OnRequest
The rejected thread reported approval_policy=never.
Doctor ran from C:\WINDOWS\system32 and did not inspect active thread
overrides, so the configurations must not be treated as identical.
The report also warns that the background app-server socket is stale
or unreachable. Authentication and provider connectivity checks pass.
No causal connection between these findings and the original rejection
has been established.
Activity
github-actions commentedon Oct 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
NeerajSingh0503 commentedon Oct 21, 2026
Feedback upload acknowledged thread:
01a13af8-7cab-7402-8582-7e282e3ef0ae
Please correlate it with the original “blocked by policy” rejection
and provide the deciding rule and supported resolution.
The URL-plus-"start" explanation remains unverified.
The rejected resolver operation has not been retried.
NeerajSingh0503 commentedon Oct 21, 2026
Feedback upload acknowledged thread:
01a13af8-7cab-7402-8582-7e282e3ef0ae
Please correlate it with the original “blocked by policy” rejection
and provide the deciding rule and supported resolution.
The URL-plus-"start" explanation remains unverified.
The rejected resolver operation has not been retried.