What
Claude Code now keeps closer track of which organization (the account group your login belongs to) a session was using.
- 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. - 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_lemurgate is on, and its fallback is on. Nothing has been read about this gate yet.
Why
In 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.