You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cross-project child thread creation rejects a valid parent thread #1711
An agent tried to start a child thread in another project with --parent-self. The request failed with 400 Parent thread is invalid. The child could not report completion to its parent.
This blocks agent work that spans multiple repositories.
Expected result
A child thread can use a parent from another project. The child remains under its parent in the thread view, with a clear indicator for the different project.
Root cause (short): assertValidParentThread (apps/server/src/services/threads/thread-parent.ts:161-163) deliberately rejects any parent whose projectId differs from the new thread's with 400 parent_thread_invalid reason=wrong_project; the CLI hides the reason, and isLiveParentThread duplicates the same-project assumption for the parent permission ceiling and env inheritance.
Proposed fix: If cross-project parents are wanted: drop the wrong_project branch in assertValidParentThread; split isLiveParentThread so the project comparison remains only where the parent's environment is reused (personal-project branch of resolveCreateThreadEnvironment) while the permission ceiling (Child threads can run with more permissions than their parent #1593), visibility inheritance and managed-child semantics apply regardless of project (add a test that an auto parent's cross-project child requesting full is clamped); remove "wrong_project" from ParentThreadInvalidReason in server-contract + app lifecycle-errors mapping (as PR Allow cross-project sender attribution for thread messages #235 did for the sender varia…
Caveats: Worktree HEAD was a108fa7 (origin/main, 5 commits past base 16ceb3a); the relevant server/CLI/contract files are byte-identical at the base commit (verified via git diff), and origin/main does not fix the issue. The rejection is a deliberate design choice (kept explicitly in PR Allow cross-project sender attribution for thread messages #235), so the issue is effectively a feature request; screenshots show behaviour with the guard experimentally remove…
The report has copy-paste repro steps, screenshots where the bug is visual, code permalinks at 16ceb3a54, and repro artifacts. It was independently re-run by a second agent (see its Verification section).
Activity
SawyerHood commentedon Aug 18, 2026
Reproduction & root-cause report: https://get-bb.github.io/reports/issues/1711.html
The report has copy-paste repro steps, screenshots where the bug is visual, code permalinks at
16ceb3a54, and repro artifacts. It was independently re-run by a second agent (see its Verification section).Support child threads whose parent lives in another project
Support child threads whose parent lives in another project (get-bb#1849