{"version":"2.1.293","anchor":"new-claude-bg-carried-prompts-sha256-env-var-passed-to-backg","canonical_anchor":"new-claude-bg-carried-prompts-sha256-env-var-passed-to-backg","heading":"Moving a session to the background now carries queued prompts along, or refuses","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.293\/e\/new-claude-bg-carried-prompts-sha256-env-var-passed-to-backg","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.293","markdown":"### Moving a session to the background now carries queued prompts along, or refuses\n\nBackgrounding a session with the left arrow carries queued prompts to the background job or blocks the move, and passes CLAUDE_BG_CARRIED_PROMPTS_SHA256\n\n**What**\n\nYou can move a running session to the background with the left arrow key. Prompts you typed while Claude was busy wait in a queue. This release changes what happens to that queue when you move the session.\n\n- Queued prompts are sorted into ones that can be carried over, ones that would be stranded, and ones being read at that moment.\n\n- Prompts that can be carried over are written to a file, `adopt.json.queued-prompts`, for the background job and added back to the queue when the session resumes. Claude Code records if carried prompts get lost.\n\n- Moving to the background can now be refused, with a message, when queued prompts cannot be moved.\n\n- Naming the session automatically now happens after these checks. Before, Claude Code went straight to naming the session and starting the background job.\n\n- A new environment variable, `CLAUDE_BG_CARRIED_PROMPTS_SHA256`, is now passed to or kept for background sessions alongside `CLAUDE_BG_WORKSPACE_TRUSTED`. One place removes it from the variables and another reads it. Its name suggests a SHA-256 fingerprint of the carried prompts.\n\n**Why**\n\nPrompts you typed just before moving a session to the background should no longer quietly disappear. The trade-off is that pressing the left arrow can now be refused when the queued prompts cannot be moved.\n\n- Area: Sessions\n- Names: `CLAUDE_BG_CARRIED_PROMPTS_SHA256`\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}