Unclear What the extra processing step does to a claude --bg command is not known.
What
A background session is a Claude Code session that keeps running on its own while you do something else. Several parts of how these sessions start have changed:
--launch-model-requestis a new hidden command-line option with no description.- The value of
--launch-model-request, or of theCLAUDE_BG_LAUNCH_MODEL_REQUESTenvironment variable, is now added ascli.launchModelRequestto the information Claude Code uses when it checks settings and feature switches. Before, that information held only the model and whether the session was non-interactive. - When a session starts a background child session, the requested model is passed to it in
CLAUDE_BG_LAUNCH_MODEL_REQUEST. An environment variable is a named value a program inherits when it starts. /fork, which copies the current conversation into a new background session, now refuses a prompt that arrived as piped text or as a slash command you did not type yourself.- Handing the current session off to the background is refused while queued commands are still waiting.
claude --bgnow prints "--exec can't follow" and stops with exit code 1 when--execcomes after another word.claude --bgnow also rejects a prompt that was read as a list of tools.- The
--bglaunch path now runs its arguments through a new switch,tengu_mossy_ember, before the existingtengu_serene_hareswitch. Nothing has been read abouttengu_mossy_ember. v2.1.332 compiledtengu_serene_hareon by default, and no reading has been taken under this release yet.
Why
A background launch can now fail because of the order of its arguments or because of where its prompt came from, so scripts that start background sessions may need --exec placed first and prompts typed rather than piped. The model asked for at launch is now one of the inputs when settings and switches are evaluated for that session.
tengu_mossy_ember Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.333: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
tengu_serene_hare Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.333: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.333. It isn't a statement about your account. What a flag value here can and cannot tell you
What the extra processing step does to a `claude --bg` command is not known.
New in this build: tengu_mossy_ember