Skip to content

Windows: Codex turn/start fails with AbsolutePathBuf error due to mixed Linux/Windows cwd #54262

Open

Description

@ivboro78

Bug description

Codex in the ChatGPT Windows desktop application repeatedly fails to submit follow-up messages with the error:

invalid turn/start params: AbsolutePathBuf deserialized without a base path

The first task in a new conversation may complete successfully, including communication with Blender MCP. However, subsequent messages fail. Creating new conversations does not reliably resolve the issue.

Environment

  • OS: Windows 11, build 26200
  • Application package: OpenAI.Codex_26.1007.9446.0_x64
  • CLI version in session metadata: 0.162.0-alpha.17.2
  • Blender: 5.2.2 LTS
  • Blender MCP addon: 1.8, protocol 13
  • Subscription: ChatGPT Plus

Steps to reproduce

  1. Open the ChatGPT/Codex Windows desktop application.
  2. Start a new conversation with a valid Windows working directory.
  3. Run a task using Blender MCP. The task completes successfully.
  4. Send another message in the same conversation.
  5. Observe that the message fails with an AbsolutePathBuf error.
  6. Repeat in another conversation. The failure can recur.

Expected behavior

Follow-up messages should be accepted and executed using the valid Windows working directory.

Actual behavior

thread/resume succeeds, but turn/start fails with:

  • JSON-RPC error code: -32602
  • Failure reason: invalid_config
  • Log event: [Composer] submit failed

Application logs contain a malformed working directory combining a Linux cloud workspace prefix with an absolute Windows path:

/tmp/codex-cloud-agent-…/app_servers/thread_service/workspace/C:\Users\Иван\Documents\Codex\2026-10-15\new-chat-3

Similar malformed paths were found in .codex-global-state.json under queued-follow-ups for three conversations.

The incorrect Linux prefix is not present in config.toml. The actual Windows working directory exists and is accessible.

Example failure

  • Date: October 15, 2026
  • Time: 10:44:06 UTC
  • Conversation ID: 01a13f25-5649-7290-9414-195e320f6059
  • Request ID: 55e5d608-babd-4e6f-bb4f-140a242731bd

Additional information

Blender MCP is functioning correctly and successfully read 32 mesh objects from the open project. The issue appears related to working-directory serialization or session restoration rather than Blender itself.

No internal application state was manually modified.

Requested assistance

Please investigate the handling of Windows working directories in the Codex thread service, especially during thread/resume, turn/start, and queued follow-up restoration.

A safe workaround that preserves existing conversations and MCP settings would be appreciated.

Activity

  1. added
    bug
    app
    windows-os
    app-server
    on Oct 15, 2026
  2. OpenGateAdmin commented on Oct 15, 2026

    @OpenGateAdmin

    Additional field-level evidence for the Windows follow-up failure in #54262:

    Windows package 26.1007.9446.0, bundled CLI 0.162.0-alpha.17.2. Both failing requests logged the following immediately before turn/start returned -32602, invalid_config, and AbsolutePathBuf deserialized without a base path:

    requestRuntimeWorkspaceRootCount=0
    requestSandboxPolicyType=workspaceWrite
    requestSandboxWritableRootCount=1
    requestPermissionProfile=null
    useAppServerPermissionDefault=true
    

    The preceding resume had a nonlocal execution environment attached and inherited a workspace-write policy with one writable root from thread settings.

    The schema generated by the bundled CLI references AbsolutePathBuf only in top-level runtimeWorkspaceRoots and sandboxPolicy.writableRoots. Given the zero/one counts, the inherited sandbox writable-root field is the likely failure, rather than cwd itself. Its raw value is not logged, so the exact offending path is unconfirmed.

    An isolated no-auth app-server probe with an empty input and nonexistent thread ID reproduced the exact parsing error with a foreign-platform top-level workspace root and a relative sandbox writable root. The same foreign-platform path under environments[].runtimeWorkspaceRoots passed deserialization and reached the nonexistent-thread check. A foreign cwd alone also passed parsing. No actual conversation was created or resumed.

    Please check whether the desktop turn-start builder duplicates executor-native writable roots into the coordinator's top-level sandboxPolicy when preserving an inherited workspace sandbox under server-default permissions. A repair should preserve the executor's effective restrictions while avoiding native-path deserialization on the wrong platform. A supported in-place repair for existing conversations is needed; the affected chat does not display a permissions picker.

    This report does not claim the desktop defect has been repaired, and no application state, permissions, or databases were manually changed.

  3. etraut-openai commented on Oct 16, 2026

    @etraut-openai
    Contributor

    (response from codex)

    Thanks for the detailed report. We believe a recent fix addresses this follow-up failure. Please update Codex and try again.

    If it still occurs, please share the updated app version, whether the chat is projectless or attached to a project, and a fresh error timestamp. That will help us check whether you’re hitting a remaining edge case.

  4. Ads-tani commented on Oct 16, 2026

    @Ads-tani

    Follow-up after the maintainer's Oct 16 reply:

    • The affected existing dot-created task is projectless (projectId: null) and reports hostId: durable.
    • Installed Windows package: OpenAI.Codex 26.1013.3656.0 (Get-AppxPackage). The desktop updater currently reports installed app version 26.1013.31256, build 20586, production channel, status up_to_date (these two version fields come from different app surfaces).
    • At approximately 2026-10-16 08:50 UTC, after the 05:46 UTC maintainer reply, a new desktop/official cross-thread follow-up to that existing task still failed before a receiving turn started with invalid turn/start params: AbsolutePathBuf deserialized without a base path. Readback showed the target remained idle with no new turn. Dot-originated turns to the same task can still start.
    • No private task IDs, user paths, credentials, or full logs are included here. We have not repeated the same failed request after confirming no update is currently eligible on this installation.

    Is the mentioned fix already included in this production build, or is a newer build still rolling out? If the former, is there a supported in-place recovery for an existing affected durable task that preserves its history and permissions?

  5. kensugit commented on Oct 24, 2026

    @kensugit

    Follow-up for an existing Windows-bound, projectless durable chat after updating and restarting Codex.

    The configured desktop updater currently reports version 26.1021.22027, build 21747, production channel, status up_to_date. The affected existing chat reports projectId null and hostId durable through the official thread inventory.

    At 2026-10-24 02:38 UTC, an official cross-thread message failed with invalid turn/start params: AbsolutePathBuf deserialized without a base path. Official history reads still work. A subsequent message during an active turn was actually received and acknowledged; we do not treat that intermittent success as recovery of idle turn/start. No retry loop or additional failure reproduction was performed for this report.

    Can maintainers confirm whether this production build includes the announced fix, identify the rejected path-valued field and receiving runtime, and provide a supported in-place repair preserving the original chat history and permission scope?

    No installed app files, persisted task state, permissions or production services were modified. This report omits task IDs, private paths, raw logs, conversation content, project data and credentials.

  6. Chieflyu commented on Oct 24, 2026

    @Chieflyu

    Additional controlled comparison for the existing durable-thread follow-up failure, checked on 2026-10-24 UTC.

    A supported cross-thread send to an existing, idle, projectless Codex thread (hostId: durable) still returns:

    invalid turn/start params: AbsolutePathBuf deserialized without a base path

    Two earlier full-text sends used the explicitly returned hostId and the supported automatic-routing fallback respectively. A later single control used only a short text prompt containing no filesystem paths and produced the same error. The latest failure was observed by approximately 05:01 UTC. Official history readback after that control still showed the old completed turn, with no appended message or new receiving turn.

    A separate supported send to an existing ChatGPT conversation succeeded; its newly appended message was read back and the recipient acknowledged the diagnostic. This is a comparison between target types, not evidence that the affected durable Codex thread has recovered.

    The exposed cross-thread tool does not accept cwd, runtimeWorkspaceRoots, or sandbox writable-root overrides. We cannot capture the live serialized turn/start request or the desktop package version from the remote sender environment, so neither the precise rejected field nor applicability of the previously announced fix is confirmed. We have not edited persisted thread state, changed permission scope, moved the affected thread, or patched app binaries. No further identical retry loop is running.

    Could the maintainers please confirm:

    1. Which currently released desktop build contains the durable/projectless cross-thread fix, including idle turn/start?
    2. How to obtain the exact rejected path field and receiving runtime through a supported diagnostic entry?
    3. A supported in-place recovery that preserves the existing thread history and effective workspace restrictions?

    This report contains no private thread IDs, user paths, conversation text, business evidence, credentials, or raw logs.

  7. fromraiderv-hash commented on Oct 29, 2026

    @fromraiderv-hash

    Controlled active-vs-idle comparison on 2026-10-29 after checking the configured updater:

    • Windows MSIX 26.1023.6621.0; updater reports app 26.1023.51421, build 22530, prod, up_to_date.
    • A plain official cross-thread message to an existing local chat succeeds and the recipient acknowledges it.
    • The same official tool can deliver an additional message to an active durable dot chat; the recipient explicitly acknowledged the marker.
    • Sending a follow-up to that same durable chat after it becomes idle still fails before a receiving turn starts: invalid turn/start params: AbsolutePathBuf deserialized without a base path.
    • Latest failure timestamp: 2026-10-29T02:19:05.614Z; invalid_config / -32602 / turn/start.
    • Earlier failures logged requestRuntimeWorkspaceRootCount=0, requestSandboxPolicyType=workspaceWrite, requestSandboxWritableRootCount=1, requestPermissionProfile=null. The raw root value was not captured; the rejected typed path is not established.
    • Direct input through official ChatGPT web starts a successful turn in the same original durable chat with the existing Custom permissions unchanged. Idle cross-thread start remains broken after those successful web turns.

    Please identify the path-valued field and receiving platform, and provide a supported in-place fix that preserves the original chat history and effective workspace restrictions. Active-turn steering success must not be treated as successful idle turn/start.

    No persisted task state, permissions or installed application files were modified. Private chat IDs, usernames, paths, content and raw logs are omitted.

  8. BIG-legion commented on Oct 30, 2026

    @BIG-legion

    Fresh Windows evidence for the existing follow-up failure, checked on 2026-10-30 UTC.

    Installed MSIX: OpenAI.Codex_26.1027.3384.0_x64 (package metadata, not the About-dialog version). Bundled CLI: 0.166.0-alpha.5.1. Platform: Microsoft Windows NT 10.0.26300.0 x64. The affected existing chat reports hostId=durable and belongs to a desktop project.

    At 11:08:38 UTC, the official cross-thread send failed before a receiving turn started:

    invalid turn/start params: AbsolutePathBuf deserialized without a base path
    JSON-RPC -32602
    useAppServerPermissionDefault=false
    requestSandboxPolicyType=workspaceWrite
    requestSandboxWritableRootCount=1
    requestRuntimeWorkspaceRootCount=0
    requestPermissionProfile=null
    

    Read-only inspection found the target's saved sandbox writable roots were ["/tmp"]; its retained roots contained both /tmp and the native Windows project directory. The target cwd had a POSIX cloud-workspace prefix followed by a Windows drive path. The installed request builder filters writable roots by the cwd's path family. Together with the zero/one counts, this strongly points to sandboxPolicy.writableRoots[0] containing /tmp. The failed outbound JSON was not captured, so that exact live value remains a reconstruction.

    A controlled probe against the bundled native Windows codex app-server --stdio distinguishes the typed field from cwd. Each request used empty input and a nonexistent fixed thread ID; no conversation or model request was created:

    • cwd="/tmp": passed parameter parsing, then returned thread not found.
    • A native Windows sandbox writable root: passed parsing, then thread not found.
    • sandboxPolicy.writableRoots=["/tmp"]: reproduced AbsolutePathBuf deserialized without a base path.

    Later, official sends to the same idle target succeeded at 11:22:22 and 11:24:04 UTC. Desktop logs identify turn/start, and the recipient's new reply was read back. These successful requests logged useAppServerPermissionDefault=true, no explicit sandbox policy, and zero sandbox/runtime root counts. This was a real new-turn start, not active-turn steering.

    We did not edit persisted task state, permissions, databases or installed app files between those attempts. The source of the request-branch change is unknown, and the saved /tmp entry remains. We therefore do not claim a durable repair.

    Could maintainers confirm the supported way to repair existing Windows-bound durable chats and prevent the explicit-override path from forwarding a POSIX sandbox root into the native Windows parser, while preserving the existing permission scope and history? A field-specific error or supported redacted request diagnostic would also help.

    This is an AI-assisted diagnostic follow-up authorized by the user. Private identifiers, user/project paths, conversation contents, credentials and raw logs are omitted. A separate missing-local-MCP-tools symptom is still under investigation and is not claimed to share this cause.

  9. xiangluo1986-debug commented on Nov 4, 2026

    @xiangluo1986-debug

    Additional user-authorized Windows observation on 2026-11-04, following the request in #54262 (comment) for updated-version evidence. Related: #50428. Correlation: WINDOWS-DURABLE-HANDOFF-20261104-01.

    The app's official configured updater now reports 26.1029.61003, build 24614, prod, up_to_date. This was checked after the failed send; we did not independently capture the exact running build at the failure instant. An earlier separate host-diagnostic snapshot reported Windows package version 26.1027.3384.0 and CLI 0.166.0-alpha.5.1; those are separate observations, not assumed equivalent version fields.

    Observed workflow, not a deterministic minimal reproduction:

    1. Use the official task inventory to identify an existing local Codex task and an existing durable diagnostic task.
    2. Official reads succeed. Two consecutive, nonempty local-history pages took approximately 47ms and 145ms. The durable target's existing history was also readable and it was idle.
    3. One authorized mcp__codex_app__send_message_to_thread call targeted that existing diagnostic task using the inventory-returned threadId and hostId: "durable", with plain-text diagnostic content, no attachments, and no model/thinking overrides.
    4. The exact returned result was isError: true with:
    invalid turn/start params: AbsolutePathBuf deserialized without a base path
    

    The failed-send observation was recorded by approximately 2026-11-04 07:20 UTC; this is our local evidence-recording time, not a captured wire-request timestamp. No successful acceptance or receiving-turn receipt was returned. Subsequent official readback showed the previous completed turn and no correlation marker in that returned page; we do not treat that absence alone as proof of nondelivery. The send was not retried.

    The durable target's returned cwd had the already-reported shape of a POSIX cloud-workspace prefix containing a Windows drive path. Project attachment was not established in our captured metadata. The exposed send interface offers no cwd/base-path or sandbox-root parameters. We have not captured the serialized turn/start payload or identified the precise offending field.

    This specific local-to-durable failure does not establish the sole cause of a separate dot-to-local handoff problem. The connected Windows device was visibly online. Official actual-host diagnostics reported working HTTP/WebSocket connectivity and successful local state/history/queue database integrity checks; restricted-sandbox failures were not mistaken for database corruption.

    Could maintainers confirm a fixed build or supported in-place repair for this existing-task route, and a supported field-specific diagnostic for the rejected typed path? Please preserve original task identity, history, approvals, and workspace restrictions.

    No task recreation, permission broadening, private-state or installed-binary edits, restarts, customer actions, or further failed-send probes were performed to file this follow-up. This report omits private thread IDs, usernames, machine names, customer/business content, actual filesystem paths, credentials, full prompts, session transcripts, and raw logs.

  10. leonardoghirlinzoni-bit commented on Nov 6, 2026

    @leonardoghirlinzoni-bit

    Additional user-authorized Windows diagnostic, checked 2026-11-06 UTC.

    Windows desktop cannot resume an existing projectless durable task, while both the same task and its original dot accept messages through the official ChatGPT website.

    Current installation and impact

    • Windows package: OpenAI.Codex 26.1103.3517.0.
    • In-app updater reported 26.1103.31037, build 25241, production channel, up_to_date in this diagnostic session. Package and runtime version fields are reported separately.
    • Bundled CLI: 0.167.0-alpha.3.2.
    • Existing affected task: projectless, host durable, connected to a native Windows execution environment. Its original identity and history have been preserved.
    • Desktop UI displays: Falha ao retomar o chat — Invalid request: AbsolutePathBuf deserialized without a base path.
    • The official desktop send_message_to_thread tool returns the same error. Reads still work.

    Evidence from 2026-11-06 UTC

    • Desktop log recorded failed thread/resume with JSON-RPC -32600 at 13:12:07.414Z. UI resume failures were recorded repeatedly before that.
    • User reported the selected desktop mode was Ask for approval and reselected the same mode. The send failed again.
    • At 13:36:00.780Z the log recorded thread/settings/update returning -32601. The installed client has a fallback for unsupported settings updates; this event alone does not establish a second independent root cause.
    • The saved per-thread policy snapshot remained workspaceWrite with writableRoots ["/tmp"], networkAccess false, excludeTmpdirEnvVar true, excludeSlashTmp false, approvalPolicy on-request and approvalsReviewer auto_review.
    • The recorded durable cwd combines a POSIX cloud workspace prefix with a Windows path. No real private path is included here.
    • An isolated probe used only empty input or resume parameters with a nonexistent fixed thread ID; no conversation or model turn was created. On the installed native Windows app-server: a POSIX cwd alone passed parsing; runtimeWorkspaceRoots ["/tmp"] reproduced the exact resume error; native absolute Windows roots passed parsing. A POSIX sandboxPolicy.writableRoots value reproduced the error at turn/start, while a native absolute Windows value passed.
    • At approximately 13:39 UTC, an authorized message sent via the official ChatGPT website reached the same original dot and received an explicit acknowledgement.
    • At approximately 13:40 UTC, a follow-up sent via the official website to the same original task started a new turn and received its acknowledgement. The completed turn was independently read back using the official read_thread tool.
    • The web task still displayed Custom permissions; no permissions were changed there.
    • A subsequent desktop-tool send still returned AbsolutePathBuf. Therefore web success does not establish a desktop repair.

    Scope of conclusions and request

    The isolated parser tests establish the foreign-path failure mechanism, not the exact serialized field in the live failing request. The complete outgoing request was not captured. Please identify the rejected field and receiving runtime, and provide a supported in-place repair or fixed desktop/service version that preserves the original task history and effective workspace restrictions.

    No installed binaries, persisted state, databases, credentials, sandbox controls or approval policies were edited by the diagnostic agent. No private paths, task identifiers, conversation contents, source files or raw logs are included in this report. The user's own re-selection of Ask for approval is described above.

  11. carlmattsimpao commented on Nov 7, 2026

    @carlmattsimpao

    I’m still seeing this on Windows on November 7, 2026, with existing cloud-backed Codex chats.

    Windows app package: 26.1103.4239.0
    Bundled runtime: 0.167.0-alpha.3.2

    When I open an existing cloud-backed chat in the Windows desktop app, it fails to resume with: “AbsolutePathBuf deserialized without a base path.” The same chat’s history opens on the ChatGPT website, and I can send a message there and receive a response.

    Desktop logs recorded failures for two affected chats around 07:35–07:38 UTC. A separate desktop-origin message to a cloud-backed chat also returned the same error, while a local-to-local message succeeded.

    The saved working-directory metadata appears to combine a Linux workspace prefix with a Windows path. I haven’t captured the full failing request or confirmed which field is rejected, so that’s only a clue.

    Could you confirm whether this app version includes the previously mentioned fix, and suggest a supported way to diagnose or repair the affected chats without losing their history or changing their permissions?

  12. componetplus commented on Nov 8, 2026

    @componetplus

    We are encountering the same AbsolutePathBuf deserialized without a base path error in our multi-agent workflow.

    Our environment:

    • Windows desktop app, running natively without WSL.
    • Custom Node.js code managing task registration and lifecycle.
    • The error occurred in the built-in conversation tool when trying to send a task from one existing conversation to another.
      We have built an isolated prototype of a queue with central state tracking and duplicate-prevention controls; it is not yet live. The failed transfer remains in an uncertain state: we have not found a new turn in the receiving conversation, but we cannot confirm whether the request was admitted or queued. We have not retried or reset it.

    Has anyone found a reliable way to identify or correct the workspace or sandbox path involved before it reaches the conversation tool? Is there a supported workaround that does not require changing the permission profile to “Approve for me”?

    Any insight would be appreciated!

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

    appapp-serverbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions