You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a8f007d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cursor): fail closed on stale refs and prefix collisions
An explicit missing checkpointRef now expires instead of picking another
snapshot. Ref-less Chat hops look up only a unique covered-prefix plus
system digest. Identical first prompts no longer share a conversation.
Expired snapshots are pruned by an unref timer, not the next request.
Refs #1527
Copy file name to clipboardExpand all lines: structure/04_transports-and-sidecars.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -519,10 +519,9 @@ pre-compaction checkpoint is not persisted for later carry-forward.
519
519
After a successful no-tool turn, the Cursor adapter keeps the returned ConversationStateStructure in
520
520
a process-local store and reuses that snapshot on the next validated linear continuation instead of
521
521
rebuilding rootPromptMessagesJson and conversationTurns. Tool-result turns reuse the last completed
522
-
checkpoint plus only the uncovered suffix. Chat Completions hops that omit previous_response_id and
523
-
thread headers pin to the first user/developer text and reuse the live snapshot for that
524
-
conversation. Isolated helper/shadow turns keep their own checkpoint and never join the parent
525
-
conversation. Compaction, account or model mismatch, missing refs, decode failures, and
522
+
checkpoint plus only the uncovered suffix. Chat Completions hops that omit previous_response_id and thread headers reuse a snapshot only when
523
+
the covered message prefix and system/developer digest match exactly one stored snapshot. Isolated
524
+
helper/shadow turns never join the parent conversation. An explicit missing checkpointRef full-replays. Compaction, account or model mismatch, missing refs, decode failures, and
526
525
invalid_argument recovery keep the existing full-replay path. previous_response_id may select a
527
526
branch's opaque checkpointRef; it is never a Cursor conversation ownership key. Cursor Connect still
0 commit comments