Repository navigation
Conversation
Await correlated Skills acknowledgements, fence stale status responses, and refresh ordinary and setup-bound pages from Gateway reports. Correct the unused recipe-install wire contract without claiming production wiring. Co-authored-by: Copilot App <[email protected]>
|
🦞👀 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 maintainer review before merge. What this changesSkills changes await Gateway acknowledgement, retain confirmed state after rejection, and refresh the selected agent’s report. Example: The Gateway rejects disabling calendar-key because the operator lacks permission.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this collaborator-authored PR repairs a false-success bug still present on current main and remains explicitly draft. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe native Skills page sends authenticated requests through the shared operator client; correlated Gateway replies determine mutation outcomes and refreshed skill reports determine displayed state. flowchart LR
A[Skills page] --> B[Operator client]
B --> C[Pending request registry]
C --> D[Authenticated Gateway]
D --> E[Correlated response]
E --> F[Selected agent report]
F --> A
Technical reviewBest possible solution: Retain the existing client and setup-loader owners, with Gateway acknowledgements controlling success and refreshed reports controlling displayed state. Do we have a high-confidence way to reproduce the issue? Current-main source establishes the failure: a successful socket send returns true and the page immediately applies the requested state; the author also reports before-fix failures for rejection and withheld acknowledgements. Is this the best way to solve the issue? The central repair uses the existing correlated-request mechanism and existing setup-bound loader, avoiding a parallel transport or state owner; no definite introduced correctness defect was found. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f6406247a0f7. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
LabelsLabel 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 Reviewed October 23, 2026, 5:33 PM ET / 21:33 UTC. |
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
|
Current-head native proof at 15fdc80: all three bounded full-app Skills cases passed. These inspected captures show the owned Settings window, with in-frame UIA assertions. Ordinary and setup-bound accepted toggles refresh Gateway-confirmed state; refusal preserves the enabled skill and shows recovery guidance. Isolated synthetic Gateway only, not live Gateway or installation proof. Original failed run and compile failure are retained separately; full local suites still have the five documented host failures. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
Thank you for the response-aware Skills and setup-refresh work. I reviewed all 23 changed files at Main deliberately retired the native Skills page and its mutation/install client APIs in #1932 ( Closing as obsolete because the affected surface was retired, not because this patch was merged. This preserves the current ownership direction rather than reintroducing a second native Skills path. No branch deletion or underlying issue closure. |




What Problem This Solves
Fixes: the Skills page shows a successful enabled-state change when the Gateway has only received, or has rejected, the request.
User Impact
Skill changes wait for a Gateway acknowledgement, retain server-confirmed state on refusal, and display localized recovery guidance. Successful changes reload the selected agent's report in ordinary and setup-bound Skills pages.
Draft, not merge-ready: current-head build and all three full-app Skills proofs pass. Required local suites retain five known host-related failures, and current CI has unrelated Chat readiness timeouts. Published/live Gateway compatibility is not established.
Why This Change Was Made
The existing client returned socket-send success as mutation success. Skills status and mutations now use the existing response-correlated request mechanism; status responses are fenced against newer agent requests and replaced/disconnected connections. The page refreshes rather than applying its submitted intention. Setup-bound refresh reuses
SetupNativeSkills, retaining its verified-agent, identity, and cancellation checks. The Frame now supplies the typed setup request before initializing Skills, instead of starting an ordinary read beforePage.OnNavigatedToestablishes the bound owner.The unused installation wrapper is corrected from invalid
{id}to the upstream dependency-recipe{name, installId, agentId?}contract. It has no production UI caller and is not a verified RPC.This is one reviewable Skills owner slice of the requested RPC inventory, not a generic endpoint surface. Reconciliation against OpenClaw source
098e9915preserves all 40 historical methods:skills.status,skills.updateskills.bins, not operator UI, not implementedCurrent additions
skills.files.getandskills.workshop.undoare tracked separately, not added to the historical denominator. Scanner and central support-policy files are unchanged.Mac's traced native
skills.statususe is execution-approval skill-bin evaluation, not evidence of a native skill-library settings panel. The Mac ownership guidance assigns Gateway preferences to its hosted Dashboard. This PR preserves the existing Windows native Skills surface and does not claim wholesale Mac-native parity or implement retired workflows.Evidence
Two real-socket regressions failed before the production change: a refused update returned true, and an update completed before its acknowledgement. Both now pass. The socket suite exercises the actual
OpenClawGatewayClient, handshake, request serialization, acknowledgements, errors, disconnect, and out-of-order agent responses.The authenticated fixture keeps browse mode read-only. An explicit two-entry, in-memory
skills-editingscenario supports acceptance tests without executing installers or contacting a real provider. A native-owner integration test invokesSetupNativeSkills.LoadAsyncthrough the real client before and after an acknowledged mutation; it is not a DispatchProxy transport substitute.Independent rubber-duck review found a setup-bound refresh regression in the initial implementation. The fix reuses the existing bound loader and adds real-client native-owner and native acceptance UI coverage. The shared autoreview installation was unavailable; no helper-scoped-clean or frozen-input review is claimed.
The first visible run exposed the separate initialization-order bug before any native mutation. Its original
run.jsonpreserves the loading timeout; fixture-disposalpending.lockfailure masked that primary error in the TRX. All owned processes exited and the exact retained synthetic profile was cleaned. The two passing cases' generic captures showed the larger Chat window, not Skills, so they are not claimed as visible Skills evidence. After fixing typed-request initialization and capture ownership, the single bounded current-head retry passed all three cases. All three owned apps exited and their exact synthetic profiles were removed.Current-head proof comment with all four inspected screenshots. Each hosted PNG was retrieved with HTTP GET and its SHA-256 matched the inspected original.
Current-head Skills states in the owned Settings window
Before refusal, one skill is enabled:
Refusal displays recovery guidance and preserves that state:
An acknowledged ordinary toggle refreshes to zero enabled:
The verified setup-bound
mainagent also refreshes to zero enabled:Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: ordinary/setup-bound Skills acceptance and visible rejection recovery in an isolated synthetic-Gateway app.Validation
.\build.ps1: passed at current head, Shared, CLI, WinNode CLI, SetupEngine, and WinUI.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: failed, 4,670 passed, 1 failed, 26 skipped. Existing symbolic-link privilege failure inMxcFolderAdmissionTests.OwnedJunctionAndSymbolicLinkAreRejectedWithoutFollowingTheirChildren(symbolic: True). No privileges changed or tests weakened.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: failed, 4,499 passed, 4 failed, 0 skipped. Existing ARM64 host failures in the fourBuildPrerequisiteTests.CheckOnly_UsesTheAppLocalRuntimeResolvercases.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-build --no-restore --filter 'FullyQualifiedName~Skills': prior focused run passed, 30 passed, 0 failed/skipped. The exact same 30 test names all pass in the current-head full TRX.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-build --no-restore --filter 'FullyQualifiedName~SetupNativeSkillsTests|FullyQualifiedName~LocalizationValidationTests|FullyQualifiedName~NativeCompletionPresentationTests': prior focused run passed, 47 passed, 0 failed/skipped. The exact same 47 test names all pass in the current-head full TRX.dotnet build .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -r win-arm64 -p:Platform=ARM64 --no-restore: passed at current head, 0 errors, 1 existing generated-XAML obsolete-Icon warning. The initial missing-assets failure was resolved by restore/build. The later6a3c798ebuild failed on task-caused CS0051; initialization was narrowed to internal and the entire required sequence reran at15fdc80d..\scripts\validate-docs.ps1: passed, 66 Markdown files.git diff --check: passed.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --filter 'FullyQualifiedName~SetupNativeSkillsTests|FullyQualifiedName~NativeCompletionPresentationTests': passed, 23 passed, 0 failed/skipped after the initialization fix. Its new source guard first failed before the fix. Cancellation coverage also completes the cancelled response late and confirms it cannot resume presentation.dotnet test .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -r win-arm64 -p:Platform=ARM64 --no-build --no-restore --filter 'FullyQualifiedName~SkillsAcceptedToggle|FullyQualifiedName~SkillsRejection': failed, 2 passed, 1 failed, 0 skipped ondd3c8d7f. Do not substitute the passing socket/native-owner tests for this failed full-app case.ChatReadinessClientTests.Redirect_is_ready_without_contacting_the_other_hostcases 301 and 308 time out at three seconds. Other CI jobs were still running at this read; no clean CI claim.Real Behavior Proof
15fdc80ded3fd95327b93d9254c8fff98488376e, full build, full Shared/Tray, UI compilation and all three native cases. Source, app/DLL and test DLL SHA-256 values were recorded and checked before launch; runtime fixture reports match the compiled app assembly and commit-bearing version. This is manual source/binary correspondence, not a native freeze receipt. Initialdd3c8d7fUI failure and6a3c798ecompile failure remain retained, not rewritten as passes.skills.updaterequest{"skillKey":"calendar-key","enabled":false}; Gateway denial returns false. A deliberately withheld reply keeps the task incomplete until its correlated success acknowledgement. Research-agent status wins over an older main-agent response. Scoped fixture reports remain unchanged after a rejected toggle.Yes/No/N/A): Yes. The exact proof comment contains all four images; each hosted PNG returned HTTP GET 200 and matched the inspected original SHA-256. Original failed-run artifacts are preserved separately.2026.10.6does not bind the saved published schema to pinned source098e9915.Security Impact
Yes/No): NoYes/No): NoYes/No): YesYes/No): NoYes/No): NoYes, explain the risk and mitigation: existing authenticated Skills calls now await correlated replies. Handshake gating, connection identity, Gateway authorization/errors, and selected-agent status are preserved; no automatic mutation retry or unsafe-install override is added. The corrected installation wrapper remains unused in production.Compatibility and Migration
Yes/No): No, the unused C# installation method now requires the Gateway-advertised name and recipe ID instead of an invalid single ID. All in-repository implementations are updated. Status/update wire shapes remain supported.Yes/No): NoYes/No): NoReview Conversations