Skip to content

fix(github-copilot): restore onboarding manifest capabilities - #149003

Closed
steipete wants to merge 6 commits into
mainfrom
codex/test-copilot-registry-auth-metadata
Closed

steipete wants to merge 6 commits into
mainfrom
codex/test-copilot-registry-auth-metadata

Conversation

@steipete

@steipete steipete commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Superseded by #149038, merged as 80936b0933a1b21bdb6097916cf69035a14dedc8. The manifest and strict test are source-equivalent to the qualified restoration below. Preserved evidence and closure rationale.

What Problem This Solves

An overlapping deduplication merge removed the last remaining Copilot onboarding capability declarations. The strict registry contract now correctly fails on main.

User Impact

Restore Copilot's existing credential-only setup capability for device and enterprise sign-in, and the device choice's existing chat-login declaration. No new option or authentication protocol is introduced.

Why This Change Was Made

#148864 introduced the metadata and #148981 supplied the strict expectations. #149016 deduplicated both declarations; the later #149001 merge removed the remaining manifest values. This continuation preserves Peter Steinberger's original PR ancestry and restores only those three manifest lines. The complete manifest again matches its pre-regression bytes. All test assertions and the independent diagnostic additions remain unchanged.

Evidence

Exact-head CI and native landing gates remain pending.

The complete source tree is 1b87d8df979039ed6696be18c8459a3e9bec8527. The fast-forward composition preserves both original author heads 267c4fbf12b2df9105447a975c6acffac649b11d and adbdcb9dad07405e2b6300bbae8b443a468a930d. Current proof and ownership.

@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 in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 15, 2026 10:29
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 15, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 15, 2026
@clawsweeper

clawsweeper Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 15, 2026, 7:25 AM ET / 11:25 UTC (Revision 2).

ClawSweeper review

What this changes

Updates the strict Copilot onboarding contract test to expect the existing credential-only and chat-login metadata.

Merge readiness

⛔ Blocked before merge - 2 items remain

No actionable patch defects found. The identical repair is already on main through #148981, so this branch adds no remaining change; its protected maintainer label requires human cleanup judgment.

Priority: P3
Reviewed head: 267c4fbf12b2df9105447a975c6acffac649b11d
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, correct assertion repair with no actionable findings; redundancy and draft status do not diminish patch quality.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-context test-only repair changes no production behavior. Reported focused tests support the assertion correction; the inspected related Chutes screenshot does not prove this test and is not needed for it.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-context test-only repair changes no production behavior. Reported focused tests support the assertion correction; the inspected related Chutes screenshot does not prove this test and is not needed for it.
Evidence reviewed 9 items Introduced patch: The pinned merge-base-to-head diff adds only the three expected properties, preserving strict equality and all existing expectations.
Existing metadata contract: The Copilot manifest already declares credentialOnly for both choices and channelLogin for device login; normalization retains both properties.
Merged equivalent repair: GitHub confirms #148981 merged at 2026-09-15T10:21:47Z. Its recorded patch contains the same three additions.
Findings None None.
Security None None.

How this fits together

Plugin manifests describe available sign-in methods before plugin execution. The registry normalizes that metadata for setup consumers, and these contract tests verify the resulting Copilot choices.

flowchart LR
  A[Copilot manifest] --> B[Metadata normalization]
  B --> C[Plugin manifest registry]
  C --> D[Setup sign-in choices]
  C --> E[Strict contract assertion]
  E --> F[Plugin contract CI]
Loading

Decision needed

Question Recommendation
May this protected draft be closed as superseded by the merged identical repair? Close the redundant draft: Close with a reference to #148981, which already supplies the complete repair.

Why: The verified merge contributes nothing further, but the maintainer label reserves closure for human judgment.

Before merge

Agent review details

Security

None.

PR surface

Tests +3. Total +3 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 3 0 +3
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: superseded
Canonical: #148981
Summary: The merged canonical repair contains the identical assertion additions.

Members:

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

Technical review

Best possible solution:

Retain the strict assertions already on main and retire the redundant branch through explicit maintainer cleanup.

Do we have a high-confidence way to reproduce the issue?

No current-main failure is established: the previously missing expectations are already present. The captured PR body reports the original failure and repaired suite; this read-only review did not execute tests.

Is this the best way to solve the issue?

Yes, updating the existing strict expectation is the narrow repair and preserves the manifest contract; that repair has already landed.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 1226eecf4ff9; fix evidence: commit 2b8c9f1ad64a, main fix timestamp 2026-09-15T10:21:46Z.

Labels

Label justifications:

  • P3: This is a test-expectation correction with no runtime change, already represented on main.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-context test-only repair changes no production behavior. Reported focused tests support the assertion correction; the inspected related Chutes screenshot does not prove this test and is not needed for it.

Evidence

What I checked:

Likely related people:

  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: 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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-09-15T10:35:59.537Z sha 267c4fb :: needs maintainer review before merge. :: none

@fuller-stack-dev

fuller-stack-dev commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Resolved by the canonical landed restoration

The native main refresh now confirms #149038 merged as 80936b0933a1b21bdb6097916cf69035a14dedc8 at 11:39 UTC. Its complete Copilot manifest and strict registry test are byte-identical to the qualified restoration here. The initial discovery snapshot predated that landing. No duplicate merge is needed; #137828 will integrate the landed canonical fix.

Closing this redundant PR without deleting the contributor branch. Both Peter-authored histories and all qualification/failed-attempt evidence are preserved. The final published head was a fast-forward, not an ancestry replacement.

Retained restoration proof and coordination

Current restoration proof

Head 881e9479d411af66913916669f78d1897e1cf73a is published and Git/API-verified. The fast-forward composition preserves both Peter-authored heads and restores exactly three manifest lines; strict tests and the diagnostic additions remain untouched.

  • Unchanged-main tree c87e5dd4f2f48f912ec05f7445f4ab5bbaa6619b: 1 failed / 27 passed. Red/green run; both test phases completed before an incorrectly targeted formatter command failed.
  • Restored source: 28 passed, plus 6 Doctor guards and bundled metadata validation. Completed qualification.
  • Final committed head: 28 passed. Exact-head run. Whole tree 1b87d8df979039ed6696be18c8459a3e9bec8527 matches the qualified source. Complete manifest bytes match pre-fix(ci): repair Copilot contracts and config failure diagnostics #149001, and strict JSON duplicate detection passes.
  • Formatter scope is explicitly unchanged: canonical policy excludes JSON; the supported allow-unmatched check passes, not a claimed formatting pass on this file. Failed parser/formatter attempts are preserved.
  • The proof is production registry/manifest loading and Doctor-contract boundary execution on isolated AWS Crabbox. No live authentication or provider call is claimed.

Pending: exact-head hosted CI and native review/preparation/merge. No merge attempt yet.

Original ownership and coordination

Taking ownership of the existing Copilot contract repair as a prerequisite for #137828. The original expectation additions are already on main through #148981, but a subsequent overlapping deduplication merge (#149001 after #149016) removed the remaining three manifest fields. The strict test is now correctly failing: https://github.com/openclaw/openclaw/actions/runs/34963535200/job/104363066909 .

I will preserve this PR's contributor ancestry, integrate current main, and restore only the original manifest declarations. No weaker assertions or diagnostic rollback. Coordination with the recent writer: #149001 (comment) . Runtime qualification and exact-head native gates remain required.

@steipete
steipete force-pushed the codex/test-copilot-registry-auth-metadata branch 2 times, most recently from 267c4fb to adbdcb9 Compare September 15, 2026 11:41
@steipete steipete changed the title fix: restore Copilot onboarding contract checks refactor: deduplicate Copilot auth metadata Sep 15, 2026
@steipete
steipete marked this pull request as ready for review September 15, 2026 11:42
@fuller-stack-dev

fuller-stack-dev commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

My guarded publication stopped before pushing because this branch moved from 267c4fbf12b2df9105447a975c6acffac649b11d to adbdcb9dad07405e2b6300bbae8b443a468a930d during qualification. No external work was overwritten.

Current main 84114b5a2711764e2ca333e327e808fd88316063 no longer has duplicate declarations: #149001 removed the final three manifest fields after #149016 had already deduplicated them. The strict registry assertion now fails in the opposite direction. I reproduced 1 failed / 27 passed on an exact-main tree, then 28 passed with only the three original manifest lines restored. Six Doctor guards and bundled metadata validation also pass. Qualified restoration head: aab36ab25afc0844e88a570a84c0d4e208c38afe, native run https://crabbox.openclaw.ai/portal/runs/run_037c1fe26c9c . The complete restored manifest matches the pre-#149001 bytes; tests are unchanged.

@steipete — GitHub records your force-push at 11:41 UTC. Please coordinate here before further branch publication. The new synthetic merge 1cbb678a645306df90a375434bc3b6f35730b23e still lacks all three declarations on main. The needed current-main correction is restoration, not another removal. I am retaining the qualified commit and reconciling the refreshed head under this PR's existing ownership.

@fuller-stack-dev fuller-stack-dev changed the title refactor: deduplicate Copilot auth metadata fix(github-copilot): restore onboarding manifest capabilities Sep 15, 2026
@steipete

steipete commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Confirmed superseded by #149016 and #149038. Main at 80936b0 contains the deduplicated registry expectation and correct, unique Copilot auth metadata.

For the historical cleanup head adbdcb9, the two cleanups removed opposite duplicate manifest entries. Its synthetic merge 1cbb678a645306df90a375434bc3b6f35730b23e removed the surviving metadata; exact-head CI caught that regression.

The closure readback shows the subsequent restoration head 881e947 and confirms this PR was already closed without merging. I am preserving that branch and its restoration history. No further publication or merge will be attempted here.

@RomneyDa
RomneyDa deleted the codex/test-copilot-registry-auth-metadata branch October 22, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: github-copilot maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants