Skip to content

fix(cursor-sdk): trace context summarization - #1048

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/issue-1044-vcr-tests-16781355
Nov 2, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/issue-1044-vcr-tests-16781355

Conversation

@AbhiPrasad

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

🤖 This text was AI-generated.

Cursor can summarize a long conversation to make room in its context
window, but those events were missing from Braintrust traces.

Record each summarization as a child task with its status and fallback
flag, and mark failed summarizations as errors. For example:

Cursor Agent
└── Cursor Context Summary (completed, fallback=false)

The summary text is not available on the run stream and is not captured.
Add a real Cursor recording and remove duplicate stream alias coverage.

Fixes #1044

> 🤖 **This text was AI-generated.**

Cursor can summarize a long conversation to make room in its context
window, but those events were missing from Braintrust traces.

Record each summarization as a child task with its status and fallback
flag, and mark failed summarizations as errors. For example:

```text
Cursor Agent
└── Cursor Context Summary (completed, fallback=false)
```

The summary text is not available on the run stream and is not captured.
Add a real Cursor recording and remove duplicate stream alias coverage.

Fixes #1044
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T16:05:31.486923Z d1d4888 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 64d1cc4 into main Nov 2, 2026
98 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/issue-1044-vcr-tests-16781355 branch November 2, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cursor_sdk: capture summary (context summarization) messages (1.2.0+)

1 participant