Skip to content

Add non-destructive Local AI recovery - #1357

Closed
shanselman wants to merge 9 commits into
mainfrom
pr/1342
Closed

shanselman wants to merge 9 commits into
mainfrom
pr/1342

Conversation

@shanselman

@shanselman shanselman commented Sep 7, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Supersedes #1342 (Add recovery flow for local AI setup) and fixes #1307 while preserving @karkarl's dedicated recovery direction.

Local AI Retry setup or download currently routes into full onboarding. The default setup pipeline can unregister and recreate the existing app-owned WSL gateway, then leave Local AI without a usable retry path.

Fix

  • route Local AI retry through one owner-aware setup command
  • select non-destructive recovery only when exactly one setup-managed local gateway and its app-owned registered distro are proven
  • carry the exact gateway ID, custom distro name, and custom port into the recovery window and pipeline
  • route to normal provisioning only when managed gateway, distro, and data absence are conclusive
  • block ambiguous or stale ownership with a visible warning and Connection navigation
  • revalidate the exact owner before downloads and again immediately before WSL shutdown or gateway configuration
  • exclude WSL/gateway cleanup, distro creation/configuration, CLI install, and service install from recovery
  • repair Local AI assets, verify native inference and WSL reachability, configure the Local AI provider, and restart the existing gateway
  • retain the previous verified Local AI receipt throughout the recovery transaction
  • atomically replace an exact old managed provider with the verified replacement endpoint when automatic port selection changes
  • reject provider state that matches neither the retained old receipt nor the new verified receipt
  • preserve the first accepted provider snapshot across automatic configuration retries and lost acknowledgements
  • apply the same transition safeguards when recovery creates a provider from a valid provider-absent state
  • restore the original provider and primary model when a completed switch rolls back
  • restore the original endpoint receipt from the transaction-level recovery guard for failures before or after gateway configuration
  • re-inspect failed or unacknowledged provider compensation and restore receipt A only when live route A is confirmed
  • conservatively retain receipt B for live route B, unknown state, timeout, rollback cancellation, or failed provider removal
  • keep existing setup windows in their current mode; a newly created recovery window exits to normal setup only through Back
  • force Local AI enabled during recovery and prevent a successful no-op
  • preserve recovery for legacy managed gateway records by resolving their effective distro name consistently during initial ownership binding and revalidation

Required proof pools

  • windows-wsl-dgx-blackwell: not complete. The current host exposes an RTX 4080 SUPER in both Windows and WSL, but its 16 GiB VRAM is below the approximately 22.2 GiB minimum required by the smallest current new-install catalog recipe.
  • windows-wsl-gateway-e2e: automated current-head Setup and connect E2E passed in workflow run 34182468367. A real existing-gateway Local AI recovery transaction remains blocked by the native proof constraints below.
  • windows-winui-interactive: not complete. On this host the real hardware probe correctly marks current Local AI installation unavailable, so the enabled recovery review cannot be captured without a catalog-capable GPU.

Validation

Current head: aec64355.

  • .\build.ps1: passed
  • dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: 3,943 passed, 32 skipped
  • dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: 2,868 passed
  • dotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --no-restore: 1,119 passed
  • focused endpoint handoff and transaction tests: 50 passed
  • focused Tray routing/UI contract tests: 67 passed
  • current-head CI run 34182468367: Core and CLI, Tray/setup/integration, UI/functional/accessibility, Setup and connect E2E, network recovery E2E, revocation recovery E2E, proof contracts, and CI Gate passed
  • final structured autoreview on the recovery implementation: clean, no accepted/actionable findings
  • final independent rubber-duck review on the recovery implementation: clean; all transaction, timeout, and provider-absent findings were verified closed

Real behavior proof

Automated current-head proof establishes:

  • retry invokes the Local AI setup route, not general onboarding directly
  • a unique managed gateway can be recovered even when it is not the active gateway
  • custom managed distro names and ports are preserved
  • legacy managed records resolve their effective distro safely through both construction and revalidation
  • conclusively absent installations route to normal provisioning
  • ambiguous, stale, replaced, or missing owners fail closed before Local AI acquisition or WSL mutation
  • the recovery pipeline contains two owner checks and excludes destructive WSL/gateway provisioning steps
  • an exact managed provider using the previous automatic port is atomically switched to the newly verified endpoint
  • provider drift matching neither the old nor new verified endpoint is preserved and blocks recovery
  • provider creation from a valid provider-absent state is tracked as a recovery transition
  • a provider batch that fails before mutation restores the retained original receipt without rewriting the unchanged live route
  • a lost provider-switch acknowledgement cannot replace the original rollback baseline on retry
  • rollback after a completed switch restores the original provider, primary model, and endpoint receipt
  • failures before gateway configuration still restore the original receipt through the transaction-level preservation step
  • failed provider compensation is re-inspected so receipt rollback follows observed live provider state rather than command exit status
  • rollback timeout or cancellation defaults to retaining the replacement receipt rather than blindly rewinding it
  • failed removal of a recovery-created provider also retains the replacement receipt
  • WSL shutdown arms rollback restart before command execution, including cancellation, timeout, and nonzero exit
  • a failed final gateway restart also arms rollback; a successful restart clears it
  • recovery mode cannot complete with Local AI disabled
  • Back exits recovery to normal setup, while clicks against an already-open setup window do not repurpose its current flow

Additional current-host proof:

  • Windows and Ubuntu WSL both enumerate the NVIDIA GeForce RTX 4080 SUPER with driver 620.02 and 16,376 MiB
  • the pinned b10655 CUDA 13.3 x64 llama-server archives matched their catalog SHA-256 digests
  • the recovery-compatible pinned Qwen3.5 9B model was downloaded with the Hugging Face client and matched its exact 5,868,826,976-byte size and SHA-256 digest
  • the pinned Windows CUDA runtime loaded that model successfully and reported a healthy listener on 127.0.0.1

Not verified / blocked:

  • WSL could not reach the Windows loopback listener even after applying the already-configured networkingMode=Mirrored through an approved wsl --shutdown; the active Hyper-V firewall policy defaults inbound WSL traffic to Block and has no TCP allowance for the Local AI port
  • a task-owned temporary Hyper-V firewall rule could not be added because the current session is not elevated (Access is denied); no rule or llama-server process was left behind
  • no current-head screenshot or video of the enabled recovery review page was captured because the current 16 GiB GPU is correctly ineligible for the current new-install model catalog
  • no full real existing-gateway Local AI recovery transaction was performed

Ownership notes

  • old owner: Local AI retry called general onboarding and entered the destructive-capable default pipeline
  • new owner: WindowManager.ShowLocalAiSetupAsync chooses provision/recovery/blocked routing; BuildLocalAiRecoverySteps owns the owner-bound non-destructive pipeline
  • preserved invariant: App.xaml.cs remains a one-line command forwarder; setup-window orchestration remains in WindowManager

Security impact

No new credentials or permissions. Recovery is fail-closed on ambiguous ownership and binds all WSL/gateway changes to one revalidated registry owner, distro, loopback endpoint, and retained managed-provider receipt.

Route retry through an owner-bound recovery pipeline, preserve existing WSL gateways, and fall back to provisioning only when managed gateway absence is proven.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 4f97b3a3-def7-4f33-b7d5-ece171b4fd0b
@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

🦞👀
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.

@shanselman shanselman added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Sep 7, 2026
@clawsweeper clawsweeper Bot added P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. merge-risk: 🚨 availability 🚨 Merging this PR could cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 7, 2026
@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Codex review: blocked before merge. Reviewed September 8, 2026, 11:53 PM ET / September 9, 2026, 03:53 UTC (Revision 11).

ClawSweeper review

What this changes

Routes Local AI retry through a guarded recovery flow that preserves the existing WSL gateway and coordinates provider changes with saved endpoint receipts.

Merge readiness

⛔ Blocked before merge - 4 items remain

This PR remains necessary: current main and the latest release still route Retry into full onboarding. The earlier rollback findings are addressed, and no new blocking code defect was found. Native recovery validation remains incomplete.

Priority: P0
Reviewed head: aec6435525d7e0193ed003db76c1551921bbd290
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused implementation and transaction regression coverage are sound; the remaining native validation decision is explicit.
Proof confidence 🌊 off-meta tidepool Not applicable: The external-contributor gate is exempt for this collaborator-authored PR. Scoped repository validation remains incomplete: native model loading does not exercise WindowManager recovery through WSL provider replacement and gateway restart, and the body explicitly documents those blockers.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The external-contributor gate is exempt for this collaborator-authored PR. Scoped repository validation remains incomplete: native model loading does not exercise WindowManager recovery through WSL provider replacement and gateway restart, and the body explicitly documents those blockers.
Evidence reviewed 9 items Current main still needs the fix: Current main retains RetrySetup calling ShowOnboarding; the search found no dedicated recovery route.
Latest-release behavior: The supplied latest release, v2026.7.1-4, also calls ShowOnboarding from RetrySetup. GitHub contents inspection verified this after local release-blob inspection failed.
Bounded recovery pipeline: The introduced 19-step pipeline checks ownership twice, repairs and verifies Local AI, and restarts the gateway without including distro cleanup, gateway cleanup, distro creation, or CLI installation.
Findings None None.
Security None None.

How this fits together

The Windows companion runs Local AI on Windows and connects it to a gateway inside WSL. Recovery starts from Local AI settings, checks the existing installation, and repairs inference and gateway routing.

flowchart TD
 A[Local AI retry] --> B[Check gateway ownership]
 B -->|Installation absent| C[Normal setup]
 B -->|Ownership unclear| D[Connection settings]
 B -->|Managed installation verified| E[Repair and verify Local AI]
 E --> F[Update provider and endpoint receipt]
 F --> G[Restart existing gateway]
Loading

Decision needed

Question Recommendation
Should the declared native recovery pools be completed before this PR lands, or should a scoped validation exception be accepted? Complete native recovery validation: Use the declared capable Windows pools to establish usable recovery controls, preserved existing gateway state, and consistent provider receipts before landing.

Why: The implementation has substantial automated coverage, but its author explicitly reports that hardware capacity and firewall permissions prevented the real recovery transaction; custom proof capacity is maintainer-scheduled.

Before merge

  • Resolve merge risk (P1) - Existing installations with stale, missing, or ambiguous ownership now stop at Connection settings; a usable recovery path for those states has not been demonstrated.
  • Resolve merge risk (P1) - Provider replacement and receipt compensation rewrite existing installation state. Their combined behavior through real WSL recovery, including failure recovery, remains unverified despite focused regression coverage.
  • Complete next step (P2) - Complete the declared native recovery validation or record an explicit maintainer-approved scoped exception before landing.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Production and test delta production +687/-40; tests +952/-9 Production growth implements guarded recovery and transaction compensation, with most added lines devoted to regression coverage.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #1307
Summary: This PR is the active candidate for the reported destructive Retry workflow; the earlier recovery proposal is closed unmerged.

Members:

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

Merge-risk options

Maintainer options:

  1. Validate existing-install recovery (recommended)
    Complete native recovery and compensation proof, including custom gateway settings and blocked ownership states, before accepting the upgrade behavior.
  2. Own the remaining native uncertainty
    A maintainer may explicitly accept the documented recovery and provider-transition coverage gaps.

Technical review

Best possible solution:

Keep recovery non-destructive, preserve gateway and provider state, and establish native upgrade proof with an actionable in-product recovery route for blocked installations.

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

Yes, from source: current main routes Local AI Retry into onboarding, whose documented local-install path replaces the existing app-owned WSL gateway. No runtime reproduction was executed in this read-only review.

Is this the best way to solve the issue?

Yes, the dedicated recovery pipeline is a focused way to avoid destructive provisioning while reusing existing setup owners; native evidence is still needed to establish the complete recovery outcome.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against eef8dcd63d58.

Labels

Label justifications:

  • P0: The linked report describes deletion of an existing WSL sandbox and an unusable Local AI recovery flow.
  • merge-risk: 🚨 compatibility: Retry behavior changes for existing installations, including refusing ambiguous ownership, without completed native upgrade proof.
  • merge-risk: 🚨 auth-provider: The new recovery transaction switches persisted model-provider endpoints and compensates failures across provider and receipt state.
  • 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: The external-contributor gate is exempt for this collaborator-authored PR. Scoped repository validation remains incomplete: native model loading does not exercise WindowManager recovery through WSL provider replacement and gateway restart, and the body explicitly documents those blockers.

Evidence

What I checked:

  • Current main still needs the fix: Current main retains RetrySetup calling ShowOnboarding; the search found no dedicated recovery route. (src/OpenClaw.Tray.WinUI/Presentation/LocalAiPageViewModel.cs:191, eef8dcd63d58)
  • Latest-release behavior: The supplied latest release, v2026.7.1-4, also calls ShowOnboarding from RetrySetup. GitHub contents inspection verified this after local release-blob inspection failed. (src/OpenClaw.Tray.WinUI/Presentation/LocalAiPageViewModel.cs:191, c7c6fb06be03)
  • Bounded recovery pipeline: The introduced 19-step pipeline checks ownership twice, repairs and verifies Local AI, and restarts the gateway without including distro cleanup, gateway cleanup, distro creation, or CLI installation. (src/OpenClaw.SetupEngine/SetupPipeline.cs:54, aec6435525d7)
  • Previous transaction findings addressed: Recovery retains the original install, preserves the first accepted provider snapshot with ??=, disables receipt restoration before awaiting compensation, and reconciles failed compensation against observed provider state. Added regression cases cover port handoff, lost acknowledgements, pre-configuration failure, and provider-absent cancellation. (tests/OpenClaw.SetupEngine.Tests/LocalAiGatewayUninstallTests.cs:118, aec6435525d7)
  • Updated proof and review continuity: The supplied body at sourceRevision 815859452094cbb057ebb7c3275cd8bf98de5432a9306e8524676632a5dbba33 reports current-head build, Shared, Tray, SetupEngine, and CI success plus successful native model loading. It explicitly reports blocked WSL reachability, no enabled recovery-page capture, and no real existing-gateway recovery transaction. The previous completed review examined the identical head and retained one native-proof rank-up move; that move remains incomplete. Builds and tests were not rerun during this read-only review. (aec6435525d7)
  • Inspected screenshots establish the reported problem: Both prepared images were inspected locally. They belong to Local AI: "Retry setup or download" destroys WSL sandbox, then "Install & setup" stays greyed out #1307 and show the original Local AI error, general setup, and disabled install control; they are not after-fix recovery evidence.

Likely related people:

  • joelagnel: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Barbara Kudiess: Raw commit 3a097bc adds src/OpenClaw.Tray.WinUI/Services/WindowManager.cs:385 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3a097bc85f7b; files: src/OpenClaw.Tray.WinUI/Services/WindowManager.cs)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Complete the declared native proof pools with redacted evidence of usable recovery controls, preserved existing gateway state, and provider/receipt consistency.

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 (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-07T20:08:19.682Z sha fd2d856 :: blocked before merge. :: [P1] Restore the retained receipt when verification fails before configuration | [P1] Preserve the original rollback baseline across configuration retries
  • reviewed 2026-09-07T20:33:01.440Z sha eb4987a :: blocked before merge. :: [P1] Coordinate receipt restoration with provider rollback success
  • reviewed 2026-09-07T21:01:18.251Z sha f764e93 :: blocked before merge. :: [P1] Disallow receipt restoration before awaiting provider rollback
  • reviewed 2026-09-07T21:24:27.924Z sha 0839286 :: blocked before merge. :: [P1] Guard receipt rollback when recovery starts without a provider
  • reviewed 2026-09-07T21:48:44.158Z sha d31fec3 :: blocked before merge. :: none
  • reviewed 2026-09-07T22:06:19.508Z sha d31fec3 :: blocked before merge. :: none
  • reviewed 2026-09-08T01:12:01.412Z sha ee9f979 :: blocked before merge. :: none
  • reviewed 2026-09-08T03:12:59.231Z sha aec6435 :: blocked before merge. :: none

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 4f97b3a3-def7-4f33-b7d5-ece171b4fd0b
@shanselman

Copy link
Copy Markdown
Collaborator Author

@clawsweeper please re-review current head 9dd9b23. The legacy managed-distro resolver path is now normalized in both construction and revalidation, with direct regression coverage.

@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper assist is taking a look at your question.

I queued a lightweight read-only assist pass. It will post a separate answer comment and will not edit the durable ClawSweeper review comment or trigger close, merge, repair, label, or branch changes.

Request: please re-review current head 9dd9b23. The legacy managed-distro resolver path is now normalized in both construction and revalidation, with direct regression coverage.

@clawsweeper

clawsweeper Bot commented Sep 7, 2026

Copy link
Copy Markdown

ClawSweeper assist: 9dd9b231 needs a full correctness re-review. The supplied context reports the legacy resolver fix, but truncated patches prevent confirming both consumers and regression coverage here.

Evidence:

  • The previous review covered e96cb3c1, identifying legacy-name handling in construction and revalidation.
  • Current head 9dd9b231 is titled fix: resolve legacy managed distro owners.
  • The PR body reports passing tests and clean local review; native WinUI, existing-gateway recovery, and NVIDIA inference proof remain outstanding.

Suggested next action: Comment @clawsweeper review on the PR to request a full review of the current head and body.


Source: #1357 (comment)
Assist reasoning: medium.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 7, 2026
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 4f97b3a3-def7-4f33-b7d5-ece171b4fd0b
@shanselman

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Sep 7, 2026
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 4f97b3a3-def7-4f33-b7d5-ece171b4fd0b
@shanselman

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 4f97b3a3-def7-4f33-b7d5-ece171b4fd0b
@shanselman

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 4f97b3a3-def7-4f33-b7d5-ece171b4fd0b
@shanselman

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 auth-provider 🚨 Merging this PR could break OAuth, tokens, provider routing, model choice, or credentials. and removed merge-risk: 🚨 availability 🚨 Merging this PR could cause crashes, hangs, restart loops, stalls, or process outages. labels Sep 7, 2026
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 4f97b3a3-def7-4f33-b7d5-ece171b4fd0b
@shanselman

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 7, 2026
@shanselman

Copy link
Copy Markdown
Collaborator Author

Current head d31fec3 is code-review clean. ClawSweeper reports no actionable findings; local build and required Shared, Tray, and SetupEngine suites pass. This draft is now paused on the declared native proof pools (Windows WinUI, existing WSL gateway recovery, and NVIDIA inference). Hosted gateway E2E remains blocked by the recurring external CLI installer failure, not this diff.

@shanselman shanselman removed the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Sep 7, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Sep 7, 2026
@shanselman shanselman added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Sep 8, 2026
@shanselman shanselman removed the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Sep 9, 2026
@shanselman

Copy link
Copy Markdown
Collaborator Author

Superseded by #1384 (fix(local-ai): add non-destructive recovery), the current-main transplant. The replacement preserves this reviewed recovery design and history without force-pushing the stale contributor branch.

@shanselman shanselman closed this Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 auth-provider 🚨 Merging this PR could break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Local AI: "Retry setup or download" destroys WSL sandbox, then "Install & setup" stays greyed out

1 participant