Repository navigation
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 real behavior proof before merge. What this changesThis PR separates native and WSL Gateway management and limits installation removal to the confirmed target. Example: A native Gateway at ws://127.0.0.1:18789 is selected in Settings.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 6 items remain Keep open: this maintainer-backed fix remains necessary on main, but two WSL cleanup defects block merge. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherCompanion reads the active GatewayRegistry record, selects native or WSL management, and forwards confirmed removal through package control or SetupEngine before cleaning saved identity state. flowchart TD
A[Settings and tray CLI] --> B[Selected Gateway record]
B --> C[Installation classification]
C --> D[Serialized native removal]
C --> E[Selected WSL removal]
D --> F[Package teardown]
E --> G[WSL registration and disk cleanup]
F --> H[Registry and identity cleanup]
G --> H
Technical reviewBest possible solution: Keep the installation-specific owners, distinguish unreadable cleanup metadata from absence, and retain a durable teardown fence until identity removal commits. Do we have a high-confidence way to reproduce the issue? Current-main source establishes the native-versus-WSL Settings mismatch, and current-head callers establish both cleanup failure paths; no target code was executed. Is this the best way to solve the issue? The owner split fits the existing architecture, but cleanup settlement must preserve retry and disconnect invariants across unreadable markers and failed identity commits. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 849cba5765c8. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNeeds attention: Destructive target authorization still requires current-head final-effect evidence. EvidenceWhat I checked:
Likely related people:
Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (9 earlier review cycles; latest 8 shown)
Reviewed October 28, 2026, 3:53 PM ET / 19:53 UTC (Revision 10). |
Scoped maintainer triage verdictHOLD_FOR_AUTHOR. Take confidence: 10%. Recommendation confidence: 98%. Reviewed head: Source-level blockers
These are read-only source findings, not results from running destructive teardown on a user profile. To reach 90%+ take confidence
Owner: bkudiess, already carrying active ownership. Keep this work with that owner rather than starting a competing cleanup implementation. The direction is useful, but this revision should not merge yet. No destructive execution or merge is authorized by this verdict. |
b00cdce to
907277c
Compare
|
ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment |
Global repo triage adversarial reviewDecision: Both independent reviewers completed against exact head
Additional lower-severity concerns: stale in-memory registry after successful child removal, post-commit cleanup without a useful retry path, uncaught rollback aggregation, malformed-registry CLI failure, legacy managed-state recovery gaps, and latent hard-kill cancellation risk. Required next action: fix the accepted HIGH/MEDIUM issues, then rerun exact-head review and the applicable No code changes or remote branch updates were made by this review. |
|
Fixed the three HIGH/MEDIUM findings from your review in 03c06a8.
ValidationThese results were collected on the exact final source before committing. Before publication, all 21 changed files were verified unchanged against the recorded SHA-256 manifest; no additional source changes were made.
Focused UI command: .\scripts\Invoke-CiTest.ps1 -Project .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -ResultsDirectory <session-artifacts>\final-ui-results -TrxFileName final-ui.trx -Runtime win-x64 -Filter 'FullyQualifiedName~WslWizardBindingTests|FullyQualifiedName~LocalGatewaySettingsRenderingTests|FullyQualifiedName~NativeSharedFlowTests|FullyQualifiedName~GatewayRemovalConsentTests' -HangTimeoutSeconds 30053 passed, 0 skipped, 0 failed: 15 Settings rendering, 30 native shared-flow, 2 WSL fallback, and 6 actual CLI consent-refusal cases. Test processes used isolated data/roaming/local roots. The initial run exposed a reflection error in the new test and four Settings captures resolving a Dark application background for a Light page. The reflection was corrected and the capture host now uses the existing element-scoped theme helper. All pixel thresholds and completeness assertions remain intact; the original failed logs are retained. A scoped independent rubber-duck review of the production changes found no actionable issues. This was static review, not another dual-model review. |
Route settings and removal through the selected gateway installation, preserve unrelated profiles, and add native/WSL coverage. Keep live native and remaining WSL proof gaps explicit in the draft PR. Co-authored-by: Copilot App <[email protected]>
Restore the flyout test container and window bounds, isolate Settings rendering from inherited dimensions, and cover the 600x400 leaked-fixture regression without weakening viewport assertions. Co-authored-by: Copilot App <[email protected]>
Use the actual WinUI client area when hosted Windows clamps the requested window size. Cover native and WSL at a constrained viewport while retaining complete-control visibility and exact capture-size checks. Co-authored-by: Copilot App <[email protected]>
Reject partial tray target arguments before forwarding. Refresh full persisted target authority at destructive WSL boundaries and registration absence on every residual cleanup retry. Preserve unrelated records and retry state. Repair native teardown invocation after rebase and add behavioral regressions. Co-authored-by: Copilot App <[email protected]> Copilot-Session: c5310802-7cde-400e-9332-c91997728072
Prevent legacy gateway resurrection after explicit removal without deleting shared legacy state. Pin reopened WSL classic-wizard fallback and retries to the reviewed target. Carry a full-record consent digest through tray and setup-engine removal admission, retaining endpoint-bound retry receipts. Add restart, rollback, credential drift, mounted fallback and actual CLI refusal regressions. Resolve Settings capture backgrounds in their requested theme without weakening proof assertions. Co-authored-by: Copilot App <[email protected]>
Preserve the automatic uninstall cleanup copy from main in mounted Settings assertions after rebase. Keep exact title/message, visibility, preservation and pixel proof checks. Co-authored-by: Copilot App <[email protected]>
03c06a8 to
616d66d
Compare
Refuse unsupported saved-native classic setup, surface changed WSL finalization targets, and preserve compound identity recovery guidance in structured removal results. Add owner and mounted-UI regressions plus localized guidance. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 114689d7-761a-4a23-a1d4-51fe1a04ca54
October 22 update: manual native Settings verification and main integrationAt head The developer-provided screenshot shows the selected native Gateway state:
This is developer-reported manual action verification plus visible native Settings evidence. It does not establish completed destructive removal or actual preservation after removal. WSL-specific Settings behavior and side-by-side management remain unverified: the attempted embedded WSL setup stopped at preflight because port Validation at c0e0b60 before the latest main merge
Latest main integration: 2a54fc2Appended 2a54fc2e, merging main An independent Copilot code-review-role rubber-duck found no verified P0-P3 merge-integration defect. Its model identity was not exposed. This is static review of the resolution and proof plan, not canonical-helper isolation or runtime proof. Post-merge local validation is not green:
The test invocations additionally wrote fresh TRX reports and VSTest diagnostic logs to the isolated session artifact directory. Normal GitVersion remained enabled; no real user settings, Gateway, WSL distro, native package, or peer preview was changed. All 215 cases across the seven required Tray owner classes passed, including both exact App migration/removal-suppression regressions. Independent resource-release audit completed at All four failures are The controller rejected Tray's ordinary xUnit failure Not verified / blocked: a fully passing post-merge local closeout, focused Connection/Setup completion, current-head mounted UI execution, and real native/WSL destructive-removal/preservation proof. The manual native checks above predate this merge and are not relabelled as post-merge proof. No PR merge or complete proof-pool sign-off is claimed. Previous October 20 status and historical evidence, superseded by the update abovePrior head c0e0b60: earlier conflicts resolved, integration correction pending validationAppended merge commit 20850e69, preserving the contributor's commits and repair head Then appended c0e0b601 to address the nullable startup integration error found by hosted CI. Startup now checks that the explicit legacy URL exists before querying removal suppression. The existing App ownership regression now requires that guard. The seven conflicts are resolved. Startup credential recovery retains both the explicit-removal suppression guard and main's explicit-only legacy endpoint lookup. All six locale files retain both parents' independent additions, with 3,211 unique keys per locale and exact three-way key/value preservation. An earlier independent Copilot-hosted P0-P3 static review at A source-only ValidationCurrent-head local validation has not run. A concurrent metadata failure in the shared-host validation controller blocks admission until the common correction is qualified and a fresh coordinated slot is granted. The source-reviewed correction has been adopted for preparation only. No validation bypass, metadata-disabled fallback, or uncoordinated runtime operation was used.
Read-only dependency inspection identified stale assets in all five planned test projects: they reference Run 39488174278 exposed The correction triggered Build and Test run 39490547432 naturally. Replacement hosted CI results are pending, not credited from the older green run below. No manual CI rerun was requested. Required proof pools
Real behavior proofNot verified at this head: visible changed-state Settings flows, native/WSL removal and preservation, retry/recovery, and strict Gateway/MXC behavior. UI/runtime execution remains separately coordinated; a user-persistent Gateway is not a disposable removal fixture. No proof pool or 90% merge-confidence claim is established by this conflict resolution. The PR remains open. Conflict-resolution publication is not completion of required local closeout or runtime proof. Historical repair-head evidence for 4ef785b, not rerun at current headAll results below predate merge commit Appended 4ef785b8 without rewriting the contributor's commits.
Added failure-injection and mounted-UI regressions, preserved the target-binding source guard, translated the new guidance in every supported locale, and updated the connection contract documentation. ValidationNormal local build/tests and hosted CI are green. Hosted UI passed after one explicitly authorized diagnostic retry, and all seven scoped synthetic UI cases passed locally. Real native/WSL proof remains blocked, so these results do not establish merge readiness.
The successful normal closeout used isolated profile roots and real GitVersion metadata. Generated metadata records exact head Earlier bounded attempts stopped in Additional normal, metadata-enabled commands: dotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --no-restore --filter 'FullyQualifiedName~WslGatewayRemovalTests|FullyQualifiedName~ExistingWslGatewaySetupTests|FullyQualifiedName~SetupAccessDraftTests|FullyQualifiedName~ProgramArgumentTests'
dotnet test .\tests\OpenClaw.Connection.Tests\OpenClaw.Connection.Tests.csproj --no-restore --filter 'FullyQualifiedName~LocalGatewaySettingsTests|FullyQualifiedName~GatewayIdentityRemovalTests|FullyQualifiedName~NativeGatewayRemovalTests'
dotnet test .\tests\OpenClaw.WinNode.Cli.Tests\OpenClaw.WinNode.Cli.Tests.csproj --no-restore
dotnet build .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj --no-restore -r win-arm64 -p:Platform=ARM64 -p:DevBuild=false -p:UseSharedCompilation=false -m:1 -nr:false --verbosity minimalResults: Setup 311 passed, Connection 35 passed, CLI 129 passed, all zero skips. Normal ARM64 UI-test compilation passed with zero errors and one preexisting generated-XAML obsolete- Separate, explicitly metadata-disabled diagnostics compiled and exercised the repair. They used isolated profile roots and dotnet build .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -r win-arm64 -p:Platform=ARM64 -p:DevBuild=false -p:DisableGitVersionTask=true -p:UseSharedCompilation=false -m:1 -nr:false --verbosity minimal
dotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --no-restore -p:DisableGitVersionTask=true -p:UseSharedCompilation=false -m:1 -nr:false --filter 'FullyQualifiedName~WslGatewayRemovalTests|FullyQualifiedName~ExistingWslGatewaySetupTests|FullyQualifiedName~SetupAccessDraftTests|FullyQualifiedName~ProgramArgumentTests'
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore -p:DisableGitVersionTask=true -p:UseSharedCompilation=false -m:1 -nr:false
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore -p:DisableGitVersionTask=true -p:UseSharedCompilation=false -m:1 -nr:false
dotnet test .\tests\OpenClaw.Connection.Tests\OpenClaw.Connection.Tests.csproj --no-restore -p:DisableGitVersionTask=true -p:UseSharedCompilation=false -m:1 -nr:false --filter 'FullyQualifiedName~LocalGatewaySettingsTests|FullyQualifiedName~GatewayIdentityRemovalTests|FullyQualifiedName~NativeGatewayRemovalTests'
dotnet test .\tests\OpenClaw.WinNode.Cli.Tests\OpenClaw.WinNode.Cli.Tests.csproj -p:DisableGitVersionTask=true -p:UseSharedCompilation=false -m:1 -nr:false
# Full-suite expansion reuses those diagnostic assemblies without invoking GitVersion.
dotnet test .\tests\OpenClaw.Connection.Tests\OpenClaw.Connection.Tests.csproj --no-build --no-restore -- RunConfiguration.TestSessionTimeout=300000
dotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --no-build --no-restore -- RunConfiguration.TestSessionTimeout=300000
$env:OPENCLAW_RUN_INTEGRATION = '1'
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-build --no-restore --filter FullyQualifiedName~Run_CompletesPromptly_WhenOrphanChildProcessHoldsStdoutHandle
The new compound-recovery test was also run before the exception fix: 1 failed, 0 skipped, on the real escaped The first diagnostic Tray run caught an obsolete exact-source assertion and the untranslated-copy rationale requirement. Both were fixed without weakening the guards; the full suite then passed. One independent Copilot-hosted, read-only P0-P3 source review, including the subsequent resource/source-guard deltas, found no significant issues. This was not helper-isolated and did not establish runtime proof. Fresh Build and Test started naturally for the appended head. After its UI startup failure, the user explicitly authorized one UI-job-only debug retry: Hosted evidence is from the integration tree, not an identical PR-head tree. Checkout logs identify merge candidate The completed Core and CLI job used ordinary metadata generation: Shared 4,385 passed, 1 skipped; Connection 1,695 passed, 1 skipped; WinNode CLI 129 passed, 0 skipped. The original orphan-stdout failure passed in 64 ms. Mandatory local closeout was independently run as recorded above. The run has now completed with these additional results:
The original failure is preserved, not called fixed. The first UI attempt last logged The authorized retry tested the same integration commit and completed bootstrap in 33 ms. All seven scoped native-fallback, WSL finalization and classic-binding cases are individually logged as passed. Its successful reports are separate from the failed attempt. The first hang remains unexplained and was not reproduced; no source change, weakened assertion or hidden skip was used to obtain the retry result. The passing setup/connect lane explicitly skipped all seven MXC cases because hosted runners lack the required runtime. It contains zero SelectedGatewayRemovalTests results. It therefore does not establish strict MXC or selected-target teardown proof. The integration comparison changes none of the repaired production files. Adjacent native startup/handoff and WSL reachability changes were inspected without finding a repair-integration conflict. This does not certify every runtime interaction or a future landing base. At final refresh, main advanced by one Nemotron Bolt catalog/receipt-compatibility commit to Required proof pools
Real behavior proofScoped synthetic mounted UI: 7 passed, 0 skipped. In a separately authorized no-build slot, the frozen ARM64 diagnostic assembly exercised native page/window classic-fallback refusal, both WSL Skip/Retry drift cases, supported classic fallback, and both pinned WSL-binding cases. The run lasted 8.2 seconds; all owned test processes exited normally. The exact isolated data/local/roaming roots were inspected and removed, and the desktop slot was explicitly released. There was no physical input, unrelated capture, or real native package/WSL/Gateway operation. Test DLL SHA256 before and after: Subsequent normal ARM64 UI-test compilation produced SHA256 Not verified / blocked: native/WSL teardown, preservation, retry/recovery, strict Gateway/MXC, and visible changed-state Settings proof still require an approved disposable host and exact resource targets. The user selected an existing disposable host they will provide, but host identity/access and provisioning/removal authority remain unavailable. No proof pool is declared complete. Older overlay runs and other merged PRs are not evidence for this head. 90% merge confidence is not established. The remaining gates are approved native/WSL management, preservation, strict MXC and changed-state visible proof, followed by final landing-candidate verification. |
Adversarial re-review of #1623 (fix(settings): separate native and WSL gateway management)Exact base and merge base: Independent models: Claude Opus 5.5 ( HIGH consensus
LOW consensus
The credential fallback is verified reachable. When no record is active, it constructs The classic-setup item is retained as a LOW one-model concern because existing-native fallback is now rejected at the explicit existing-native page/window boundaries, while the separate accepted Existing/Remote flow lacks behavioral coverage. Verify intended route policy before changing behavior. Rejected or narrowed
Checks, proof, and triageAssigned-head checks contain 20 successful and 5 skipped checks; CI Gate is green. Hosted execution used integration commit Mandatory current-head proof remains missing for live WinUI removal/failure/recovery, clean-head WSL selected removal and interruption recovery, strict WSL/MXC without required skips or overlays, native teardown/coexistence and cleanup recovery, and ARM64 runtime/UI behavior. Older Decision: HOLD_FOR_AUTHOR. Take confidence: 65%. Recommendation confidence: 97%. Fix the two verified cleanup/credential issues or explicitly disposition them, then obtain the declared clean-head runtime proof before landing. |
Preserve removal suppression alongside explicit-only legacy credential recovery and retain both sets of localized resources. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 114689d7-761a-4a23-a1d4-51fe1a04ca54
Keep explicit-removal suppression conditional on an existing legacy target after merging the nullable endpoint contract. Protect the startup guard in the existing ownership regression. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 114689d7-761a-4a23-a1d4-51fe1a04ca54
Preserve main's AI setup grouping and the native classic-wizard fallback guard. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 114689d7-761a-4a23-a1d4-51fe1a04ca54
Co-authored-by: Copilot App <[email protected]>
… merge Co-authored-by: Copilot App <[email protected]>
Disconnect only the confirmed target, restore the connection on a failed removal, reconcile the tray registry, refuse CLI removal while the tray runs, bind consent without secrets, pin WSL setup before the access draft, and align legacy removal copy. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…ter WSL teardown starts Co-authored-by: Copilot App <[email protected]>
|
@clawsweeper re-review New head 6c94eb9 includes the main merge and review fixes for gateway removal recovery. |
|
🦞👀 Re-review progress:
|
Suppress legacy credential fallback for removed gateways, correct legacy native removal copy, delete WSL marker and receipt before forgetting the target, and align consent tests and docs with token-free removal digest. Co-authored-by: Copilot App <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Closing this broader proposal in favor of #2017 (fix: native Gateways are treated as WSL in Settings and setup). The new draft keeps only the small Settings, keepalive, tray-label and WSL replacement-reporting fixes. The selected-Gateway removal, credential-cleanup and broader reopened-onboarding work from this PR is intentionally not carried forward. The draft records the remaining UI/WSL proof and source-review gaps; this closure does not claim that broader work is complete. |
What Problem This Solves
Fixes Settings and recovery surfaces treating a selected native Gateway as WSL, and rejects incomplete or stale selected-removal requests instead of widening their scope.
User Impact
Settings, onboarding, Diagnostics, and tray presentation follow the selected Gateway's installation type. Selected WSL removal preserves other Gateways, shared Local AI files, Companion settings, startup entries, execution approvals, and the MCP token.
Native removal deletes the package-owned isolated account, workspace, configuration, and credentials for the current Windows user while leaving the Store package installed. Other Companion profiles using that same package also lose access. Native Start/Stop/Restart, terminal, and Diagnostics Doctor controls remain WSL-only/hidden; this PR does not add native equivalents.
Ready for review, not ready to merge. Image-backed selected-WSL removal and real Gateway-mediated MXC containment now pass. Those runs used an explicitly disclosed, uncommitted test-provisioning overlay on
907277ce, not an unmodified checkout. Three additional P2 findings and native/UI/recovery proof gaps remain open below.Why This Change Was Made
Installation-specific owners replace URL-based management and profile-wide selected removal. Native teardown uses the saved package family's versioned control contract. WSL removal retains identity/retry state until installation cleanup succeeds. Reopened custom-WSL onboarding is intended to remain bound to its selected record, distro, and endpoint.
907277ceadds guards for the earlier ClawSweeper findings: incomplete target options are rejected before forwarding; saved-target authority is refreshed at asynchronous removal boundaries; and residual deletion retries recheck registration absence and ownership. That is not a claim that ClawSweeper has cleared the new head. Its last inspected completed review targeted older headb00cdced65e3411010c8c1db1a77663304ebadde.Ownership remains: Settings applies WinUI state;
LocalGatewaySettingsowns classification/comparison;NativeGatewayRemovalandWslGatewayRemovalown installation removal;GatewayIdentityRemovalowns staged profile cleanup;ExistingWslGatewaySetupowns reopened-WSL binding;GatewayConnectionManagerretains connection/runtime serialization.Evidence
Current head
c7d4a6e6(updated after the ClawSweeper review of6c94eb91). Code and test changes since that review:InteractiveGatewayCredentialResolver), including a re-added record without credentials. New test:TryResolve_RemovedGatewayEndpoint_DoesNotFallBackToLegacyCredentials.LockedReceiptKeepsSavedTargetForRetry.GatewayRemovalConsentTestsno longer expects token rotation to be refused, because the consent digest is token-free by design. Ownership drift (signature, browser port, label, endpoint) is still refused before SetupEngine dispatch.docs/CONNECTION_ARCHITECTURE.mdnow states which fields the digest covers.Automated results for this head are in Validation. The live runtime proof below was collected at an earlier head and is not current-head proof.
Local Windows ARM64 validation completed actual setup, pairing, Gateway connection, selected WSL removal, and Gateway-to-Windows-node MXC execution. Selected removal passed 1/1; strict MXC passed 18/18, with zero skips and all three required proof checks passing. The removal test verified the distro was absent and preserved an unrelated native-profile sentinel, settings bytes, and MCP-token bytes.
The normal Ubuntu ARM64 catalog install had returned HTTP 404. The rerun used the user-selected Ubuntu 24.04.5 ARM64 WSL image, verified against Ubuntu's SHA256SUMS:
Source qualification: The base is PR head
907277ce29980f1d3fbcf5c2282b3c88ac037c40. The local overlay adds an internal command-runner injection seam, fixture wiring, a test-only image adapter, adapter tests, and documentation.OPENCLAW_E2E_WSL_IMAGEsubstitutes only the fixture's uniquely named catalog installation withwsl --install --from-file; all remaining production setup steps and removal owners are unchanged. Product defaults and machine-wide catalog settings are unchanged. The overlay is not committed or pushed, is not available from this PR head alone, and is not an unmodified-head certification or normal-catalog-download proof.On the unmodified head, 16 focused mounted WinUI tests passed and 19 local RenderTargetBitmap captures were collected; native/WSL captures were inspected. These prove mounted rendering, not live removal buttons, dialogs, cancellation, or recovery. Captures and full logs/TRX remain local; no new public media/artifact links are claimed.
Additional local review findings, still open: Two independent reviewer contexts reviewed all 56 changed files at
907277ce; model identities were unavailable, so no cross-model claim is made. These findings are separate from the older bot's three removal-guard findings.GatewayIdentityRemoval.cs:38-40SetupWindow.xaml.cs:765-780WslGatewayRemoval.cs:38-41The successful happy-path E2E tests do not resolve these findings. Existing regressions and previously reported CLI refusal cases do not replace live revoked-target, replacement-registration, interrupted-recovery, or native teardown/coexistence proof.
Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: mounted Settings rendering passed; live UI-driven removal, failure/cancellation, recovery, and custom-WSL onboarding finalization remain unverified.windows-wsl-gateway-e2e: image-backed real setup/pairing/connection and successful selected removal/preservation passed. Normal catalog download, live revoked/reassigned-target refusal, replacement registration, and interruption/recovery remain unverified.windows-wsl-mxc: image-backed strict real Gateway-to-Windows-node containment passed, including execution and protected-directory write denial. No-AllowSkip; the local provisioning-overlay qualification above applies.windows-clean-installer-upgrade: disposable native teardown/coexistence and existing-profile receipt/staging recovery remain unverified.windows-11-arm64: ARM64 build, automated tests, selected WSL removal, and real MXC execution passed. Complete live native/UI/recovery proof is not claimed.Validation
Current head
c7d4a6e6automated results (local, isolatedOPENCLAW_TRAY_DATA_DIR,OPENCLAW_TRAY_APPDATA_DIRandOPENCLAW_TRAY_LOCALAPPDATA_DIR; command formdotnet test <project> -p:DisableGitVersionTask=true -p:Platform=x64; GitVersion fails locally, so.\build.ps1was not usable):OpenClaw.Tray.TestsOpenClaw.Connection.TestsOpenClaw.SetupEngine.TestsBoundedProcessOutputTestsx3,CommandRunnerTestsx2). These are in files this PR does not touch; I did not confirm they fail on the base commit.OpenClaw.Tray.UITestsOpenClaw.Shared.Tests,OpenClaw.WinNode.Cli.TestsThe table below is from the earlier
907277ceruns.Host: local Windows ARM64 (OS
10.0.28120.0), .NET SDK10.0.401.OPENCLAW_REPO_ROOTpointed to the isolated worktree; settings/profile roots were isolated. Fresh test projects were built before--no-restoreruns and nonzero execution was confirmed. No remote lease or paid proof provider was used.The table distinguishes the unmodified
907277cerun from the final uncommitted-overlay run. Output-only logger/results-directory switches are omitted from ordinary suite rows; E2E selection/runtime/watchdog switches are included. Skips are not passes..\build.ps1dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Connection.Tests\OpenClaw.Connection.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.WinNode.Cli.Tests\OpenClaw.WinNode.Cli.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -r win-arm64 --filter 'FullyQualifiedName~LocalGatewaySettingsRenderingTests|FullyQualifiedName~FunctionalUiFlyoutIdentityTests' --blame-hang-timeout 5m --blame-hang-dump-type nonedotnet test .\tests\OpenClaw.E2ETests\OpenClaw.E2ETests.csproj -r win-arm64 --filter FullyQualifiedName~WslImageCommandRunnerTests.\scripts\validate-mxc-e2e.ps1 -NoBuild -RuntimeIdentifier win-arm64 -ResultsDirectory '<local-results-directory>'dotnet test .\tests\OpenClaw.E2ETests\OpenClaw.E2ETests.csproj --no-build --no-restore -r win-arm64 --filter FullyQualifiedName~SelectedGatewayRemovalTests --blame-hang-timeout 8m --blame-hang-dump-type noneImage-backed E2E environment:
The strict script sets its own E2E/MXC gates. The image variable was unset after the proof run; no persistent environment or catalog override was installed.
An earlier overlay closeout failed two existing Shared cases (
Build_ManyListItems_ScalingCurveandHandshakeGate_Reconnect_SuppressesEarlyMutationThenSendsAfterHelloOk) and one existing Setup case (PostRestartVerification_BorrowsNormalOwnerAndRejectsUnownedOrReplacedAuthority, isolated variant). All passed unchanged focused retries and the final full default-parallel reruns. No thresholds were relaxed or unrelated code fixes made; root causes were not established, and failed logs/TRX were retained.Real Behavior Proof
Ubunturemained registered after cleanup.907277ce29980f1d3fbcf5c2282b3c88ac037c40plus the uncommitted test-only provisioning overlay, not a clean remote-head run. No commit/push of the overlay is claimed.wsl --install --from-file; complete the production setup/pairing pipeline; invoke the built tray CLI with--uninstall --confirm-destructive --gateway-id <fixture-target> --gateway-binding <captured-binding> --json-output <report>; run the strict MXC script and selected-removal test above.{ "outcome": "Success", "exitCode": 0, "failedStepId": null, "message": "The selected WSL Gateway was removed. Other gateways and Companion data were preserved.", "requiresRestart": false, "compatibilityFailure": null }system.runexecuted under MXC and writes to the isolated protected tray-data directory were denied. Both proof-owned distros were cleaned up; only the preexistingUbunturemained registered.907277ceand has not been repeated atc7d4a6e6. The changes since then (credential fallback suppression, WSL marker and receipt cleanup order, removal copy, consent test scope) are covered by automated tests only. No live proof exists for them. Data-model compatibility (existing stored data still loading, upgrade preservation) is covered by existing registry migration tests, not by a live upgrade run.NVIDIA-machine handoff
No new explicitly GPU-required or cross-volume proof is claimed. If those capacity lanes are required, use an appropriate disposable host/directory, enable
OPENCLAW_RUN_INTEGRATION=1andOPENCLAW_RUN_GPU_PROOF=1, configure the architecture-matchedOPENCLAW_WXC_EXEC, and pointOPENCLAW_TEST_HF_CACHE_ROOTat a disposable directory on a genuinely separate volume. Never use existing model data. Native destructive teardown still requires a disposable account/host rather than an existing shared package session.Security Impact
Yes/No) No new node/MCP capability or permission grant.Yes/No) Yes: installation-specific cleanup, staged identity preservation, and retry handling. Credential contents are not exported.Yes/No) No new product endpoint. Validation downloaded the user-selected public Ubuntu image; existing Gateway transports and local package control remain in use.Yes/No) Yes: package-qualified native teardown and target-bound WSL uninstall admission.Yes/No) Yes: selected WSL removal is narrower; native teardown has package/current-user scope, including other Companion profiles, disclosed in confirmation.Yes, explain the risk and mitigation: explicit destructive consent, paired-option rejection, persisted-target/registration revalidation, ownership locks, registry CAS, and partial-outcome reporting are implemented. The parent-to-child confirmation gap, migrated-profile re-import, and classic fallback target loss remain open P2 findings; successful happy-path proof does not close these boundaries.Compatibility and Migration
Yes/No) No unqualified compatibility claim: full existing-profile compatibility remains unverified, and the three P2 findings need correction. Selected-removal preservation semantics are intentional.Yes/No) Yes, validation-only locally:OPENCLAW_E2E_WSL_IMAGEbelongs to the uncommitted test harness, not a new product setting. The PR requires paired target options for selected CLI removal and uses scoped retry receipts. Normal product install defaults are unchanged.Yes/No) No automatic schema migration added. The legacy migration/removal interaction needs the P2 fix above; production interruption/recovery compatibility remains unverified.Review Conversations
No bot clearance or resolved-thread claim is made. Three local-review P2 findings were recorded at
907277ce; later commits changed the related code, but their status atc7d4a6e6has not been re-verified by live proof. Proof pools remain incomplete as listed. Ready for review is not approval to merge.