Skip to content

A parent told child-needs-attention has no way to learn the child was unblocked #3614

Open

Description

@dfaivre

A parent told child-needs-attention has no way to learn the child was unblocked

Summary

When a child thread blocks on a user question, BB posts child-needs-attention to the parent,
whose text ends "Otherwise, ask the user for the missing decision." A parent agent that follows
that instruction opens its own AskUserQuestion — a separate provider interaction with its own
id and no relationship to the child's.

If the user then answers in the child thread, which is the natural place because that is where
the context is, the child's interaction resolves and the parent's stays pending. Nothing in the
taxonomy tells the parent its question is moot, and a pending interaction cannot be withdrawn by
the agent that opened it. The parent sits blocked until something interrupts it.

Evidence

bb-app 0.42.1, Linux (WSL2), two parent threads on separate issues, same shape.

Parent A, seq 467 — child-needs-attention naming the blocked child, ending with the
ask-the-user instruction. Seq 539 — the parent's own system/interaction/lifecycle,
origin.kind: "provider", payload.kind: "user_question". The user answered the child.

Thread Interaction Final status
child pint_54nxzpupjm resolved
parent pint_kh69ky6xir interrupted — never answered

Parent B: nudge at seq 19, own question at seq 57, interrupted at seq 61.

child-completed does arrive, but too late to help: in parent A it landed at seq 544, after the
parent had been blocked at 539 since before the child finished. A blocked parent cannot act on a
queued message.

What is missing

packages/domain/src/system-message.ts:16 defines ownership-assigned, ownership-removed,
child-needs-attention, child-completed, child-failed, child-interrupted,
child-outcome-batch, unlabeled. There is no child-unblocked — no signal for "the thing you
were told to get a decision about has been decided."

Suggested directions

Either would close it; the first is smaller.

  1. child-unblocked. Emit it when a child interaction the parent was nudged about resolves,
    naming the child and the resolution. A parent still blocked on its own question cannot read it
    — so this only helps together with (2), or by being emitted before the parent asks.
  2. Let a pending interaction be withdrawn. If the agent that opened one could cancel it, or
    if BB cancelled a parent interaction whose subject child interaction resolved, the blocked
    parent would clear without needing to read anything.

A third option is to soften the nudge text: "ask the user" is what produces the duplicate. If the
guidance were "reply to the child with guidance, or tell the user which thread to answer in",
parents would not open competing questions in the first place. That is a docs-level change and
does not fix the race, but it removes the common case.

Impact

Any plugin or workflow that spawns managed children and lets them ask questions. The user sees the
same decision asked twice, in two threads, and answering the one with the context leaves the other
stuck — which reads as the parent having lost track of its own child.

Activity

  1. added theissue type on Sep 13, 2026
  2. added
    threads
    confirmed-repro
    on Sep 13, 2026
  3. bb-slop-cop commented on Sep 13, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Bug · Priority: Medium · Effort: Medium. Applied labels: threads, confirmed-repro.

    Reproduction and root-cause report — REPRODUCED, high root-cause confidence.

    Two clean checkouts of trusted main reproduced child: resolved, parent: pending. Child settlement only updates its own interaction/thread; the separate parent question has no relationship that would clear it. The report includes the regression patch; all 13 existing lifecycle tests passed. Live provider behavior was not exercised.

    No PR: safely associating and cancelling duplicate questions requires a product/contract decision outside the simple-fix scope.

    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

    confirmed-reprothreads

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions