{"version":"2.1.311","anchor":"disable-compact-now-also-stops-teammate-in-process-auto-comp","canonical_anchor":"disable-compact-now-also-stops-teammate-in-process-auto-comp","heading":"DISABLE_COMPACT now covers teammates and gets special settings handling","tier":"use","area":"Compaction","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/disable-compact-now-also-stops-teammate-in-process-auto-comp","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### DISABLE_COMPACT now covers teammates and gets special settings handling\n\nTeammates now respect DISABLE_COMPACT, and the settings environment filter treats DISABLE_COMPACT specially\n\n**What**\n\n`DISABLE_COMPACT` is an environment variable that turns off compaction, which is summarising the conversation to free space. It is now handled in two more places:\n\n- Teammates that run inside the same process now check that `DISABLE_COMPACT` is not set before compacting their history. Before, they compacted whenever the conversation passed the auto-compact size limit.\n\n- The filter that sorts environment variables supplied through settings now treats `DISABLE_COMPACT` specially, depending on a condition that was not resolved. It also checks against a new set of names.\n\n- `DISABLE_COMPACT` is added to a list that already holds `CLAUDE_CODE_DISABLE_PROACTIVITY`, `CLAUDE_CODE_DISABLE_FILE_MENTIONS` and `CLAUDE_CODE_DISABLE_WEB_FETCH`.\n\n**Why**\n\nIf you set `DISABLE_COMPACT` to stop compaction, teammates now respect it too. Whether a `DISABLE_COMPACT` set in your settings takes effect may depend on the new condition.\n\n- Area: Compaction\n- Names: `DISABLE_COMPACT`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: no"}