Agent context objects for background (sidecar) agents now carry an isBackgroundAgent: true field. This enables the system to distinguish background agents from in-process subagents without relying on agentType alone.
Evidence
Background agent context update (search for "isBackgroundAgent: !0" near "isMainSession: !0")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.