﻿# bb child threads: how nesting changes result delivery

In bb, nesting identifies the parent that receives a child result; project membership alone does not establish that coordination relationship.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/bb-child-thread-result-routing/
Language: en

A child agent finishing its task and a manager receiving that result are separate events. The nesting relationship in bb connects them. Understanding that relationship helps explain why a completed review can remain absent from the parent conversation even though its findings exist elsewhere in the workspace.

## A conversation tree carries coordination

The official orchestration guide describes nesting as the relationship through which a parent hears from a child. A project groups work around a repository, while nesting expresses who is coordinating whom. Those relationships serve different purposes. Imagine a manager requesting a review of a parser patch: placing both conversations in the project identifies their common codebase, but nesting the reviewer establishes the intended result destination. Merely sharing a project does not describe the dependency between the tasks.

## A detached reviewer can finish correctly

A reviewer started as an independent conversation can inspect the patch and produce useful findings. Its success says that the review task ran, not that an unrelated manager has consumed the answer. The guide discusses nesting a detached thread when coordination requires it. This is a routing issue rather than evidence of a weak model. Before repeating the entire review, inspect whether the findings already exist and whether the thread relationship matches the workflow that was intended.

## Return a result that another agent can use

For the parser example, a useful return identifies the examined revision, the suspected input and the observed failure or supporting code location. The manager can then decide whether to ask for a correction. A vague statement that the patch looks good leaves little to integrate even when delivery works perfectly. Result quality and result routing therefore need separate explanations: nesting helps the message arrive, while a bounded report gives its recipient enough evidence to act on it.

## Consume the result before reporting completion

The manager still needs to reconcile the returned finding with its own task. It can record which issue was addressed, which conclusion remains uncertain and what revision is now being described. This is an engineering interpretation of a useful handoff, not a claim that nesting automatically validates code. A child completion signal cannot replace the final combined check. The relevant chain is a finished artifact, a delivered report, a manager decision and evidence about the resulting implementation.

## Primary sources

- [Orchestrate your coding agents](https://getbb.app/guides/orchestrate-coding-agents).

- [bb changelog](https://getbb.app/changelog).

- [bb open-source repository](https://github.com/get-bb/bb).

Related engineering context: [Choosing an AI development stack](/journal/local-ai-app-stack-selection/); [Git state and undo](/journal/aider-git-dirty-tree-undo/).
