Skip to content

A hidden thread waiting on an approval or question stalls with nothing in the app pointing at it #4407

Open

Description

@MacHatter1

Summary

A hidden thread that stops to ask for an approval or a question waits with nothing in the app pointing at it. Hidden threads are left out of the sidebar and out of pending attention, and the only blocked-thread notification goes to a parent thread. Hidden root threads, including every Workflows worker, have no parent. So the work stalls until someone opens the thread by ID, or until the run times out (24 hours by default for Workflows). I expected the app to tell me a thread is waiting on me, wherever I am.

Versions and environment

  • bb 0.43.4 (desktop app), macOS 26.6
  • claude-code provider (Claude Code 2.1.280); the repro uses claude-sonnet-5 in accept-edits
  • Also reproduced on main at a19b3ed in an isolated pnpm dev instance (screenshot below)

Steps to reproduce

No plugins are involved; this is core only.

  1. Create a hidden thread that needs network access. The workspace sandbox blocks network by default, so it asks for approval within a few seconds:
    bb thread create --project <proj> --provider claude-code --model claude-sonnet-5 \
      --permission-mode accept-edits --visibility hidden --title "Hidden approval repro" \
      --prompt 'Run exactly this command and reply with only the first line of its output: curl -sI https://example.com'
  2. bb thread interactions list <thread> shows a pending "Allow network connection to example.com?" approval.
  3. Look anywhere in the app: the sidebar, the project page, the thread you're in.
  4. Control: repeat step 1 with --visibility visible.

Did not reproduce with auto: there, Claude Code's automatic review let this request through, so nothing waited. auto still reaches a person whenever its review escalates, which is how the Workflows case below happened.

Expected vs actual

Actual, for the hidden thread:

  • bb thread list --project <proj> --json leaves it out. --include-hidden shows it with hasPendingInteraction: true.
  • The app shows nothing: no sidebar row, no "needs user input" marker, no notification. The screenshot is main at a19b3ed with the hidden thread blocked: the sidebar says "No threads".
  • Opened by URL, the thread shows the approval with Allow once / Allow for session / Deny, and answering it works. What's missing is any way to find out it's there.

main at a19b3ed: a hidden thread is blocked on an approval, and the sidebar shows No threads with nothing pointing at it

The visible control is marked "Thread needs user input" in the sidebar.

Expected: something app-wide says a background thread needs me, and lets me answer it or open the thread.

Evidence

Observed in real use (not the repro):

  • A Workflows worker (Claude Code, Haiku 4.5, auto, inherited from the origin thread) waited 20 minutes on an approval, with nothing in the app showing it.
  • Seven other hidden threads on the same machine, on Claude Code, Cursor, Antigravity and Muse, each waited 1.5 to 16 minutes on an approval and were stopped unanswered.

Cause, from the code at a19b3ed:

What you ruled out

Suggested priority and effort

Medium. It's rare, since most hidden workers never ask, but it's silent, reachable under the default auto mode, and blocks the work until someone happens to open the thread (up to 24 hours for a workflow run). The only workaround is polling bb thread list --include-hidden. Effort is medium. I have a core-only fix that surfaces waiting interactions on hidden threads in an app-wide tray without changing their visibility (PR to follow, with screenshots).

Checks

  • Reproduced on bb 0.43.4 and on main at a19b3ed.
  • Searched open and closed issues.

Activity

  1. added theissue type on Sep 30, 2026
  2. added
    threads
    ui
    workflows
    partial-repro
    on Sep 30, 2026
  3. SawyerHood commented on Sep 30, 2026

    @SawyerHood
    Collaborator

    Reproduction report: PARTIALLY REPRODUCED. The same agent repeated the attention-selector regression in two clean checkouts at 49fe15af52972d5dd27ce4df430db205213de6ff: visible pending root thread → attention; hidden equivalent → none (1 failed, 11 passed in each run). Genuine browser captures show the ordinary-question component rendering locally. Server question delivery and absence of all app-wide notifications remain unverified; screenshots are component evidence, not a full-app reproduction. No production fix or PR.

    AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    partial-reprothreadsuiworkflows

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions