Repository navigation
Sessions auto-archiving every 30-90 min when launched from specific cwd bucket (since 2026-05-09) #59451
Description
Activity
- addedbugSomething isn't workingSomething isn't workingplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOSarea:agent-viewclaude agents TUI / --bg / FleetView / daemon bg sessionsclaude agents TUI / --bg / FleetView / daemon bg sessions
on May 15, 2026 Found 3 possible duplicate issues:
- Sessions auto-archiving within 30-90 min (only one project-dir bucket affected, started ~2026-05-09) #58446
- [Web/Desktop UI] Active session auto-archived every ~5 minutes during normal interaction #59449
- Cowork desktop: session auto-archives in <60s of inactivity (Windows) #57945
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
Update 2026-05-15 ~16:20 UTC — workaround invalidated
The "launch from
/Users/jason/.openclaw/workspace/instead of parent" workaround I described above does NOT work. A session opened from the workspace cwd today is auto-archiving every ~30 min just like sessions from the parent bucket. The cwd-bucket theory was wrong, or at least incomplete.Updated hypotheses (none confirmed):
- Transcript size threshold — heavy-tool-use sessions accumulate large transcripts fast
- MCP load / connection cycling (obsidian was still "connecting" on multiple turns; could trip teardown)
- Account-scoped feature flag, regardless of cwd
- Write-heavy activity pattern (bash + Edit + commit churn) vs read-heavy
Still no Anthropic response on the original report. Operationally severe on alpha-ship-day; we're losing context every 30 min and re-loading the full startup gate each time.
Anyone from the Claude Code team — please pull session-archive logs for account
jason@fuse.fitorsubpej@gmail.comfor 2026-05-15 16:00-17:00 UTC. The "stop" decisions should show up server-side with a reason.Corroboration — different platform, different trigger, same outcome (2026-05-25)
Hitting this on Windows 11, claude-code latest, model
claude-opus-4-7[1m]. My trigger profile is different from the original report but the symptom is the same: sessions silently drop out of FleetView Active, no user action.What's different about my repro
The session that gets archived is idle and waiting on a permission prompt — specifically, sitting on "approve this commit?" or "approve this push?" for ~5-10 min while I review the diff in another window. It's not heavy-tool-use or transcript-density driven in my case. The session has zero in-flight tool calls; it's literally blocked on me.
That should be the exact state auto-archive is supposed to exclude. "Awaiting user input" ≠ "idle / abandoned."
Environment
- claude-code on Windows 11 Pro (PowerShell)
- Model:
claude-opus-4-7[1m](1M context) - Multiple parallel sessions across git worktrees (
wt-*pattern) - MCP: ccd_session_mgmt, computer-use, Claude_in_Chrome, Claude_Preview, several others
- No remote/mobile bridge — desktop FleetView only
- Same behavior on both Opus 4.6 and 4.7
Why this is operationally severe (echoing OP)
- Each archive event drops the pending commit confirmation — when I come back from reviewing the diff, the prompt is gone and the work is stranded mid-state
- I run multi-worktree parallel sessions where each one frequently pauses for approval; auto-archive on idle effectively penalizes the safety-pause pattern
- No setting in
~/.claude/settings.jsonto disable or extend the timeout (checked, also nothing documented)
Asks
- Please treat "awaiting user permission / input" as a non-archive state regardless of idle time — that's the user explicitly being asked to act, not the session being abandoned
- Surface a configurable
sessionArchiveIdleMs(or equivalent) in settings.json - Optional: a "session pinned" toggle in the FleetView chip so users can opt specific sessions out
Happy to attach transcripts or
~/.claude/projects/timing data if a Claude Code engineer wants to look — just ping.+1, still reproducing on 2.1.150 (latest as of today) on macOS Darwin 25.3.0 arm64. Active sessions getting auto-archived during normal interaction — updating from 2.1.143 → 2.1.150 did not resolve it.
Came in via #59449 (closed as dup of this).
This is happening to me on Linux Ubuntu. Session keeps auto-archiving. I'm running sessions remotely so this is screwing up my workflow right now.
same here hope it gets noticed, interrupting my workflow and i like using the desktop app
+1 — hitting this on macOS Claude Desktop today (2026-05-27). Session was actively in use, no
/exit, no manual archive, no inactivity (continuous work for several hours). Showed up under 'archived' in the/resumepicker. Project: a Next.js portal app, working directory is a git repo under~/dev/. Happy to share more telemetry / a screen recording if it helps narrow the cwd-bucket trigger."ccAutoArchiveOnPrClose: true" flag is the cause
Reacted by James OliverClosing for now — inactive for too long. Please open a new issue if this is still relevant.
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.
- locked as resolved and limited conversation to collaborators
on Sep 8, 2026
Summary
Claude Code sessions launched from
/Users/jason/.openclaw/are being auto-archived in FleetView every 30-90 minutes of activity, dropping the mobile bridge. Identically-configured sessions launched from sibling working directories under/Users/jason/.openclaw/workspace/survive normally for hours. The behavior started on or about 2026-05-09 and is now happening multiple times per day on Fuse-development work specifically.This is a re-report extending the 2026-05-12 internal write-up — issue has persisted through 2026-05-15 with no improvement.
Environment
Repro
/Users/jason/.openclaw(NOT the/workspace/subdir)Differential — identical config, different behavior
Sessions that survive normally (run for hours):
/Users/jason/.openclaw/workspace/.../Users/jason/.openclaw/workspace/.../Users/jason/.openclaw/workspace/...Sessions that get archived:
/Users/jason/.openclaw/(parent dir, different bucket string)Evidence — transcript churn (parent bucket only)
2026-05-08 had 7 sessions across 3 hours (same pattern). 2026-05-15 (today): previous Fuse session "stopped responding" mid-flight, presumed archive event.
Hypothesis
Server-side policy keyed off project-dir bucket name or transcript density per bucket. The
-Users-jason--openclawbucket has ~83 stored transcripts; theworkspacesibling buckets have 1-52 each. The dense bucket appears to trip something the sparse ones don't.Local config signals (
~/.claude.jsoncachedGrowthBookFeatures)tengu_bridge_repl_v2_config.teardown_archive_timeout_ms= 1500tengu_bridge_repl_v2_config.session_keepalive_interval_ms= 0tengu_bridge_repl_v2_config.session_keepalive_interval_v2_ms= 0tengu_bridge_repl_v2_config.non_exclusive_heartbeat_interval_ms= 180000tengu_bridge_repl_v2_config.http_timeout_ms= 10000tengu_lapis_finch= Truetengu_shale_finch= TrueWhen it started
On or about 2026-05-09. No claude-code binary update has happened since 2026-04-27; no
~/.claude/settings.jsonor workspacesettings.local.jsontouched in 14+ days. The behavior change correlates only with GrowthBook feature-flag refreshes, which write to~/.claude.jsonon every launch.Ask
Please look at server-side session-archive policy / feature-flag changes for account
jason@fuse.fit(orsubpej@gmail.com) since 2026-05-09:-Users-jason--openclawbucket and not siblingworkspace/*buckets?Impact
Workflow blocker is operationally severe — each archive event drops the mobile bridge, breaks remote control from my phone, and forces a restart that loses session context. Losing ~2 hours of compounding work per day to this since 2026-05-09. Alpha launch shipped 2026-05-15 with this still degrading productivity.