[Bug]: Chat UI doesn't detect codex account switch but terminal does
Summary
Chat UI doesn't detect codex account switch but terminal does. Screenshot attached.
If I switch to terminal UI, the account switch is detected and im able to work with the agent.
Steps to reproduce
- Start a chat UI session
- Switch your codex account
- Go back to the chat UI session it will give an error please sign back in
Expected behavior
- Start a chat UI session
- Switch your codex account
- Go back to the chat UI session it should work seamlessly
Actual behavior
- Start a chat UI session
- Switch your codex account
- Go back to the chat UI session it will give an error please sign back in
AO version
v0.12.13-nightly.202609080619
Environment
macOS
Logs / extra context
Before submitting
- [x] I searched existing issues for duplicates
- [x] I removed secrets / tokens from logs and screenshots
@neversettle17-101 heads up: #4296 looks like it's already tracking this — worth consolidating there.
Closing as a duplicate of #4296. Both reports describe an existing Codex Chat app-server retaining stale authentication after an account switch while a fresh Terminal UI process works; #4296 has the fuller reproduction and root-cause evidence. Active PR #4355 explicitly targets both reports, so discussion can continue on #4296.