fix(cursor): scope assistant message ids by turn after resume#10
Merged
Merged
Conversation
8b674d5 to
a9a6d39
Compare
15b1dc3 to
8cd0076
Compare
When Cursor reuses provider item ids across turns after restart, append assistant output to a new turn-scoped message at the end of the thread instead of mutating an earlier completed message. Co-authored-by: Cursor <cursoragent@cursor.com>
8cd0076 to
8c9acea
Compare
This was referenced Jun 29, 2026
justingray0
added a commit
that referenced
this pull request
Jul 3, 2026
…istant-messages Revert #10: scope assistant message ids by turn after resume
justingray0
added a commit
that referenced
this pull request
Jul 4, 2026
…utput, cancel delivery Applies pingdotgg#3669 on top of the fork's #9 resume/recovery hardening. Fixes: session/cancel sent as JSON-RPC notification (not request), runtime-unique ACP segment item ids so resumed sessions render below the latest user message, agent_thought_chunk parsed as expandable reasoning rows, and a turn-completion drain race. Supersedes the reverted #10 turn-scoping. Co-authored-by: Cursor <cursoragent@cursor.com> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #9.
Test plan
vp test apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.tsT3_CURSOR_RESUME_E2E=1 vp test cursorResume.integration(optional real-agent verification)Made with Cursor