Skip to content

No way to suppress the child-completed system message on a parent thread #3723

Closed as not planned

Description

@jjanousek

Summary

bb sends a parent thread a system message every time one of its children
finishes a turn, and there is no way to opt out, per thread or per parent.

For a plugin that routes its own reports, this means every report arrives
twice, and the native copy is the one that has not been sanitised.

Tested on bb 0.43.0.

What the message looks like

client/turn/requested on the parent thread:

{"direction":"outbound","source":"tell","initiator":"system",
 "senderThreadId":null,
 "systemMessageKind":"child-completed",
 "systemMessageSubject":{"kind":"thread","threadId":"thr_...","threadName":"Chief Of Staff Dev"},
 "input":[{"type":"text","text":"[bb system] @thread:... completed: ..."}]}

systemMessageKind: "child-completed" is a clean discriminator, so a gate on
it would be straightforward.

Measured on one real install: 44 of these events. The body is an excerpt of the
child's last message, capped around 4,048 characters and cut mid-word with no
ellipsis or marker
— the longest one here ends ...pulled current salary figures fro.

Why it matters

1. Duplication for plugins that do their own routing. The Chief of Staff
plugin routes each worker's report to an orchestrator thread, with
disposition-based suppression so that a report saying "done, nothing needed"
does not start a turn at all. Nesting the workers under the orchestrator, to get
an org chart in the sidebar, made every report arrive twice: once routed, once
native. The native copy has no suppression, so work done to cut orchestrator
traffic is undone.

2. The native copy bypasses the plugin's sanitisation, which is the part that
matters most.
Before worker text reaches another agent's context, the plugin
strips tag-plane characters (U+E0000–U+E007F), zero-width and bidi controls, and
escapes host control tags such as system-reminder; it then wraps the body in a
fence with a per-message nonce. Worker output quotes the open web, client
documents and job listings, so this is not hypothetical. The native message
carries the same text with none of that applied.

That also rules out the obvious workaround. Dropping the plugin's own copy and
letting the native one through would trade sanitisation, fencing, suppression
and unread-marking for deduplication, which is a regression rather than a fix.

3. It scales the wrong way. One child is one duplicate. A parent with ten
children is ten native completions per round on top of ten routed reports.

What would fix it

Either shape works:

  • an opt-out at thread create/update, e.g. notifyParentOnCompletion: false; or
  • a parent-side setting, e.g. suppressChildCompletionMessages, so a parent that
    has its own reporting can turn the whole class off.

Not a request to remove the feature

It is wanted where a thread deliberately spawns children and waits on them: 37
of the 44 events here are that case, from threads using
bb thread spawn --parent-self, and the notification is exactly right there.
The ask is only that a parent which already has its own reporting can opt out.

Related

Same family as #3621: a plugin cannot tell bb who it is, and cannot tell bb not
to speak on its behalf.

Activity

  1. added
    threads
    plugins
    on Sep 15, 2026
  2. bb-slop-cop commented on Sep 15, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied and verified: Type: Feature · Priority: Medium · Effort: Medium. Labels: threads, plugins. No existing classification values were present.

    This requests a new opt-out for automatic child-completion delivery, with meaningful impact on plugin-managed reporting. It likely spans thread configuration and delivery handling. No reproduction report or PR was created because the final Type is Feature; the rule limits those steps to Bugs.

    AGENT GENERATED

  3. SawyerHood commented on Sep 15, 2026

    @SawyerHood
    Collaborator

    Consolidated into #3050 at the maintainer’s request. The main tracker now links this report and preserves its evidence and acceptance requirements. Duplicate of #3050 for ongoing tracking; closed as not planned here, not as fixed.

    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

    pluginsthreads

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions