You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] CHAT HISTORY LOST AFTER ACCOUNT SWITCH !!!! #10757
Every time I switch my Codex account in Orca and restart the agents, my chat history disappears. When I use /resume, none of my previous conversations are there. Please fix this issue it's a major problem. I lose my chat history every single time I switch accounts and restart the agents.
Also the new pop-up panels that appear when switching accounts are buggy when I switch to another account and click the rrestart button they often don't restart the agents sometimes nothing happens at all and the panels just get stuck please fix this issue as well
Also when I switch accounts and close and reopen Codex it sometimes gets stuck on the previous accoun nno matter how many times I restart the application it doesn't switch to the correct account please fix this bug as well
Title: “CHAT HISTORY LOST AFTER ACCOUNT SWITCH”. Discord report lacks steps, which account type (Claude/Codex), and whether history is expected to be per-account.
Need: Orca version, which accounts switched, whether sessions still exist under the other account, and whether this is TUI scrollback vs native chat history.
Thanks for the detailed report — I was able to reproduce all three of these. They shared one root cause, and they're now fixed.
The cause was that each Codex account got its own isolated CODEX_HOME. Codex's /resume picker only reads the home it was launched with, so after a switch it saw an empty session list. Your history was never actually deleted — it was in the other account's home the whole time, which is why the extra prompt could recover it.
"Orca could not verify the originating Codex session file" — fixed separately in fix(codex): treat non-Codex transcript as stale resume metadata #10538, already shipped in v1.4.159. The resume check was treating any session file it couldn't verify as an account-safety failure, including panes labeled Codex that still pointed at a Claude session file — those threw on every launch, which is the spam you were seeing.
Everything except the #10538 fix ships in the next release.
Activity
orca-discord-issues commentedon Jul 26, 2026
via Discord<@1230924083454152794>
orca-discord-issues commentedon Jul 26, 2026
via DiscordAlso the new pop-up panels that appear when switching accounts are buggy when I switch to another account and click the rrestart button they often don't restart the agents sometimes nothing happens at all and the panels just get stuck please fix this issue as well
orca-discord-issues commentedon Jul 26, 2026
via DiscordAlso when I switch accounts and close and reopen Codex it sometimes gets stuck on the previous accoun nno matter how many times I restart the application it doesn't switch to the correct account please fix this bug as well

orca-discord-issues commentedon Jul 26, 2026
via Discord<@1431392790079738008> is looking into this
orca-discord-issues commentedon Jul 26, 2026
via Discordyeah I managed to get the history back but I had to use an extra prompt to do it and this happens every time I switch accounts
orca-discord-issues commentedon Jul 26, 2026
via Discordand i always get this error idk why but it's like spam

orca-discord-issues commentedon Jul 26, 2026
via DiscordFixing this, sorry for the trouble
fix(codex): close review gaps in the unverifiable-resume argv drop
fix(codex): tell the user when a resumed pane is pinned to another ac…
fix(codex): rank the Codex resume rescan by selected account, not set…
fix(codex): tell the user when a resumed pane is pinned to another ac…
nwparker commentedon Jul 27, 2026
Cannot reproduce (cannot_repro)
Title: “CHAT HISTORY LOST AFTER ACCOUNT SWITCH”. Discord report lacks steps, which account type (Claude/Codex), and whether history is expected to be per-account.
Need: Orca version, which accounts switched, whether sessions still exist under the other account, and whether this is TUI scrollback vs native chat history.
fix(codex): stop the restart card from parking focus on Restart
10 remaining items
fix(codex): drop the resume argv when session provenance is unverifia…
fix(codex): keep a host account switch inside the host lane
fix(codex): key a WSL pane by the distro its launch actually used
fix(codex): resolve a pane's lane the way its launch resolved it
fix(codex): derive the pane's project runtime the way main does
fix(codex): key the lane off the runtime the renderer actually shipped
fix(codex): stop claiming a floating-terminal cwd the tab never has
fix(codex): keep a host account switch inside the host lane (#10992)
brennanb2025 commentedon Jul 28, 2026
Thanks for the detailed report — I was able to reproduce all three of these. They shared one root cause, and they're now fixed.
The cause was that each Codex account got its own isolated
CODEX_HOME. Codex's/resumepicker only reads the home it was launched with, so after a switch it saw an empty session list. Your history was never actually deleted — it was in the other account's home the whole time, which is why the extra prompt could recover it.What landed:
/resumesees them after a switch.CODEX_HOMEis fixed when a shell starts and can't change afterward, and Orca's shells survive an app restart — so the old account persisted with nothing on screen explaining it. Orca now remembers which account each pane launched with and tells you. fix(codex): widen the stale-pane sweep retry ladder past the Windows worst case #10853 widened the retry window because Windows cold starts were slow enough to miss it.Everything except the #10538 fix ships in the next release.
orca-discord-issues commentedon Jul 29, 2026
via DiscordShould be fixed in the latest release!
fix(codex): rank the Codex resume rescan by selected account, not set…
fix(browser): survive a transient Windows lock during cookie import (s…
fix(codex): keep history, restarts, and account identity across an ac…
fix(codex): drop the resume argv when session provenance is unverifia…
fix(codex): keep a host account switch inside the host lane (stablyai…