pub fn isolated_settings_enabled() -> boolExpand description
Isolated per-channel settings.json. Same shape and same reasoning as
isolated_auth_enabled — see
docs/specs/SPEC_SETTINGS_ISOLATED_BY_CHANNEL_2026_08_19.md.
Resolution order:
AGENTMUX_ISOLATED_SETTINGS=1/=0— explicit override, always wins.- Otherwise, defaults to isolated for every channel except
"stable".stableis the real release channel — the daily-driver install(s) this machine’s actual work depends on — and keeps the old always-global behavior, so nobody’s real window theme/pinned widgets/voice API key gets silently blanked by a channel-name coincidence. Everytask devbranch and everytask packagelocal build now starts with a genuinely defaultsettings.json— the motivating case wasnetwork:lan_discoverysilently carryingtrueinto a brand-new build from a decision made in an unrelated channel weeks earlier. - If
AGENTMUX_CHANNELisn’t set yet, stays global — conservative default when channel context is unknown, not a guess.
Deliberately a SEPARATE flag from AGENTMUX_ISOLATED_AUTH, not a
shared AGENTMUX_ISOLATED umbrella — see the spec’s Open Questions
§1 for why.