Skip to content

Make Active Agents easier to scan by grouping sessions under worktrees#338

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/group-active-agents-by-worktree-2026-04-22-18-12
Apr 22, 2026
Merged

Make Active Agents easier to scan by grouping sessions under worktrees#338
NagyVikt merged 1 commit intomainfrom
agent/codex/group-active-agents-by-worktree-2026-04-22-18-12

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The Active Agents view already exposed session-level state, but users still had to mentally map flat agent rows back to worktree ownership. This change adds an explicit worktree layer for both ACTIVE AGENTS and CHANGES while keeping the existing watcher-driven refresh path and session-scoped actions intact.

Constraint: Preserve the current debounced watcher and session action flow
Rejected: Create a separate SCM provider per worktree | larger surface than needed for this tree-view change
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep worktree rows as grouping surfaces unless the session-scoped commit and inspect flow is redesigned together
Tested: node --test test/vscode-active-agents-session-state.test.js test/metadata.test.js
Tested: openspec validate agent-codex-group-active-agents-by-worktree-2026-04-22-18-12 --type change --strict
Tested: openspec validate --specs (returned no items found, exit 0)
Not-tested: Manual VS Code render/install check
@NagyVikt NagyVikt merged commit 765431b into main Apr 22, 2026
@NagyVikt NagyVikt deleted the agent/codex/group-active-agents-by-worktree-2026-04-22-18-12 branch April 22, 2026 16:23
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.

1 participant