Repository navigation
Labels
ask-user-questionBuilt-in plugin: ask-user-questionconfirmed-reproBug reproduced again from a clean trusted checkout; see linked reportthreadsTurns, timeline, messaging, forks
Description
The workflow
Environment
- bb 0.49.0, built-in plugin
[email protected] - Child thread: ACP provider (GLM), spawned with
--parent-thread;Parent notifications: auto - Parent thread: Claude Code, acting as an orchestrator for several child threads
What happens today
- The parent (orchestrator) spawned a child thread for a coding task and ended its turn. It relies on parent notifications to hear back.
- Mid-turn, the child called
AskUserQuestionwith 3 questions. - The tool returned immediately to the child: "The request is shown to the user. A successful result will arrive separately. Do not ask again or assume an answer. Continue independent work…". The child's turn kept running.
- The question appeared only in the child thread's UI (
system/interaction/lifecycle, statuspending). - The parent received nothing. Its event log shows no incoming message for the whole time the interaction was pending, about 10 minutes.
- A human noticed the question by chance and answered it manually in the child thread. The answer was delivered to the child as a
tool-result-deliveredmessage. The parent still has no record that a decision was made.
What you would expect
A pending question or approval in a child thread should reach the parent, the same way blockers do. Per bb guide threads, auto reports "every finished, failed, or interrupted turn and every blocker", and stuck keeps "blockers on an approval or question". Because AskUserQuestion is now non-blocking, it never counts as a blocker, so neither mode reports it.
Context and alternatives
Why it matters
For multi-agent setups (an orchestrator thread plus worker threads), this breaks the control loop:
- Decisions get made by the human in a worker thread, bypassing the orchestrator, which keeps planning on stale assumptions.
- The worker keeps going on its own assumptions while the question is open.
- In unattended or overnight runs, the question hangs unanswered while the orchestrator is idle and waiting for a notification that never comes.
Suggested fix (any of these)
- Treat a pending interaction (question or approval) in a child thread as a parent notification event under
autoandstuck, even when the provider turn is not blocked. Include the interaction id and the question text, or a pointer tobb thread interactions show. - Alternatively, add an explicit option, e.g.
--parent-notifications questions, or a per-spawn flag that routes a child's AskUserQuestion to the parent instead of the human. - Optionally, let the parent answer through the existing
bb thread interactions answer <interaction-id> <child-thread>. Mentioning that command in the notification text would make the loop self-explanatory for agents.
Workarounds we are applying meanwhile
- Worker prompts now say: do not ask the human; ask the parent via
bb thread telland end the turn. - The orchestrator polls
bb thread interactions list <child> --jsonwhile waiting. - Our plugin forwards
interaction.pendingevents of managed threads to the orchestrator thread.
Checks
- I searched open and closed issues for the same request.
- If an agent wrote this, the body ends with
> AGENT GENERATED.
Metadata
Metadata
Assignees
Labels
ask-user-questionBuilt-in plugin: ask-user-questionconfirmed-reproBug reproduced again from a clean trusted checkout; see linked reportthreadsTurns, timeline, messaging, forks
Activity
bb-slop-cop commentedon Nov 12, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotthreads,ask-user-question, andconfirmed-repro; no existing classifications were replaced.autoandstuck.git diff --check.Notify the parent from the shared interaction lifecycle
Notify the parent from the shared interaction lifecycle
Notify the parent from the shared interaction lifecycle (get-bb#7729)