The current path of newly created sessions drifts after the CodexCLI upgrade.

Resolved 💬 1 comment Opened May 19, 2026 by RonxBulld Closed May 19, 2026

What version of Codex CLI is running?

v0.131.0

What subscription do you have?

Pro

Which model were you using?

model free

What platform is your computer?

Linux 6.17.0-22-generic x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

terminal free

Codex doctor report

What issue are you seeing?

Regardless of where you start codex, the current path of the session is always ~ unless specified using -C.
It looks like:
╭─────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.131.0) │
│ │
│ model: gpt-5.5 xhigh /model to change │
│ directory: ~ │
╰─────────────────────────────────────────────╯

What steps can reproduce the bug?

Launch the Codex directly.

What is the expected behavior?

The current path of the session should be the same as the location where it was started.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗