Show which branch of a conversation Continue will remember #79
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From: #72 (M33), S20 Q5.
An opened conversation shows its transcript in file order, every branch included (S20: walking
parentUuiddrops real exchanges). But resuming a session continues from the newestlast-prompt.leafUuid, so when a transcript has branches (a rewind, an edited prompt, or two writers as in S20 Q5), the model after Continue doesn't know some turns the block shows above it.Seen for real in M33's check: S20's scratch session showed the "vault code is 2468" exchange, and after Continue the model answered "UNKNOWN", because the resume followed the CLI's branch.
last-prompt.leafUuidand a walk back from it that bridges compactions (logicalParentUuid) and side lines (away_summary), keeping what S20 learned about the chain.Merged into main (
e38b19b, froma68c6b9). An opened conversation marks what Continue won't remember: the web client folds and dims those entries under "Not in what it remembers", and the TUI dims them. The branch is worked out the way Claude Code 2.1.288 resumes, with compactions bridged throughlogicalParentUuid(conversations/branch.rs).Checked against real resumes of copies, in a throwaway config dir:
last-promptanswered "2468, UNKNOWN", with the lighthouse turn marked;One change from the issue:
away_summarylines aren't bridged, because Claude Code doesn't bridge them either. A resumed copy of a real session didn't know the prompt that an away summary cut off. On geek, 17 of 436 sessions have something marked. CI passed on both runners.