Desktop app: chats moved from Archived back to Active are auto-archived again after ~1 second
Summary
On the Claude Code desktop app (macOS), chats that I move from Archived back to Active are silently re-archived after roughly one second, without any user action. This also explains why two chats I had pinned to the sidebar's Pinned section disappeared on their own — they got auto-archived, which removed them from the Pinned list.
Steps to reproduce
- Open a project (in my case
cinetica-pro). - Open the Archived view and find a chat there.
- Move the chat back to Active.
- Wait ~1 second — the chat reappears under Archived on its own.
Same behaviour observed on two different chats ("Generali", "Ordini e fornitori"). They had previously been pinned in the sidebar; both were silently moved to Archived and now refuse to stay in Active.
Expected
A chat moved out of Archived stays in Active until the user explicitly archives it again.
Actual
The chat snaps back to Archived after about one second, every time. Pinned state is also lost in the process (the chat is no longer in the Pinned section after the auto-archive, and re-activating it does not restore the pin either).
Environment
- Claude Code desktop app:
2.1.128 - Claude Code CLI (parallel install):
2.1.39 - macOS:
26.4.1(build25E253) - Single-Mac, no cross-device sync involved
- App restart does not change the behaviour
Notes
- The chats themselves are intact (messages preserved); the issue is purely the archive flag flipping back automatically.
- Inspected
~/Library/Application Support/Claude/Local Storage/leveldb/:pinnedOrderis currently[]while one chat is still rendered under Pinned, suggesting the sidebar's pin order array can also drift out of sync with per-session state — but the primary user-visible issue is the auto re-archival loop.
9 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I'm also having this issue on MacOs – same exact situation as OP. Other notes:
Same bug on Windows, with a more specific trigger from the logs.
Environment
1.5354.0(Windows Store install)2.1.128Trigger we identified
The Desktop main log shows the re-archiver is the
[AutoArchiveEngine], and at least one of its triggers is PR merged for the session's associated GitHub PR.Today's session (
local_dca9ea02-…) was archived, manually unarchived, and re-archived twice within minutes — exactly the OP's symptom:Same pattern on prior days for sessions whose PRs had merged — engine re-fires every 10–20 min. From
~/AppData/Roaming/Claude/logs/main1.log:Likely root cause
The engine's "should I archive?" predicate is purely state-based (PR is merged) with no awareness that the user has already manually unarchived this session. So every time the engine ticks (looks like ~6–20 min cadence on the PR-merged path; OP reports ~1s on macOS, possibly a different code path), it sees the merged PR and re-archives.
Suggested fix
Persist the user's manual-unarchive intent. Either:
Workaround for affected users
After merging a PR, finish work in a new session — the existing one will keep getting re-archived no matter how often you unarchive it.
Seeing the same behaviour on macOS during an active long-running session (not after moving from Archived — during live use).
Pattern:
So the re-archive-on-unarchive loop you describe also manifests here, just with the initial archive trigger being something other than manual re-activation. The session was continuously active (no inactivity gap visible in the transcript) when the first archive fired.
Environment:
@claude this was closed without resolution despite consistent reporting activity and having no similarity to the suggested dupes. Maybe you could use some HITL...
I've not noticed this in my most recent session - hopefully resolved, could do with some improved comms :)
Still happening in a new session
yes also still seeing today.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.