Skip to content

Windows IDE: local observer launch rejected as “blocked by policy” without an actionable approval record #48128

Open

Description

@tradequant491-bot

What version of the IDE extension are you using?

Active: 26.5908.31748, bundled client 0.154.0-alpha.6.1. Newer installed but not active: 26.5917.62051, bundled client 0.155.0-alpha.16.3.

What subscription do you have?

codex and calude code

Which IDE are you using?

Visual Studio Code 1.138.0

What platform is your computer?

Native Windows x64. Exact Windows build was not collected.

What issue are you seeing?

An authorized local PowerShell command intended to attach an existing 24-hour stability observer to a running application was rejected before execution.

Recorded error excerpt:
exec_command failed: CreateProcess … rejected: blocked by policy

Incident: 2026-09-25 09:00:20.216 UTC / 14:30:20.216 IST.

The observer did not start. No specific policy rule, rejection rationale, or actionable review ID was exposed. The approval picker has no selectable record for this action.

The nearest recorded turn context was:
approval_policy="never"
sandbox_policy={"type":"danger-full-access"}
approvals_reviewer="user"
model="gpt-6-astra"
effort="ultra"

The reporting chain is codex_core::tools::router → CodexMcpConnection → tool error. The actual enforcing component remains unknown; we have not established an automatic-review denial.

The active client is older than the newer installed extension, but no causal link has been established.

Feedback was submitted through the IDE:
01a0d01b-9759-7d42-b1fc-5a10e6fcf86a

Affected tool call:
call_fjdz0nlUvijWoImoepeAImRc

Please identify the rejecting component and provide the supported recovery procedure. The application remains running, but its required observation is blocked.

Redacted request/error excerpts are available. No permission changes or alternate launch routes were attempted.

What steps can reproduce the bug?

Feedback ID: 01a0d01b-9759-7d42-b1fc-5a10e6fcf86a

What is the expected behavior?

Execute the operation if permitted. Otherwise, provide an actionable explanation of the responsible policy layer and the supported approval or recovery path, if available.

Additional information

No response

Activity

  1. added
    extension
    on Sep 25, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    on Sep 25, 2026
  3. github-actions commented on Sep 25, 2026

    @github-actions
    Contributor
  4. tradequant491-bot commented on Sep 25, 2026

    @tradequant491-bot
    Author

    Additional finding from reviewing the complete original rejected command:

    The same PowerShell tool request contains:

    1. Invoke-RestMethod -TimeoutSec 3
      'http://127.0.0.1:8000/api/v1/health'

    2. A separate Start-Process powershell.exe invocation whose arguments
      reference a local observer script, repository and evidence directory.

    The HTTP URL is used only by the health request. It is not an argument
    to Start-Process or the observer.

    This appears consistent with #40060:
    #40060

    Our recorded approval_policy="never" also matches the reported
    dangerous-command → Forbidden behavior.

    This is a source-supported hypothesis, not a trace establishing which
    branch our active 0.154.0-alpha.6.1 binary took.

    Please confirm whether #40060 covers this occurrence and identify a
    supported fixed release or action-specific approval procedure.

    Feedback ID: 01a0d01b-9759-7d42-b1fc-5a10e6fcf86a

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

    bugextensionsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions