Skip to content

fix: ask before removing a cron job or running a disabled one - #2

Closed
SebTardif wants to merge 447 commits into
mainfrom
fix/f058-cron-confirm
Closed

SebTardif wants to merge 447 commits into
mainfrom
fix/f058-cron-confirm

Conversation

@SebTardif

Copy link
Copy Markdown
Owner

What Problem This Solves

Cron Remove sends cron.remove on the first click and remembers the job id before the gateway accepts it. Run Now starts a disabled job because force defaults to true, with no question first.

Why

A mis-click deletes a schedule. A rejected remove still suppresses the later one-shot completion notice. Run Now on a job that is turned off starts it once without saying so.

User Impact

Remove asks first. The id is forgotten when the gateway does not accept the remove. Run Now on a disabled job asks first. Run Now on an enabled job is unchanged.

Evidence

On main, remove stores the id and calls the gateway in the same click:

_removedJobIds.Add(jobId);
_ = CurrentApp.GatewayClient.RemoveCronJobAsync(jobId);

Run Now calls RunCronJobDetailedAsync(jobId) while that method defaults force to true.

The patched remove handler asks, then stores the id, and drops the id when the call returns false. Run Now asks only when the job is disabled (IsEnabled: false).

Real behavior proof

  • Behavior or issue addressed: Cron Remove and Run Now on a disabled job act on the first click.
  • Real environment tested: Windows 11, .NET 10, source at 12c236d6eec5ba3d31b0e126ada1ebb6bd33e6a4.
  • Exact steps or command run after this patch: Read OnRemoveClick and OnRunNowClick in src/OpenClaw.Tray.WinUI/Pages/CronPage.xaml.cs on that commit. Confirm is called before _removedJobIds.Add. A false remove result removes the id. A disabled job reaches RunCronJobDetailedAsync only after confirm.
  • Evidence after fix: terminal output from the patched source:
OnRemoveClick order: ConfirmCronActionAsync, then _removedJobIds.Add, then RemoveCronJobAsync
if (!removed) _removedJobIds.Remove(jobId)
OnRunNowClick: IsEnabled: false asks with CronPage_RunDisabledConfirmTitle before _runningJobIds.Add
  • Observed result after fix: The remove path no longer stores the id before the question. A disabled Run Now no longer calls the gateway before the question. An enabled Run Now still calls RunCronJobDetailedAsync(jobId).
  • What was not tested: The tray Cron page was not opened, so the confirm dialog was not clicked.

Fixes openclaw#2032

larroy and others added 30 commits October 2, 2026 03:44
…le tail polling runs late (openclaw#1597)

* fix(ci): Build and Test flakes when Workspace keyboard input or console tail polling runs late

- WizardConsoleTailTests: snapshot cursors inside onMessage so a late test continuation cannot record the next 500 ms poll.
- WorkspaceWindowProofTests: wait for selection state across sidebar rebuilds instead of one-shot re-finds; foreground the Hub and wait for keyboard focus before SendKeys.
- AccessibilityAppFixture: add EnsureHubForegroundAsync.

* test(ui): report focus holder when Workspace pane toggle Space is lost

* docs: track unresolved main CI failures

* test(ui): isolate sidebar draft proof from synthetic keyboard delivery

Retain Space activation and focus-transfer coverage in the dedicated native navigation test. Document the remaining session-selected keyboard uncertainty.

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

* test(ui): foreground reopen pane before native keyboard input

Use the existing foreground-and-focus helper for reopen-button Space and Tab. Local validation remains in progress; push requested to run CI in parallel.

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

* test(ui): retain activation readiness before sidebar invocation

Restore the foreground/focus barrier when switching from SendKeys to UIA Invoke. CI exposed a COM failure without that barrier. Do not suppress or retry invocation errors.

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

* test(ui): harden workspace pane synchronization (openclaw#1601)

---------

Co-authored-by: Karen Lai <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
* fix(setup): ignore packaged toast activation argument

* test(setup): bind toast projection to manifest
* fix(local-ai): allow cold-start runtime scan

* test(local-ai): drop timeout budget coverage
* fix(local-ai): launch with physical MSIX paths

* fix(local-ai): resolve recovery probe model path

Reuse the native child-process path resolver before checking the original endpoint during rollback. Preserve logical receipts and fail closed with the existing warning on IO or access errors. Cover physical identity, unhealthy endpoints, resolution failures, absent endpoints, and cancellation.

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

---------

Co-authored-by: Karen Lai <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…es (openclaw#1617)

* fix(release): bound alpha notes to previous release

* fix(release): order alpha notes chronologically

* fix(test): make release checkout contract CRLF-safe

* fix(release): fetch history in publishing job
openclaw#1595)

* build(local-ai): bump managed llama-server runtime to b11320

The RTX Spark recipe set published on 2026-09-30 raises its minimum
llama.cpp build: the Qwen3.6-35B-A3B recipes require b11236, the
Qwen3.8-27B DFlash recipes require b11229, and Qwen3.8 Flash-Next
requires b11256. A single managed runtime is pinned for every recipe,
so the pin moves to b11320, the newest build carrying all four Windows
CUDA 13.4 artifacts, which clears every one of those minimums.

Artifact sizes and digests are taken from the release and verified by
downloading each llama-server archive and recomputing SHA-256. The
CUDA runtime archives are byte-identical to the ones already pinned at
b11026, so their digests are unchanged.

b11026 moves into the retired set alongside b10655. It is a shipped
runtime once this release goes out, so an installation recorded
against it has to keep resolving its own receipt and stay launchable
until setup upgrades it.

* feat(local-ai): move the RTX Spark 48GB recipe to the Q4_K_S quantization

The 2026-09-30 recipe set replaces the 48GB-SKU Qwen3.6-35B-A3B
quantization: UD-IQ4_XS becomes UD-Q4_K_S. Both files already exist at
the Hugging Face revision this catalog pins, so only the artifact
changes; the revision, run recipe, and 98,304-token context tier are
untouched.

The previous quantization is retired rather than rewritten in place.
It ships as the 48GB default, so an existing receipt has to keep
resolving its own pinned artifact and profile until setup upgrades it.
Retired entries normally expose only the pre-profile native/F16
profile, which this model was never installed under, so the retired
entry keeps the 48GB SKU's fixed tier instead. A regression covers
that and fails without it.

* feat(local-ai): align the offered Qwen3.6-35B recipe with MTP n=2

The 2026-09-30 recipe set runs every Qwen3.6-35B-A3B configuration with
MTP n=2, including the 28GB and 30GB tiers the 64GB and 128GB SKUs
offer. The already-offered UD-Q4_K_M entry inherited the catalog-wide
default of 3 instead, so it launched with a draft depth no published
recipe uses.

Its pinned artifact already matches the new recipes byte for byte --
same revision, same file, same digest -- so only the draft depth
changes, and the model stays reachable exactly as before through the
existing explicit-alternative path.

The sampling block published alongside these recipes is not adopted:
every recipe in the set carries an identical string, including
"speculative draft backend sampling: ON" on MTP-only entries that have
no draft model, so it reads as shared boilerplate rather than per-model
tuning. The 35B entries keep the temperature they ship with today.

* fix(local-ai): preserve onboarding for retired receipts

* fix(local-ai): retain installed model through repair

* refactor(local-ai): keep recovery internals private

---------

Co-authored-by: Dallin Romney <[email protected]>
…1602)

* fix(onboarding): hide unsupported native gateway choice

* fix(onboarding): reorder unsupported native Gateway choice
Make automatic chat speech opt-in for fresh profiles and missing settings. Preserve saved preferences and manual Read aloud, with settings persistence regression coverage.

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

Preserve UTF-8 decoder state across fragmented gateway text messages, including zero-character first fragments, and cover message-boundary reset with real loopback WebSocket regressions.

Implementation by SebTardif. Validated exact head 18b0e53 against landing base 9dedabe.

Co-authored-by: Sebastien Tardif <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: b48ee5b1-402b-434e-8fd8-d93d9bb60ea8
… budget (openclaw#1627)

Bound llama-server response bodies and startup lifetime cancellation while preserving endpoint cleanup ownership. Includes three reviewed test-only proof corrections and integration through main d53b5ab.

Validated head: 94b5af1. Required CI Gate passed on run 37410253309 attempt 2 after one classified migration-timeout recovery; failed attempt 1 retained in PR evidence. Full local ARM64 build, Shared, Tray, and focused Local AI proof passed.

Co-authored-by: Scott Hanselman <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 8821d6fc-e607-4ceb-a29f-66bce3a8c899
openclaw#1645)

* fix(audio): retain process ownership through bounded cleanup

Keep Process disposal with BoundedProcessWait until its asynchronous tree-kill worker finishes, while retaining the caller cleanup deadline and redirected-output drain behavior. Cover delayed worker cancellation and timeout with deterministic real-process tests.

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

* test(audio): measure cleanup after wait setup

Start the delayed-worker regression stopwatch at the cancellation boundary, matching the existing cancellation test. Preserve the three-second bound and held-worker assertions.

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

* test(audio): bound delayed-worker regression failure

Keep a five-second test watchdog around the held-worker wait so a future unbounded cleanup regression fails and releases the fixture instead of hanging the suite. The three-second product assertion is unchanged.

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

---------

Co-authored-by: Copilot App <[email protected]>
Adapt the framework readiness seam from closed unmerged PR openclaw#1559, original commit 8912d67. Wait for the exact AI action card without changing native input or product behavior, retain strict XAML handler checks, and add delayed-state and timeout regressions.

Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Copilot App <[email protected]>
…#1647)

Preserve catalog-sized logical files and per-test mutations while avoiding model-sized fixture allocation on Windows.

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

* chore(ci): keep tested repository tooling on fast validation

Classify only the two tested repository-triage files as fast_only, preserve mixed product lanes and fail-closed gate/proof contracts. The workflow admission edit is intentionally excluded for maintainer web publication.

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

* adding fast only to CI

---------

Co-authored-by: Copilot App <[email protected]>
…claw#1620)

Move pending messages out of the composer into the shared native transcript with a transparent border, muted text, and hover/focus status and actions. Preserve queue and send behavior.

Co-authored-by: Copilot App <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: karkarl <[email protected]>
…penclaw#1619)

Use connection-owned resources across all supported locales without changing native installer copy or connection transactions. Cover actual resource references and mounted localized controls.

Co-authored-by: Copilot App <[email protected]>
* fix(chat): use paperclip glyph for chat attach button

* test(chat): assert composer attach glyph is not the Add glyph
* fix(chat): clear stale setup warnings after recovery

Clear obsolete setup warnings, recheck on connection recovery, preserve the verified session, and keep authority mismatches blocked. Add localized recheck guidance and full-App fixture proof with matching isolated data roots.

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

* fix(chat): preserve drafts and session choice through recovery

Invalidate setup binding before composer session navigation, retain the verified host across transient outages, and fence voice capture while hidden or unloaded. Add controller, mounted WinUI, and full-app fixture regressions.

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

---------

Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Karen Lai <[email protected]>
* fix(chat): let shift enter insert native newline

Let the WinUI TextBox handle Shift+Enter newline insertion by enabling returns and only sending on unmodified Enter.

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

* test(chat): verify native newline caret and Enter send behavior

Replace the proxy caret oracle with opt-in native keyboard coverage and observable sends. Keep a separately named programmatic reconciliation smoke and document isolated-host proof requirements.

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

---------

Co-authored-by: Copilot App <[email protected]>
…session switching (openclaw#1629)

* feat(workspace): add sidebar session context menu with pin, rename, archive, and fork

Adds a right-click menu on Workspace chat sidebar session rows with web-chat
parity actions (Pin/Unpin, Rename, Mark as unread/read, Archive, Fork,
Copy session key/ID/Markdown, Delete) plus Windows extras (Reset, Compact,
Export transcript), a collapsible Archived section, pinned-first ordering
with pin glyph, and unread accent dot.

- Shared protocol: SessionInfo pinned/pinnedAt/unread/markedUnreadAt/archived
  fields, SessionPatch label/pinned/unread/archived/expectedMarkedUnreadAt,
  sessions.create fork/forkFrom, ListArchivedSessionsAsync (detached rows),
  SessionTranscriptFormatter.FormatMarkdown; drift-guard snapshot updated.
- Pure model: WorkspaceSessionMenu (entries, patches, fork request) with 9
  focused tests; WorkspaceProjection pinned ordering, archived filtering, and
  archived-section projection.
- WinUI: WorkspaceSessionMenuController (flyout, dialogs, dispatch, read
  acknowledgement) and WorkspaceArchivedSessionsSource (coalescing loader);
  WorkspaceWindow wires rows, archived toggle, fork reuse, and leave-on-
  archive/delete; ledger and editorconfig updated.

Validation: build.ps1 all projects; Shared tests 4230/0; Tray tests 3899/2
(pre-existing VC++ runtime env gap, OPENCLAW0001); live-gateway UI proof of
the main-session menu captured.

* docs: add session context menu implementation summary and proof

* Fix em dash

* feat(workspace): show busy ring on working sidebar sessions

Project SessionRunState.IsWorking into WorkspaceSession (suppressed for archived rows) and render a 14px indeterminate ProgressRing in the unread dot slot while a session has an active run. The dot returns when the run ends if the session is still unread; screen readers announce Working alongside Unread.

* perf(workspace): reconcile sidebar rows in place and resolve chat URL once per switch

Session switches rebuilt every sidebar NavigationViewItem, including the selected one, inside SelectionChanged, and ChatPage.Initialize resolved the chat URL twice. Each resolution re-runs the managed-loopback credential provenance check (~500ms).

Measured medians over 10+ switches: ui-idle 1117.8ms -> 598.3ms, sidebar 15.1ms -> 1.7ms, chat-url 2x509ms -> 1x532ms.

* docs: describe in-place sidebar reconciliation in session context menu summary

* perf(workspace): switch chat sessions without blocking the UI thread

Clicking a sidebar session resolved gateway credentials synchronously inside
NavigationView.SelectionChanged; the managed-loopback provenance check spawns
wsl.exe (~530ms of the ~600ms ui-idle), and the native chat never uses the URL.

- WorkspaceWindow commits history, sidebar, queued session and selection
  synchronously, then applies the chat on one coalesced Low-priority dispatcher
  turn (latest queued session wins) and signals content-ready after it.
- ChatPage skips credential resolution for the native surface. The legacy
  WebView surface resolves on the thread pool, serialized across Hub and
  Workspace pages (NativeGatewayRuntime.Inspect denies concurrent callers) and
  dropped when a newer apply or unload superseded it.
- Bootstrap-only credentials now reach the "pairing incomplete" message.

Fixture proof (UIA-driven, before -> after): native handler median 2.4 -> 1.0ms,
ui-idle median 112.4 -> 73.3ms; rapid clicks end on the last session in native
and WebView modes; toggling legacy off mid-switch keeps the clicked session
(the parent commit failed this). Live managed-gateway numbers not re-measured.

* fix(workspace): keep sidebar sessions in creation order

Session rows in the Workspace sidebar reordered whenever a session got
input because WorkspaceProjection sorted by updatedAt. Rows now keep
creation order: gateway createdAt newest-first, pinned rows still first
(most recently pinned on top). Sessions without createdAt (older rows)
freeze by first-seen rank, seeded by updatedAt so the first paint matches
recency. LatestSessionKey still follows activity for agent selection.

- SessionInfo.CreatedAt (Unix ms, write-once); parsed in
  PopulateSessionFromObject, omission keeps the known value
- New WorkspaceSessionOrder ranker owned per WorkspaceWindow
- WorkspaceProjection.Sessions takes the ranker; Visible filters only
- snapshot json: createdAt in sessions.list responseFields

* fix(workspace): await session mutations and clear removed conversations

Bind sidebar actions to their original Gateway connection, preserve chats on rejection, prune removed-session history, and constrain long session titles. Add response-ordering, lifecycle, layout, and authenticated fixture regressions.

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

* improve(workspace): move archived conversations to Settings

Remove the Workspace archive dropdown while retaining the Archive context-menu action. Browse and restore archived sessions from Settings with response-confirmed operations and connection-lifetime fencing.

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

* fix(test): isolate real-process deadline assertions from parallel load

Run bounded cleanup and Piper extraction fixtures in one non-parallel collection. Preserve every deadline, timeout, process-lifetime assertion, and production code path.

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

---------

Co-authored-by: Karen Lai <[email protected]>
Co-authored-by: Copilot App <[email protected]>
* feat: add standalone clean uninstall for demo devices

Provide dry-run-first PowerShell cleanup with native Gateway teardown, guarded profile and model removal, and an All scope shortcut. Extend the uninstall skill and cover safety boundaries with isolated regressions.

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

* fix: preserve cleanup ownership and validate model provenance

Address all seven accepted Hanselman findings with isolated regressions, including real short-path TEMP handling and supported Inno version metadata.

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

* feat: allow excluding cached models from full cleanup

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

* feat: explicitly clean leftover isolated Windows profiles

Use Windows profile deletion for exact unloaded isolated-profile registrations, with preview, elevation, SID/path rechecks and preservation gates. Never infer ownership from a folder name or select these profiles through -All.

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

* fix: isolate Windows PowerShell modules in cleanup CI test

Clear the inherited PSModulePath in the test child process so Windows PowerShell 5.1 resolves its own inbox modules instead of PowerShell 7 modules passed through the CI test host.

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

---------

Co-authored-by: Copilot App <[email protected]>
…penclaw#1649)

* fix: recover stale isolated gateway sessions

* fix: cancel package token writes safely

* fix: stop superseded restores before credential writes
larroy and others added 23 commits November 3, 2026 15:28
Add local, per-Gateway shortcuts for eight native pages beside Home. Preserve disabled pins during disconnects and route the main conversation through Home without a duplicate Sessions row.

Reconcile the feature with main's agent-selection changes and retired pages, and update the affected navigation and UI coverage.

Co-authored-by: Copilot App <[email protected]>
…utes (openclaw#2000)

When WinGet succeeds but the Store staged the Gateway package without
registering it for the current user, native setup polled until the
30-minute acquisition deadline (openclaw#1999).

After the first post-install resolve misses, EnsureAsync now registers
the staged Store family once for the current user via
RegisterPackageByFamilyNameAsync. A registered package still passes the
resolver's identity, health and alias checks. "Not staged" (extended
error 0x80070490 or 0x80073CF1) keeps the existing bounded wait for slow
deployments (openclaw#1756); other errors fail fast with HRESULTs, a deployment
activity ID and localized recovery guidance. The post-install timeout
message no longer claims Windows may still finish.

Fixes openclaw#1999
* test: stabilize flaky UI-job and SetupEngine CI failures

- Serialize the UITests assembly and lock the testhost PerMonitorV2 DPI
  context at assembly load so launched-app collections cannot poison it
  before the UIThreadFixture initializes (mode A).
- Re-issue the chat timeline end-scroll while waiting for message 240
  instead of one scroll followed by a passive 20 s wait (mode B).
- Poll the retained composer draft instead of asserting it once, tolerate
  the handoff receipt temp-file/move race, and raise the handoff settle
  budget to 45 s (modes C, C2).
- Re-check WaitForRenderedConditionAsync on a dispatcher timer so off-screen
  windows and dynamically inserted children settle, accept XamlRoot as
  in-tree for the wizard More button, wait for Gateway request quiescence
  before request-count asserts, bound SVG decode with the real
  queue-wait-plus-decode product bound, and invoke SettingsBack only when
  it is enabled (modes D, G1-G4).
- Close composer flyouts by awaiting real closure, close stray popups
  before Reactor teardown, and mark teardown phases in the console
  (modes E, F1); bracket the dispose finalizer drain (mode F2).
- Raise the GatewayPackageCleanup worker timeout to 120 s (mode H).
- Record proven unresolved modes in docs/CI_FAILURES.md.

* docs: attribute the hosted-runner fixture window-creation hang

* docs: attribute the reasoning-picker in-body testhost crash

* docs: add fork CI run evidence to the retained-draft loss entry

* test: restore single-scroll clipping coverage and correct CI-failure citations

The static ScrollToAsync refactor kept the old instance-method logging
block, so GatewayFixtureUiTests did not compile (CS0103 scroll/before,
CS9105 output in static context) and the UI job failed all three steps.

Restore main's ScrollToAsync verbatim, with its scroll diagnostics, and
the one end-scroll followed by passive visibility polling in the
resize test, so the clipping regression from openclaw#1549 stays covered.

Also correct two CI_FAILURES.md review findings: run 41532119336 is a
fork run about hosted fixture startup, not the local pristine
reasoning-picker crash, and the 90 s fail-fast wait, phase-bearing
message, and bootstrap/window-creation markers are existing fixture
diagnostics, not new in this change.

* test: address review of the More-button wait and SVG decode bound

- Keep IsLoaded as the wizard More-button readiness check. The poll timer
  already covers the no-frame case, and a bare XamlRoot check let the
  automation peer invoke a button a user could not yet click.
- Restore the single-decode SVG bound to SvgRenderTimeout + 2 s. The
  single-load tests arrange no queue contention, so the doubled
  queue-plus-decode budget only hid a real overshoot: the decode cap fires
  on time but SvgImageSource.SetSourceAsync blocks the UI thread past it.
  Assert the decode slots are idle before timing and include timestamped
  resolver warnings in the failure message.
- Add Load_QueuedBehindBusyDecodeSlots_CompletesOnceASlotFrees to cover
  queue wait plus decode deterministically.
- Record the UI-thread blocking attribution in docs/CI_FAILURES.md.
…fault model (openclaw#1744)

* feat(local-ai): switch models in place and add a Model settings section

Replace the Local AI "Change model" wizard route with in-page selection:
a dropdown of catalog models that fit this PC plus an optional custom
Hugging Face GGUF reference (owner/repo, owner/repo:QUANT, file path, or
huggingface.co/hf.co link).

- Custom models are pinned to a commit revision and LFS SHA-256, sized
  from the GGUF header, and stored as a schema-6 receipt carrying the
  recipe. Oversized models require explicit "Switch anyway".
- LocalAiModelSwitcher downloads and verifies while the current model
  serves; ILocalAiRuntime.ReplaceInstallAsync withdraws the old route
  before committing the new receipt, and a failed start restores the
  previous one. Prior weights stay in the Hugging Face cache.
- Hub sidebar gains a "Model" header with a new Default model page and
  the existing Local AI page. Default model writes
  agents.defaults.model.primary via config.patch and keeps the Local AI
  fallback in sync.
- Remove IAppCommands.ShowLocalAiModelSetup and its window-manager route.

* fix(local-ai): throttle model-switch progress to stop the settings window freezing

Verifying an already-downloaded model reports progress after every 1 MiB
read (about 15,700 reports per pass for a 16 GiB GGUF). The Local AI page
queued a full-page refresh on the UI thread for each one, so the window
stopped responding during "Verifying the download".

CoalescingSwitchProgress delivers byte updates at most once per 100 ms,
delivers phase changes immediately, and keeps at most one UI update queued
(carrying the latest value). Byte-only updates now raise SwitchProgress and
refresh just the progress text and bar instead of the whole page.

* fix(local-ai): recover interrupted model switches and scope default-model writes

Address the review findings on the in-place model switch and the Default
model page:

- Native binding and manifest now recover together. RebindModelAsync
  journals the previous model in gateway-binding.json (RebindFrom) before
  the manifest commit; every manifest load settles the journal to whichever
  model the manifest names, and a failed manifest save settles it back at
  once.
- Fallback updates write the lifecycle receipt first and are idempotent,
  so a retry after a rejected or partial update repairs both receipts.
- The Default model page changes Local AI's fallback (and stops Local AI)
  only when the active Gateway is the one Local AI is bound to.
- Models whose provider still needs sign-in are listed but cannot be made
  the default.
- A start that throws after the switch commits now gets the same rollback
  as a start that returns a failure.

* fix(local-ai): serialize model-rebind journal with the manifest commit

Ownership observation no longer settles a journaled rebind from a stale installation snapshot; it reports Unavailable and stays read-only. CommitModelRebindAsync holds the binding lease across journal, manifest save and journal clear, and crash recovery settles against the manifest read under that lease.

* fix(local-ai): upgrade retired runtime when switching models

The model switcher reused any installed runtime in the same family, including the retired b10655/b11026 pins, which predate the minimum llama.cpp builds of the current recipes. Reuse only the exact runtime the new plan qualified; otherwise install the current pin side by side.

* fix(local-ai): install a custom GGUF that lives in a repository subfolder

The hub cache already stored nested relative paths, but the mandatory legacy copy treated the whole path as one filename and failed after the download.

* fix(local-ai): refuse a cloud default model while native routing is unconfirmed

The Default model page wrote the cloud primary before the fallback update checked the native receipt, so a pending publication left a primary that recovery could not settle. The primary write now runs inside the receipt lease after a Pending check with no same-value shortcut.

* fix(local-ai): run one model switch at a time across page instances

A switch that outlives navigation (past its cancelable phases) could be followed by a second switch from a new Local AI page, which loaded a stale rollback baseline and could overwrite or undo the newer choice. LocalAiModelSwitcher now claims a single-flight slot before reading the receipt and rejects concurrent calls; IsSwitching/IsSwitchingChanged keep every page busy until the switch ends, then reload the installed plan.

* fix(default-model): show the current model in the closed selector

The selection was made before the ComboBox template applied, so WinUI left the closed selection box blank. Re-select once the page loads, and keep the options instance across refreshes with unchanged content so the selector is not cleared and rebuilt.

* feat(default-model): add model providers from the model selector

Settings > Default model gains an Add a model provider card: save an API key
(models.authSetApiKey) or sign in (models.authLogin + wizard.next/cancel,
rendered with the shared ProviderSetupDialog) for Gateway providers listed by
models.authStatus, or add a custom OpenAI/Anthropic-compatible endpoint under
models.providers.<id> with a guarded config.patch. The chat model picker links
to that page. Features are gated on admin scope and advertised methods.

* fix(default-model): make new chats follow the chosen default model

Gateway setup stores the configured agent's own primary (agents.entries.<id>.model), which the Gateway prefers over agents.defaults.model.primary. The page wrote and showed only the defaults primary, so new chats kept the setup model. Show the default agent's effective model and remove its own primary in the same config.patch; after a successful Local AI start or hand-back, remove it too.

* fix(local-ai): verify the new model loads before a switch reports success

A running model switch returned success as soon as the router reported
Healthy, but the router starts with load-on-startup = false, so health
never proved the new weights could load. A CUDA OOM or unsupported
GGUF passed the switch and failed on the first chat, after rollback
protection had ended.

A running switch now succeeds only after the new model answers one
bounded inference request and the router reports that exact model as
Loaded, mirroring setup's VerifyLocalAiInferenceStep. A failed or
timed-out load takes the existing rollback path and restores the
previous receipt. Stopped-runtime commits remain start-free and
check-free, and the restored previous model starts without a load
check.

The load budget is bounded by OPENCLAW_LOCAL_AI_SWITCH_LOAD_TIMEOUT
(whole seconds, 30 to 3600, default 600 matching setup's first-load
budget). A new non-cancelable LoadingModel phase covers the post-commit
wait and is localized in all six languages. The public switcher ctor now
takes the gateway API key provider so the verification request carries
the same auth as the router.

Validation: dotnet test SetupEngine (17/17 switcher tests, 2549/2553
total), Shared 4828/4852, Tray 4830/4830, ./build.ps1 all green. The
three rollback regression cases fail on the old Healthy-only branch.
Live switch proof blocked: no completed Local AI install on this host.

* fix(default-model): bind deferred default-model writes to the admitted Gateway

A cloud default chosen while Local AI owns the route waits behind the runtime gate, and the queued config.patch used to resolve whatever Gateway was current at that point. Bind every default-model write, including default-agent cleanup, to the admitted Gateway id, operator client and connection epoch before the first await. Recheck that binding before config.get, after its reply and after a failed patch, and send only on the captured epoch through new connection-bound client APIs. A changed Gateway or session now fails closed, so the Local AI receipt and manifest fallback stay unchanged.

* fix(default-model): keep provider sign-in on the Gateway connection it started on

Each models.authLogin flow is now bound by BeginLogin to its client, connection epoch and Gateway id. wizard.next and wizard.cancel recheck that binding and are sent only on the captured epoch, so a retained answer is never transmitted to a replacement Gateway or session. A lost binding retires the flow permanently and the page reports that the connection changed.

* fix(default-model): save cloud primary changes before sending them and admit them from the saved receipt

SetPrimaryAndFallbackModelAsync now records the target as LocalAiNativeBinding.UnconfirmedPrimary before the Gateway write. Every lifecycle Gateway config read (start, stop, release, model switch) settles it to the primary the Gateway shows, so a lost reply, crash or failed receipt save no longer leaves the route needing manual reconciliation.

The Default model page now treats a saved native ownership receipt for the active Gateway as ownership even when the Local AI install cannot be loaded, so cloud choices always go through the runtime's Pending guard instead of a direct primary write.

* Request module documentation.

* docs: add module headers and usage examples to C# files touched by the model settings change

Applies the AGENTS.md module documentation rule: each production C# file changed on this branch starts with a header describing what it owns, with a usage example of its main entry points, and its primary type and cross-module methods carry XML summaries. Comments only.

* fix(default-model): re-render provider card on provider-flow changes

DefaultModelPage only observed DefaultModelPageViewModel, so ModelProviderSetupViewModel changes (provider selection, catalog load, sign-in dialog steps) rendered only on the next unrelated refresh. Re-raise them as Providers.
…aw#1978)

Record direct child exit before output drain and state-only caller cancellation observations without changing deadlines, cleanup or exception semantics.

Co-authored-by: Copilot App <[email protected]>
…aw#1917)

* fix(connection): retry while the Gateway reports startup unavailable

Honor bounded structured startup retry hints without changing auth, pairing, provenance or caller deadlines.

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

* fix(connection): exclude stale startup state during a new upgrade

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

* test(setup): keep startup rejection current at deadline

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

---------

Co-authored-by: Copilot App <[email protected]>
…penclaw#1924)

* improve(setup): record safe native Gateway handshake phases

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

* docs: name a single handshake ownership guard

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

* fix(setup): preserve handshake diagnostic identity and categories

Keep client attempt ordinals unique across replacement native setup sessions. Classify observed transport failures without scanning exception stack frames, leaving existing failure policy unchanged. Cover both regressions and document the page-owned file sink boundary.

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

* fix(setup): align handshake sink with rebased logger owner

Use the setup host's current logger parameter and describe window-owned sink lifetime after the lower stack's main rebase. No UI, logging lifetime or handshake policy changes.

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

* fix(connection): observe keepalive transport disconnections

Cover the upstream-added keepalive cancellation path with the same current-generation disconnect observation as adjacent transport loss paths. Extend the existing real-socket ping timeout test to protect generation and ordering without changing recovery or timing policy.

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

---------

Co-authored-by: Copilot App <[email protected]>
… across Chat and Settings (openclaw#1996)

* improve(workspace): share one footer with Dashboard and notifications across Chat and Settings

Chat and Settings now end with the same always-visible footer: account, Dashboard (Ctrl+Shift+D) and notifications. Diagnostics and App settings move into This Computer, and the Settings status pill folds into the account button. When the Chat pane is hidden, Dashboard and the bell move to the title bar.

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

* fix(chat): confirm initial tail landing after session restore

The initial bring-into-view was dispatched once and assumed to land. A
dropped or reset bring left restored history at the top, which made the
historical voice fixture UI test flaky in CI (also seen on unrelated PRs).
Initial positioning now stays pending until the settled view is at the
tail, retrying a bounded number of times, and rows that arrive after an
empty request take the initial layout path. User input cancels both.

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

* fix(chat): avoid interrupting initial tail positioning

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

* test(settings): scope footer guard to its navigation contract

Keep Diagnostics and App settings at the end of This Computer without pinning Local AI to a group moved by upstream. Bound the group at the next header or separator and retain required navigation ordering and automation IDs.

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

---------

Co-authored-by: Copilot App <[email protected]>
…us in-distro ownership (openclaw#1991)

* refactor(connection): simplify WSL relay trust to path and in-distro ownership proof

Drop the Authenticode check on wslrelay.exe (genuine WSL builds ship it unsigned)
and the cached strong-credential re-proof; handoff now reruns the full proof.
Pin the WindowsApps relay to Microsoft's WSL package root.

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

* refactor(connection): warn instead of block for WSL relay outside install locations

A wslrelay at a non-standard path is accepted when the expected distro
proves it owns the gateway port; the path and expected locations are
logged once and returned in provenance detail.

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

* fix(connection): preserve WSL credential handoff checks

Require a complete, consistent relay identity for interactive credential handoffs and document the warning-only trust tradeoff.

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

---------

Co-authored-by: Copilot App <[email protected]>
…aw#1926)

* fix(setup): keep native Gateway admission within one owned attempt

Share the launch-to-operator budget across preparation, authorization and retries. Use optional packaging launch receipts for conditional, attempt-owned cleanup without changing shipping v1 compatibility.

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

* test(setup): preserve staged authorization under admission cancellation

Update the existing ownership guard for preparation's linked caller, session and admission-deadline token.

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

* fix(setup): preserve startup rejection across cancellation disposal

Capture the current transport rejection before prompt cancellation disposal and synchronize the callback before classifying a delayed continuation. Preserve caller and session cancellation, and reject stale startup state after a fresh transport.

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

* fix(setup): integrate admission layer with updated native startup owners

Use the existing logged package invocation and result parser for receipt operations. Align independent fake-clock thresholds and documentation with the inherited five-minute startup budget plus thirty-second handoff allowance, preserving the existing production deadlines.

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

---------

Co-authored-by: Copilot App <[email protected]>
…g uninstall (openclaw#1954)

* fix(setup): local gateway removal fails or leaves stale records during uninstall

Uninstall-LocalGateway.ps1 assigned to $host and declared a $Home parameter.
Both are read-only automatic variables, so Test-LocalGatewayUrl always returned
false and Expand-ExecApprovalsHomePath always threw.

With OPENCLAW_STATE_DIR set, the script exited 1 after wsl --unregister had
already deleted the distro. Older local records stayed in gateways.json, and
isLocal=false loopback records counted as external and kept root tokens.

Rename both variables here and in the validate-wsl-gateway-uninstall.ps1 copy.
Accept the expanded [::1] host that .NET Framework's Uri returns under Windows
PowerShell 5.1. Add regression tests that load the production functions under
5.1, sharing the host previously private to UninstallOnboardingSettingsTests.

Closes openclaw#1953

* test(setup): keep unrelated gateway records loadable after uninstall cleanup

* fix(setup): preserve native gateway records during WSL uninstall

---------

Co-authored-by: Dallin Romney <[email protected]>
* test: capture Windows accessibility baseline

* fix: expose accessible management controls and usage rows

* test: isolate native keyboard fixture proof

* Add native accessibility proof for issue 1945

* test: tighten accessibility period proof and trim fixture duplication

---------

Co-authored-by: red <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
…2013)

* feat: show the Gateway profile name and photo in the Companion window

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, ordinary refreshes that coalesce and keep an unchanged avatar, 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]>

* fix: settle Gateway profile reads and remember avatar outcomes

Follow-up to the Gateway profile display, from the dual-model review of that commit.

- Remember every settled avatar outcome per profile id and revision, so an absent, unauthorized or failed avatar is neither refetched nor re-reported on each presence refresh. A cancelled attempt is never remembered.
- Treat any unexpected avatar exception as an optional-picture failure that keeps the profile, instead of clearing the name or faulting the refresh.
- Settle a failed users.self read instead of retrying on a queued ordinary refresh, so the failure is classified, reported and ends loading.
- Let an explicit invalidation abandon a stalled users.self read, fence its result and observe its late fault.
- Name the users.self deadline and allow OPENCLAW_USER_SELF_TIMEOUT_MS to override it.
- Refuse the "." and ".." profile ids and ids or revisions over 512 characters before any avatar request.
- Use the Traditional Chinese term for a personal profile in zh-tw.
- Document the unnamed state, the Dashboard action and the refresh semantics, and record the generic Owner label as a closed responsibility with a guard test.

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

* fix: keep a cancelled avatar refetch owed and tighten review evidence

An explicit profile invalidation owes one avatar refetch even when the
profile id and revision are unchanged. That debt was cleared before the
avatar attempt ran, so a cancelled attempt kept the old image but lost the
refetch, and the next ordinary refresh did not retry. The debt now stays
owed until an attempt resolves, matching the documented rule that an
unresolved attempt is retried.

Tests:
- Add a regression for an unresolved explicit refetch: the image is kept,
  the next ordinary refresh retries once, and the debt is then consumed.
- Make the superseded-read GC test prove the abandoned request task was
  actually collected (weak reference) and drop its sleep-based polling in
  favor of a bounded number of collection passes.

Docs and comments:
- ARCHITECTURE: the avatar request has one end-to-end deadline, while the
  users.self read waits for its response only after the request is sent;
  document that a failed users.self read forgets the remembered avatar
  outcome and that an unresolved attempt is retried by the next refresh.
- Reword the avatar identifier guard comment so it no longer claims
  Uri.EscapeDataString throws for oversized input.

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

* test: drain finalizers before asserting no late fault; fix a stale comment

Round-3 review of a7e514d0 found two low-severity gaps.

The superseded-read GC test stopped as soon as a collection cleared the weak
reference to the abandoned task. A collection that another test triggers can
clear that reference and run only some finalizers, so the abandoned task's
holder could still be queued when the assertion ran and a regression could
pass. Drain the finalizer queue unconditionally after the loop, before
asserting that no late SupersededReadFault was reported.

The ReadSelfAsync summary said the client's own deadline still frees an
abandoned read. That deadline starts only after the request is sent, so the
comment contradicted the corrected architecture ledger. State only what the
code guarantees: the read is abandoned, not cancelled, and its eventual fault
is observed.

No behavior change.

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

* test: serve the owner photo from the Gateway fixture

The Companion window now fetches the signed-in owner's photo with an
authenticated HTTP GET to /api/users/<id>/avatar. The Gateway fixture only
accepted WebSocket upgrades, so it rejected that request as INVALID_UPGRADE,
closed the socket without a response and recorded an unexpected request.
Every fixture-driven UI test asserts that no unexpected request happened at
teardown, so each of them would fail as soon as the Workspace window opened
against a profile that has an email address.

Teach FixtureGatewayServer the one avatar route:

- GET /api/users/<id>/avatar over HTTP/1.1 only. The query is ignored and
  never recorded, ids containing a slash are rejected, and anything else still
  falls through to the upgrade check and is still recorded as INVALID_UPGRADE.
- The bearer is judged before the profile and must match the shared token or
  the issued device token (SHA-256, fixed-time compare), mirroring the
  product's shared-token-first interactive credential order.
- The owner profile id gets an 8x8 PNG. A wrong credential (401) or an
  unknown profile (404) returns an empty body and is recorded as an
  unexpected request, so a regression still fails the teardown assertion.
- Only the label http:users.avatar and the outcome are retained, never
  headers, tokens or profile ids.

Add 16 protocol tests (nine mutations of the route were each killed by the
predicted tests), extend the owner footer UI test to wait for the served
photo and, in screenshot runs, to count photo-coloured pixels inside the
footer button, and document the route.

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

* test: wait for completed avatar request recording

Wait for the server journal to settle before asserting the outcome, since the HTTP client may finish reading first.

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

* improve: align Companion owner identity with macOS

Use Shared owner for the shared Gateway profile and Owner when no profile is known. Resolve every valid profile avatar through the Gateway and remove profile-status and setup-menu states.

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

* test: cover workspace owner footer proof gaps

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

* test: prove cached owner photo in the Settings footer

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

---------

Co-authored-by: Copilot App <[email protected]>
…w#1927)

* fix(connection): retry while the Gateway reports startup unavailable

Honor bounded structured startup retry hints without changing auth, pairing, provenance or caller deadlines.

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

* fix(connection): exclude stale startup state during a new upgrade

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

* improve(setup): record safe native Gateway handshake phases

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

* docs: name a single handshake ownership guard

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

* fix(setup): preserve handshake diagnostic identity and categories

Keep client attempt ordinals unique across replacement native setup sessions. Classify observed transport failures without scanning exception stack frames, leaving existing failure policy unchanged. Cover both regressions and document the page-owned file sink boundary.

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

* fix(setup): align handshake sink with rebased logger owner

Use the setup host's current logger parameter and describe window-owned sink lifetime after the lower stack's main rebase. No UI, logging lifetime or handshake policy changes.

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

* fix(connection): observe keepalive transport disconnections

Cover the upstream-added keepalive cancellation path with the same current-generation disconnect observation as adjacent transport loss paths. Extend the existing real-socket ping timeout test to protect generation and ordering without changing recovery or timing policy.

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

* fix(setup): keep native Gateway admission within one owned attempt

Share the launch-to-operator budget across preparation, authorization and retries. Use optional packaging launch receipts for conditional, attempt-owned cleanup without changing shipping v1 compatibility.

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

* test(setup): preserve staged authorization under admission cancellation

Update the existing ownership guard for preparation's linked caller, session and admission-deadline token.

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

* fix(setup): preserve startup rejection across cancellation disposal

Capture the current transport rejection before prompt cancellation disposal and synchronize the callback before classifying a delayed continuation. Preserve caller and session cancellation, and reject stale startup state after a fresh transport.

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

* fix(setup): integrate admission layer with updated native startup owners

Use the existing logged package invocation and result parser for receipt operations. Align independent fake-clock thresholds and documentation with the inherited five-minute startup budget plus thirty-second handoff allowance, preserving the existing production deadlines.

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

* fix: native setup cannot remain stuck finishing indefinitely

Bound production finalization and restart publication with one retained execution deadline across retries. Join admitted work through late settlement before releasing setup ownership.

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

* fix(setup): report expiry when retry deadline has elapsed

Keep the original execution deadline and reject late retries with the existing timeout diagnostic rather than an unrelated replay error.

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

* test(setup): follow startup-derived finishing execution budget

Advance lifecycle clocks to the configured execution window after lower-stack startup defaults changed. Keep timing defaults independently asserted and avoid duplicating the default in finishing documentation.

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

* fix: native Gateway setup loses startup window to slow validation (openclaw#1952)

* fix: preserve native startup budget after slow validation

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

* fix(setup): preserve validation timeout and reject exhausted retries

Run legacy restart validation before a new admission window without renewing existing deadlines. Preserve the configurable native CLI validation timeout and reject exhausted retries before restart side effects.

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

---------

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

---------

Co-authored-by: Copilot App <[email protected]>
…#1951)

* fix: preserve normal installs during isolated patch cleanup

Add an explicit exact development patch and disposable Companion profile scope, bound to an unchanged preview and verified native teardown.

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

* fix: reject isolated cleanup inside source checkouts

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

* fix: harden isolated cleanup recovery

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

---------

Co-authored-by: Copilot App <[email protected]>
…penclaw#1896)

* docs(localai): add module header to LocalAiNativeBindingStore

Describe the ownership-receipt purpose, pending/recovery semantics, and
cross-process lock contract, with usage examples from LocalAiGatewayLifecycle.

* docs(tray): document LocalAiGatewayLifecycle module contract and usage

* More localAI document and add hint to AGENTS.md to include module top level doc.

* docs(localai): fix DistroResolver example to match actual API

- Replace garbled 'or引导' with 'or guide'
- Use correct named arguments GatewayPort/ModelCatalogId/RequestedLocalAiPort
- Construct GatewayRegistry from a data directory, not a settings manager

* docs(localai): correct examples per review; trim DistroResolver doc

- Route decisions go through LocalAiSetupRouteResolver.ResolveAsync,
  which supplies observed state and the RecoveryTarget; the raw
  LocalAiSetupRoutePolicy.Decide flags example was unreachable.
- Runtime startup goes through LlamaServerRuntimeService.EnsureStartedAsync;
  CompleteStartAsync/PublishAsync are runtime-owned callbacks, not a
  standalone start sequence.
- Trim the DistroResolver module doc and example to the essentials.

* docs(localai): correct resolver binding timing

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

---------

Co-authored-by: Scott Hanselman <[email protected]>
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]>
…count (openclaw#2022)

Fill missing managed-Gateway owner fields from the Windows account, preserving existing identity fields and app-lifetime context fencing. Include the named shared-owner footer label and compact avatar padding.

Validated head: 3d94930. Required CI passed; current-head review found no actionable defects. Maintainer confirmed manual testing of the native Windows flow and footer.

Co-authored-by: Copilot App <[email protected]>
Remove called cron.remove on the first click and remembered the id
before the gateway accepted it. Run Now on a disabled job used force
without asking. Both actions now use a confirm dialog, and a rejected
remove forgets the id.

Signed-off-by: Sebastien Tardif <[email protected]>
The click handlers were async void, which the tray source check
rejects, and an unawaited task in an async method fails the build.
Confirm now runs behind AsyncEventHandlerGuard. The run observation
stays on a synchronous method.

Signed-off-by: Sebastien Tardif <[email protected]>
The observed run dereferenced a nullable gateway client, so the tray
build failed and the executable was missing. The confirm dialog uses
the same XAML exception as the other pages.

Signed-off-by: Sebastien Tardif <[email protected]>
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please update it or it will be closed.

@github-actions github-actions Bot added the stale label Nov 20, 2026
@github-actions

Copy link
Copy Markdown

Closing due to inactivity.
If this PR should be revived, reopen it with current context and a fresh validation plan.

@github-actions github-actions Bot closed this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cron Remove deletes on the first click and Run Now starts a disabled job