Skip to content

Windows desktop: opaque pre-execution "blocked by policy" with no available review path #56440

Open

Description

@BredOficial

What version of the Codex App are you using?

Current installed desktop version: 26.1016.62342, build 21477 (production channel). The app updater reports up to date.
A previous diagnostic on October 20, 2026 recorded version 26.1013.4894.0. That is a diagnostic version, not a verified version at the time of each original rejection.

What subscription do you have?

Not included in this minimal public report.

What platform is your computer?

Windows 11 Pro 25H2, build 26200.9550, native Windows/PowerShell.

What issue are you seeing?

Historical local installation-workflow commands were rejected before execution with the generic message:

blocked by policy

The tool output did not identify the enforcing component, a reason that could be corrected, or a supported review action. The affected task contexts recorded approval_policy=never and danger-full-access. The current desktop UI shows Full access.

The user checked the suggested /approve command with the correct spelling; the desktop displayed no available command. No actionable review item was available in the inspected interface.

This report asks for an actionable diagnostic and supported review/remediation path. It does not request a policy bypass, disabling safeguards, or a blanket allow rule.

What steps can reproduce the bug?

This is an existing-task incident, not a clean minimal reproduction:

  1. Submit a local installation-workflow command through the execution tool.
  2. Observe a pre-execution policy rejection without a specific rationale or review item.
  3. Attempt to locate a supported review action in the desktop; none was available in the inspected interface.

The original commands and private task material are deliberately omitted. No minimal reproducer is claimed.
The app has since been updated. The previously rejected actions have NOT been executed again on the current version, so this report does NOT establish that the current build still reproduces the rejection or that the update failed to fix it.

What is the expected behavior?

Expose an actionable reason or safe diagnostic reference and document the supported review/remediation path for a pre-execution refusal, including when Full access and approval_policy=never are active. If review is intentionally unavailable, explain that limitation and the appropriate escalation channel.

Additional information

Private technical feedback was previously submitted. The official Help Center assistant could not escalate to a human or provide a case number and directed the user to this repository.

Related symptom: #43633. That report concerns a different operation/environment; a shared root cause has not been established. This report particularly concerns the unavailable desktop review path and how an existing refusal should be handled after an app update.

Please advise how to correlate private feedback through an official private channel if necessary. This public report intentionally excludes email addresses, local paths, project names, call/session identifiers, logs, source code, documents, and attachments.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Oct 23, 2026
  2. BredOficial commented on Oct 23, 2026

    @BredOficial
    Author

    Follow-up: verified fix scope and request for an exact-action approval procedure

    The affected user authorizes this technical update and requests a supported way to complete the existing local update, without bypassing the refusal.

    Verified findings

    • Desktop updater: version 26.1016.62342, build 21477, production channel, up_to_date.
    • The active desktop-bundled executable reports codex-cli 0.163.0-alpha.11.2.
    • The public source matching that version, commit 51f97c6, does not contain the independent-literal-command classification added by Avoid false URL-launch detections in literal PowerShell commands #54076.
    • The correction is present in the standalone CLI 0.164.0 source, commit 6aaac69. This does not establish that the desktop bundles it; no standalone executor was installed or substituted.
    • Avoid false URL-launch detections in literal PowerShell commands #54076 explicitly retains conservative handling for pipelines, script state, executable strings and wrappers. The unchanged original installation-admission script contains pipelines and variable state, so it does not qualify for the new independent-literal path.
    • Inspection of the retained command found an independent loopback health URL and a validation label named START, with no direct process-launch cmdlet in that admission command. Association of a URL with a launch-alias word is a plausible scanner explanation, not authenticated attribution of the original decision.
    • A subsequent read-only diagnostic, intended only to inspect the retained command as text, was also rejected before execution with CreateProcess ... blocked by policy in the current session. It was not retried through another route. The original installation itself has not been rerun after the app update.

    These are source comparisons and retained-command inspection, not binary attestation or a successful Rust-classifier reproduction. The exact enforcing rule remains unknown.

    Specific resolution requested

    The official Permissions and Auto-review documentation describes interactive approvals and states that never does not create Auto-review requests. We therefore do not assume the historical denial was Auto-review, or that selecting another mode retroactively approves it.

    Please provide an actionable answer for this existing refusal:

    1. Which enforcement component and rule rejected the action? Please specify the minimal private diagnostic fields and official private channel needed to correlate the existing feedback.
    2. Is this particular class of pre-execution refusal eligible for a one-action manual approval? If so, give the supported Windows Desktop steps, required version, permission mode, user/admin role, and how the exact refused action becomes reviewable without weakening managed restrictions or replaying it merely to probe the policy.
    3. Does changing the UI to Ask for approval submit the existing refusal for review, or affect only future eligible requests? What is the supported recovery path when no reviewable denial record exists? The user already verified that the suggested slash command is unavailable; please do not repeat that as the sole instruction.
    4. If a code fix is required, which supported desktop build covers the unchanged stateful script? Please distinguish Avoid false URL-launch detections in literal PowerShell commands #54076's literal-only scope and standalone CLI releases from the desktop executor.
    5. If the operation cannot be approved, please identify the specific restriction and an officially supported alternative consistent with it.

    No security settings, installed binaries, application data or deployment state were changed. No model-reading calls or previously approved test suites were repeated. No private paths, email, project name, call/session identifiers, original command, logs, source code, documents or attachments are included.

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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions