Repository navigation
feat(xai): add Grok 4.7 support - #155379
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 21, 2026, 11:06 PM ET / September 22, 2026, 03:06 UTC. ClawSweeper reviewWhat this changesAdds Grok 4.7 to the xAI catalog and reasoning controls, makes it the setup and server-tool default, and updates retired-model replacements, tests, and documentation. Merge readiness⛔ Blocked before merge - 2 items remain Keep open: current main lacks the curated Grok 4.7 capabilities, and the introduced implementation has no identified blocking code defect. Overlapping work exists, but this maintainer-authored PR additionally changes defaults and retirement behavior. Priority: P2 Review scores
Verification
How this fits togetherThe xAI plugin translates model selections and tool requests into xAI Responses API calls. Its catalog supplies model capabilities, setup defaults, and replacement metadata consumed by Doctor. flowchart TD
A[User model selection] --> C[xAI catalog and defaults]
B[Saved retired selections] --> D[Doctor model repair]
C --> D
C --> E[Reasoning and transport compatibility]
F[Search and code tools] --> E
E --> G[xAI Responses API]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +19, Tests +31, Docs +2. Total +52 across 29 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the existing plugin-owned catalog and compatibility design, with live contract and upgrade evidence supporting promotion of Grok 4.7 to shared defaults. Do we have a high-confidence way to reproduce the issue? Not applicable as a defect reproduction: this is a model-support addition, and source inspection confirms current main lacks its curated capabilities. Is this the best way to solve the issue? Yes for the implementation structure: extending the existing catalog and reasoning owner avoids duplicate machinery; advancing shared defaults additionally needs upgrade validation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 91f0839da752. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Summary
xai/autoselections to Grok 4.7 and refresh provider docsValidation
pnpm test -- extensions/xai(669 tests)pnpm test -- src/commands/doctor-retired-models.ordering.test.ts src/commands/doctor/shared/xai-auto-retirement.test.ts(30 tests)pnpm test -- src/agents/model-compat.test.ts(57 tests)pnpm lint(passes; existing max-lines warning insrc/cron/service/timer.test.ts)References