{"version":"2.1.328","anchor":"reactive-compact-gate-fallback-now-depends-on-a-desktop-thir","canonical_anchor":"reactive-compact-gate-fallback-now-depends-on-a-desktop-thir","heading":"Desktop third-party host sessions get their own defaults, including in remote sessions","tier":"notice","area":"Compaction","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/reactive-compact-gate-fallback-now-depends-on-a-desktop-thir","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Desktop third-party host sessions get their own defaults, including in remote sessions\n\nSessions run by the claude-desktop-3p host get new gate defaults, and the host-managed provider check now also applies to remote sessions\n\n**Unclear.** The further internal check was not resolved, so exactly when these hosted sessions get the on fallback is not clear.\n\n**What**\n\nSeveral checks now treat sessions run by the `claude-desktop-3p` entrypoint differently. An entrypoint is the way Claude Code was started, and these checks look at environment variables, settings passed to Claude Code from outside it, such as `CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST` and `CLAUDE_CODE_REMOTE`.\n\n- Host-managed provider check: the check for the `claude-desktop-3p` and local-agent entrypoints no longer requires `CLAUDE_CODE_REMOTE` to be unset or the extra helper conditions. It now depends only on `CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST` and the entrypoint.\n\n- Reactive compaction: the `tengu_reactive_compact_remote` gate, a switch Anthropic can set remotely, used to fall back to off. Its fallback is now true only when `CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST` and `CLAUDE_CODE_REMOTE` are set, `CLAUDE_CODE_ENTRYPOINT` is `claude-desktop-3p`, and a further check `B8()` passes. `B8()` returns `!kp() || !Bn()`, helpers that were not resolved. A value from the flag server still overrides the fallback.\n\n- `tengu_soft_spark`: now falls back to `XQt()`, which uses the same desktop third-party condition.\n\n- Other new gates in the same set: `tengu_jaunty_breeze` is read as a whole number within a range and otherwise returns 0. `tengu_generic_papert` falls back to an expression built from other helpers. `tengu_scalable_meteor` falls back to false; when on, `n5o` wraps a token-count setting as `{ byCharacterKind: e }`, and the token-counting function `Cvs` takes a new fifth argument that does the same wrapping.\n\nThe flag server returned off for `tengu_reactive_compact_remote`, `tengu_generic_papert` and `tengu_soft_spark` for this site's account and for an anonymous account; no reading has been taken under this release. Nothing has been read about `tengu_jaunty_breeze` or `tengu_scalable_meteor`, which is unread, not off.\n\n**Why**\n\nFor ordinary command-line users the reactive compaction fallback stays false. Sessions hosted by the desktop third-party entrypoint can get reactive compaction, a way of shrinking the conversation to fit, without any server value, and host-managed provider behaviour now applies in remote sessions too.\n\n- Flag `tengu_reactive_compact_remote`: Off in both readings (read for one account on one subscription tier against v2.1.328; this account: off, anonymous baseline: off, compiled default: not a boolean we can read) 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: Compaction\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: yes"}