A 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:
- The list is split at
--, the marker that ends the flags. - Flags that take a value are written as one piece,
--flag=value, instead of two. --disallowed-toolsis left as it is.
The rewritten list then goes through the same --restricted handling as before. This is on unless it is switched off remotely.
Because 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.
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.332: 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.332. It isn't a statement about your account. What a flag value here can and cannot tell you