Skip to content

Group Active Agents rows by explicit project metadata#371

Merged
NagyVikt merged 3 commits intomainfrom
agent/codex/codex-task-2026-04-23-13-25
Apr 23, 2026
Merged

Group Active Agents rows by explicit project metadata#371
NagyVikt merged 3 commits intomainfrom
agent/codex/codex-task-2026-04-23-13-25

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Summary

  • group Working now and raw Active Agents rows under explicit project metadata from AGENT.lock instead of inferring folders from generic changed-path prefixes
  • keep the readable Active Agents row merge intact while preserving session decoration URIs and session-health coverage on the rebased branch
  • add focused regression coverage for nested subproject folders and bump the live/template extension manifests above the current base version

Testing

  • node --test test/vscode-active-agents-session-state.test.js
  • openspec validate agent-codex-codex-task-2026-04-23-13-25 --type change --strict
  • openspec validate agent-codex-show-session-health-in-active-agents-2026-04-23 --type change --strict

NagyVikt added 3 commits April 23, 2026 14:44
The raw tree exposed machine worktree names and full agent refs at the same time
that richer session-health telemetry was landing on this branch. This keeps the
extra health signal while reshaping visible labels and summaries so operators can
scan by task first without losing full branch/worktree detail in tooltips.

Constraint: Live and template Active Agents sources must stay in sync and version-bumped together
Rejected: Keep full `agent/...` refs as raw labels | too noisy once many sandboxes are open
Confidence: medium
Scope-risk: narrow
Directive: Keep raw tree labels compact and task-first, but preserve full refs in tooltips and commands
Tested: node --test test/vscode-active-agents-session-state.test.js; openspec validate agent-codex-codex-task-2026-04-23-13-25 --type change --strict; openspec validate agent-codex-show-session-health-in-active-agents-2026-04-23 --type change --strict; openspec validate --specs
Not-tested: Manual VS Code screenshot pass against a live workspace
Rebase brought extension and test changes onto a base branch that already carried version 0.0.11, so the guard test needed both live and template manifests to move forward together.

Constraint: Focused Active Agents tests require the manifest version to increase above the base branch when extension files change
Rejected: Leave version 0.0.10 in place | node --test test/vscode-active-agents-session-state.test.js fails on the rebased branch
Confidence: high
Scope-risk: narrow
Directive: Bump live and template Active Agents manifests together whenever extension files change on a rebased branch
Tested: node --test test/vscode-active-agents-session-state.test.js
Not-tested: Manual VS Code install and reload flow on this branch
The Active Agents tree now prefers live task previews over branch slugs, colorizes session and warning icons, and keeps the mirrored template plus focused tests aligned with the installed extension surface.

Constraint: Must keep live and template Active Agents sources in sync and preserve existing grouped tree behavior
Rejected: Hide the raw path tree entirely | diagnostics still need a visible debug surface
Confidence: high
Scope-risk: narrow
Directive: Keep task-first labels and icon colors mirrored between vscode/ and templates/ whenever Active Agents tree rows change
Tested: node --test test/vscode-active-agents-session-state.test.js test/metadata.test.js; openspec validate agent-codex-codex-task-2026-04-23-13-25 --type change --strict; openspec validate --specs
Not-tested: Manual VS Code sidebar render after installing extension version 0.0.13
@NagyVikt NagyVikt force-pushed the agent/codex/codex-task-2026-04-23-13-25 branch from 1c692b1 to 1da318e Compare April 23, 2026 13:06
@NagyVikt NagyVikt merged commit 5f35f1f into main Apr 23, 2026
1 check passed
@NagyVikt NagyVikt deleted the agent/codex/codex-task-2026-04-23-13-25 branch April 23, 2026 13:06
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