{"version":"2.1.327","anchor":"tengu-deep-lemur-gates-an-org-change-check","canonical_anchor":"compact-boundary-records-precompactorganizations","heading":"Sessions keep track of their credential organization across compaction","tier":"internal","area":"Auth","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/tengu-deep-lemur-gates-an-org-change-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Sessions keep track of their credential organization across compaction\n\nCompaction now saves the organizations seen so far, and a new gated check notices when the credential's organization differs from the session's\n\n**Unclear.** It is not stated what Claude Code does when it finds the organization has changed.\n\n**What**\n\nClaude Code now keeps closer track of which organization (the account group your login belongs to) a session was using.\n\n- Compaction is when Claude Code shortens a long conversation by summarising it. The marker it leaves behind, the compact boundary, now stores `preCompactOrganizations`, the organizations seen before compaction, taken from credential organization attachments in the conversation.\n\n- A new check returns true when the organization of the current credential differs from the session's. It only does so when the `tengu_deep_lemur` gate is on, and its fallback is on. Nothing has been read about this gate yet.\n\n**Why**\n\nIn practice, the record of which organization a session belonged to is no longer lost when the conversation is compacted, and Claude Code has a way to notice that you switched account or organization partway through a session.\n\n- Flag `tengu_deep_lemur`: Not enough to say (read for one account on one subscription tier against v2.1.327; this account: no value returned, anonymous baseline: no value returned, compiled default: 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.\n- Area: Auth\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}