Group of 2 Under the hood
Resuming a session keeps richer bookkeeping about which messages are kept, their lineage, and whether the session was rewound
What
- The structure that tracks which retained or forked messages ('keys') belong to a session now also carries
transcriptLineagesand akeysWithClasssubset (messages meeting a class predicate), plus arewoundflag, where before it only tracked a plain list of keys. - The session-resume helpers now build these richer objects from a shared empty-state constructor.
- Resume logic no longer just scans for the first turn not already held; it now classifies turns as 'fresh' or 'withClass' and picks the resume point using that classification.
Why
This gives Claude Code more precise bookkeeping when resuming a session, including whether the session was rewound and which messages match particular criteria, so resume picks up from the right point more reliably.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
The finding does not say what user-visible effect this added tracking has, only that the data structure carries more fields.