Repository navigation
Let child threads control which outcomes notify their parent - #5578
Merged
Merged
Conversation
Every child turn woke the parent, including direct follow-ups and replies to the parent, so orchestrating plugins avoided native child threads. Threads get a parentNotifications setting: auto (default, today's behavior), stuck (failed, interrupted, or blocked on an approval or question; no completions), or off. It is set on create and update through the API, SDK, `bb thread spawn/update --parent-notifications`, and the thread details panel, and shown by `bb status` and `bb thread show`. The bb guide tells a stuck/off child to report results with `bb thread tell`. Existing threads migrate to auto. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ymichael
force-pushed
the
bb/parent-notifications-policy
branch
from
October 15, 2026 19:40
915d73b to
a55ba81
Compare
Open
2 tasks done
This was referenced Oct 23, 2026
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
Every child turn notified its parent, including successful direct follow-ups and replies. Callers could not keep automatic failure/blocker reporting while choosing when to deliver successful results, so orchestrating plugins avoided native child threads.
What changed
parentNotifications:autopreserves all existing notifications,stuckskips successful completions while keeping failures, interruptions, and approval/question blockers, andoffsuppresses automatic notifications. Explicit messages remain available; forks retain their existing exclusion.threads.parent_notifications, with migration and creation defaults ofauto. Updates affect future outcomes.bb thread spawn/update --parent-notifications. Status/show output and CLI guides describe the policy. Plugin SDK version advances to 0.6.51.How you verified
pnpm exec turbo run test --filter=@bb/server -- test/threads/thread-parent.test.ts test/threads/child-outcome-gaps.test.ts test/public/public-thread-parenting.test.ts test/internal/internal-interactive-requests.test.ts— 53 tests passed across four files after rebasing onto origin/main.pnpm exec turbo run typecheck --filter=@bb/server --filter=@bb/app --filter=@bb/cli --filter=@bb/sdk --filter=@get-bb/plugin-sdk— passed after rebasing onto origin/main.pnpm start:worktree(before rebase) — production build succeeded using Turbo cache; app returned HTTP 200.git diff --check origin/main...HEAD— passed.