Repository navigation
feat: fill a missing Gateway owner name and photo from the Windows account - #2022
Conversation
Add ApplyProfileIsolation so the fixture child gets run-owned DATA, APPDATA, LOCALAPPDATA and legacy LOCAL_DATA roots, with pure regression tests. Co-authored-by: Copilot App <[email protected]>
…on identity The tray opts in to gateway-client/ui through GatewayClientFactory so the Gateway treats its long-lived connection as interactive. CLI, setup, and validator clients keep cli/cli. The signed device payload and serialized client use one identity. Disconnect presence beacons no longer count as active or claim a live node. Co-authored-by: Copilot App <[email protected]>
Extract HubWindow into SettingsShellView hosted by WorkspaceWindow with one canonical navigation history, retained chat, deferred navigation and request-slot fences, and retargeted callers, tests and ledger. Co-authored-by: Copilot App <[email protected]>
…une render is pending A pruned Settings fallback moves the logical destination before it renders. A repeat request for that destination bypassed modal deferral and rendered under the open dialog. Navigation now waits whenever an intent or pruned render is pending. Co-authored-by: Copilot App <[email protected]>
…tive setup under dialogs The required prune render is stored separately from the replaceable deferred intent, nothing drains while another dialog is open (the drain re-arms on it), and native Settings requests are never accepted under an open dialog. Co-authored-by: Copilot App <[email protected]>
…dExecutor Adds the sidebar search button and native flyout in WorkspaceWindow, backed by the same HubCommandCatalog as Settings. A shared HubCommandExecutor runs Navigate, OpenDashboard and ToggleSetting for both surfaces and reports SettingsSaved only after a successful toggle persist. Ctrl+E/Ctrl+K open the visible surface's search without changing page or draft. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Adds a native Pages shortcut section with a customize flyout over 15 native destinations. Pins are stored locally per Gateway in immutable, deep-copied settings snapshots (no sync, no SettingsSaved reload) and route through the canonical Settings route, using Chat's currently selected agent at invoke. Co-authored-by: Copilot App <[email protected]>
Unchanged pins keep their sidebar row so keyboard focus and the focus captured before entering Settings survive unrelated saves and status changes. A removed focused row falls back to the Customize pages button. Co-authored-by: Copilot App <[email protected]>
The framework can move focus synchronously when a focused pin row is removed, so focus ownership (including descendants) is read before reconciliation. Fallback is the Customize pages button, then the Home row when the pane hides it. Co-authored-by: Copilot App <[email protected]>
…ates Read-only Gateway identity display: bounded GatewayRequestErrors codes, WorkspaceIdentitySource loading/unnamed/unavailable states, authenticated avatar transport with an end-to-end deadline (OPENCLAW_USER_AVATAR_TIMEOUT_MS) and supersession by profile invalidation, native PersonPicture decode fence, localized copy, and an external Dashboard profile action. No profile writes or OS account reads. Co-authored-by: Copilot App <[email protected]>
…ed avatar Ordinary presence refreshes no longer cancel an in-flight avatar attempt or restart its deadline; only explicit invalidation or a connection change supersedes it. An unchanged profile id and revision keeps the current image without refetching, and a known profile never re-enters loading. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…er preparation Distinguish Gateway connection loss from caller cancellation at read and write boundaries, keep a saved name when a later step loses the connection, and avoid stacking the profile dialog on a modal opened during preparation. Co-authored-by: Copilot App <[email protected]>
…mplete or uncertain Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…tain Co-authored-by: Copilot App <[email protected]>
…etup The automatic Windows-account-prefilled profile offer was gated on the post-setup restart, so users who only updated the app never saw it. Any start now qualifies for an eligible managed Gateway whose canonical owner is blank, once per Gateway and process, until the user saves or skips. An in-progress setup window defers the offer without consuming it; the post-setup restart handoff remains exempt. Explicit confirmation before any Gateway write is unchanged. Co-authored-by: Copilot App <[email protected]>
…ut a prompt Mac parity: the macOS Gateway fills a blank owner name from its host account on owner connect and serves the host photo while no avatar is uploaded, without asking. A WSL or native Windows Gateway cannot read the Windows account, so the workspace now fills each blank field itself, once per Gateway and process on any start including after an update. It never overwrites, re-reads before each write, reads nothing from Windows without write scope, and does not retry uncertain writes in the same process. The owner-menu review dialog stays as the manual path and its Skip still stops the automatic fill. Co-authored-by: Copilot App <[email protected]>
Keep silent missing-field fill and the existing Gateway profile settings as the only paths. Remove the separate editor, Skip store, manual retry switches and unused dialog resources in all six locales. Retain the prepared-context fence, per-field rereads and transport uncertainty classification. Co-authored-by: Copilot App <[email protected]>
Keep one fill owner and per-Gateway attempts across Workspace reopen. Drain only newly observed contexts, preserve uncertain-write suppression, and reject mismatched connection and registry destinations. Respect emails in the final name recheck and cover the lifecycle and context boundaries with pure regressions. Co-authored-by: Copilot App <[email protected]>
…ments Preserve the original failure and attempted Gateway while handing a still-current differing context to its own guarded error boundary. Refresh same-Gateway replacement observers after Saved or Uncertain results without retrying writes. Cover delayed RPC failures, stale pending contexts, single flight and read-only refresh fences. Co-authored-by: Copilot App <[email protected]>
Main already carries layers L1-L6 of this stack as squash merges (openclaw#1906, openclaw#1909, openclaw#1911, openclaw#1916, openclaw#1940, openclaw#2013), so a textual merge of those files only conflicts with itself. Take main's landed content for all of them and keep only the L7 delta (silent Windows-account profile fill for eligible managed Gateways). Resolution against main's landed design: - WorkspaceWindow.UpdateOwnerIdentity keeps main's shared-owner label and shared footers. The L7 trigger fires once a profile has been read (DisplayName is not null) because main's WorkspaceIdentitySource has no HasProfile, IsLoading or IsUnnamedProfile. - Main removed the owner-menu 'Set up profile' item and the unnamed-owner strings, so the window source-shape test keeps only the negative completion-UI assertions (renamed Window_DoesNotHostProfileCompletionUi) and the ledger guard follows the rename. Net change against origin/main e4a92c8: 12 files, +1952 lines, all L7. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
The source-contract test matched the trigger, refresh and unsubscribe text anywhere in WorkspaceWindow.xaml.cs, so it would still pass if a hook moved outside its guard or lifetime method. Assert each hook inside UpdateOwnerIdentity, OnProfileAutoFilled and OnClosed instead. Verified by mutating a scratch copy of the window source: moving the trigger out of its guard, dropping the invalidating refresh and moving the unsubscribe each fail the test. 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 changesAutomatically fill missing managed-Gateway owner fields from the Windows account and show a saved shared-owner name in the footer. Example: Ada Lovelace connects to a Companion-managed Gateway whose owner has no name or photo.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR adds useful behavior absent from main, and no actionable introduced correctness defect was found in the profile changes or merge resolution. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherWorkspace profile observations trigger an app-lifetime coordinator, which checks the selected managed Gateway and authenticated owner before acquiring Windows account data and writing through existing Gateway APIs. flowchart LR
A[Workspace profile observation] --> B[App lifetime coordinator]
B --> C[Managed Gateway context check]
C --> D[Profile completion service]
E[Windows account provider] --> D
D --> F[Authenticated Gateway profile APIs]
F --> G[Existing identity source and footer]
Technical reviewBest possible solution: Keep the focused app-lifetime coordinator and existing Gateway profile APIs, preserving populated fields and the shared-owner marker. Do we have a high-confidence way to reproduce the issue? Source confirms main displays Gateway identity but lacks this Windows-account completion path; this is an authorized feature addition rather than a reproduced contract violation. Is this the best way to solve the issue? The separation is justified: the provider owns Windows access, the service owns Gateway mutations, and the coordinator owns process-lifetime attempts while the existing identity source remains display-only. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4ea07e858b81. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. 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 HistoryReviewed November 5, 2026, 11:46 PM ET / November 6, 2026, 04:46 UTC (Revision 3). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…#2029) Co-authored-by: Copilot App <[email protected]>
Match the web Control UI presence label: the gateway-owner profile shows "Name · Shared owner" when it has a saved display name and Shared owner otherwise. The label never uses the owner's email or profile id. Other profiles keep the macOS name, email, id order. Co-authored-by: Copilot App <[email protected]>
The 40 DIP rail owner button kept its 8 DIP padding, leaving 22 DIP for the 24 DIP avatar inside the button borders. Use 4 DIP padding in the rail and restore 8 DIP when expanded. Co-authored-by: Copilot App <[email protected]>
openclaw#2016) * feat: find conversations and settings through shared navigation search Keep the existing search icons and shortcuts, unify native results, and add bounded Gateway catalog and message reads without executing actions. Co-authored-by: Copilot App <[email protected]> * test: keep native search and history proof aligned with shared controls Target the shared search TextBox itself, inject Alt+Right as a native chord, and scroll the expanded list through its viewport while retaining full-description assertions. Co-authored-by: Copilot App <[email protected]> * fix: reveal new search results when expanding the list Move focus off the disappearing More button, avoid restoring an obsolete viewport during expansion, and reveal the new native row after grouped layout settles. Keep metadata focus and scroll preservation separate. Strengthen native proof to require the actual focus handoff without test-driven scrolling. Co-authored-by: Copilot App <[email protected]> * fix: preserve the native result view when expanding search groups Append new rows to observable groups rather than resetting the grouped ItemsSource. Retain the scroll anchor and refresh shifted automation indices, with native coverage for expansion in multiple groups. Co-authored-by: Copilot App <[email protected]> * test: prove search and Dashboard routes against the released CI Gateway Reuse the disposable setup/connect fixture for exact transcript and metadata matches, a restricted-scope denial and authenticated headless browser routes. No local Gateway registration or new CI provider is introduced; retain bounded diagnostics and owned resource cleanup. Co-authored-by: Copilot App <[email protected]> * test: observe browser authentication through the released Gateway wire The real 2026.11.1 Gateway passed metadata, transcript and denial assertions, but its Solid browser no longer exposes the old Lit runtime fields. Require an actual same-origin hello-ok frame and visible semantic page headings instead of private framework state; retain route and screenshot checks. Co-authored-by: Copilot App <[email protected]> * test: bind browser pairing proof to its actual handshake request Approve only the request reported on the owned browser socket, reconcile a request resolved concurrently without claiming success, and require a live authenticated socket before accepting rendered routes. Co-authored-by: Copilot App <[email protected]> * test: capture the settled Dashboard page rather than its initial shell The real search, denied read and browser route test passed, but the root capture could precede its default-route redirect. Require meaningful routed content and wait for compositor frames before taking screenshots. Co-authored-by: Copilot App <[email protected]> * test: require actually visible Dashboard content before capture Exclude hidden, transparent and off-viewport retained route elements. Accept a visible routed heading or composer field, while still requiring exact Skills heading/path and a live authenticated Gateway socket. Co-authored-by: Copilot App <[email protected]> * test: exclude inactive or occluded retained Dashboard content from proof Check both viewport axes, inactive ancestors and hit-testing so retained route DOM cannot satisfy the rendered-page assertion while only shell chrome is visible. Co-authored-by: Copilot App <[email protected]> * test: attach proof to an explicitly owned browser target Use the debugger endpoint published by the owned process and create a dedicated target through CDP rather than relying on a page-list HTTP endpoint or a single startup tab. Verified endpoint, target attachment, evaluation and capture with a local headless smoke test; all smoke profiles cleaned. Co-authored-by: Copilot App <[email protected]> * test: keep browser profile storage out of Gateway proof artifacts The existing recursive log collector must not admit Edge profile JSON or LevelDB logs. Exclude the owned profile subtree and protect credential/file admission with nine fixture-free cases; retain ordinary diagnostic reports and explicit screenshots. Co-authored-by: Copilot App <[email protected]> * test: bind artifact exclusion to the browser profile owner Use one profile-prefix contract for allocation and artifact admission so renaming the owned browser directory cannot silently admit its storage. Co-authored-by: Copilot App <[email protected]> * fix: remove the search footer and status messages Keep conditional More and Retry beside the query input. Preserve accessible status with explicit notifications and protect the footer-free native layout. Co-authored-by: Copilot App <[email protected]> * fix: keep search navigation usable through cancelled and changing results Dismiss cancelled Config detail overlays, return focus when selected search results disappear, and use the separately verified Skills route on Gateway 2026.11.1 without enabling unverified routes. Add real control/native keyboard regressions and preserve the footer-free layout. Co-authored-by: Copilot App <[email protected]> * fix: preserve search focus across immediate surface changes Coordinate the existing flyout close owners before reopening on another surface. Fence deferred destination reveal against a newer search generation while preserving ordinary Settings target focus. Co-authored-by: Copilot App <[email protected]> * docs: align navigation search layout contract Describe header actions and nonvisual UI Automation status after footer removal. Co-authored-by: Copilot App <[email protected]> * test: wait for fixture profile sharing locks during cleanup Bound only Windows sharing/lock waits, retain explicit deadline failures and allow cleanup recovery after release. Cover transient and persistent held log handles. Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: Copilot App <[email protected]>
Preserve unified-search cleanup and profile auto-fill unsubscription when Workspace closes. Co-authored-by: Copilot App <[email protected]>
|
@clawsweeper re-review Please review merged head Merge and current evidenceIntegrated Fresh local validation ran on that committed merged head in the task-owned Windows ARM64 worktree. Test processes cleared inherited
The Shared failure is An independent Evidence boundariesThe PR body's Historical synthetic-account production-service / real-Gateway authorization, persistence and restart evidence, and the separate signed upgrade evidence retain their previously stated scope. They do not prove current mounted-app behavior. The historical host metadata-isolation guard failure remains a failure. Not verified / blocked: real Windows account acquisition and first-use OS consent; current rendered rail avatar and updated fixture UI test; integrated managed-WSL/native-Gateway completion. No app, shared Gateway, package install or WSL runtime was launched or changed during this merge task. Those proof gaps have not been relabeled as passes. Fresh CI for the pushed merge is pending. |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review The ready-for-review transition and description refresh are now complete for unchanged head 3d94930. The previous request acknowledged completion only as a superseded stale result, while the published review still covers 25fbbc1. Please review the settled current PR and its explicitly bounded merged-head evidence. No additional source or metadata edits are planned while this review runs. |
|
🦞👀 Re-review progress:
|
|
The maintainer confirmed manual testing of the previously discussed native Windows account/consent, managed-Gateway integration, and footer/avatar scenarios: "i tested all of that so we are good". This is maintainer attestation; no additional captured artifacts or binary-provenance record was supplied. Merging at the maintainer's explicit request. Head 3d94930 has passing required CI and a current-head ClawSweeper review with no actionable findings. Historical proof boundaries and the separate local symlink-privilege failure remain disclosed. |
Related: #2013 (feat: show the Gateway profile name and photo in Companion)
What Problem This Solves
A Companion-managed Gateway can have no owner name or photo even when the current Windows account has both, including on updated installations that never run setup again.
User Impact
Companion automatically fills missing canonical-owner fields on eligible managed WSL/native Gateways, once per Gateway per app run. A value present at the per-field re-read is kept. This is best effort, not an atomic compare-and-set against concurrent edits.
Privacy and behavior: the name and photo are persisted on the Gateway and visible to all its users. macOS serves the host photo dynamically instead; Windows persistence is a deliberate, approved difference. There is no in-app prompt, Skip, opt-out or Windows profile editor. A deliberately cleared field can be refilled after Companion restarts. Manual editing remains in Gateway settings. The new
userAccountInformationcapability requires a newly signed package; actual Windows first-use consent behavior remains unverified.The Workspace footer now shows a named shared owner as
Name · Shared owner, matching the web Control UI. The collapsed sidebar rail uses compact padding to leave room for the owner photo; current rendered-pixel proof is still outstanding.Why This Change Was Made
An app-lifetime coordinator observes the owner profile that Workspace already loads, covering both fresh and updated installations without a setup-only dialog.
IsLocal, or credential type.users.selfis re-read before each write. Uncertain post-send outcomes are not retried; confirmed fields remain preserved. Lost connection or changed context can release an attempt for a later observation, which reads fresh state first. No atomic no-overwrite guarantee is claimed.User.GetDefault, never enumeration. Runtime API presence gates the read (build 20348 or later, while older app-supported builds fail closed). Non-interactive, session 0, impersonated and Administrator contexts fail closed. Name length is bounded at 256 with no control characters. Photos are requested at 208 px, accepted as PNG/JPEG up to 1024 px and 2 MiB, and capped at 512 KiB for upload. An accepted small PNG/JPEG is uploaded unchanged, including embedded metadata. Only larger photos are decoded/re-encoded as JPEG scaled to at most 208 px. Account data is not logged; outcome categories are.Ownership:
ProfileAutoFillCoordinatorowns process-lifetime attempt memory/single-flight;ProfileCompletionServiceowns account acquisition and Gateway writes;WorkspaceWindowreports observations and refreshes the existing footer.Applazily composes the coordinator. The architecture ledger closes window-owned attempts and the removed dialog/menu/Skip responsibilities.Footer label and rail (added at
cfe34103). macOS shows the sharedgateway-ownerprofile as Shared owner alone. The web Control UI presence label showsName · Shared owner. Windows now follows the web on any Gateway.WorkspaceIdentitySource.FooterLabeluses only the saved trimmed display name, never the email or profile id, and keeps the shared marker because anyone using the shared Gateway credential appears as this profile. Unlike the web, it does not fall back to a verified GitHub login. The format string is localized in all six locales. In the 40 DIP rail, the owner button kept its 8 DIP padding, leaving 22 DIP inside the button borders for a 24 DIP avatar. The rail now uses 4 DIP padding and expanded mode restores 8 DIP.Evidence
Ready for maintainer review, not merge approval. Current head
3d949306integratesmainat4ea07e85. Current-head CI, attempt 1, passed including the final CI Gate; all required checks are green and GitHub reports a clean, mergeable PR. ClawSweeper's completed current-head review found no actionable defects: patch quality is platinum (4/6), overall/proof remain gold (3/6). Its rank-up request for actual Windows account/consent and mounted-footer evidence is optional, not a merge blocker.The full local Debug ARM64 build and all 5239 Tray tests passed. The separate local Shared run has 4948 passed, 1 failed and 26 skipped: an unchanged symlink test is blocked by missing Windows privilege. Successful hosted CI does not erase that local failure or establish the custom/native proof below.
The following real-Gateway and upgrade results are historical proof from
25fbbc1a, not new merged-head runs. They use synthetic account input with the unmodified production completion service and authenticated Gateway client. The Windows account provider and mounted WinUI were not exercised.FORBIDDEN; fields remained empty after read-only attempts and after revocation.FORBIDDEN). Service skipped account input. Actual ownerusers.merge/users.setRolerequests were rejected. These are immutable-owner rejection cases, not an executed reassignment race..803 -> .804MSIX upgradeIsolation limitation: all six final guest stages passed, but the host wrapper failed its metadata guard. Six host metadata entries changed while another session relaunched its real-profile Companion; attribution is unconfirmed. This is not an overall isolation pass. Every task-owned Sandbox process was removed and the other Companion was untouched. The separate signed-upgrade run had zero host metadata differences and was disposed.
The diff against the live base is 23 files, +2085/-18: 731 production lines (including six one-line locale resources), 1339 test/test-wiring lines and 15 ledger/doc lines. The Sandbox Gateway and signed-upgrade proof above ran at
25fbbc1a, before the footer commits. Those commits change only footer presentation, rail padding and their tests/ledger, not the completion service, account provider, coordinator, Gateway calls, capability or persistence. Earlier stack layers already landed as squash commits; their original commits remain in this branch's history. The Files changed view is the feature delta.The current full Tray run includes 360 passing profile/coordinator, identity and navigation cases. The earlier 107 focused tests cover payloads, partial fields, context/eligibility fences, cancellation/uncertain outcomes, process-lifetime attempts, pending-context handoff and replacement-client refresh. The parameterless pending-request drain test pins plain transport cancellation. Workspace hook assertions were historically mutation-checked; ledger consistency ran in Shared. These are static/component evidence, separate from the real Gateway results above.
Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: Windows account/OS-consent behavior and mounted owner footer, including the named shared-owner label and rail avatar padding. Declared, not run.windows-wsl-gateway-e2e: managed WSL integration remains unverified; supplemental native Windows Sandbox RPC proof does not complete this pool.windows-clean-installer-upgrade: signed increasing-version upgrade and production-loader compatibility passed. Full install/repair/uninstall, Store delivery and packaged UI obligations are not claimed complete.Validation
Current merged head
HEAD
3d949306e8d4e514e62806eafc69d556eaae7772, treed22fbbe71f8a907c641bd4016f9d1cad32faf928, comparison base4ea07e858b819c3df5d6b61fbef52596ed58b27b. Source remained committed and unchanged during local validation. The only textual merge conflict wasWorkspaceWindow.OnClosed; both main's search flyout/controller cleanup and this PR's profile event unsubscribe are preserved afterIsClosed = true.Test processes cleared inherited
OPENCLAW_*overrides, setOPENCLAW_REPO_ROOT, and used isolated tray data/AppData/local-AppData directories. Test projects were built first to prevent a fresh-worktree--no-restoreno-op. Actual TRX execution counters were read. In the commands below,$logsis the task's session-artifact directory outside the repository; it is a local output location, not a public proof link.3d949306.\build.ps1win-arm64; all five product projects built. Its documentation gate passed for 72 Markdown files.dotnet build .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --nologo -v quietdotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --logger 'trx;LogFileName=shared-merge.trx' --results-directory "$logs\test-results"dotnet build .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --nologo -v quietdotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --logger 'trx;LogFileName=tray-merge.trx' --results-directory "$logs\test-results"git diff --checkLocal Shared blocker:
MxcFolderAdmissionTests.OwnedJunctionAndSymbolicLinkAreRejectedWithoutFollowingTheirChildren(symbolic: True)failed because Windows refusedDirectory.CreateSymbolicLinkwith "A required privilege is not held by the client." This test and the MXC production directory are unchanged against merged main. No assertion was weakened, no skip added and no machine policy changed. This is not a passing full Shared suite. No current-head app, shared Gateway, package install or WSL runtime was launched during the merge task.Merged-head evidence and review request. Current CI, run
42163030619, attempt 1, passed at head3d949306, including Core/CLI, Tray/setup/integration, UI/functional/accessibility, all three WSL E2E lanes, x64 release smoke, both MSIX architectures, the Store bundle and final CI Gate. C# and Actions security checks also passed. Release/publication jobs were skipped as expected for this PR. No rerun or previous-head result is substituted for this run. Current local Connection, CLI/MCP, Release, UI/accessibility, E2E and MXC runtime suites were not run; hosted results are separate from local execution and do not complete custom Windows provider/consent or pixel proof.Historical validation and supplemental proof before the main merge
Previous head
cfe34103a245a90a90afc92afe7e6fe39e1fd646, treea77e645cf9701d09e8461d73442e55940c837ae0, added the footer label (de00f235) and rail padding (cfe34103) commits to25fbbc1a. Its comparison base was4aee38a1bfaa2f7d241130a3548d94f0547a3c9c. Validation ran on the uncommitted working tree, which was then committed unchanged (every edit predates the run). Tray tests used an isolated tray data directory. CI forcfe34103subsequently completed successfully; it is not current-head CI.cfe34103content.\build.ps1CS0009,src\OpenClaw.Chat\obj\Debug\net10.0\ref\OpenClaw.Chat.dllhad no managed metadata (stale intermediate retained). After rebuildingOpenClaw.Chat, the rerun passed, Debugdotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restoreRailOwner_UsesCompactPaddingAndRestoresExpandedPaddingalone, before the padding edit.\scripts\validate-docs.ps1git diff --checkNot rerun at
cfe34103: Connection tests andvalidate-agent-skills.ps1(no connection or skill changes), and the fixture UI test whose expectation changed (OwnerFooterRendersNamedSharedOwnerForGatewayOwnerProfile).Earlier head, used for the managed closeout and all supplemental proof below: clean HEAD
25fbbc1a5fa1ebc59a0d20e90ff1410d18f45950, tree3084ddd2f01df17d27d118bac8f236782f2086ef, comparison base4aee38a1bfaa2f7d241130a3548d94f0547a3c9c(0 behind). Repository source was unchanged throughout supplemental proof. Managed closeout below is that earlier Debug run, not a rerun. Its process-only wrapper cleared inheritedOPENCLAW_*, set isolated tray roots andOPENCLAW_REPO_ROOT, and leftOPENCLAW_STATE_DIR/legacyOPENCLAW_TRAY_LOCAL_DATA_DIRunset. TRX counters were checked for actual execution and failures..\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-restore.\scripts\validate-docs.ps1.\scripts\validate-agent-skills.ps1git diff --checkdotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --filter "FullyQualifiedName~ProfileCompletionTests|FullyQualifiedName~ProfileAutoFillCoordinatorTests|FullyQualifiedName~ArchitectureLedgerConsistencyTests"The Shared gated cases are 17 device-identity integration, 7 MXC integration and 1 hardware-probe case; none is claimed proved. Full-product Release, SetupEngine, UI/accessibility/E2E/MXC suites were not run. CLI/MCP tests were not run because those surfaces did not change. A harness Release build is not full-product Release validation.
Supplemental commands use session-only artifacts. Guest commands ran inside disposable Windows Sandbox unless marked host:
dotnet build ProfileGatewayProof.csproj -c Release --no-restore --nologo -v quiet -p:UseSharedCompilation=false -p:BuildProjectReferences=false -m:1 -nr:false(host artifact directory)dotnet ProfileGatewayProof.dll preflightnode C:\GatewayPayload\openclaw.mjs gateway run --port 42961 --bind loopbackdotnet C:\ProofHarness\ProfileGatewayProof.dll provedotnet C:\ProofHarness\ProfileGatewayProof.dll verify-persisted(first and final restarts)dotnet C:\ProofHarness\ProfileGatewayProof.dll prepare-nonownernode C:\GatewayPayload\openclaw.mjs devices approve <exact-request-id> --json(once per request, Gateway stopped, implicit configured loopback target)dotnet C:\ProofHarness\ProfileGatewayProof.dll prove-nonownerpowershell.exe -NoProfile -File .\Test-GuestPairingArray.ps1;powershell.exe -NoProfile -File .\Test-GuestProcessExit.ps1(host artifact directory).\Run-GatewaySandbox.ps1 -OutputName output-11(host artifact directory)Add-AppxPackage -Path C:\ReleasePackage\OpenClaw-MigrationTest-x64.msix.803installed, signature validated& "C:\UpgradeProofRuntime\seed\ProductLoaderProof.exe" "seed" "C:\Program Files\WindowsApps\OpenClawFoundation.OpenClaw_2026.9.803.0_x64__rfcbke2p71se2" "C:\Users\WDAGUtilityAccount\AppData\Roaming\OpenClawTray" "C:\ProofOutput\release-loader-resume.json"Add-AppxPackage -Path C:\HeadPackage\OpenClaw-MigrationTest-x64.msix.804upgrade, no uninstall/reset/downgrade& "C:\UpgradeProofRuntime\verify\ProductLoaderProof.exe" "verify" "C:\Program Files\WindowsApps\OpenClawFoundation.OpenClaw_2026.9.804.0_x64__rfcbke2p71se2" "C:\Users\WDAGUtilityAccount\AppData\Roaming\OpenClawTray" "C:\ProofOutput\upgraded-loader.json"Real Behavior Proof
2026.10.10, exact source7dc3350cb9f08fcf9a0af5c4845a20d5b2f1a8be, Node24.22.1. That source commit is newer than the bot-citedb8952d4, despite version spelling. No host account provider or shared Gateway was used.25fbbc1a5fa1ebc59a0d20e90ff1410d18f45950, tree3084ddd2f01df17d27d118bac8f236782f2086ef, before the footer commits and main merge; it does not cover current head3d949306. Harness links unmodifiedProfileCompletionService.cs/AccountIdentity.csand uses productionOpenClawGatewayClient. Account input and selected service context are synthetic, not the app's registry/connection factory. Upgrade CI tested merged9cadf876e52c44e5219d96dc99d9f5123ff439ehas the identical tree.WorkspaceOwnershowed<saved displayName> · Shared ownerwith help textConnected. The private name is redacted and no screenshot is published. Pixel layout was not assessed, and this does not show how the name was acquired.Yes/No/N/A): Yes for linked CI/source URLs below. Copied results are inline, not inaccessible local links. No screenshots or mounted UI claim.markeddependency in its shadow runtime; the intact payload was used without alteration. Gateway logged a portablefs-safefallback, not successful native-addon loading. MCP/winnode were not exercised. Host metadata-isolation failure remains unattributed. An earlier Shared MXC scratch-cleanup failure and a zero-filled Shared reference DLL remain unexplained; later passes do not establish unrelatedness.Copied production-path contracts and artifact correspondence
Selected executed contracts from final
output-11, allpassed: true:The raw labels saying "reassignment attempts" mean rejected built-in owner merge/role operations, not a successful reassignment race. Empty fields after revocation prove observed persisted effects, not zero wire transmissions or arbitrary revocation timings. The denied avatar request used a different valid PNG. Final HTTP bytes equalled the original synthetic image: SHA256
F43181712589AF203C16C71711CB7CF63273CA57B0D197A2B5FAF55092E53158.cbbea58b02bce43427f294f256b96302e1481dc76ca6f8ced52332a8693b3222.4572BF6C8B2825F333AECD86A66ED4E1D540830756BFA0CEEE44A76BEE2E5CF4; harness DLL4266C75DFE3028E7C7089779ED82ED10E437669847490952D6E06BA9B8DBE178; guest scriptB5EEAC438030889F9BC10C9BE6F79ACD8C4ED1FDED40FDF60631FC708FFA4742. All nine frozen source/script/production-DLL hashes matched before and after the final run.2ba89f377ce8ce3f5ddfc452e4d509329f109114;.803package SHA256fd2b5fcb534c4986107a27cade3e3515751b15c8d5bbd7ff7543d37ac4f2c598.25fbbc1a5fa1ebc59a0d20e90ff1410d18f45950; identical-tree tested merged9cadf876e52c44e5219d96dc99d9f5123ff439e;.804package SHA25623eb8a387930ea418993db8823827e6a2b061bfdb2c542723328731222be193b.2026.9.8-alpha.2+...2ba89f...despite the release tag; no binary was relabeled. Loaders used hash-identical copies of registered package DLLs, not alternate persistence implementations. Upgrade proves Companion persistence compatibility, not Gateway owner-photo preservation across an app upgrade. The separate Gateway run proves its own restart/image preservation.Security Impact
Yes/No): Yes,userAccountInformation.Yes/No): No.Yes/No): Yes,users.self,users.setDisplayName,users.setAvatarover the existing authenticated operator connection, no new endpoint.Yes/No): No.Yes/No): Yes, current Windows name/photo persisted on the managed Gateway and shared with its users.Yes, explain the risk and mitigation: automatic personal-data sharing, no in-app opt-out. Managed-only eligibility, canonical owner/write authority, coherent context fences, current user only, fail-closed execution context, bounded image/name, per-field pre-write reads, no uncertain-write retry, no account data logging. Small accepted PNG/JPEG bytes are unchanged and may retain metadata; only oversized photos are re-encoded. No atomic no-overwrite guarantee.Compatibility and Migration
Yes/No): Yes for existing persistence schema and Gateway contracts, with the intentional automatic-sharing behavior stated above. Signed upgrade exercised actual product loaders. Existing values seen at pre-write re-read are preserved; concurrent writes are not atomic.Yes/No): No. Timeouts are fixed constants. Package gains the capability above.Yes/No): No.Review Conversations
The completed ClawSweeper review, revision 3, covers merged head
3d949306and the footer commits. It reports no actionable findings and is ready for maintainer review. Patch quality is platinum (4/6); overall/proof remain gold (3/6). Its optional rank-up asks for redacted actual Windows account/consent and mounted-footer evidence, including the collapsed avatar. It also suggests replacing the literal padding assertion with mounted rendering coverage; no existing regression was removed without that replacement. The settled review request completed after the earlier request was superseded by metadata edits. The photo metadata disclosure is corrected. No merge approval is inferred from the rating or successful CI.Local Hanselman review (Opus 5.5 and Astra) accepted
3cc1177e9225f8b605590743135fc9caf040353a; one optional LOW about throwing outcome/event reporters suppressing a retry remains unchanged and fails closed. Later main merges had an independent integration review; its LOW about overly broad hook-text matching was fixed and mutation-checked in25fbbc1. These are static source reviews, not runtime proof.Independent proof review used the available
code-reviewrole (norubber-duckrole advertised). It accepted the corrected fixture, final non-owner/restart contracts, nine matching hashes, actual-function PowerShell regressions and detailed evidence wording. It explicitly retained the failed host isolation check and did not grant merge approval. This is a bounded proof review, not a new full production-code review.The footer commits
de00f235andcfe34103were not covered by those historical full-feature reviews. At merged head3d949306, an independentrubber-duckrole reviewed the combined merge, both parents, lifecycle callers and proof plan and found no actionable P0-P3 integration defect. Model identity is unverified. It confirmed that preserving both teardown paths is the smallest complete resolution. This is a bounded integration review, not a new full-feature source review. The required shared autoreview installation was absent, so no successful shared-helper review is claimed. The completed ClawSweeper review above covers the current full PR; native proof limits remain explicit.