Cross-session leaking during /review

Open 💬 3 comments Opened Mar 18, 2026 by backnotprop

What version of Codex CLI is running?

codex-cli 0.115.0

What subscription do you have?

$200

Which model were you using?

5.4

What platform is your computer?

mac

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

ghostty

What issue are you seeing?

Seeing something egregious happening (only observed in /review which is what i mostly use codex for)

/review pr1 # in wt1

here is my pr1 review

/review pr2 # in wt2

here is my pr2 review

/review pr3 # in wt3

here is my pr1 review <---- Issue

And I'm clearly dumbfounded because I'm in a new chat, new session, new worktree. This, to me, indicates some type of cross-session leaking.

This seems to get worse over time. It also seems somewhat random and inconsistent, but again what even doesn't help is when I run /new

So there's some weird complex session or state management issues going on.

What steps can reproduce the bug?

I don't know, bro. I'm running like four different worktrees, each one is isolated. I launch /review In each of them, somehow they end up overlapping or Codex ends up referencing older reviews from other worktrees.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗