fix(agent-manager): keep subagents out of tabs - #11536
Merged
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
Previous Review Summaries (5 snapshots, latest commit 0a221c4)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 0a221c4)Status: 1 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (1 files)
Previous review (commit 64607b9)Status: 1 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (1 files)
Previous review (commit 5a79cf9)Status: 1 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (4 files)
Previous review (commit 908f3bd)Status: 1 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Fix these issues in Kilo Cloud Files Reviewed (3 files)
Previous review (commit be7418f)Status: No Issues Found | Recommendation: Merge Files Reviewed (11 files)
Reviewed by gpt-5.4-20260305 · Input: 162.1K · Output: 13.5K · Cached: 1.5M Review guidance: REVIEW.md from base branch |
marius-kilocode
enabled auto-merge
June 22, 2026 14:20
marius-kilocode
disabled auto-merge
June 22, 2026 14:31
# Conflicts: # packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
NJ-2020
pushed a commit
to NJ-2020/kilocode
that referenced
this pull request
Jul 4, 2026
# Conflicts: # packages/kilo-vscode/tests/unit/navigate.test.ts # packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx # packages/kilo-vscode/webview-ui/agent-manager/navigate.ts
chrarnoldus
approved these changes
Jul 14, 2026
2 tasks
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
fix(agent-manager): keep subagents out of tabs
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.
The OpenCode v1.14.51 integration in #11031 started forwarding versioned session creation events for background subagents. Agent Manager's existing root-session filter only applied to list results, so child sessions could still be adopted as follow-ups, admitted as top-level tabs, and persisted across restarts.
Treat parented sessions as non-navigable at every Agent Manager admission and rendering boundary. On startup, validate managed session IDs and remove children already persisted by affected builds. This keeps subagent activity within the parent transcript while preserving root sessions and pending-tab behavior.
Regression follow-up to #11031.