What version of Codex CLI is running?
codex-cli 0.135.0
What subscription do you have?
corporate
Which model were you using?
gpt-5.5
What platform is your computer?
Linux 5.15.0-316.196.4.1.el8uek.x86_64 x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
macOS Terminal.app, SSH to Linux host
Codex doctor report
What issue are you seeing?
When starting Codex in an untrusted directory and selecting the option to
trust the directory, the TUI shows only:
Failed to set trust for <my_cwd_path>: config/batchWrite failed in TUI
This message is not actionable because it hides the underlying app-server/
config error. The failed operation is trying to persist project trust to the
user config, equivalent to:
[projects."<my_cwd_path>"]
trust_level = "trusted"
What steps can reproduce the bug?
-
Start Codex in a directory that is not already trusted, for example:
cd <my_cwd_path>
codex
-
At the TUI trust prompt, select the option to trust/continue.
-
Observe the error:
Failed to set trust for <my_cwd_path>: config/batchWrite failed in TUI
What is the expected behavior?
The TUI should include the underlying config/batchWrite server error, for
example:
Failed to set trust for <my_cwd_path>: config/batchWrite failed in TUI:
or otherwise surface the JSON-RPC error message/data so the user can
distinguish readonly config, invalid config, app-server failure, and
validation failures.
Additional information
No response
What version of Codex CLI is running?
codex-cli 0.135.0
What subscription do you have?
corporate
Which model were you using?
gpt-5.5
What platform is your computer?
Linux 5.15.0-316.196.4.1.el8uek.x86_64 x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
macOS Terminal.app, SSH to Linux host
Codex doctor report
What issue are you seeing?
When starting Codex in an untrusted directory and selecting the option to
trust the directory, the TUI shows only:
Failed to set trust for <my_cwd_path>: config/batchWrite failed in TUI
This message is not actionable because it hides the underlying app-server/
config error. The failed operation is trying to persist project trust to the
user config, equivalent to:
[projects."<my_cwd_path>"]
trust_level = "trusted"
What steps can reproduce the bug?
Start Codex in a directory that is not already trusted, for example:
cd <my_cwd_path>
codex
At the TUI trust prompt, select the option to trust/continue.
Observe the error:
Failed to set trust for <my_cwd_path>: config/batchWrite failed in TUI
What is the expected behavior?
The TUI should include the underlying config/batchWrite server error, for
example:
Failed to set trust for <my_cwd_path>: config/batchWrite failed in TUI:
or otherwise surface the JSON-RPC error message/data so the user can
distinguish readonly config, invalid config, app-server failure, and
validation failures.
Additional information
No response