Skip to content

Add Codex custom parent trace config#11

Merged
Stephen Belanger (Qard) merged 1 commit into
mainfrom
codex-custom-parent
Jul 17, 2026
Merged

Add Codex custom parent trace config#11
Stephen Belanger (Qard) merged 1 commit into
mainfrom
codex-custom-parent

Conversation

@Qard

Copy link
Copy Markdown
Contributor

Summary

  • Add Codex-specific CODEX_PARENT_SPAN_ID and CODEX_ROOT_SPAN_ID support for attaching a Codex trace to an existing Braintrust trace.
  • Add matching config.json keys: parentSpanId and rootSpanId.
  • Keep Codex turns and tools parented under the Codex session span while the session span attaches under the configured external parent.
  • Document the new configuration and examples.

Validation

  • bun test
  • bun run typecheck
  • bun run lint

@Qard
Stephen Belanger (Qard) merged commit 0f0fbed into main Jul 17, 2026
4 checks passed
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