You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agents - picking a model expands collapsed group #339691
Sharing media and context from merged PR #339642 for verification:
Builds on #339384's guided model comparison / bakeoff setup with focused UI polish and the minimal state/launch plumbing required for same-model effort variants.
Compare-mode setup
Select attempt models with checkboxes and an inline Done/Next, instead of a repeat-count stepper
Keep the picker in place while setting up a comparison. Checking a model, adding an effort variant, or changing a model's effort in Details updates the rows in place, instead of showing the list again or resizing the popup so it moves beside its anchor
Add a same-model, different-effort variant as its own attempt (e.g. compare GPT-5.6 Terra Medium vs Max directly)
Reuse the model Details flyout for in-row configuration in compare mode
Composer pill shows each attempt's model icon instead of a joined name list
Scorecard (Judge result)
Judge result renders as a scorecard: recommended attempt, per-attempt time/tokens, and an expandable row for the full rationale and validation evidence (collapsed by default)
Expanded rows keep validation evidence out of the summary scorecard while exposing each result, evidence source, and purpose through pointer and keyboard hover; comparisons where nothing ran show one clear explanation
The rationale leads with the Solution, then Comparison, Validation, and Code quality
Every attempt can be opened from the scorecard, with an always-visible open arrow on each row and an "Open Attempt N" link at the end of each expanded row
A round of visual polish on spacing, numbering, and type weight
Fix the scorecard bleeding past the chat input's width. It was centering itself again against the pane's uncapped width while its parent already centers and caps it in CSS, so the inset was applied twice
Before
After
Supporting fixes
Keep queued effort variants distinct from the model's persisted base effort, including after the base effort changes
Make validation explanations keyboard-discoverable and keep unknown/not-applicable states accurately labeled
Fix focus restoring to the wrong row after model-picker refreshes
Let a model's Details select that model again when comparing is available but not started. In the Agents window, an effort or Fast choice there was being ignored
Demo
compare-models-scorecard-and-synthesis.mp4
One continuous take in a local build of this branch, with real model responses. Idle agent time is sped up in place and nothing is cut.
Four attempts (GPT-5.6 Terra at Medium and Max effort, Gemini 4 Argon, and GPT-6 Luna) work on "Find and fix the event listener leaks in the agents voice UI under src/vs/workbench/contrib/agentsVoice." The voice UI leaks in several places, so the attempts find different ones and synthesis has something to combine
A Claude Sonnet 5.5 Judge recommends GPT-5.6 Terra at Max effort and lists what is worth keeping from the other attempts
The video opens Gemini 4 Argon from the scorecard, because the Judge called out its window lifecycle fixes
Claude Opus 5.5 synthesis builds on the winner, adds Gemini's window lifecycle fixes and Terra Medium's BroadcastChannel cleanup, and says what it left out and why
Mixed-harness execution and permissions
Added by Megan Rogge.
Comparison selections retain the harness tab they came from, so Copilot, Claude, and Codex models launch through their own session types for attempts, Judge, and Synthesizer instead of being re-resolved through the first compatible catalog.
Permission intent is translated to each harness native preset: Copilot Allow all uses autoApprove, Claude uses bypassPermissions, and Codex uses full-access. Manual/default intent maps to each harness default preset.
A draft mode is preserved only when the participant uses the same harness. Copilot modes such as interactive or autopilot are never copied to Claude or Codex, preventing the failed Claude startup that previously left comparisons at 2 of 3 ready.
Regression coverage verifies exact harness routing, native permission translation, and that cross-harness participants receive no incompatible source mode.
Restored sessions.chat.compareAgents.hideInactiveInputs for real comparison grids with three or more panes. The behavior is doubly scoped to the active comparison grid, never hides the active pane input, remains disabled for screen-reader optimized mode, and does not affect ordinary multi-session layouts.
New tests fail without their fixes: checking a model updates the rows in place, a deferred refresh keeps its size once Details closes, changing a compared model's effort doesn't measure the popup again, and Details still select their model when comparing is available but not started
Manually validated end-to-end in a local build (setup, attempts, Judge, opening an attempt from the scorecard, synthesis)
🤖 How to verify: the video for this fix is in this comment, with related fixes. It walks through the steps in real VS Code Insiders, checking each result in the app.
Activity
vs-code-engineering commentedon Oct 16, 2026
Sharing media and context from merged PR #339642 for verification:
Builds on #339384's guided model comparison / bakeoff setup with focused UI polish and the minimal state/launch plumbing required for same-model effort variants.
Compare-mode setup
Scorecard (Judge result)
Supporting fixes
Demo
compare-models-scorecard-and-synthesis.mp4
One continuous take in a local build of this branch, with real model responses. Idle agent time is sped up in place and nothing is cut.
Mixed-harness execution and permissions
autoApprove, Claude usesbypassPermissions, and Codex usesfull-access. Manual/default intent maps to each harness default preset.interactiveorautopilotare never copied to Claude or Codex, preventing the failed Claude startup that previously left comparisons at 2 of 3 ready.sessions.chat.compareAgents.hideInactiveInputsfor real comparison grids with three or more panes. The behavior is doubly scoped to the active comparison grid, never hides the active pane input, remains disabled for screen-reader optimized mode, and does not affect ordinary multi-session layouts.Testing
main, including the comparison picker and sidebar changes from Fix comparison model picker details #341601 and sessions: improve comparison UI rendering #341610npm run typecheck-client,npm run valid-layers-check,npm run stylelint, eslint, and pre-commit hygiene passTabbedModelPicker(105),TabbedActionListWidget(55),NewChatWidget(103),SessionsChatAccessibilityHelp(42),SessionComparisonModelSelection(18),ModelPickerActionItem(10),SessionComparisonResult(3), andSessionsList(236)Source PR: #339642
federicobrancasi commentedon Oct 18, 2026
🤖 How to verify: the video for this fix is in this comment, with related fixes. It walks through the steps in real VS Code Insiders, checking each result in the app.