Skip to content

feat: add Ask OpenClaw to Companion Home - #2419

Merged
bkudiess merged 19 commits into
openclaw:mainfrom
bkudiess:bkudiess-ask-openclaw-home
Dec 1, 2026
Merged

bkudiess merged 19 commits into
openclaw:mainfrom
bkudiess:bkudiess-ask-openclaw-home

Conversation

@bkudiess

@bkudiess bkudiess commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 45ea55f588f0ec5596e7df90694e6994b709483c

Dimension Assessment Rationale
Change confidence 9.5/10 ↑ Build, Shared, Tray and WinNode.Cli suites passed locally on this head's exact tree.
↑ The late ClawSweeper finding on 172f354c is fixed: Set up AI opens the active Gateway's Models page, the route the model-account handoff already uses, with a source guard.
↑ The final two-model delta review found no defects; since then this PR changed only that 4-file fix and merged main (#2422), which does not reach the Ask thread.
↑ Screenshots show Home, the Ask OpenClaw ready state and a live Gateway reply; the fix does not change any of those states.
↑ Each of the 10 earlier ClawSweeper items is fixed or answered, with named tests.
↑ Build and Test CI passed on this head (run 46604928258).
↑ The ClawSweeper re-review of this head found no findings and rated readiness, proof and patch quality platinum (4/6).
↓ Set up AI was not clicked at runtime: it appears only when the Gateway's AI is down, and the fixture's inference-unavailable state is test-only.
↓ Three product decisions remain open for the owner (listed under Evidence).
↓ Interactive proof ran on the developer's own profile, not on an isolated windows-winui-interactive pool host.

What Problem This Solves

Companion Home shows the selected agent's main conversation, but there is no clearly labeled place to ask OpenClaw itself for setup and repair help. Users cannot tell where to ask OpenClaw for help and where to chat with their agent. The web Control UI already separates these two.

User Impact

User impact: Home has two tabs, Home and Ask OpenClaw, with an underline showing which one is selected, as in the web Control UI. Ask OpenClaw uses the same chat surface as Home, so its history, quick-action cards and composer look and behave like the agent chat. Home keeps its chat icon and stays the selected agent's chat. Companion remembers the chosen tab for each Gateway. The tabs appear only when the connected Gateway advertises openclaw.chat and openclaw.chat.history and the connection has operator.admin scope; otherwise Home looks as before.

Compatibility: settings gain one optional field (HomeTabByGateway). Existing settings load unchanged, and an older release loads the new file and ignores the field.

Why This Change Was Made

A new tab makes the built-in helper easy to find without replacing the agent's chat. The tab reuses the shared chat surface instead of adding a second chat UI. A small conversation owner (AskOpenClawConversation) talks to the Gateway's existing openclaw.chat and openclaw.chat.history methods. When the outcome of a turn is uncertain it never re-sends: it rejoins, shows the uncertainty, and restores input only when the turn definitely wasn't sent.

Evidence

Behavior checked: Home and Ask OpenClaw tab switching, loading history, a fresh welcome with quick actions, sending a quick action, receiving a live reply from the real Gateway, and the AI-unavailable state. Everything ran against the installed Store Gateway (2026.10.600.0) on the developer's own profile.

Head 172f354c, the latest captures. The current head 45ea55f5 changes only where the Set up AI button goes, which none of these states shows. A recapture on 45ea55f5 was blocked because the workstation was locked: a capture of the locked session returned a black frame and was discarded. (proof commit 7964422c):

State Screenshot SHA-256
Home tab selected (underline, chat icon) 01-home-tab.png A4E0768B9868B2611B577D99B7B5185B1EDF1F756710938E9F52AC9D22221DE6
Ask OpenClaw ready: history, fresh welcome, quick actions 02-ask-openclaw-ready.png B8D4CB11283D75847CD187BE668163489143BBFCBA75BC0D30EB5B991BC2E1B6
Live reply after choosing "Show recent changes" 03-ask-openclaw-reply.png FE0262C193C9C5BC2E3143ECC74842F00CD3972EBCA86307C205D67C33D30A7D

Home tab
Ask OpenClaw ready
Ask OpenClaw live reply

Tray log for this run (%LOCALAPPDATA%\OpenClawTray\openclaw-tray.log):

[2026-11-30 23:30:12.366] [INFO] [GatewayClient] Sending bounded frame: openclaw.chat.history
[2026-11-30 23:30:12.393] [INFO] [GatewayClient] Sending bounded frame: openclaw.chat
[2026-11-30 23:33:07.840] [INFO] [GatewayClient] Sending bounded frame: openclaw.chat

The first two lines are the tab's first opening (history, then the welcome). The last line is the quick action.

Earlier head c8fc7c32 (same PR source; 172f354c only adds the main merge of #2422):

  • Loading state
  • AI unavailable: the local model proxy was down. The banner offered "Set up AI", and the conversation recovered after the proxy restarted.

Welcome behavior: On first opening, Ask OpenClaw loads history and then sends one welcome per app run. The Gateway does not keep passive welcomes, so after a restart you see the old history plus a new welcome. The web Control UI does the same (initializeSession).

Review: A full two-model adversarial review ran at 4a6df1c3, followed by delta reviews through 2c757fa3. The final delta review (pr2419-2c757fa3-r1) found no defects. This PR's own source, docs and skill diff at 172f354c is byte-identical to that reviewed tree. The main merge adds only #2422 (child-session waits). It reaches the shared chat root, but ChatSubagentPresentation.ProjectWait returns nothing without a sessions_yield handoff, and the Ask thread has no child sessions, so it cannot change Ask OpenClaw. The only later change is the 4-file Set up AI fix below.

ClawSweeper review of 172f354c: every earlier item was resolved. It raised one new P2, fixed in 45ea55f5:

Item Resolution Guard
Route AI recovery to the active Gateway's model setup Fixed: Set up AI now opens the active Gateway's Models page (CompanionPageId.DefaultModel), as the model-account handoff already does. It used to open Local AI setup, which refuses a Gateway this app did not install, so a remote Gateway had no way to fix its model. The Models page sets up providers and the default model for local and remote Gateways, and still offers Local AI. WorkspaceNavigationTests.WindowManager_OwnsOneWorkspaceWindowForChatAndSettings_AndResetsScopeOnClose asserts the Models route and that HomeTabs no longer calls ShowLocalAiSetup

ClawSweeper re-review of 45ea55f5: no findings, nothing required before merge, and "Ready for maintainer review". Readiness, proof and patch quality are each platinum (4/6).
Earlier ClawSweeper findings (review of 6cf5dcc7):

Item Resolution Guard
Preserve unresolved local turns when replacing history Fixed: unresolved rows stay visible after history refreshes AskOpenClawConversationTests.UnknownOutcome_RefreshWithoutMatchingHistoryKeepsTheLocalMessageVisible and the other UnknownOutcome_* tests
Retain the unknown-outcome warning when rejoin fails Fixed: the row stays "Delivery status unknown"; AI unavailable shows a separate banner UnknownOutcome_RejoinFailureKeepsTheUnknownNoticeAndRetriesWithoutResending, InferenceUnavailableAfterAnUnknownTurn_ShowsAiUnavailableAndKeepsTheRowUnknown, ReconnectAfterAiUnavailableRejoin_ClearsTheNoticeAndKeepsTheRowUnknown
Preserve secret input after a definite send rejection Fixed: the masked value is restored only when the same step definitely wasn't sent; it is never echoed or logged SensitiveInput_RestoresOnlyWhenTheSameContextWasDefinitelyNotSent, SensitiveStep_SendsUntrimmedValueButNeverKeepsOrEchoesIt
Disable helper sends while loading or awaiting retry Fixed: the composer is hidden unless the conversation is ready or thinking ChatProvider_HidesComposerUntilConversationIsReady (every phase)
Reactivate the visible helper after a Gateway switch Fixed GatewaySwitch_VisibleHelperReactivatesAndLoadsNewScope, GatewaySwitch_DropsLateResultsAndStartsANewSession
Clear the mounted composer when its Gateway scope changes Fixed WorkspaceNavigationTests order guard (ApplyAskDraft: clear, then prefill)
Keep Inbox Open chat independent of the remembered tab Fixed: Inbox opens the agent's main chat, where exec approvals live WorkspaceNavigationTests guard on OpenGatewayInboxRoute
Explain failed helper operations with actionable copy Fixed: separate messages for a failed action, history load, start and rejoin, plus not-sent and unconfirmed-reply notices, in all 6 locales FailureOperation assertions in AskOpenClawConversationTests, LocalizationValidationTests.WorkspaceHomeTabs_AllRuntimeReferencesResolveInEveryLocale
Add data-model compatibility proof Settings without the new field load and accept a remembered tab. Released v2026.11.3 loaded a settings file containing the field and resaved it without error (resaved contains HomeTabByGateway: False) WorkspaceHomeTabsTests.ExistingSettingsWithoutHomeTabByGateway_LoadAndAcceptRememberedTab
Explain or restore the original intent of Inbox Open chat routing Restored: Inbox routes to the agent's main chat, never to Ask OpenClaw. The intent is commented at the route Same guard as the Inbox item above

The parser's rejection of an empty reply matches the upstream contract, which declares reply as NonEmptyString.

Open product decisions (not defects; both reviewers kept each one):

  • Not-sent and unknown-outcome rows cannot be dismissed. They stay until the Gateway scope changes.
  • When a masked config set is refused while the composer holds newer text, only the masked echo is kept.
  • A sensitive welcome step discards a restored answer that was not yet shown.

Required proof pools

  • windows-winui-interactive: the Home tab selector and the Ask OpenClaw chat surface are new WinUI interactive states.

Validation

All on the exact tree of head 45ea55f5 (run on 172f354c plus the uncommitted fix, byte-identical to the commit), Windows x64:

  • .\scripts\validate-docs.ps1: passed.
  • git diff --check origin/main...HEAD: passed.
  • .\build.ps1: passed.
  • dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: 6,263 passed, 29 skipped, 0 failed.
  • dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: 7,309 passed, 0 failed.
  • dotnet test .\tests\OpenClaw.WinNode.Cli.Tests\OpenClaw.WinNode.Cli.Tests.csproj --no-restore: 141 passed, 0 failed.
  • CI Build and Test: run 46604928258 on 45ea55f5 passed. Run 46598760427 on 172f354c passed.

Real behavior proof

  • .\run-app-local.ps1 -UseStoreGateway -NoBuild launched this worktree's Debug tray on the developer's own profile, connected to the installed Store Gateway 2026.10.600.0.
  • The tray was driven through Windows UI Automation. Home, the Ask OpenClaw ready state and a live Gateway reply were captured at 172f354c (see Evidence).
  • Loading and AI-unavailable states were captured at c8fc7c32, whose PR source matches 172f354c. 45ea55f5 changes only where the Set up AI button goes, not how either state renders.

Not verified / blocked

  • The windows-winui-interactive pool host was not used. Proof came from the developer's own profile, not the isolated pool environment.
  • No screenshots were taken on 45ea55f5: the workstation was locked. Its only change from 172f354c is the Set up AI destination.
  • Set up AI was not clicked at runtime. The button appears only when the Gateway's AI is unavailable, which the live Gateway was not, and the fixture's inference-unavailable state is test-only. The source guard covers the new route.
  • Loading and AI-unavailable were not recaptured on 172f354c. Their source is unchanged since c8fc7c32.
  • ARM64 runtime, high contrast and screen reader passes were not run by hand. Automated accessibility tests ran in CI.
  • The three product decisions above need owner sign-off.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@clawsweeper

clawsweeper Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

🦞👀
Pull request received.

ClawSweeper review complete

ClawSweeper finished reviewing this revision.

View the workflow run.

@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. impact:session-state This issue is about session, memory, transcript, context, or agent state drift. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. clawsweeper:intake:feature Preliminary submission classification; full source review pending. merge-risk: 🚨 message-delivery 🚨 Merging this PR could drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 Merging this PR could lose, corrupt, stale, or mis-associate session or agent state. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 30, 2026
@clawsweeper

clawsweeper Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codex review: passed.

What this changes

Adds an Ask OpenClaw tab beside Home for the Gateway’s built-in setup and repair assistant.

Example: A connected administrator selects Ask OpenClaw and chooses “Show recent changes.”

  • Before: Companion Home exposes the agent conversation without a separate native setup helper.
  • After: The helper displays its own history, quick actions, and Gateway reply beside the Home tab.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful feature with direct application evidence and substantial owner-level coverage; the prior blocker is repaired.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected screenshots and accompanying RPC logs demonstrate the native helper against Store Gateway 2026.10.600.0 at 172f354; the current head changes only the recovery destination, which has source coverage but no runtime capture.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Users lack a clearly separated native place to ask OpenClaw for setup and repair help.
Reason: The maintainer-authored direction makes an existing Gateway capability discoverable while preserving the agent conversation and older-Gateway behavior.

Merge readiness

✅ Ready for maintainer review

Keep open. This maintainer-authored feature is absent from main, and the previous recovery-route blocker is fixed; this review found no remaining blocking defect.

Reviewed head: 45ea55f588f0ec5596e7df90694e6994b709483c

Before merge

None.

Findings

None.

Agent review details

How this fits together

Workspace hosts the existing chat surface; a dedicated conversation owner translates helper input into authenticated Gateway RPCs and projects replies, wizard steps, and recovery notices back into that surface.

flowchart LR
  A[Home tab selector] --> B[Ask OpenClaw conversation]
  B --> C[System agent client]
  C --> D[Authenticated Gateway transport]
  D --> E[Gateway setup helper]
  E --> F[Replies and wizard steps]
  F --> B
  B --> G[Shared native chat surface]
Loading

Technical review

Best possible solution:

Keep the helper on the shared chat surface with one conversation owner, capability-gated access, and recovery through the active Gateway’s Models page.

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

This is a feature addition; source inspection confirms that main lacks the separate native helper conversation.

Is this the best way to solve the issue?

The implementation reuses the existing renderer and connection owner while keeping the helper’s distinct protocol and conversation lifecycle in focused owners.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Shared composer ownership keeps the original intent (686afdc: The earlier extraction assigned composer workflows and state to dedicated owners; this feature consumes those owners and preserves existing defaults.)
  • Welcome starter presentation changes intended behavior with a stated reason (ef05d53: Welcome text was bundled locally to work independently of Gateway upgrades; this PR retains localized resources and intentionally moves the health starter’s role to the available helper tab.)
  • Inbox Open chat navigation keeps the original intent (1c223f1: Inbox actions target the agent conversation; the explicit main-chat destination preserves that behavior despite the newly remembered Home tab.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Previous finding resolved: The pinned previous-head comparison replaces Local AI setup with the active Gateway’s Models page and adds a source guard for that destination. (src/OpenClaw.Tray.WinUI/Windows/WorkspaceWindow.HomeTabs.cs:94, 45ea55f588f0)
  • Capability and authority admission: Helper availability requires a ready connection advertising both RPCs and granting operator.admin; sends capture the authenticated connection epoch and do not replay uncertain turns. (src/OpenClaw.Shared/SystemAgentChat.cs:193, 45ea55f588f0)
  • Existing-state compatibility: HomeTabByGateway is an optional additive settings field with Home fallback, isolated persistence tests, and no migration of existing values; the author also records successful loading and resaving by v2026.11.3. (tests/OpenClaw.Tray.Tests/Presentation/WorkspaceHomeTabsTests.cs:90, 45ea55f588f0)
  • Inspected application proof: The three linked PNGs were inspected directly and match their published SHA-256 hashes; they show Home, helper quick actions, and a live reply at 172f354. Prepared local images covered related features, and the scratch mount rejected writes, so the linked images were inspected from memory. (172f354c/03-ask-openclaw-reply.png, 7964422c4a43)
  • Verified producer contract: The consumer executes this repository’s openclaw.chat protocol, and SystemAgentFixture explicitly names this pinned handler as its oracle, establishing the dependency boundary. The handler confirms machine-wide history, input-free rejoin, pre-session inference rejection, and distinct session-invalidation outcomes. (src/gateway/server-methods/system-agent.ts, b0454c795366)
  • Current main and landing state: Current main has no helper RPC consumer or remembered Home-tab field. The reviewed PR remains a draft; the final check read showed running checks and no failed conclusions. (4c53470cee20)

Likely related people:

  • Karen: Raw commit 3a58bf3 adds src/OpenClaw.Tray.WinUI/Presentation/WorkspaceNavigation.cs:82 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3a58bf34902f; files: src/OpenClaw.Tray.WinUI/Presentation/WorkspaceNavigation.cs)
  • Pedro Larroy: Raw commit b6edc5e adds src/OpenClaw.Tray.WinUI/Presentation/WorkspaceNavigation.cs:112 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: b6edc5ebdaf7; files: src/OpenClaw.Tray.WinUI/Presentation/WorkspaceNavigation.cs)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (2 earlier review cycles)
  • reviewed 2026-11-30T22:31:32.825Z sha 6cf5dcc :: blocked before merge. :: [P2] [P2] Preserve unresolved local turns when replacing history | [P2] [P2] Retain the unknown-outcome warning when rejoin fails | [P2] [P2] Preserve secret input after a definite send rejection | [P2] [P2] Disable helper sends while loading or awaiting retry | [P2] [P2] Reactivate the visible helper after a Gateway switch | [P2] [P2] Clear the mounted composer when its Gateway scope changes
  • reviewed 2026-12-01T07:58:03.556Z sha 172f354 :: needs changes before merge. :: [P2] Route AI recovery to the active Gateway’s model setup

Reviewed December 1, 2026, 3:21 AM ET / 08:21 UTC (Revision 3).

bkudiess and others added 16 commits November 30, 2026 18:10
… fallbacks

- Keep an outcome-unknown message visible with a warning until a later turn is accepted, without resending it or reordering history on refresh
- Name the failed operation (action, history, start, rejoin) in retry notices
- Hide the composer while the helper cannot accept text; restore secrets only on a definite non-send
- Offer Control UI when a select step has no options; clear the composer on Gateway scope change
- Run pending helper navigation only while Ask OpenClaw is shown; Inbox "Open chat" targets the main chat
- Prune Ask OpenClaw on Settings exit when the helper is unavailable

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Resolve append-only Resources.resw conflicts by keeping both Ask OpenClaw and chat activity strings.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Treat a client replaced with a repeated epoch as a new connection.
- Seed multiselect steps from the Gateway's initial values.
- Report a send as not written when the connection closes after the readiness check.
- Remove the unused Busy notice, GetHomeTab and a dead composer branch.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Home keeps the chat icon, so restore the main design source and remove the notice row for an unshipped Home.svg.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- An UNAVAILABLE session invalidation keeps the turn as unknown with
  ReplyUnknown; only an INVALID_REQUEST refusal restores the draft.
- A later accepted turn no longer clears unknown rows.
- A reconnect while a step or question is live rejoins before input.
- The conversation gets no client until the connection belongs to the
  registry's active Gateway.
- Ledger and fixture docs updated to match.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
An inference-unavailable rejoin after an unknown turn now shows Set up AI while the row keeps its unknown marker. A sensitive select step no longer renders a disabled secret input; buttons answer it. Narrow the ledger wording for invalidated sessions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Echo a typed config set with its value hidden, as the Gateway logbook does;
  the request and a restored draft keep the typed text.
- A sync that settles, including after a reconnect, clears its own failure
  notice; a refused action keeps its notice until the next send.
- Document both invariants in the architecture ledger.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The local echo of a typed config set now hides the path as well as the
value and accepts U+FEFF as a separator, matching the Gateway parser's
white-space rules. A turn the Gateway refuses with INVALID_REQUEST (a
guard that runs before the turn) returns its text to the composer.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Resolve openclaw#2377 (suggested tasks) overlaps: keep both the Ask OpenClaw helper
welcome guard and the task-suggestion composer wiring in OpenClawReactorChatRoot,
both fixture scenario parameters in GatewayScenario, and both string sets in
every Resources.resw locale.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…s newer text

A refused or unwritten turn returned its text only to an empty composer, so a
newer draft silently dropped it. Keep the row marked Not sent instead, retain it
across history refreshes, and show a localized status under it.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
A refused turn's text returns to the conversation draft, but the composer
shows it only on the next dispatcher pass. The composer's own post-send
clear or newer typing in that gap overwrote the restored text. UpdateDraft
now takes the composer's last applied draft revision: a stale clear is
ignored and stale typing keeps the refused text as a Not sent row.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
A send refused before its first await completes synchronously. The
composer then keeps its text, and SetSending(false) reports that same
text with the old draft revision before the window applies the
restored draft. UpdateDraft treated it as newer typing and added a
duplicate Not sent row beside the composer text.

UpdateDraft now treats composer text that normalizes to the restored
draft as shown. The composer and conversation share
ChatComposerSubmissionPolicy.NormalizeMessage. The async refusal test
now models the real order (the composer clears, then the refusal),
and a provider-level test covers the synchronous refusal.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Pin the two ClawSweeper fixes that had no regression guard: a Gateway scope change clears the mounted Ask OpenClaw composer before any prefill, and Inbox "Open chat" opens the agent's main chat instead of the remembered Home tab. Both assertions fail when their fix is reverted.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
bkudiess added a commit to bkudiess/openclaw-windows-node that referenced this pull request Dec 1, 2026
…-home

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@bkudiess

bkudiess commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator Author

/re-review

@bkudiess

bkudiess commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

🦞👀

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. and removed merge-risk: 🚨 message-delivery 🚨 Merging this PR could drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 Merging this PR could lose, corrupt, stale, or mis-associate session or agent state. labels Dec 1, 2026
Local AI setup refuses a Gateway this app did not install and opens Connection settings, so a remote Gateway that advertises the helper without working inference left the user without a recovery path. Reuse the Models page that the helper's model-account handoff already opens; it configures providers for the active Gateway, remote or local, and still links Local AI.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@bkudiess

bkudiess commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

🦞👀

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Dec 1, 2026
@bkudiess
bkudiess marked this pull request as ready for review December 1, 2026 18:40
@bkudiess
bkudiess merged commit 02c1b86 into openclaw:main Dec 1, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:session-state This issue is about session, memory, transcript, context, or agent state drift. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. P2 Normal priority bug or improvement with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant