In this article
Stopping a bb thread preserves its history and worktree; reconcile the remaining files and explicitly update other agents that relied on its result.
Stopping an agent changes execution state, but it does not erase the repository or automatically update every other participant’s understanding. In bb, this distinction matters when a parent and a child are working toward a shared result. Cancellation needs a clear account of what remains and who now knows about it.
Stop execution without assuming deletion
The orchestration guide states that stopping a thread retains its history and worktree. A partially edited file can therefore remain after the model stops producing actions. In a hypothetical schema migration, the worker might already have changed a validator while leaving its tests unfinished. The stop event describes the worker’s lifecycle; the Git state describes the artifact. Those records must be examined separately before deciding whether to keep, complete or discard the change.
Another agent may hold an outdated expectation
The same guide explains that another agent is not automatically told about the stop. A parent may still expect a completed migration report, or a child may not understand why its coordinator became inactive. This makes a reconciliation message useful. It should name the stopped task, the known file state and the revised expectation. The message updates coordination knowledge without inventing a guarantee that cancelling any parent necessarily propagates to every nested process.
Inspect the remaining work before resuming
Git worktree documentation explains why a working directory continues to have its own checked-out state. For the migration example, inspect the diff and the relevant test result rather than treating the last conversational sentence as a complete inventory. A stopped model may have finished an edit before receiving the interruption. Conversely, a planned command may never have run. An explicit status separates observed changes, unverified intentions and work that is still required to reach the requested outcome.
Resume from a revised responsibility map
A replacement worker needs to know which artifact it inherits and which participant owns the next step. The original manager can then wait for a new bounded result or close the task with an accurate explanation. Repeatedly sending the original prompt would hide the interruption and encourage duplicate work. The useful recovery pattern is to reconcile repository state, communicate the stop and assign the remaining scope. This is ordinary coordination built around documented lifecycle behavior, rather than an automatic rollback feature.
Primary sources
Related engineering context: Choosing an AI development stack; Git state and undo.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.