claude-code - 💡(How to fix) Fix [DOCS] Background sessions docs omit effort-level persistence across idle wake

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…

Root Cause

Without a matching note in agent-view, readers can infer model persistence from the existing /model sentence, but they have no comparable guidance for effort. This is especially confusing because the page groups permission mode, model, and effort together, while only model gets an explicit respawn-persistence guarantee.

Fix Action

Fix / Workaround

Each background session can run on a different model. To override it for one session:

  • From the shell, pass --model with claude --bg.
  • Attach to a running session and run /model there. The change persists if the session is respawned.
  • Dispatch a subagent whose frontmatter sets a model field.

To set defaults for every session you dispatch from agent view, pass any of --permission-mode, --model, or --effort when opening it:

claude agents --permission-mode plan --model opus --effort high

Code Example

> claude agents --permission-mode plan --model opus --effort high
>
RAW_BUFFERClick to expand / collapse

Documentation Type

Unclear/confusing documentation

Documentation Location

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

Section/Topic

Set the model and Permission mode, model, and effort in the background session lifecycle documentation

Current Documentation

The docs currently say:

Each background session can run on a different model. To override it for one session:

  • From the shell, pass --model with claude --bg.
  • Attach to a running session and run /model there. The change persists if the session is respawned.
  • Dispatch a subagent whose frontmatter sets a model field.

And later:

To set defaults for every session you dispatch from agent view, pass any of --permission-mode, --model, or --effort when opening it:

claude agents --permission-mode plan --model opus --effort high

The page also explains the idle lifecycle:

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 page explicitly documents that a /model change persists when a background session is respawned, but it does not say whether an effort level changed with /effort or set with claude agents --effort is preserved across the same idle retire and wake cycle.

That leaves an important gap for background-session users in v2.1.143, whose changelog entry says:

Background sessions now preserve the model and effort level you set after waking from idle

Without a matching note in agent-view, readers can infer model persistence from the existing /model sentence, but they have no comparable guidance for effort. This is especially confusing because the page groups permission mode, model, and effort together, while only model gets an explicit respawn-persistence guarantee.

Suggested Improvement

Add a short parallel note for effort persistence anywhere the page already discusses model persistence or idle wake behavior.

For example, update the model/effort guidance to say:

Attach to a running session and run /model or /effort there. Those changes persist if the session is respawned after being retired while idle.

Or add a note under Permission mode, model, and effort clarifying that a background session keeps the model and effort level you set when the supervisor retires the process and later wakes it on attach, peek, or reply.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/agent-view298-302Explicitly documents /model persistence if the session is respawned
https://code.claude.com/docs/en/agent-view304-324Groups permission mode, model, and effort but does not state whether effort persists across idle wake
https://code.claude.com/docs/en/agent-view370-372Explains that finished idle sessions are retired and restarted from saved state later

Total scope: 1 page affected

Version context: Changelog v2.1.143 says background sessions now preserve the model and effort level you set after waking from idle.

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] Background sessions docs omit effort-level persistence across idle wake