Repository navigation
Description
Summary
On Windows with the VS Code Codex extension, a local-only PowerShell command was rejected before process creation with a generic blocked by policy message, despite Full access being selected. The original action was intended to read local metadata, calculate hashes and assemble a draft JSON request in memory, without cloud calls, credential access or writes. The policy layer and denial reason are not exposed. The built-in /feedback action separately fails with “Couldn't verify feedback permissions”.
Environment
- Windows; VS Code extension
openai.chatgpt26.1021.22027 - Extension-bundled CLI:
codex-cli 0.164.0-alpha.11.1 - Full access selected in IDE
- PowerShell CurrentUser: RemoteSigned; MachinePolicy/UserPolicy: Undefined
- Standalone
codex app-server --print-startup-config:configRequirements.requirements: null - No applicable local
feedback.enabledoverride found; this does not prove the IDE/service effective policy
Rejection evidence
- Denied tool call:
call_84967ff648f344ad8578090d758b3b7f - Approximate denial times: 2026-11-01 09:52:55 and 09:57:34 NZDT (UTC+13)
- Sanitised error:
CreateProcess { message: Rejected("[command omitted] rejected: blocked by policy") } - The command invoked a PowerShell here-string piped to Node; the original PowerShell argv had three arguments (executable,
-Command, script string). Script length: 5,668 characters; SHA-256:c4768938c73a68c6690e7b1d3d429d590b301531f78a4f979b9a5a954595f329. - No PowerShell process started for the rejected action; no
PSSecurityExceptionor filesystemAccessDeniedsurfaced.
Diagnostics already completed
codex execpolicy check --prettyusing the original argv and discovered local.codex/rules/default.rules: exit 0,{"matchedRules":[]}; no decision or justification returned. This does not imply permission.codex sandbox -- <command>is supported by this build;codex sandbox windows --log-denialsis not exposed.sandbox windows --helptreatedwindowsas an executable, ending inCreateProcessAsUserW failed: 2.- Harmless PowerShell sandbox probe returned
MethodInvocationNotSupportedInConstrainedLanguage, showing sandbox language restrictions but not explaining the pre-execution rejection. - Standalone CLI reports no managed requirements; no local rules matched. The exact IDE/service reviewer remains unknown.
- IDE
/approveisn't offered in the slash-command menu, and/feedbackyields “Couldn't verify feedback permissions”.
Expected behaviour
For a local-only preparation command, either permit the eligible action or return an actionable denial identifying the enforcing policy, compatible diagnostic path and supported narrow approval procedure. Feedback should work or provide a supported alternative.
Request
Please correlate the denied call and timestamps against the IDE/service enforcement trace, identify the denying component and rule/reason, and provide a supported remediation for this exact extension/CLI version. Please also investigate the feedback permission failure. No policy disabling, blanket allow rule, or alternate execution pathway to evade the decision is requested.
Privacy: This issue intentionally excludes source code, repository identity, live connection details, keys, business records, raw session transcripts and logs. Sanitised diagnostics could be provided through an appropriate private channel if requested.
Activity
github-actions commentedon Oct 31, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
justinwj commentedon Nov 6, 2026
Additional Windows VS Code extension occurrence on November 6, 2026.
A user-approved local diagnostic command was rejected before process creation at approximately 20:15:50 UTC:
The command would have launched Microsoft's WPAExporter to analyze a 60-second CPU trace retained on the same PC. It set a process-local symbol path to Microsoft's public symbol service and requested no upload of the trace. The command did not start; the local analysis output directory was not created. The trace and test evidence remain intact.
At the time, the session reported Full Access (
sandbox_mode=danger-full-access,approval_policy=never). A read-onlycodex execpolicy checkagainst the exact rejected PowerShell argv matched zero entries in the localdefault.rulesfile (12 allow rules, no prompt or forbidden rules). No local/project managed requirements file or corresponding Windows AppLocker, Code Integrity, or Defender block event was found around the denial. These checks do not identify or exclude a higher-level IDE/service policy.The session transcript contains only the generic rejection, with no rule ID, reviewer rationale, or adjacent approval event. The built-in
/feedbackflow also fails with “Couldn't verify feedback permissions. Please try again.”Could maintainers identify the denying policy layer and rule, and provide a supported narrow review or diagnostic path for this pre-execution decision? Please also advise how to submit private session evidence when
/feedbackcannot verify permissions. No retry, policy disabling, or alternate execution route is requested.Privacy: this public comment omits the project name, repository, local paths, raw trace, session transcript, credentials, and business data.