Add live transcript attach and managed agent runs - #6
Merged
Conversation
Stephen Belanger (Qard)
force-pushed
the
agent/trace-import-destinations
branch
from
August 4, 2026 15:40
85816df to
26aa3b8
Compare
Stephen Belanger (Qard)
force-pushed
the
agent/trace-attach-run
branch
from
August 4, 2026 15:40
f9ff0a9 to
2b3dd0a
Compare
Stephen Belanger (Qard)
changed the base branch from
agent/trace-import-destinations
to
main
August 4, 2026 15:40
Stephen Belanger (Qard)
force-pushed
the
agent/trace-attach-run
branch
2 times, most recently
from
August 4, 2026 19:49
5599e93 to
3726fe8
Compare
Stephen Belanger (Qard)
requested review from
Abhijeet Prasad (AbhiPrasad) and
Andrew Kent (realark)
August 5, 2026 12:01
Abhijeet Prasad (AbhiPrasad)
approved these changes
Aug 5, 2026
Stephen Belanger (Qard)
force-pushed
the
agent/trace-attach-run
branch
from
August 5, 2026 18:10
e41ef31 to
33af1d6
Compare
Stephen Belanger (Qard)
changed the base branch from
main
to
agent/multi-profile-daemon-auth
August 5, 2026 18:10
Stephen Belanger (Qard)
force-pushed
the
agent/trace-attach-run
branch
from
August 5, 2026 18:22
33af1d6 to
23e3a4a
Compare
Stephen Belanger (Qard)
force-pushed
the
agent/trace-attach-run
branch
from
August 6, 2026 15:08
23e3a4a to
bf55192
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
Route initialization contract
bt trace setuppersists the selected non-secretSessionRoutein the shared hook settings file. Existing agent sessions continue to use that setup route.bt trace runselects a route interactively or from flags and suppliestraceToBraintrust: trueplus that immutable route throughBT_TRACE_INVOCATION_SETTINGSto only the launched process tree. Its generated hook command remains identical to the setup hook. Concurrent managed runs can therefore use different profiles, organizations, projects, experiments, or parent spans without changing setup or one another.Hooks pass only profile, organization, and destination selection. The daemon host resolves and refreshes credentials. Malformed invocation settings fail closed for tracing instead of falling back to the persistent route.
Validation
cargo test --manifest-path bt-daemon/Cargo.toml --all-features --lockedcargo clippy --manifest-path bt-daemon/Cargo.toml --all-targets --all-features --locked -- -D warningscargo fmt --manifest-path bt-daemon/Cargo.toml --checkgit diff --checkmake validate-opencodemake validate-piRelease impact
No package is published, no marketplace repository is deployed, and no tag or GitHub release is created.