Repository navigation
Description
The workflow
I run orchestrator workloads — parallel scouts, reviewers, task fan-out — through a single provider thread (today via acp-omp, whose agent runs its own subagent mesh). The workflow I want:
- Spawn the orchestrator thread and let it fan out work to its child agents.
- Watch the live roster: which children exist, their labels, what each is doing (running / idle / parked / aborted), without opening the provider's own UI or logs.
- When a child agent raises a pending interaction (approval, question), see which agent is asking before answering —
bb thread interactions-style attribution, and anAgent: …line on the banner in the desktop app.
What happens today
The provider session's subagent mesh is entirely invisible to bb. A thread running ten child agents looks like one opaque single-agent session; there is no vocabulary for a roster anywhere — not in the bridge protocol, the daemon contract, or persistence — and pending interactions raised inside a subagent arrive unattributed, so an approval request reads as if the parent asked. On desktop/CLI there is no roster to inspect at all. (Binary-verified for omp 18.1.7: it emits no subagent state over ACP today, so even a wire-level view would be empty for that provider as shipped.)
What you would expect
- A thread-scoped roster snapshot per provider session:
ThreadSubagent { id, label, state, summary, transcriptRef }, latest-snapshot-wins semantics (mirrorsthread/goal/updated). - Emission capability-gated on the bridge handshake (
subagents, default false) — providers that cannot report rosters are unaffected; the delta grammar gainsthread.subagents. bb thread subagents <id> [--json]CLI + SDK method, and a desktop roster panel alongside the existing prompt-area cards.- Interaction attribution:
agentLabelon pending interactions end-to-end (raise path → persistence → every list/detail/resolve surface, banner line in the app).
Context and alternatives
I prototyped the full slice on my fork — branch feat/subagent-roster @ 853f7b5fe, stacked on the ACP plan-capability branch (see #3019). It covers the contract layer (thread/subagents/updated event, delta thread.subagents, protocol bump for the daemon launch capability, agentLabel schema with default-null so legacy payloads parse), migration 0113 (pending_interactions.agent_label + widened state partial index), the server capability chain, dormant ACP translation (subagents_update wire kind → delta, gated per provider — nothing ships enabled until omp-side emission exists), CLI/SDK/guide/skill/docs parity, and the desktop ThreadSubagentsCard. Plugin SDK needed a patch bump (0.4.41) per the npm version guard. Full CI-parity gate run locally (typecheck/test/lint/build, bundle budget, provider ratchet, version guard).
Design choices worth a maintainer eye:
- Capability stays off by default and off for every shipped agent — honesty rule: no live provider emits rosters over the wire today, so the surface is ready but dark until omp-side emission lands. The alternative (advertising it broadly) would show empty rosters and erode trust in the capability bit.
- Snapshot-replace rather than per-agent deltas: matches the goal/extensionState precedent and keeps client merge logic trivial.
- The daemon wire does not carry an agent label yet, so plugin-origin interactions stay null until the bridge protocol grows the field — dormant plumbing on the same honesty rule.
Ruled out:
- Not a duplicate of Disabled Codex subagents remain advertised, causing deterministic spawn failures #2706 (native Codex subagents advertised-but-disabled spawn failures) — different layer: that is BB's own native subagent delegation; this is visibility into a provider session's internal mesh.
- Not duplicates of Claude Code subagent transcripts aren't clickable: outputFile is dropped before it reaches the UI #2314 / Composer's running-agents status bar isn't clickable, unlike the main timeline #2315 (subagent transcript clickability, status-bar clickability) — those assume the roster exists; this provides it. Follow-ups like clickable
transcriptRefwould build on the field introduced here.
Tested against main at f6868ad; investigation thread thr_wr92wddupy.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 3, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassification applied:
providers,threads,provider-acpThe request adds new provider-session visibility and interaction attribution. It does not describe unexpected existing behavior.
neox31 commentedon Sep 10, 2026
Confirmed independently on BB 0.42.1 with the Cursor ACP provider. Three provider-internal background subagents were actively running, but the parent thread reported
activeBackgroundAgentCount: 0andchildThreads: []; the BB UI showed no activity, so the user reasonably believed work had stopped. We initially filed #3409 and closed it as a duplicate of this issue. This confirms the gap also affects Cursor ACP, not only the OMP mesh described in the original report.neox31 commentedon Sep 10, 2026
Additional lifecycle evidence from the same Cursor ACP run: all three provider-internal background agents eventually recorded a successful terminal state, but BB never surfaced their start, active state, or completion. The parent thread remained at
activeBackgroundAgentCount: 0/childThreads: [], and no automatic completion notification reached the parent agent; completion was discovered only by manually inspecting each provider transcript. This means the gap covers completion delivery as well as live roster visibility. A minimal fallback would be an opaque provider-background-work count plus terminal notification even before detailed roster support lands.HugoVizcainoSantana commentedon Oct 20, 2026
For providers that already report subagents (Claude Code, Codex), bb has the per-subagent data in nested
delegationrows; what's missing is UI and SDK access. Filed that part as #5864 so this issue can stay focused on ACP providers that emit nothing.adamalagha commentedon Oct 28, 2026
Hermes ACP evidence and proposed native display fixes
I investigated the same missing provider-internal activity through Hermes ACP on Windows. An isolated provider plugin can publish real work into BB's ordinary background-task dropdowns, but it did not pass full acceptance: truthful unknown status, follow-up delivery during background work, and live output after turn closure remain incomplete. The proposed patch below fixes four native display paths; it does not implement complete Hermes integration or resolve all of #3020.
Versions and verification scope
d923a5eb487a.5e1acd765039e874643f34c4d35409e58484e408.33b8f913e8fadc815b329eb0b13d2612faa4495eand the newly published desktop 0.48.0 release commit1a4a1d254c7b1f70d340ef9c800dad77dbeb8e66. This is an application check only. I have not installed or runtime-tested 0.48.0.thr_si2jxaa7nn; owned acceptance chatthr_pwzkzc2g27.The stock-UI tests used a real Hermes-launched, bounded local process, then generated new output through its health endpoint and completed it through its finish endpoint. The plugin published only owner-verified activity. No custom UI, database event insertion, managed bundle edits, fake completion, or replacement of the ordinary ACP provider was used. Existing chat/provider/session identities were retained. The experimental plugins are disabled.
Native display reproduction
With an owned provider fixture that emits native
backgroundTaskitems:type: backgroundTask,taskType: local_bash,status: pending,taskStatus: runningwith its initial summary/output.taskStatus: paused, descriptionStatus unknown, and a provider presentation requesting an unknown-state title. Recover that same item to running with a refreshed presentation.Observed on the stock 0.47.1 frontend:
Running background command:followed byStatus unknown: .... It should not describe unknown work as running.Source at the tested base:
Proposed patch and verified limits
The eight-file patch includes regression tests and:
The new regressions failed before repair. The focused suite passed 137 tests, and the source app and server built. The repository's
tsrscompiler has no Windows binary; the configured TypeScript 6.0.2 compiler passed app and thread-view--noEmitchecks instead. This is not a passingtsrsclaim.Eleven browser checks passed with the built source frontend against the existing backend and a real bounded process, including native dropdown logs, spinner, original-turn ordering before a newer message, live progress/exit, replay, reduced motion, and touch rendering. That source frontend used a temporary loopback preview proxy. The installed frontend was untouched, and these passing patched-source checks must not be confused with the later failing stock-frontend plugin experiment.
The stock-frontend held-turn plugin experiment passed live logs, tracking recovery on the same item, reconnect, reload replay, and touch disclosure. It failed the complete acceptance gate. Its 42 passing deterministic checks include a characterization of the SDK limitation below; they do not establish a usable plugin. Native aggregation can also count an unknown paused descendant as active background work. That policy and full provider integration are outside the attached display patch.
Additional protocol blocker: explicit turns lose main-run idle
The plugin's wire trace confirms it emits
turn.mainRunwithstate: idleafter the real model response, retaining the explicit original turn identity for correct ownership. BB emits no corresponding nativeturn/mainRun/updated, so a newer user message remains queued while the real background process runs.This reduces to the installed SDK assembler without Hermes, UI, or a database. In a scratch directory with
@get-bb/[email protected], save and run this asrepro.mjs:Actual output:
{"explicit":false,"events":["turn/started","turn/mainRun/updated"]} {"explicit":true,"events":["turn/started"]}Expected: main-run idle should reach the correctly identified original turn for both supported ways to open it.
Explicit
turn.openresolves a vouched ID without setting the implicit current ID.turn.mainRunreads only that implicit ID. The same code remains in the source inspected at submission time.Proposed direction for maintainer discussion, not included in the display patch: let
turn.mainRuntarget a vouchedproviderTurnId, preserving existing implicit-turn behavior and testing both paths. Simply discarding original-turn ownership to bypass the issue would weaken late-output correctness. Fresh-start origin recovery and complete internal-worker lifecycle coverage remain unverified.Scope and maintainer input
#3409 was closed as a duplicate of #3020; its Cursor ACP evidence supports the shared provider-visibility gap. The native display defects above also affect work already published to BB and may deserve separate tracked bugs. This is partial supporting evidence for #3020, not a claim to solve its full roster/interaction-attribution request. I have read the issue's existing discussion and contribution rules and am supplying the patch here for sign-off rather than opening an unapproved UI PR.
Please advise on the supported owning-provider integration route and whether these native display fixes should be split into a separate issue/PR. No custom BB build or ordinary-chat provider switch has been deployed.
Patch SHA-256:
6d537e41fc283a26e6c925d8dbbaed6600de8d1a3ef9110a322900e972adf41c.Proposed native display patch, eight files