Skip to content

Expose nested active-agent subprojects in VS Code#378

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/show-subproject-active-agents-2026-04-23-16-04
Apr 23, 2026
Merged

Expose nested active-agent subprojects in VS Code#378
NagyVikt merged 1 commit intomainfrom
agent/codex/show-subproject-active-agents-2026-04-23-16-04

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The Active Agents view could show the parent recodee workspace while missing plain managed worktrees under nested repos such as gitguardex because discovery only started from active-session files, AGENT.lock files, or the workspace root fallback. This adds managed-worktree .git discovery, keeps workspace roots in the scan, and labels nested repo rows as workspace -> subproject so the top-level tree makes the actual work location visible.

Constraint: Plain managed worktrees may have no active-session JSON and no AGENT.lock telemetry

Rejected: Only add gitguardex as a hardcoded subproject | would not generalize to other nested repos under the same workspace

Confidence: high

Scope-risk: narrow

Directive: Keep vscode/guardex-active-agents and templates/vscode/guardex-active-agents in lockstep for extension behavior changes

Tested: node --check vscode/guardex-active-agents/extension.js && node --check templates/vscode/guardex-active-agents/extension.js

Tested: node --test test/vscode-active-agents-session-state.test.js

Tested: npm test

Tested: openspec validate agent-codex-show-subproject-active-agents-2026-04-23-16-04 --type change --strict

Tested: openspec validate --specs

Not-tested: Manual VS Code screenshot verification after reinstall
@NagyVikt NagyVikt merged commit 4b07069 into main Apr 23, 2026
@NagyVikt NagyVikt deleted the agent/codex/show-subproject-active-agents-2026-04-23-16-04 branch April 23, 2026 14:21
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