Skip to content

Keep Active Agents workspace builds versioned above main#334

Merged
NagyVikt merged 2 commits intomainfrom
agent/codex/active-agents-bugfix-pass-2026-04-22-16-54
Apr 22, 2026
Merged

Keep Active Agents workspace builds versioned above main#334
NagyVikt merged 2 commits intomainfrom
agent/codex/active-agents-bugfix-pass-2026-04-22-16-54

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

NagyVikt added 2 commits April 22, 2026 17:30
The Active Agents companion still had a merge-scarred provider duplicate, a full clean-worktree mtime walk, and extension-local stop/diff implementations that drifted from gx. This change bounds and caches clean-worktree activity probes, adds a narrow gx agents stop --pid route, switches diff opening to VS Code's Git change UI, and points the regressions at the live vscode source so the shipped surface stays covered.

Constraint: Active Agents refreshes inside the VS Code extension host, so clean-worktree scans and diff/stop actions must stay cheap and non-blocking
Rejected: Keep raw process.kill and git diff dumps in the extension | would keep drifting from gx and block on large diffs
Confidence: high
Scope-risk: moderate
Directive: Keep vscode/guardex-active-agents/* and templates/vscode/guardex-active-agents/* in sync; install fallback still depends on parity even though tests now target the live vscode copy
Tested: node --test test/vscode-active-agents-session-state.test.js test/agents.test.js
Not-tested: Manual VS Code UI smoke in a real extension host
The new Active Agents parity guard exposed a release-contract hole: the
extension bundle changed, but both live and template manifests still
reported 0.0.3 while main already shipped 0.0.4. Bumping both copies to
0.0.5 keeps the auto-install/update flow aligned with the real bundle.

Constraint: Active Agents extension edits must version above the base branch
Rejected: Leave the manifest at 0.0.3 | test/vscode-active-agents-session-state.test.js rejects changed extension files without a higher version
Confidence: high
Scope-risk: narrow
Directive: Bump both live and template Active Agents manifests whenever the extension bundle changes
Tested: node --test test/metadata.test.js
Tested: node --test test/agents.test.js
Tested: node --test --test-force-exit test/vscode-active-agents-session-state.test.js
Not-tested: Combined multi-file node --test run without --test-force-exit still leaves lingering mock-handle processes in this environment
@NagyVikt NagyVikt merged commit 096a749 into main Apr 22, 2026
@NagyVikt NagyVikt deleted the agent/codex/active-agents-bugfix-pass-2026-04-22-16-54 branch April 22, 2026 15:30
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