Skip to content

Add live transcript attach and managed agent runs - #6

Open
Stephen Belanger (Qard) wants to merge 4 commits into
mainfrom
agent/trace-attach-run
Open

Add live transcript attach and managed agent runs#6
Stephen Belanger (Qard) wants to merge 4 commits into
mainfrom
agent/trace-attach-run

Conversation

@Qard

@Qard Stephen Belanger (Qard) commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add import ... --attach for live Codex and Claude transcript following until Ctrl-C
  • keep one translator and sink alive while an imported transcript grows, with incremental turn checkpoints and finalization
  • add run <codex|claude> [ARGS...] using live plugin hook tracing rather than transcript-following
  • inject Codex hooks through invocation-local config and Claude hooks through invocation-local settings, so tracing works without either plugin being installed or enabled
  • preserve Codex hook security by using the normal one-time /hooks review instead of globally bypassing hook trust
  • suppress inherited Braintrust plugin hooks for managed children while authorizing only the injected hook command, preventing duplicate spans
  • preserve inherited stdio and the coding-agent exit status

Covers SDK-127 and SDK-128.

Validation

  • cargo test --manifest-path bt-daemon/Cargo.toml --all-features --locked
  • cargo clippy --manifest-path bt-daemon/Cargo.toml --all-targets --all-features --locked -- -D warnings
  • make test
  • generated live-hook settings accepted by the installed Codex and Claude CLIs
  • standalone run help smoke test for both agent values

@Qard
Stephen Belanger (Qard) force-pushed the agent/trace-import-destinations branch from 85816df to 26aa3b8 Compare August 4, 2026 15:40
@Qard Stephen Belanger (Qard) changed the title Add live transcript attach and managed Codex runs Add live transcript attach and managed agent runs Aug 4, 2026
@Qard
Stephen Belanger (Qard) changed the base branch from agent/trace-import-destinations to main August 4, 2026 15:40
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