Background agents can resume automatically after a container restart
After a container restart, background agents that resume automatically are reported as resuming and reporting back instead of all being reported as lost
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Background AgentsArea: what it touches
ImprovementsKind: in v2.1.311,
ImprovementsSection of the release
Unclear Whether automatic resuming is switched on for every remote session is not stated.
What
A background agent is a separate helper that Claude Code runs to work on a task while the main conversation carries on. Remote and cloud sessions run inside a container, an isolated environment on another machine, and that container can restart. Before, the notice after a restart said all background agents were lost and their work had to be started again. Now, agents that are resumed automatically are reported as "being resumed automatically and will report back".
The restart notice also records that the agents were started by the restart.
Why
Remote and cloud sessions can recover background work after a restart instead of dropping it, so you may not need to start those tasks again.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether automatic resuming is switched on for every remote session is not stated.