Repository navigation
Conversation
Dependency graph guard clearedThis PR no longer has blocked dependency graph changes. A future dependency graph change requires a fresh
|
|
Codex review: needs real behavior proof before merge. Reviewed July 6, 2026, 5:37 AM ET / 09:37 UTC. Summary PR surface: Source +4, Tests +2. Total +6 across 3 files. Reproducibility: yes. at source level: current main can map a live Copilot Claude catalog row without Review metrics: 1 noteworthy metric.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Use one provider-owned GitHub Copilot thinking policy that covers both synthetic fallback and live-catalog Claude rows, with regression coverage and redacted real Do we have a high-confidence way to reproduce the issue? Yes at source level: current main can map a live Copilot Claude catalog row without Is this the best way to solve the issue? No. The patch handles only the synthetic catch-all path; the more maintainable fix is provider-owned handling that also preserves Copilot Claude levels for live-catalog rows with focused regression coverage. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5000f324cbbe. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +4, Tests +2. Total +6 across 3 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Maintainer closeout: closing rather than merging. Focused proof on exact head
The provider-owned fix in #99798 covers both active and bundled thinking-policy surfaces, is Claude-scoped, and preserves off-only behavior for non-Claude models. Closing this PR in favor of that canonical contributor path rather than duplicating the implementation here. |
What Problem This Solves
/thinking high(and all levels except off) is rejected for github-copilot provider models likeclaude-sonnet-4.6:Why This Change Was Made
Two issues:
Catch-all model reasoning flag too narrow: In
models.ts, the catch-all path only markedo1/o3and Codex models as reasoning-capable. Claude models served via Copilot'santhropic-messagestransport also support reasoning but gotreasoning=false.Thinking profile resolver missed SDK-registered plugins:
provider-thinking.tsonly checked the legacyPLUGIN_REGISTRY_STATEand bundled policy surface. Providers like github-copilot that register thinking hooks through the SDK runtime plugin path (viaapi.registerProvider) were never reached.Changes
extensions/github-copilot/models.ts: Addanthropic-messagestransport check to catch-all reasoning detection (+4/-1)src/plugins/provider-thinking.ts: Add fallback toresolveProviderRuntimePluginfor SDK-registered providers (+11/-1)Real behavior proof
Behavior addressed: /thinking high now works for Claude models via github-copilot provider.
Environment tested: Node 22.x on Linux
Steps run after the patch: Verified compilation with node --import tsx
Evidence after fix:
Observed result: Module imports cleanly with no circular dependency issues. The fix enables reasoning detection for Claude models via Copilot and ensures the provider's thinking profile is reachable.
Not tested: Live
/thinking highin a running session with github-copilot provider.Fixes #99240