Generate daemon tracing plugins during setup - #293
Draft
Stephen Belanger (Qard) wants to merge 20 commits into
Draft
Generate daemon tracing plugins during setup#293Stephen Belanger (Qard) wants to merge 20 commits into
Stephen Belanger (Qard) wants to merge 20 commits into
Conversation
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Add bt agents setup codex and bt agents setup claude. The commands use each agent's plugin manager to install the currently published Braintrust tracing plugin without configuring the unreleased embedded daemon. Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Create the shared tracing settings file when missing and allow --project to select the trace project. Existing settings, including legacy authentication fields, are preserved unchanged so current published plugins continue to work. Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Point bt at the daemon PR commit that restores src to main, keeping the existing published plugin runtimes independent from the daemon-capable CLI release. Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Generate local Codex and Claude plugin marketplaces that invoke bt trace hook directly. Replace prior generated installations on setup and disable or remove legacy tracing plugins to avoid duplicate spans while preserving unrelated agent configuration. Signed-off-by: Stephen Belanger <stephen.belanger@braintrustdata.com>
Contributor
|
Latest downloadable build artifacts for this PR commit
Available artifact names
|
Stephen Belanger (Qard)
force-pushed
the
agent/bt-daemon-integration
branch
from
August 9, 2026 17:48
def3be2 to
8199199
Compare
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
This is a temporary bridge stacked on #287. Until the published Codex and Claude plugins are converted to thin daemon hooks,
bt trace setupnow generates local agent marketplaces whose hook manifests invokebt trace hookdirectly.The generated plugin trees live under bt's global configuration directory and are registered through each agent's supported plugin manager. Setup refreshes an earlier generated installation on every run. It removes the legacy Codex tracing plugin and disables the legacy Claude tracing plugin when present so a session cannot emit duplicate traces, while leaving the official marketplaces, unrelated plugins, and existing tracing settings intact.
Once the daemon-based plugin artifacts are published, the follow-up cutover can switch setup back to installing those official marketplace plugins.
Validation
cargo test --locked(full suite passed)cargo check --lockedcargo clippy --all-targets -- -D warningsremains blocked by 12 existingcollapsible_matchwarnings in unrelated datasets, SQL, and traces code under the current Rust toolchain.