Skip to content

Preserve background agent work in attached Claude imports - #327

Draft
Stephen Belanger (Qard) wants to merge 4 commits into
mainfrom
fix/claude-attach-background-work
Draft

Stephen Belanger (Qard) wants to merge 4 commits into
mainfrom
fix/claude-attach-background-work

Conversation

@Qard

Copy link
Copy Markdown
Collaborator

An attached Claude import can close a background agent at launch and miss the rest of its work. This keeps its span open until the completion notification or until the import ends, then reads its latest transcript.

Fixes #320.

The Claude import tests pass locally, including a child transcript that grows after its launching turn closes.

@Qard
Stephen Belanger (Qard) marked this pull request as draft November 25, 2026 14:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T14:13:58.047236Z 09510a1 PR opened
ℹ️ About Codex in GitHub

Your 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 09510a1b37

ℹ️ 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".

This branch has not been deployed

No deployments
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.

bt trace import claude --attach drops a background sub-agent's work done after its launching turn ends

1 participant