Skip to content

feat(claude-agent-sdk): record verbatim prompt mode - #819

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/sdk-438-consider-claude-agent-sdk-verbatim-prompt-metadata
Sep 29, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/sdk-438-consider-claude-agent-sdk-verbatim-prompt-metadata

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

Summary

  • Record verbatim_prompts: true in Claude Agent SDK root task span metadata.
  • Keep compatibility with SDK versions that do not expose the option.
  • Add a subprocess cassette regression to the existing query helper test.

Linear: SDK-438

Validation

  • BRAINTRUST_CLAUDE_AGENT_SDK_RECORD_MODE=none mise exec -- nox -s 'test_claude_agent_sdk(latest)' — 50 passed.
  • The focused regression failed against pre-fix tracing and passed after the fix.
  • The SDK 0.1.10 focused run skips the verbatim-specific path as expected.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 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-09-28T20:07:14.729586Z 0a9cd9e 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 1dbd5b1 into main Sep 29, 2026
83 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/sdk-438-consider-claude-agent-sdk-verbatim-prompt-metadata branch September 29, 2026 14:35
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.

2 participants