Generate daemon tracing plugins during setup - #293
Draft
Stephen Belanger (Qard) wants to merge 1 commit into
Draft
Generate daemon tracing plugins during setup#293Stephen Belanger (Qard) wants to merge 1 commit into
Stephen Belanger (Qard) wants to merge 1 commit into
Conversation
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
|
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.