Skip to content

Windows Work inline visualization fails: cwd URI file:///C: rejected by Windows exec-server #52473

Open

Description

@Reflexivityofmind

Summary

Work inline visualizations fail on a Windows installation, including a minimal static HTML fragment with no JavaScript, CSS, external dependencies or network calls. Reproduced October 9, 2026.

The user copied this exact error from the visualization repair action:

Error: cwd URI `file:///C:` is not valid on this exec-server host: 'file:///C:' is invalid on 'windows'

Environment

  • Windows: Microsoft Windows NT 10.0.26300.0 (OSVersion; edition/UBR not collected)
  • Running Windows desktop package: OpenAI.Codex_26.1002.7124.0_x64 (installed process path, not About dialog)
  • Internal app metadata: openai-codex-electron 26.1002.52244 (app.asar/package.json)
  • Installed CLI: codex-cli 0.162.0-alpha.2 (actual --version)
  • Visualize skill: 1.0.47
  • Executor environment/info version is 0.0.0, treated as unknown, not equated to CLI version

Minimal reproduction

Create probe-static.html in the task's writable directory:

<div id="windows-visualize-static-probe">
  <output aria-label="Static diagnostic marker">STATIC_OK</output>
</div>

Emit it using the supported inline Visualize reference. Both absolute forward-slash and JSON-escaped native backslash path forms were tested, pointing to the same file. Sanitized examples of the path payloads:

{"path":"C:/REPRO/probe-static.html"}
{"path":"C:\\REPRO\\probe-static.html"}

C:/REPRO replaces the private task directory; that example directory was not separately tested.

Expected: STATIC_OK renders inline.

Actual: both references display an internal visualization error. The repair action for this minimal file contains the exact cwd error above. The copied detail was not mapped to a particular reference, so each reference's detailed error was not independently verified.

Independent executor diagnostic

A temporary, unregistered stdio exec-server diagnostic connection was used. process/start targeted a verified nonexistent executable, so no shell or test program successfully started.

cwd Result
file:///C: -32602, exact cwd URI rejection above
file:///C:/ -32603, Windows error 2: executable not found
Full task-directory file URI Same expected executable-not-found error

The latter two passed cwd conversion and reached the intentionally missing executable. They are not successful process launches or successful inline renders.

On the same connection:

  • environment/info returned the full task-directory file URI and platformOs=windows
  • fs/readFile successfully returned the exact static fragment using its full file URI
  • Native reads with both separator forms returned identical bytes
  • Node pathToFileURL produced the same complete file URI for both forms

Thus ordinary file access works in that diagnostic context. This does not establish that inline retrieval uses the same request or permission context.

Relevant source and remaining uncertainty

The exact public error template is in native_path / process_sandbox.rs, calling PathUri::to_abs_path(). PathUri ancestor tests and native-string rendering may be useful when investigating drive-root round-tripping. The installed binary has not been proven to match this public commit exactly.

The actual upstream inline request/stack trace was not captured, so the component supplying bare file:///C: remains unknown. The inline detail comes from user-copied UI text; the RPC matrix is a separate direct measurement. A macOS comparison subsequently rendered the interactive counter successfully; details below.

Please investigate drive-root URI normalization and cwd propagation in the Work inline retrieval path. No application configuration, security settings, ACLs or binaries were changed. No private paths, business data, credentials or raw logs are included.

Related reports

These reports may help identify the owning component. A shared root cause or exact duplicate has not been established; happy to consolidate if maintainers identify the same underlying issue.

macOS control (October 9, 2026)

A fresh task on a connected Mac generated a minimal static marker and an isolated single-button counter using the supported inline visualization path. The user confirmed that the counter rendered and repeated clicks advanced it from 1 to 2 and 3. This is user-observed inline interaction, not merely a local browser or filesystem check. The static marker was not separately confirmed in that reply.

Measured Mac environment: macOS 27.0.1 (26A434), ChatGPT 26.1007.21159 (20052). This differs from the Windows application's version, so this comparison does not isolate the operating system as the sole cause. No application upgrade or configuration change was performed for the control.

Activity

  1. added
    bug
    app
    windows-os
    tool-calls
    on Oct 9, 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

    appbugtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions