Skip to content

tui: add ephemeral /btw side-question threads#15701

Open
charley-oai wants to merge 7 commits intomainfrom
ccunningham/btw-clean
Open

tui: add ephemeral /btw side-question threads#15701
charley-oai wants to merge 7 commits intomainfrom
ccunningham/btw-clean

Conversation

@charley-oai
Copy link
Copy Markdown
Contributor

@charley-oai charley-oai commented Mar 25, 2026

Summary

  • add /btw as an ephemeral side-question fork in tui
  • mirror the same /btw behavior in tui_app_server
  • keep BTW threads hidden from normal agent navigation and returnable via Esc/Ctrl+C

charley-oai and others added 3 commits March 24, 2026 17:05
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
charley-oai and others added 4 commits March 24, 2026 18:48
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@viyatb-oai viyatb-oai marked this pull request as ready for review March 31, 2026 16:47
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

💡 Codex Review

codex/codex-rs/tui/src/app.rs

Lines 2956 to 2958 in 542d94d

if !self
.refresh_agent_picker_thread_liveness(app_server, thread_id)
.await

P1 Badge Exclude BTW threads from agent navigation cache

select_agent_thread always calls refresh_agent_picker_thread_liveness, which upserts the target into agent_navigation. handle_start_btw switches into BTW children through this path, so ephemeral /btw threads become visible to normal agent navigation (/agent, next/previous) instead of staying hidden. Add a BTW guard before liveness/upsert for these thread IDs.

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

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