{"version":"2.1.333","anchor":"forkbackground-spawn-guards-and-bg-model-request-env","canonical_anchor":"new-launch-model-request-flag-claude-bg-launch-model-req","heading":"Background launches carry the requested model and refuse more kinds of input","tier":"use","area":"Slash Commands","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/forkbackground-spawn-guards-and-bg-model-request-env","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Background launches carry the requested model and refuse more kinds of input\n\nBackground sessions get a hidden --launch-model-request option, and --bg, \/fork and background handoff now refuse some arguments and inputs\n\n**What**\n\nA 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:\n\n- `--launch-model-request` is a new hidden command-line option with no description.\n\n- The value of `--launch-model-request`, or of the `CLAUDE_BG_LAUNCH_MODEL_REQUEST` environment variable, is now added as `cli.launchModelRequest` to 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.\n\n- 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.\n\n- `\/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.\n\n- Handing the current session off to the background is refused while queued commands are still waiting.\n\n- `claude --bg` now prints \"--exec can't follow\" and stops with exit code 1 when `--exec` comes after another word.\n\n- `claude --bg` now also rejects a prompt that was read as a list of tools.\n\n- The `--bg` launch path now runs its arguments through a new switch, `tengu_mossy_ember`, before the existing `tengu_serene_hare` switch. Nothing has been read about `tengu_mossy_ember`. v2.1.332 compiled `tengu_serene_hare` on by default, and no reading has been taken under this release yet.\n\n**Why**\n\nA 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.\n\n- Area: Slash Commands\n- Names: `\/fork`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: yes"}