Repository navigation
fix: restore Copilot credential-only login choices - #149038
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: needs changes before merge. Reviewed September 15, 2026, 7:38 AM ET / 11:38 UTC. ClawSweeper reviewWhat this changesRestores Copilot’s standard and Enterprise credential-only connection choices and enables the standard device-login method in private chat. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Needs changes before merge - 1 item remains The restoration is still necessary on reviewed main and matches the existing login contracts. No actionable code defect was found; the repository’s visual-proof requirement remains unmet. Priority: P1 Review scores
Verification
How this fits togetherCopilot’s plugin manifest tells OpenClaw which login methods to offer. The shared registry projects those declarations into Models connection choices and private-chat login actions, which use the existing authentication handlers. flowchart TD
A[Copilot plugin manifest] --> B[Login choice registry]
B --> C[Models connection picker]
B --> D[Private chat login]
C --> E[Administrator or owner checks]
D --> E
E --> F[Existing device login]
F --> G[Credential storage and model access consent]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +3. Total +3 across 1 file. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep the manifest as the single source of login availability, preserving Enterprise’s interactive handoff and the existing credential-storage and model-consent boundaries. Do we have a high-confidence way to reproduce the issue? Yes, from source: main’s missing credentialOnly fields exclude both Copilot methods from Connect, and missing channelLogin prevents the standard method from running in chat. No runtime reproduction was executed in this read-only review. Is this the best way to solve the issue? Yes. Restoring the declarations repairs the existing registry contract without duplicating login logic or changing stored settings; the resulting manifest matches the intended earlier revision. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 84114b5a2711. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Related: #149001, #149016
What Problem This Solves
Copilot no longer advertises its credential-only connection and private-chat device login after an overlapping cleanup removed the remaining metadata declarations.
User Impact
Restores the established Copilot connection choices without changing authentication, saved credentials, or model selection behavior.
Why This Change Was Made
Restore
credentialOnly: truefor the device and enterprise methods andchannelLogin: {}for the device method. #149001 landed after #149016 had already removed duplicate declarations, so its actual merge removed the last copies. This adds exactly three manifest lines and preserves the retired-model removal, diagnostic changes, and existing strict contract assertions.Evidence
f31b419, the unchanged registry suite fails specifically for the three missing fields: 27 pass, one fails. After restoration all 28 pass, plus six Doctor boundary tests.ba441contents byte for byte.git diff --checkpass.No authenticated provider flow, Models screenshots, or Telegram Test Server captures were run. ClawSweeper found no actionable code defect but requested those visual/live artifacts; that additional proof was not supplied. Broader type/build/lint qualification comes from the successful exact-head hosted CI; no full local changed-gate pass is claimed.