Skip to content

feat(agent-manager): enable multiple projects by default - #13918

Merged
marius-kilocode merged 5 commits into
mainfrom
enable-multi-project-agent-manager
Sep 8, 2026
Merged

marius-kilocode merged 5 commits into
mainfrom
enable-multi-project-agent-manager

Conversation

@marius-kilocode

@marius-kilocode marius-kilocode commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Agent Manager still requires an experimental opt-in to manage multiple repositories and maintains separate single-project and multi-project sidebars.

Why This Change Was Made

Use the existing project hierarchy as the only supported view. Remove the feature flag, its settings UI, and the obsolete flat sidebar, navigation, search, styles, and translations. Keep persisted state and tab-selection migration so existing sessions and worktrees remain available.

The old keyboard worktree-delete confirmation belonged to the removed sidebar. Keyboard and mouse actions now share one project-aware confirmation, including Escape and outside-click cancellation.

Project removal, legacy tab migration, background session creation, and asynchronous branch detection are project-scoped. The pinned workspace project remains protected.

User Impact

  • Multi-project support is always available, even if the removed setting was previously saved as false.
  • The current workspace remains the first, non-removable default project.
  • Additional repositories retain their own sessions, worktrees, and sections. No repository files or worktrees need to move.

Evidence

  • Full extension unit suite: 5,349 passed, 2 skipped, 0 failed across 404 files.
  • Additional review regression suites: 312 focused tests passed.
  • Extension build, host/webview typechecks, lint, and unused-code checks pass.
  • Isolated VS Code testing with disposable repositories covers the old setting saved as false, adding and switching projects, project-targeted worktree creation, active-project removal and fallback, restart persistence, pinned-project protection, and last-project removal without a workspace folder.
  • Verified keyboard delete confirmation, cancellation, collapsed-project reveal, and deletion within the correct project.
  • The no-workspace empty catalog renders safely. The separate no-workspace Local/session home view remains tracked in follow-up work.
  • Tests use disposable repositories and no credentials. Authenticated PR metadata and model requests were not tested.

The default workspace project appears first, with a worktree under an additional project

@kilo-code-bot

kilo-code-bot Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (89 files)
  • .changeset/agent-manager-projects-default.md
  • packages/kilo-docs/pages/automate/agent-manager-projects.md
  • packages/kilo-vscode/AGENTS.md
  • packages/kilo-vscode/package.json
  • packages/kilo-vscode/src/KiloProvider.ts
  • packages/kilo-vscode/src/agent-manager/AgentManagerProvider.ts
  • packages/kilo-vscode/src/agent-manager/host.ts
  • packages/kilo-vscode/src/agent-manager/project/context.ts
  • packages/kilo-vscode/src/agent-manager/project/contexts.ts
  • packages/kilo-vscode/src/agent-manager/project/messages.ts
  • packages/kilo-vscode/src/agent-manager/project/wiring.ts
  • packages/kilo-vscode/src/agent-manager/types.ts
  • packages/kilo-vscode/src/agent-manager/vscode-host.ts
  • packages/kilo-vscode/src/kilo-provider/config-snapshot.ts
  • packages/kilo-vscode/tests/fixtures/worktree-finish.tsx
  • packages/kilo-vscode/tests/unit/agent-manager-arch.test.ts
  • packages/kilo-vscode/tests/unit/agent-manager-orchestration-bridge.test.ts
  • packages/kilo-vscode/tests/unit/agent-manager-selection-actions.test.ts
  • packages/kilo-vscode/tests/unit/agent-manager-settings.test.ts
  • packages/kilo-vscode/tests/unit/agent-project-contexts.test.ts
  • packages/kilo-vscode/tests/unit/agent-project-messages.test.ts
  • packages/kilo-vscode/tests/unit/agent-project-pollers.test.ts
  • packages/kilo-vscode/tests/unit/agent-project-run-status.test.ts
  • packages/kilo-vscode/tests/unit/agent-project-selection.test.ts
  • packages/kilo-vscode/tests/unit/kilo-provider-indexing-refresh.test.ts
  • packages/kilo-vscode/tests/unit/navigate.test.ts
  • packages/kilo-vscode/tests/unit/project-sessions-live.test.ts
  • packages/kilo-vscode/tests/unit/project-state-handlers.test.ts
  • packages/kilo-vscode/tests/unit/sidebar-search.test.ts
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
  • packages/kilo-vscode/webview-ui/agent-manager/ProjectActions.tsx
  • packages/kilo-vscode/webview-ui/agent-manager/ProjectList.tsx
  • packages/kilo-vscode/webview-ui/agent-manager/ProjectSidebarBody.tsx
  • packages/kilo-vscode/webview-ui/agent-manager/SidebarBody.tsx
  • packages/kilo-vscode/webview-ui/agent-manager/WorktreeSectionActions.tsx
  • packages/kilo-vscode/webview-ui/agent-manager/agent-manager.css
  • packages/kilo-vscode/webview-ui/agent-manager/project-nav.ts
  • packages/kilo-vscode/webview-ui/agent-manager/project/live.ts
  • packages/kilo-vscode/webview-ui/agent-manager/project/selection.ts
  • packages/kilo-vscode/webview-ui/agent-manager/project/sessions-live.ts
  • packages/kilo-vscode/webview-ui/agent-manager/project/state-handlers.ts
  • packages/kilo-vscode/webview-ui/agent-manager/selection-actions.ts
  • packages/kilo-vscode/webview-ui/agent-manager/sidebar-search.ts
  • packages/kilo-vscode/webview-ui/agent-manager/worktree-delete.ts
  • packages/kilo-vscode/webview-ui/src/components/settings/ExperimentalTab.tsx
  • packages/kilo-vscode/webview-ui/src/stories/agent-manager.stories.tsx
  • packages/kilo-vscode/webview-ui/src/types/messages/extension-messages.ts
  • packages/kilo-vscode/webview-ui/agent-manager/i18n/* and packages/kilo-vscode/webview-ui/src/i18n/* (locale string removals)
  • packages/kilo-docs/public/img/screenshot-tests/kilo-vscode/visual-regression/agentmanager/sidebar-search-open-chromium-linux.png

Reviewed by grok-4.6 · Input: 218K · Output: 22.2K · Cached: 898.8K

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode enabled auto-merge (squash) September 8, 2026 12:29
…agent-manager

# Conflicts:
#	packages/kilo-vscode/tests/unit/kilo-provider-route-integration.test.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants