Skip to content

Keep Active Agents visible for plain managed sandboxes#356

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/patch-vscode-active-agents-empty-list-2026-04-23-11-32
Apr 23, 2026
Merged

Keep Active Agents visible for plain managed sandboxes#356
NagyVikt merged 1 commit intomainfrom
agent/codex/patch-vscode-active-agents-empty-list-2026-04-23-11-32

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The VS Code companion already handled launcher JSON and AGENT.lock telemetry, but gx branch start can leave a useful managed worktree with neither. The session reader now synthesizes rows from real agent/* worktrees under managed roots, preserving richer telemetry when present, so the Source Control view no longer falls back to empty while sandboxes exist.

Constraint: gx branch start may create managed worktrees without active-session JSON or AGENT.lock telemetry

Rejected: Emit fake launcher records from the extension | the view should read durable repo state without changing producer semantics

Confidence: high

Scope-risk: narrow

Directive: Keep live and template Active Agents sources in sync when changing extension discovery

Tested: node --test test/vscode-active-agents-session-state.test.js; node --test test/metadata.test.js; openspec validate agent-codex-patch-vscode-active-agents-empty-list-2026-04-23-11-32 --strict; git diff --check

Not-tested: Manual VS Code reload screenshot after installing 0.0.8
@NagyVikt NagyVikt merged commit 561c062 into main Apr 23, 2026
@NagyVikt NagyVikt deleted the agent/codex/patch-vscode-active-agents-empty-list-2026-04-23-11-32 branch April 23, 2026 09:44
NagyVikt added a commit that referenced this pull request Apr 23, 2026
The feature PR merged and the source sandbox was pruned after leaving the active worktree, but the originating task checklist still showed cleanup as pending. This records the verified PR #356 MERGED state and final worktree cleanup evidence.

Constraint: Cleanup evidence was only knowable after gx branch finish and gh pr view completed

Rejected: Edit main directly | base branch remains protected; use a tiny isolated evidence lane

Confidence: high

Scope-risk: narrow

Tested: openspec validate agent-codex-patch-vscode-active-agents-empty-list-2026-04-23-11-32 --strict; git diff --check

Not-tested: Product runtime; evidence-only OpenSpec checklist update

Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
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