Repository navigation
Support shared repository tracing configuration - #294
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9a5c20cbfa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".
There was a problem hiding this comment.
Stephen Belanger (@Qard) I think maybe OpenCode needs to check the global disable setting when merging settings?
bt trace disable writes tracing_disabled: true, and Pi checks that value to prevent project settings from overriding it.
OpenCode merges project settings over global settings, then reads trace_to_braintrust, but I don't think it checks the global disable setting?
|
bradumbaugh Good catch. Fixed in 803ee2f: OpenCode now honors the global pause even when a project enables tracing, while managed runs can still opt in. The regression test covers pause, re-enable, and managed-run behavior. Existing installations need the updated OpenCode package released and installed for the pause to take effect. |
bradumbaugh
left a comment
There was a problem hiding this comment.
Stephen Belanger (@Qard) Thanks for taking a look!
Pass parsed command-line arguments to the tracing integration so it can distinguish explicit choices from defaults while continuing to use `bt`'s existing profile, organization, project, and credential selection. Depends on [the shared repository tracing change](braintrustdata/braintrust-coding-agent-plugins#294). Update the daemon pin to its merged commit before merging this PR. Validated with locked Cargo checks and isolated CLI tests for repository installation, uninstall, doctor, and plugin inheritance.
Teams can opt repositories into coding-agent tracing without changing how developers launch their agents. A shared
.braintrust.jsoncontrols all supported agents, while each developer keeps their own user-level installation and credentials.bt trace installreplacessetup, which remains an alias. Project settings inherit from user settings; project-local span plugins run after user plugins by default, with an option to replace the inherited chain. Project-scoped uninstall removes the shared file, and doctor reports the repository's effective settings.The companion bt change passes parsed command-line arguments to the tracing integration. Pi and OpenCode installations need updated plugins to apply project settings.
Closes SDK-601.
Closes SDK-849.
Validated with the daemon suite, Pi and OpenCode package tests, scoped CLI and plugin-chain tests, and real Codex and Claude sessions against mock services.