Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Codex Desktop 26.924.22138 Build 11645 Windows package 26.924.2738.0 Codex runtime 0.158.0-alpha.2.1
What subscription do you have?
ChatGPT pro 5x
What platform is your computer?
Windows 11, x86_64 Codex Desktop with Ubuntu 24.04 under WSL2
What issue are you seeing?
Additional finding — Windows-native execution fails with ERROR_DIRECTORY (267)
I also switched the Codex execution environment from WSL to native Windows.
The failure changes.
Instead of the WSL permission-profile serialization panic, native Windows execution reports:
exec_command failed: CreateProcess {
message: "Rejected(\"Failed to create unified exec process:
CreateProcessWithLogonW failed: 267\")"
}
Windows error 267 corresponds to:
ERROR_DIRECTORY
The directory name is invalid.
This may be related to the same Windows/WSL path-state problem.
The session/project context previously reported its working directory as:
/mnt/d/
which is valid in WSL but is not a valid native Windows working-directory representation.
The corresponding native Windows path would be:
D:\
or, for the project:
D:\The_Ark
This suggests there may be two manifestations of the same path migration/normalization problem:
WSL execution
permission profile
→ Windows/WSL path normalization
→ non-lossless PathUri/permission serialization
→ panic before tool startup
Observed error:
failed to serialize permission profile:
permission path cannot be represented losslessly
Native Windows execution
stored/session working directory remains WSL-style
→ /mnt/d/
→ passed to CreateProcessWithLogonW
→ ERROR_DIRECTORY (267)
Observed error:
CreateProcessWithLogonW failed: 267
Please verify that switching execution environments canonicalizes:
- workspace root;
- working directory;
- allowed paths;
- permission-profile paths;
between Windows and WSL representations rather than reusing the previous environment's path representation.
What steps can reproduce the bug?
-
Start Codex Desktop on Windows 11.
-
Configure Codex to use Ubuntu 24.04 under WSL2 as the execution environment.
-
Open or create a project on the D: drive. In my case the workspace is on:
D:\The_ArkThe corresponding WSL path is:
/mnt/d/The_Ark -
Start a completely new Codex chat/project. The issue is not limited to an older migrated conversation.
-
Ask Codex to execute even a trivial command that does not require project filesystem access, for example:
printf "CODEX_TOOL_OK\n"
-
The tool never starts. Codex fails before shell execution with:
failed to serialize permission profile:
permission path cannot be represented losslesslyA more detailed occurrence was:
Fatal error: tool task failed to receive:
JoinError::Panic(..., "failed to serialize permission profile: permission path cannot be represented losslessly", ...) -
The same error occurs for pwd and for paths such as:
/
/tmp
/mnt
/mnt/d
/mnt/d/
/mnt/d/The_Ark -
Regranting project/D: drive permissions does not resolve the issue.
-
Creating a completely new project and completely new chat also does not resolve it.
-
If I switch Codex from WSL execution to native Windows execution, the failure changes to:
CreateProcessWithLogonW failed: 267
So both execution environments currently fail, but with different path-related errors.
What is the expected behavior?
Codex should successfully initialize the local tool/sandbox environment and execute commands.
For example:
printf "CODEX_TOOL_OK\n"
should return:
CODEX_TOOL_OK
and:
pwd
should execute normally.
When using WSL2, Codex should consistently canonicalize Windows and WSL workspace/permission paths.
Equivalent drive-root representations such as:
D:
/mnt/d
/mnt/d/
should not cause the permission profile serializer to panic because of a lossless round-trip mismatch.
When switching to native Windows execution, Codex should use a valid Windows working directory such as:
D:\The_Ark
rather than retaining a WSL-style working directory such as:
/mnt/d/The_Ark
A malformed or non-lossless permission entry should also ideally produce a recoverable diagnostic identifying the problematic entry instead of preventing every local tool from starting.
Additional information
This started after Codex Desktop was updated. The PC had been off/restarted after approximately one week, and the same project/filesystem had worked normally with Codex before the update.
Environment:
Codex Desktop: 26.924.22138
Build: 11645
Windows package: 26.924.2738.0
Codex runtime: 0.158.0-alpha.2.1
OS: Windows 11 x86_64
Linux environment: Ubuntu 24.04 under WSL2
Sandbox: workspace-write
Permission profile: managed/restricted
Review mode: auto_review
Hardware:
AMD Ryzen 9 5950X
96 GB RAM
NVIDIA GeForce RTX 5060 Ti 16 GB
Samsung 990 PRO 2 TB workspace drive (D:)
A read-only diagnostic was able to inspect the visible permission profile before normal tool execution.
It contained both:
/mnt/d
/mnt/d/
A normal wslpath string round-trip showed:
/mnt/d
→ D:
→ /mnt/d/
so the original /mnt/d string is not returned exactly, whereas /mnt/d/ round-trips normally.
This does not prove that this is the exact entry rejected by Codex's internal PathUri serializer, because the failing internal entry is not exposed in the error message. However, it appears relevant to the "cannot be represented losslessly" error.
The diagnostic also found both Windows and WSL project registrations in local Codex configuration and evidence of previous project migration state. However, the bug also reproduces in a completely new project and new chat.
Importantly, even a filesystem-independent printf command fails before execution. Therefore there is currently no evidence that the underlying NTFS filesystem, D: drive permissions, Git repository, or project files are causing the failure.
Native Windows execution produces a second potentially related symptom:
CreateProcessWithLogonW failed: 267
Windows error 267 is ERROR_DIRECTORY ("The directory name is invalid").
This may indicate that WSL-style and Windows-style working-directory/path state is not being consistently converted when switching execution environments.
No project files, Git history, databases, NTFS permissions, WSL mounts, or system settings were modified during diagnosis.
It would be very useful if the permission serialization error logged:
- the failing permission entry index;
- original path;
- normalized/internal PathUri;
- round-trip result.
That would make this regression much easier to diagnose.
Activity
Anarchist999 commentedon Sep 27, 2026
Additional reproduction on native Windows, diagnosed on 27 September 2026. This may be related, but the exact rejected permission path is still unknown and an identical underlying cause has not been established.
Important distinction: ordinary sandboxed PowerShell commands work, and the bundled Node executable runs successfully. Browser automation and native Computer Use fail at helper startup. No Windows/WSL transition has been established as the trigger in this case.
Environment
E:\Reproduction
In a fresh chat, invoke the supported Browser startup API:
Result before any page or browser state is returned:
The Computer Use skill's supported initialization also fails:
Initial attempt and one requested retry both returned:
The native-tool responses in this fresh chat did not expose underlying stderr, so they should not be treated as independent confirmation of the exact permission-path error.
Opening the Fab URL through the app's internal-browser opening tool succeeded in displaying a tab (the app then reported an Epic sign-in URL). Attempts to read that existing internal tab through the supported
cua.getTab(..., { browser: "iab" })API still failed with the trusted-Node startup error, including one retry. Thus tab display can work while agent inspection/control cannot.Controls and prior fault
node.exe, invoked through ordinary sandboxed execution, successfully reports its version and cwd.apply deny-read ACLsfault was traced to a generateddeny_read_acl_state.jsoncontaining 22 NUL bytes. That corrupt generated history was quarantined in an earlier diagnostic session; ordinary startup recreated valid JSON. The current file is valid, with an emptyprincipalsobject.Diagnostic gap
The exact error is emitted by raw_path_from_uri in permissions.rs when a PathUri fails the legacy-string round trip. Available diagnostics do not identify the offending entry.
Please expose the failing entry index, original URI, generated legacy path, and reconstructed URI in appropriate local diagnostics, and compare the Browser/native-helper permission construction with ordinary execution. A drive-root/trailing-separator issue is only a hypothesis here, not a verified cause.
No authenticated page contents, full logs, personal filesystem paths, or sign-in URL parameters are included in this report.
kbrf8bk4jg-commits commentedon Sep 27, 2026
Correction and stronger reproduction: WSL mode produces invalid mixed Windows/Linux file URIs
Correction to my previous local diagnostic:
The earlier test where the runtime appeared to launch Windows/PowerShell was performed while the execution environment had accidentally not been switched to WSL. Please disregard that result as evidence that Codex ignores the WSL setting.
I have now explicitly selected WSL and repeated the test using a completely separate test project:
This project is unrelated to the original workspace.
With WSL correctly selected, the tool cannot execute even
pwd.Codex reports that it is preparing a Linux execution environment, but path handling fails before command execution with:
and:
The second URI appears especially suspicious because it combines a Windows drive prefix:
with a WSL mount path:
resulting in:
inside a
file://URI.This appears to be an invalid hybrid Windows/Linux path representation.
Minimal reproduction
Select WSL as the Codex execution environment.
Start a new chat.
Attempt:
pwdObserved errors:
No project files need to be accessed for the failure to occur.
Possible relationship to the original error
The original workspace fails earlier with:
This new reproduction suggests that Windows ↔ WSL path conversion may be producing inconsistent
PathUri/ file-URI representations.A possible conversion chain appears to involve:
I cannot determine which internal conversion produces the hybrid URI, but this reproduction no longer depends on the original project.
The failure reproduces in a fresh D: test project with WSL explicitly selected.
No files, permissions, mounts, WSL settings, or project data were modified.
kbrf8bk4jg-commits commentedon Sep 27, 2026
Update: root cause narrowed further + reproducible WSL path workaround
I was able to narrow this down further using a completely separate test workspace and then reproduce the result against the original workspace.
Correction
One earlier diagnostic where Codex appeared to ignore the WSL setting and launch PowerShell was invalid: WSL had accidentally not been selected for that particular test.
After explicitly selecting WSL, the actual path-handling failure became much clearer.
1. Fresh D: workspace reproduces invalid Windows/Linux path conversion
I created a completely separate empty test workspace:
With WSL explicitly selected, even
pwdinitially failed before execution.Codex reported:
and, in another attempted conversion:
The second value appears to combine:
with:
into the invalid hybrid:
This reproduces independently of my original project.
2. Explicit canonical WSL path completely bypasses the failure
I then instructed Codex to ignore all Windows/file-URI representations for Linux tool execution and to use only:
while explicitly forbidding:
Result:
I repeated this in a completely new chat.
Result again:
3. Override remains stable across multiple tool calls
I then performed three separate read-only tool calls while keeping the canonical WSL root fixed.
Results:
CALL_1_OK/mnt/d/Codex_Path_Test/mnt/d/Codex_Path_Test/mnt/d/Codex_Path_TestCALL_3_OK/mnt/d/Codex_Path_TestNo path guard or serialization error occurred.
4. Same workaround succeeds against the original workspace
Finally, I applied the same read-only path override to the original project.
Canonical root:
Results:
No error occurred.
No files were read or modified during this test beyond checking that the directory exists.
Current A/B result
Automatic path handling
With WSL selected and normal automatic workspace/path handling:
can become:
or:
and Linux tool initialization fails.
The original workspace can also fail with:
Explicit canonical WSL path
When Codex is explicitly instructed to use only:
and not construct a Windows
file://URI:This behavior is reproducible in:
Current hypothesis
The underlying filesystem, D: drive, WSL mount, and original project do not appear to be the cause.
The evidence now points more specifically to automatic Windows → WSL workspace/path conversion, possibly involving the
PathUri/ file-URI representation used while constructing the permission profile or tool working directory.Conceptually, the failing conversion appears to involve something like:
being supplied to a Linux context, or:
whereas the working representation is simply:
I cannot determine where inside Codex this incorrect conversion occurs.
Temporary workaround
A reproducible temporary workaround is to explicitly force the canonical WSL project root before local tool execution:
and prohibit Windows/file-URI representations from being used for Linux tool calls.
This workaround has now survived multiple independent read-only tests.
It should not be necessary for users to provide this override manually; Codex should canonicalize the project root correctly when WSL is selected.
No filesystem permissions, WSL mounts, project files, Git state, or Windows settings were changed to make the workaround succeed.
noriji-git commentedon Sep 28, 2026
Confirmed native-Windows root cause with an isolated A/B test on the exact affected build.
Environment
End-to-end failure
await cua.getState()fails before browser enumeration:A read-only process-start trace captured the actual
codex.exe sandboxchild invocation. The generatedpermissions.node_replprofile contains a write permission for a drive root (H:\) and another write permission for an ordinary P-drive subdirectory containing Japanese characters.Installed-binary A/B test
I invoked the installed
codex.exe sandboxdirectly with effective:root = read, exactly one test path, network disabled, andcmd.exe /d /c echo ok.C:\permission path cannot be represented losslesslyerrorH:\P:\H:\.H:/\\?\H:\H:\.agentsokokokThis makes the failing property deterministic: a Windows drive-root literal is rejected by the permission PathUri/legacy-string round trip. The P drive and Unicode are not the trigger. In the Computer Use child setup payload, the ordinary P-drive subdirectory is preserved correctly; the H-drive root is the entry that cannot be serialized.
All tested equivalent root spellings also fail, so there is no representation-only workaround that keeps full-drive permission on this build.
Please add regression coverage for Windows drive roots and include the offending original/reconstructed path in the diagnostic. A valid drive-root permission should either round-trip or be rejected at profile-edit time, not prevent Computer Use and local helper startup.
noriji-git commentedon Sep 28, 2026
Final single-variable confirmation using the exact complete
permissions.node_replargument captured from the failed Computer Use child process:windows sandbox failed: permission path cannot be represented losslessly"H:\\" = "write"removedokNo other permission entry, executable, working directory, environment setting, or payload command was changed. The successful profile still contained the ordinary P-drive Unicode subdirectory permission.
This confirms the Windows drive-root permission entry is the direct cause of this native-Windows Computer Use startup failure on 26.924.22138 / runtime 0.158.0-alpha.2.1.
sqdckll commentedon Oct 1, 2026
I am seeing a potentially related regression on native Windows with an
SMB/UNC workspace, without WSL.
Workspace: \192.168.1.241\a733-helper
Current app version: 26.928.31416
Current runtime: 0.159.2
In my case, tools can run, but conversation persistence fails:
after restarting the app, the thread remains in the sidebar but its
messages are empty.
Logs repeatedly report:
failed to record rollout items:
thread-store internal error:
permission path cannot be represented losslessly
The same UNC workspace saved conversations successfully with 0.155.x.
The earliest retained error is on 2026-09-29 at 09:48:22 UTC+8.
The app startup log immediately before that reports 0.158.0-alpha.2.1,
the same runtime version reported in this issue.
Existing threads also started failing to persist new messages.
New affected threads have zero rows in thread_history_1.sqlite's
thread_items table. Local-directory conversations save successfully.
The problem persists with 0.159.0 and 0.159.2.
Could the permission-path serialization regression also affect
rollout/thread persistence for native Windows UNC workspaces?
lprati70 commentedon Oct 1, 2026
I am seeing the same
permission path cannot be represented losslesslyfailure on Windows with Codex runtime 0.159.2.During a read-only diagnostic, I located a matching error-producing check in
raw_path_from_uri()incodex-rs/protocol/src/permissions.rs. That check rejects aPathUri → LegacyAppPathString → PathUriround-trip when the reconstructed URI differs from the original. However, I do not have an internal trace proving that this exact call site produced my failure.In my case:
cwdis stored in extended-length form similar to\\?\C:\..., but I could not prove that it is the failing entry.The missing diagnostic information is:
PathUri.LegacyAppPathString.PathUri.Without those values, identifying the offending entry from outside the runtime is not reliable.
This reproduces on runtime 0.159.2, providing another affected version beyond the
0.158.0-alpha.2.1reported in this issue.Could diagnostic logging expose those four values, with appropriate sanitization? I can provide a sanitized sandbox-policy excerpt and timestamped sandbox-log excerpt, but would prefer not to attach the full state database because it may contain unrelated user data.
SilverHandCZ commentedon Oct 12, 2026
Additional confirmation: conversation history fails to persist while work continues — critical data-loss priority requested
I am reporting another occurrence of the conversation-persistence failure described by @sqdckll on October 1: the same error message, empty persisted conversation history, and work continuing despite storage failures. The identical underlying cause has not yet been established.
Please treat this as a critical data-loss issue and prioritize it urgently. Users can discover the problem only after important conversation content has already been lost.
Important: affected and normally functioning chats coexist within the same project.
The failure affects only some chats. Other chats in the very same project continue to work normally, including renaming. This is therefore not an observed project-wide failure.
The investigation included a working comparison chat from the same project as an affected chat. A shared project location alone does not explain the difference. The exact trigger remains unknown; this observation does not rule out an interaction between project configuration and individual chat state.
Successfully testing one chat in a project does not establish that other chats in that project are saving correctly.
Environment
Observed on October 12, 2026. Versions were obtained from local logs and session metadata:
26.1007.2143426.1007.2314.00.162.0-alpha.17.2.codexdirectory.UNC is an environment detail, not a confirmed trigger.
I have not performed a controlled comparison establishing that projects with local workspace paths are unaffected. UNC paths may be relevant to the permission-serialization failure, but their role remains unproven. Please do not restrict the investigation or affected scope to UNC projects based on this report.
Observed behavior and diagnostic evidence
I initially noticed that two chats in different projects could not be renamed. Other chats, including chats within the same project, renamed successfully.
The visible warning was only a generic red notification: “Changes could not be saved” — “Změny se nepodařilo uložit” in the Czech UI. It did not tell me that conversation history was also failing to persist.
Read-only diagnostics found:
failed to record rollout itemserrors containingthread-store internal error: permission path cannot be represented losslessly.thread/name/setfailures with error code-32603and the same permission-path error.thread_history_1.sqlite→thread_itemsfor all three affected chats identified during the investigation, including a replacement chat.I initially suspected that renaming a chat immediately after work started might have caused the problem. The logs contradict that hypothesis: persistence failures occurred before the failed rename requests.
All timestamps below are UTC on October 12, 2026:
Both original chats later became renameable, but their conversation histories were empty. I subsequently archived them. Successful renaming at that point did not restore the missing history or demonstrate that the underlying defect was fixed.
Impact
The practical impact was limited in my case only because I maintain an automatically updated project journal outside the chat history. That journal preserves important findings, decisions and progress independently of the conversation. It allowed me to continue working despite the missing history.
Most users will not have that safeguard. They could lose an entire day of analysis, discussion, decisions and instructions held only in the chat. Project files already written to disk may survive, but they do not replace the missing conversation.
Users should not need an independent journaling system to protect themselves against silent failure of conversation storage.
Workaround limitations
Creating another chat is not a reliable workaround: the investigation found the same persistence failure in a replacement chat.
Testing a rename may expose the problem early, but a successful rename does not prove that subsequent messages are being saved. Similarly, another functioning chat in the same project does not establish that the affected chat is safe to continue using.
Unverified diagnostic lead
Affected permission profiles contained UNC share-root entries with trailing separators. A working comparison chat from the same project used corresponding roots without trailing separators.
This was not a controlled isolation of the failing entry. It establishes neither the cause nor an UNC-only scope, and it is not a tested fix.
Requested action
Please prioritize:
An application that continues a conversation while failing to save it creates a serious risk of losing users’ work. This needs urgent attention.
SilverHandCZ commentedon Oct 12, 2026
Update: confirmed persistence failures in existing chats created in July and August 2026
A broader read-only review of the local runtime logs has now confirmed that this problem also affects existing chats created weeks or months earlier.
The following are two additional affected chats, separate from the two originally reported. Creation timestamps come from the application’s thread metadata; failure timestamps come from the local runtime log. All timestamps are UTC.
For these two chats, the log contains respectively 197 and 151 occurrences of:
failed to record rollout items: thread-store internal error: permission path cannot be represented losslesslyThere are also associated failures to flush the rollout when completing a turn. These counts represent failed persistence calls, not a count of lost messages.
This establishes that the failure is not limited to newly created chats. An existing chat with a stored name and previous history cannot be assumed to continue saving new conversation data correctly.
The creation dates do not establish when the defect first started affecting these chats. I have also not determined the exact amount of missing content or whether their earlier history remains complete.
Correction to my earlier comment
Existing chat 2 is the chat I previously described as a working comparison. That assessment was based on its stored name and available previous state. The broader log review now shows that new persistence operations failed in that chat too.
Please disregard that chat as a healthy control. Consequently, the earlier trailing-separator comparison does not establish a working-versus-failing distinction. The exact trigger remains unproven, and UNC remains an environment detail rather than a confirmed cause or scope boundary.
Please include resuming and continuing existing chats, along with changes to their effective permissions and persisted state, in the investigation. Testing only new-chat initialization would miss this confirmed case.
This increases the practical risk: users can return to an established chat, continue working, and encounter failures to save new content without a clear warning. Please retain urgent priority for the conversation data-loss aspect of this issue.
SilverHandCZ commentedon Oct 12, 2026
Critical update: reproducible failure to save new messages in both existing and newly created chats — normal work is now blocked
This has become a work-stopping data-integrity issue for me. I cannot continue normal work in the desktop app while it can fail to save conversations without a clear warning during the work. Please treat this as a critical, urgent persistence failure.
During today's work alone, the available application logs have already recorded 3,210 persistence-failure events with the exact reason
permission path cannot be represented losslessly— WITHOUT A SINGLE IN-APP WARNING THAT CONVERSATIONS WERE NOT BEING SAVED DURING NORMAL WORK.This count covers 12 October 2026 from 00:00 Europe/Prague up to the check at 15:06:31 Europe/Prague / 13:06:31 UTC. Of these events, 1,303 are directly attributed to 9 user chats, 1,680 to internal permission-review sessions, and 227 have no resolved chat attribution. These are verified persistence-failure log events, not counts of lost messages or independent incidents.
The generic failure notification I encountered when trying to rename a chat did not warn me that the conversation itself was failing to save. Thousands of internal failures, with no actionable persistence warning during the work, are an unacceptable gap between what the application knows and what it tells the user.
The latest checks show that this affects both new chats and new messages in older chats, across multiple existing projects. Starting another chat in an affected project has repeatedly failed to solve it.
1. Older history survives, but new work is not saved
I verified an existing chat created on 2026-08-25 at 11:22:53 UTC, thread ID
01a038a8-aa18-7f90-b632-5507fb1253e5.This is an important correction to the apparent “empty chat” symptom: an existing chat can retain its old history while silently failing to save its new conversation. Seeing old messages is therefore not evidence that current work is being saved.
2. Replacement and fresh test chats fail in the same project
A replacement overview chat created on 2026-10-12 at 10:19:19 UTC, thread ID
01a12f9f-b8df-7823-8030-0710eba4ca27, has no saved actual user message or assistant response. Its transcript contains only initial technical records and injected instructions. The log contains 95 persistence-failure events for this chat.I then explicitly requested one more minimal test in the same project:
01a1302c-8f05-77a0-947b-d2e6d75688cd.interruptedanderror: null.All three cases report the same error:
permission path cannot be represented losslessly. These event counts are diagnostic errors, not counts of lost messages. The minimal test does not establish that an assistant response was generated; it establishes that even the submitted prompt did not persist.3. Scope and limits of the findings
Similar failures have also been verified in another existing project, including newly created replacement chats. The problem is not limited to one old thread or its original contents. However, I am not claiming that every chat in every project fails, or that a completely new project container has been tested.
The affected examples use UNC project paths, while the inspected chat transcripts are stored locally on C:. UNC is a condition of these observations, not a proven exclusive cause. Please investigate shared project settings, permission-path handling and persistence state without assuming that either the project files are corrupt or local-path projects are necessarily unaffected.
4. Why this blocks normal use
There is no reliable, ordinary user-facing way to know whether the conversation currently visible in the app has actually been saved. Technical inspection of logs and transcript files revealed these failures. That is not a reasonable requirement after every message or before every application shutdown.
In the original affected conversations, work could proceed without a clear persistence warning. A failed rename exposed the problem, but users should not have to attempt renaming chats to discover that saving has failed. The new test also shows that successful creation and title assignment do not prove that the conversation is being saved.
My practical loss was limited only because I maintain a separate, automatically updated project journal. That journal preserves important decisions and results outside the chat. It does not restore the missing conversation. Users who rely on chat history alone could lose an entire work session, potentially a full day, and may only discover it after closing or restarting the app.
For me, this means stopping normal work in the app until saving is reliable or a verified workaround is available. Continuing in an older chat, seeing its previous history, or creating another chat in the affected project does not provide the assurance needed. Silent failure of conversation storage is an unacceptable failure of a basic requirement of this product.
5. Requested action
Related support case: 17065801, reported as escalated to a support specialist. The new test thread ID and UTC timestamps above should help correlate the failure with diagnostic logs.
MirceaStefanescu commentedon Oct 12, 2026
Native Windows helper still fails before startup on runtime 0.162.0-alpha.17.2, while the official MXC compatibility probe passes.
Observed on 2026-10-12:
The documented command was run exactly twice using the installed runtime, once from a drive root and once from a normal subdirectory on the same volume:
Both returned MXC_OK with exit code 0 (134 ms and 137 ms). The saved config.toml SHA-256 was unchanged before and after both probes.
Immediately afterward, the supported native Node tool could not execute a literal-output request. Its diagnostic was:
The browser's supported CUA initialization also failed before returning browser state, with a trusted-Node exit error; one requested retry after the kernel reset produced the same result.
The active Desktop permission context includes literal Windows volume-root entries. The exact rejected entry is not exposed, and this test does not prove which entry is responsible. Changing the command's working directory is not equivalent to changing an explicit path entry in the generated helper profile.
The bundled marketplace catalog is present and parses successfully. No restart, saved permission/configuration edit, ACL change, sandbox downgrade, runtime replacement, or browser-session extraction was performed for these probes. Only the runtime's normal operational temporary/log writes were permitted.
Could the helper diagnostics identify the failing permission-entry index and original/reconstructed URI, or provide a supported correction that preserves the existing access boundaries? The difference between the documented :workspace probe and the actual native-helper policy appears relevant.
Reference: https://learn.chatgpt.com/docs/windows/windows-sandbox#mxc-compatibility
No full logs, conversation history, credentials, account identifiers, or personal directory names are included.
SilverHandCZ commentedon Oct 12, 2026
Critical update: reproducible UNC share-root trigger, inconsistent path handling, and silent loss of conversation updates
I have narrowed the reproduction down to a simple UNC share-root case. There are two separate defects: inconsistent handling of paths, and silent failure to save conversations. The second defect is more serious because it can leave users and the agent working from an incomplete, outdated history without any warning.
Simple reproduction
\\server\share. Use the share root itself, without a subdirectory such as\\server\share\folder.\\server\share\, adding a trailing separator. That happened in my tests.permission path cannot be represented losslessly. Initial technical records may still exist; their presence does not prove that the conversation was saved.This is a reproducible pattern in my tested environment. Earlier comparisons also found working and failing chats within the same project, with different effective allowed paths. Please inspect the actual chat permissions rather than assuming that every chat in a project behaves identically. These findings do not establish that every UNC configuration fails or that other configurations cannot have persistence problems.
1. Inconsistent path handling
In a controlled diagnostic experiment, I removed the trailing separator from the test project's stored path in both the application JSON and its SQLite project record while the app was closed. After restarting, both stores and the application's project listing still showed the path without the separator.
Nevertheless, a completely new chat created after those changes received both variants in its effective allowed write paths:
Its initial working directory was also without the trailing separator. Saving still failed. This is therefore not explained solely by the old state of an existing chat, and manually changing those two project records did not provide a workaround.
The exact internal function responsible is not established. Whether adding the separator is intentional or accidental does not change the requirement: the application's path handling and persistence layer must agree on a representation they can save.
2. Silent failure to save conversations
For one fresh test created after both project records were corrected, thread
01a130ca-556c-7041-9bf1-c22594c244e1, the logs recorded 21 directly attributed persistence failures on 2026-10-12, 15:45:39–15:45:54 UTC: 15 record, 4 materialize and 2 flush failures. The local transcript contained no actual user test message or assistant reply. These are log-event counts, not counts of lost messages. In the same interval there were separately 10 failures in an internal review session and 130 matching log events without a thread ID.Impact: lost work can also become execution based on outdated decisions
This is a concrete operational risk in my actual workflow. I intended to work on ConsentManager today. An older chat in that same project is already a confirmed case where previous history survived but new conversation updates did not persist. The following sequence is a realistic consequence of that failure:
The next authorized task may now be interpreted against decisions from a month ago, with the corrections and withdrawn instructions absent. Depending on permissions and approval settings, this could cause the agent to overwrite working code, apply an obsolete migration, delete files, or act on an old proposal to drop a database that the user later rejected.
The potential damage goes beyond losing eight hours of discussion: later changes to code and data could be based on an outdated account of what the user actually decided. Without a warning, neither a familiar chat title nor the presence of old messages gives the user a reason to suspect that the context is incomplete.
The loss of recent conversation updates is confirmed. The subsequent damage to code or databases is a real risk arising from that confirmed failure; it did not occur in my case. It should not take a destructive incident before this is treated with the appropriate urgency.
My own practical loss was limited because I maintain a separate, automatically updated project journal outside the chat. That preserves important decisions and lets me reconstruct the work. Ordinary users cannot be expected to build a separate persistence system or inspect SQLite databases and logs to trust their conversation history.
Requested action
The warning and data-preservation behavior must not depend on fixing this particular UNC trigger. Conversation storage can fail for other reasons too.
DO NOT USE in project allowed FOLDERS "\\server\share" only. This will break old and new chats in this project
Related support case: 17065801. Tests used local projects and a native Windows agent. The inspected conversation files are stored locally on C:, not on the UNC share.
SilverHandCZ commentedon Oct 14, 2026
Update: three archived chats cannot be deleted; deletion errors provide no actionable cause
I have confirmed an additional problem with managing existing chats: three archived chats across two projects cannot be permanently deleted.
I removed the other archived chats individually after encountering deletion failures. Some successfully deleted chats also had problematic UNC paths, so this is not a simple distinction between chats with and without those paths.
The Settings UI reports failure without explaining the cause. For one remaining chat, the official CLI repeatedly failed:
Exit code: 1. Debug logging and
RUST_BACKTRACE=1added a stack trace but no actionable underlying cause. The available logs did not explain the failure, and the archived chat and transcript remained present. The latest reproduction was 2026-10-14, 09:25:52–09:25:56 UTC.The affected chat’s current project settings already used a specific subdirectory. Its historical permission records still contained two UNC share roots. In a backed-up diagnostic experiment, those roots were removed from the historical technical records while preserving the messages. Their removal was verified, but both UI and CLI deletion still failed with the same error.
Therefore, deletion failure is confirmed, but a shared root cause with the UNC persistence issue is not established. Removing the historical UNC entries did not resolve it.
The original saving issue also still reproduces after updating to Codex Desktop 26.1007.71326, build 20398, runtime 0.162.0-alpha.17.2: a new UNC share-root test chat did not save its message or reply and logged
permission path cannot be represented losslessly.Please investigate:
Lostriverdelta commentedon Oct 14, 2026
Additional native-Windows reproduction, verified locally on 2026-10-15 (JST).
Environment
up_to_dateat the time of testing.D:\.:rootread and aD:\workspace write grant.Browser startup failure
After resetting the supported browser runtime, the first
await cua.getState()call failed before returning any browser/tab state:Controlled comparison using the same installed, bundled CLI
MXC was selected explicitly with
windows.sandbox="mxc"; networking was disabled. The test only launched a fixed-output command.:minimal = readplus one ordinary D-drive project subdirectory granted readMXC_SCOPED_OKD:/ = readpermission path cannot be represented losslesslyA further test kept the actual working directory at
D:\while granting only necessary individual folders. The app's bundled Node executable launched and printedNODE_SCOPED_READY. This distinguishes a drive-root permission entry from the working directory alone.A temporarily saved narrow permission profile also passed the Node startup test. That diagnostic configuration was subsequently removed, and the original config was restored byte-for-byte. We did not establish end-to-end Chrome recovery, and are not presenting a single-project whitelist as a general solution.
An additional, separate MXC failure involving enumeration of an unrelated locked BitLocker drive is tracked in #50915. These two failures should not be conflated.
Please add regression coverage for valid Windows drive-root permission entries and identify the rejected entry in sanitized diagnostics. A supported correction should preserve the user's chosen access boundaries and work across projects, without requiring repeated browser restarts or project-specific recovery profiles.
No credentials, full configuration, browser contents, conversation history, or personal directory names are included.
MirceaStefanescu commentedon Oct 18, 2026
Follow-up to my earlier report: the native internal-browser helper still fails on 2026-10-18.
up_to_date. Windows package: OpenAI.Codex 26.1013.4894.0, x64.failed to prepare MXC sandbox: permission path cannot be represented losslessly. Supported CUA and Node REPL kernel resets completed, but subsequentcua.getState()initialization still returnedtrusted Node process exited unexpectedly; kernel reset, rerun your request, before any tab state was available.Could maintainers provide a supported diagnostic that identifies the failing permission entry/index and conversion stage, or the Desktop release containing a confirmed fix?
raw_path_from_uriin the currentcodex-rs/protocol/src/permissions.rsemits this error when conversion back toPathUridiffers, but the failing path in this native helper remains unknown. Related native-helper report: #49370.No private paths, credentials, browser session data, or raw logs are attached. No runtime patching, custom permission profiles, protection changes, or external-browser fallback were used.