Skip to content

Windows desktop: local preview replacement rejected before process creation with no actionable policy reason #52202

Open

Description

@lv3228265-dotcom

What version of the Codex App are you using (From “About Codex” dialog)?

Unknown. The exact app version at the affected invocation was not captured, and the current About Codex version has not been verified.

What subscription do you have?

Pro (confirmed by the user).

What platform is your computer?

Windows 10 Pro 22H2, OS build 19045.6466, as recorded during earlier diagnostics. The OS build was not rechecked at the affected invocation.

What issue are you seeing?

An explicitly authorized update of my own local, non-production web preview was rejected before PowerShell started. The preview was already running under my ordinary Windows user. A newer candidate had been prepared and had passed its reported tests and review.

The requested maintenance command would verify the identity of the existing preview process, stop that process only, then start the approved newer candidate on the same localhost port.

The invocation used functions.exec → tools.exec_command and returned this abbreviated error:

exec_command failed: CreateProcess … rejected: blocked by policy

The received output was truncated, including a 5506 chars truncated marker, so this is not the complete original error. It exposed no rejecting component, matched rule, specific reason, or actionable approval prompt.

PowerShell was not created, so the command's identity checks, process stop, and replacement startup did not run. A subsequent read-only check showed the original preview still running and the newer candidate not started.

What steps can reproduce the bug?

This is a captured incident, not an independently reproduced minimal example:

  1. Have an existing local web preview running on Windows.
  2. Prepare a newer candidate and authorize replacement of the running preview.
  3. Submit the guarded process-replacement command through exec_command.
  4. Observe a pre-process blocked by policy rejection; the old preview remains running.

The exact command has not been published because it contains private project details. No fresh execution attempt was made while preparing this report. The effective approval/sandbox configuration for this particular rejected invocation is unverified.

What is the expected behavior?

Please help clarify:

  1. Which component or policy handles this rejection?
  2. What supported diagnostic or log can expose the specific rejection reason without publishing private project content?
  3. What supported remediation or review path applies to this authorized local operation?

If the operation is prohibited, an actionable explanation would help. This report does not request disabling or bypassing safeguards.

Additional information

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions