{"version":"2.1.332","anchor":"background-session-argv-is-normalised-through-a-new-function","canonical_anchor":"background-session-argv-is-normalised-through-a-new-function","heading":"Background sessions now have their command-line options rewritten","tier":"internal","area":"Sessions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/background-session-argv-is-normalised-through-a-new-function","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Background sessions now have their command-line options rewritten\n\nWhen Claude Code starts a background session, it now rewrites value-taking options as --flag=value before passing them on\n\n**What**\n\nA background session is a Claude Code conversation that keeps running without your terminal. A flag is an option you add when starting Claude Code, such as `--restricted`. When Claude Code starts a background session, it now rewrites the flags it was given before using them:\n\n- The list is split at `--`, the marker that ends the flags.\n\n- Flags that take a value are written as one piece, `--flag=value`, instead of two.\n\n- `--disallowed-tools` is left as it is.\n\nThe rewritten list then goes through the same `--restricted` handling as before. This is on unless it is switched off remotely.\n\n**Why**\n\nBecause it is on by default, any problem with the rewriting would show up for everyone who starts background sessions. A remote switch exists to turn it off.\n\n- Flag `tengu_serene_hare`: Not enough to say (read for one account on one subscription tier against v2.1.332; this account: no value returned, anonymous baseline: no value returned, compiled default: 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.\n- Area: Sessions\n- Names: `--restricted`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}