Repository navigation
Conversation
…gg#9897) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ingdotgg#8464) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Julius Marminge <[email protected]>
…gg#9907) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Julius Marminge <[email protected]>
…otgg#9905) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…gg#9928) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…dotgg#9920) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ngdotgg#10051) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Julius Marminge <[email protected]>
…ingdotgg#13311) Co-authored-by: Claude Opus 5.5 <[email protected]>
…erk bridge (pingdotgg#13204) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…ngdotgg#13347) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
A subagent row in Lineage now has a chevron when that agent spawned its own subagents. Nested agents start collapsed and each level opens on its own, with tree guide lines under the parent.
Contributor
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR adds a new production UI capability spanning lineage state derivation, recursive nested-subagent rendering, and full parent-chain navigation. The cross-layer behavior change is broader than a small isolated UI tweak, while the remaining UI comment is limited to shared-primitive consistency. You can add or adjust custom eligibility rules. Learn more. |
Bil0000
force-pushed
the
feat/nested-subagent-lineage
branch
from
September 24, 2026 15:25
3ac309c to
20a5fa3
Compare
The "Subagent of" divider now lists every agent above the current one, root first, and each link opens that thread.
Bil0000
force-pushed
the
feat/nested-subagent-lineage
branch
from
September 24, 2026 15:28
20a5fa3 to
bd67ffd
Compare
This comment has been minimized.
This comment has been minimized.
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
2 times, most recently
from
September 24, 2026 23:21
6448cfe to
1563a64
Compare
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.
Problem
The V2 orchestrator supports nested subagents (a subagent can delegate to its own subagents), but the web UI shows them flat:
Fix
Lineage tree (web only). A subagent row with its own subagents gets a small chevron. It is collapsed by default. Expanding it shows the children, indented under thin tree guide lines, and each child can expand the same way. Rows open their thread like before.
Full parent chain. The "Subagent of" pill at the top of a subagent thread now shows every ancestor, root first (
Root › Parent › Direct parent). Each part links to that thread.The chat thread's subagent card is unchanged.
Shared logic lives in
packages/client-runtime:indexSubagentChildrenandsubagentAncestors(cycle-safe) inthreadRelationships.ts.subagentChildrenAtomandsubagentAncestorsAtominthreadShell.ts. Both keep a stable reference, so a row re-renders only when its own children change.Mobile has no Lineage panel, so there is no mobile change.
Screenshots
Inside a nested subagent's thread. The breadcrumb shows the full parent chain, and Lineage shows its parent, the root, and its own subagents:
Verification
vp test run apps/web/src/components/chat packages/client-runtime/src/state/threadRelationships.test.tspasses, including new tests for child indexing, ancestor order, and cycle safety.tsc --noEmitpasses forapps/webandpackages/client-runtime.Risks
Claude Opus 5.5, Claude Code in T3 Code