Skip to content

fix: restore Copilot credential-only login choices - #149038

Merged
RomneyDa merged 1 commit into
mainfrom
codex/restore-copilot-login-metadata
Sep 15, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
codex/restore-copilot-login-metadata

Conversation

@steipete

@steipete steipete commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

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: true for the device and enterprise methods and channelLogin: {} 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

  • On 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.
  • Strict JSON parsing reports no duplicate keys. The parsed delta is exactly the three restored fields, and the manifest matches its intended ba441 contents byte for byte.
  • Bundled channel metadata check and git diff --check pass.
  • Fresh independent P0–P2 review found no actionable issues.
  • Exact-head CI34963541893 completed successfully after merge: 32 passed jobs, 17 skipped, zero failed, including the required CI gate.

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.

@steipete steipete self-assigned this Sep 15, 2026
@clawsweeper

clawsweeper Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper

clawsweeper Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed September 15, 2026, 7:38 AM ET / 11:38 UTC.

ClawSweeper review

What this changes

Restores Copilot’s standard and Enterprise credential-only connection choices and enables the standard device-login method in private chat.

Regression provenance

Possible 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
Reviewed head: 3aafc9a5e74a2559805650521f0e6cbedd68e33e

Review scores

Measure Result What it means
Overall readiness 🦀 challenger crab (6/6) PR readiness rating was derived from proof quality, review findings, security review, and reviewer confidence.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦀 challenger crab (6/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required for maintainer- or bot-authored pull requests.
Evidence reviewed 9 items Verified introduced change: The pinned base-to-head diff restores only the two credentialOnly declarations and the standard device method’s channelLogin declaration. The checkout is clean.
Current main still needs the restoration: Fetched main lacks all three declarations. Its manifest and login-choice consumer have no changes relative to the pinned PR base.
Existing consumer and documented contract: The registry excludes choices without credentialOnly from executable login options. The documentation requires that declaration for Models Connect and channelLogin for fixed-input private-chat authentication; Enterprise remains a UI handoff because it requests a tenant domain.
Findings None None.
Security None None.

How this fits together

Copilot’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]
Loading

Before merge

  • Complete next step (P2) - Supply the required sanitized before/after Models screenshots in the originating chat and PR, plus Telegram Test Server evidence for the restored private-chat login behavior.
Agent review details

Security

None.

PR surface

Source +3. Total +3 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 1 3 0 +3
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 3 0 +3

Review metrics

None.

Root-cause cluster

Relationship: canonical
Canonical: #149038
Summary: This PR owns the remaining metadata restoration; the merged cleanup PRs provide history rather than replacement fixes.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best 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.

Labels

Label changes:

  • add P1: Current main suppresses established Copilot connection actions and redirects its standard private-chat login away from the supported device flow.
  • add rating: 🦀 challenger crab: Overall readiness is 🦀 challenger crab; proof is 🌊 off-meta tidepool and patch quality is 🦀 challenger crab.
  • add proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. The restored declaration changes the visible result of Copilot private-chat login from setup handoff to the device-login flow.

Label justifications:

  • P1: Current main suppresses established Copilot connection actions and redirects its standard private-chat login away from the supported device flow.
  • rating: 🦀 challenger crab: Overall readiness is 🦀 challenger crab; proof is 🌊 off-meta tidepool and patch quality is 🦀 challenger crab.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. The restored declaration changes the visible result of Copilot private-chat login from setup handoff to the device-login flow.

Evidence

What I checked:

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@RomneyDa
RomneyDa merged commit 80936b0 into main Sep 15, 2026
124 of 125 checks passed
@RomneyDa
RomneyDa deleted the codex/restore-copilot-login-metadata branch September 15, 2026 11:39
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants