Follow Discord
Sweep 12 Nov 2026 · 23:00Z Build v2.1.323 540 read Stable v2.1.311 Latest v2.1.323 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.323 ·

Background sessions now keep their sign-in profile

Background sessions started with --bg now save and check which sign-in and ANTHROPIC_PROFILE they use, and stop with a clear failure when they cannot

Group of 2 You'll notice Bug Fixes
JSON All of v2.1.323
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
Bug FixesKind: in v2.1.323,
Bug FixesSection of the release

What

A background session is one started with --bg, which runs on its own while you do other things. A small helper program called a daemon starts and restarts these sessions. Background sessions now remember which account they were signed in with:

  • Saved sign-in: starting or restarting a background session now records a sign-in pin, a note of which sign-in to use, and ANTHROPIC_PROFILE in the session's environment. Before, the settings were copied from the current environment only.
  • Outdated daemon: a daemon that does not keep the profile is detected and treated as outdated or unreachable.
  • Older sessions: a session saved without its sign-in refuses to restart with error code sign_in_unknown. The message says the session was saved by an older version, and that to continue it you should run claude --resume as you started it: same launcher, or same ANTHROPIC_PROFILE.
  • New failure reasons: starting a background session can now fail with daemon_outdated or credential_unavailable. These take the same path as gate_blocked and cwd_gone. Before, only those two did.
  • Settings files: if a --settings file overrides the credential or profile, the session falls back to pin none.

Why

If you use more than one Anthropic profile, background sessions keep using the account they started with. When that cannot be guaranteed, you get a specific refusal instead of the session quietly running under another account.

Read from
Names in the bundleANTHROPIC_PROFILE
What the documentation says
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed a session on a named Anthropic profile moving to another sign-in when /fork, the Left arrow or --bg continued it in the background…

See this entry in the whole of v2.1.323 →

Feedback