claude-code - ๐Ÿ’ก(How to fix) Fix [DOCS] Agent view omits 5-minute retirement for empty idle background sessions [1 participants]

Official PRs (โ€ฆ)
ON THIS PAGE

Recommended Tools

ร—6

Utilities matched from this issueโ€™s tags and category โ€” try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful ยท Quick feedback

Loadingโ€ฆ
GitHub stats
anthropics/claude-code#58879โ€ขFetched 2026-05-14 03:37:11
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ร—3

Error Message

The current page explains that โ† backgrounds the current session and says detaching leaves the background session running, then separately describes a roughly one-hour supervisor stop for finished unattached sessions. It does not mention the new 5-minute retirement rule for empty idle sessions created by โ†, so readers do not get the current cleanup behavior or the exception to the broader lifecycle description.

Fix Action

Fix / Workaround

Press โ† on an empty prompt to detach and return to agent view.

Detaching never stops a background session: โ†, Ctrl+C, Ctrl+D, Ctrl+Z, and /exit all leave it running.

After you've dispatched or backgrounded a session, pressing โ† on an empty prompt works from any Claude Code session, not only ones you attached to from agent view. It backgrounds the current session and opens agent view with that session pre-selected, so you can switch sessions without leaving the terminal.

Once a session finishes and sits unattached for about an hour, the supervisor stops its process to free resources. The transcript and state stay on disk, and the next time you attach, peek, or reply, the supervisor starts a fresh process from where it left off.

RAW_BUFFERClick to expand / collapse

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://code.claude.com/docs/en/agent-view

Section/Topic

"Attach to a session" and "The supervisor process"

Current Documentation

The docs currently say:

Press โ† on an empty prompt to detach and return to agent view.

Detaching never stops a background session: โ†, Ctrl+C, Ctrl+D, Ctrl+Z, and /exit all leave it running.

After you've dispatched or backgrounded a session, pressing โ† on an empty prompt works from any Claude Code session, not only ones you attached to from agent view. It backgrounds the current session and opens agent view with that session pre-selected, so you can switch sessions without leaving the terminal.

Once a session finishes and sits unattached for about an hour, the supervisor stops its process to free resources. The transcript and state stay on disk, and the next time you attach, peek, or reply, the supervisor starts a fresh process from where it left off.

What's Wrong or Missing?

The session-lifecycle description appears outdated for v2.1.141.

The v2.1.141 release notes say empty idle background sessions left over from โ† are now automatically retired by the daemon after 5 minutes.

The current page explains that โ† backgrounds the current session and says detaching leaves the background session running, then separately describes a roughly one-hour supervisor stop for finished unattached sessions. It does not mention the new 5-minute retirement rule for empty idle sessions created by โ†, so readers do not get the current cleanup behavior or the exception to the broader lifecycle description.

Suggested Improvement

Add a short note in the โ† detach/background explanation or in "The supervisor process" section clarifying that empty idle background sessions left over from โ† are automatically retired by the daemon after about 5 minutes in v2.1.141 and later.

That note should distinguish this cleanup rule from the existing "about an hour" process stop for finished unattached sessions so users understand why an empty leftover session may disappear much sooner.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/agent-view155-159, 322-328, 372โ† detach/background behavior and current supervisor retirement description

Total scope: 1 page affected

Version context: v2.1.141 release notes say empty idle background sessions left over from โ† are retired after 5 minutes.

Vote matrix ยท Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loadingโ€ฆ

Still need to ship something?

ร—6

Another batch ranked right after the header list โ€” different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - ๐Ÿ’ก(How to fix) Fix [DOCS] Agent view omits 5-minute retirement for empty idle background sessions [1 participants]