Skip to content

feat: keep the Home agent beside your work - #133676

Merged
steipete merged 9 commits into
mainfrom
steipete/home-agent-dock
Aug 31, 2026
Merged

steipete merged 9 commits into
mainfrom
steipete/home-agent-dock

Conversation

@steipete

@steipete steipete commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Closes #133632 — keep the Home agent available in an app-level dock.

What Problem This Solves

Talking to the personal Home agent currently means leaving the active work page or arranging a chat split. Ask OpenClaw has an app-level dock, but it is a different system-care conversation.

Why This Change Was Made

Reuse the existing dock controller and normal Home chat pane, separating composer focus from application navigation ownership. Home and Ask OpenClaw share placement/chrome but retain distinct conversations and permissions. No new chat RPC, provider protocol, transcript store, database schema, or background model call.

User Impact

  • Open the Home agent beside the current work page. The dock follows the sidebar agent switcher — one place to change agents, no second switcher in the dock.
  • Toggle the dock from anywhere with Cmd/Ctrl+Shift+H; the chord shows in the toggle tooltips and the keyboard-shortcuts overlay.
  • Keep normal Home history, streaming, tools, approvals, and queue behavior.
  • Inspect or remove a bounded “Working on” snapshot of the page, task/session, workspace, and visible file; explicitly attach selected text.
  • Freeze context before queue admission so delayed delivery and retries retain the original reference. Slash commands, Goals, and queued-row edits retain their existing semantics.
  • Open Home full-page without competing composers, carrying the current draft, attachments, and unfinished queue edit across the handoff—including an authenticated same-account reconnect.
  • Session references do not grant additional access to another agent's work.

Evidence

  • Pre-rebase full build completed; the exact-head UI rebuild also passes bundle budgets.
  • Final focused UI run: 185 passing tests across dock availability/persistence, work context, command/retry behavior, page ownership, and browser-annotation lifecycle.
  • Owner/sibling run: 59 passing tests across composer handoff, lifecycle, retained presentation, and staged-attachment rebound.
  • Reconnect/gateway-fence regression: three intended failures before the repair; all pass afterward.
  • Post-rebase owner/menu verification: 190 tests passed (131 shared UI + 59 isolated). Final cleanup verification: 264 owner/sibling tests passed, including pairing and native shell controls.
  • Core test typechecks and the normal UI typecheck pass; stale incremental diagnostics were independently checked against a fresh cache and the generated cache was rebuilt.
  • git diff --check passes.
  • Sibling mocked-browser E2E: 9 passing tests across Ask OpenClaw panel toggle and initial connection; 4 Chromium sidebar layout checks also pass.
  • Structured autoreview: final combined diff is scoped-clean at the required P0 priority; no accepted/actionable findings.
  • Changed-file validation at ae2ad16c976014f428121067e81cf15d52947091: formatting, guard checks, all three dead-export scans, i18n, core test types, UI types, and core lint passed. After the gateway restart, the old process handle no longer exposed the aggregate exit status; its sequential log reached the final style batch without failure. All six current-head stylesheet batches were then rerun with captured exit codes: all 0. No aggregate exit result is inferred from the lost handle.
Reproduction commands
pnpm ui:build
node scripts/check-changed.mjs --base 3ef446c7b6bd9e8dcab49727f55594c717c2ed4d
node scripts/run-vitest.mjs ui/src/components/assistant-panel.test.ts ui/src/pages/chat/chat-work-context.test.ts ui/src/pages/chat/chat-send-submit.test.ts ui/src/pages/chat/chat-page.test.ts ui/src/pages/chat/chat-page-retained-sessions.test.ts ui/src/app/app-host.dock-suppression.test.ts ui/src/pages/chat/components/chat-pane-header.test.ts ui/src/pages/chat/chat-pane-browser-annotation-lifecycle.test.ts
node scripts/run-vitest.mjs ui/src/pages/chat/chat-pane-attachment-handoff.test.ts ui/src/pages/chat/chat-pane-lifecycle.test.ts ui/src/pages/chat/chat-pane-retained-presentation.test.ts ui/src/pages/chat/chat-page-attachment-handoff.test.ts
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/custodian-panel-toggle.e2e.test.ts ui/src/e2e/initial-connect-splash.e2e.test.ts
pnpm --dir ui test --project chromium src/components/sidebar-attention-layout.browser.test.ts

Visual evidence (mocked Control UI dashboard)

Captured on the repo's mocked Control UI dev server (pnpm dev:ui:mock) at head f4468a2ddca — the real UI bundle running against the deterministic mock gateway; every name, session, and path shown is fixture data. The demo fixture's unrelated "session needs attention" toast is hidden via CSS in two captures for legibility.

Before (origin/main): the sidebar footer has no Home toggle; talking to the Home agent means leaving the work page.

Before: work session page without the Home toggle

After: the same work session with the new footer toggle (bottom left, next to the avatar):

After: work session page with the Home footer toggle

Home dock open beside the work page — Home / Ask OpenClaw tabs, the open-full-page/dock/close header actions, and the "Working on" row:

Home dock open beside the work page

"Working on" expanded shows the bounded quoted-JSON reference snapshot that will accompany the next message:

Working on snapshot expanded

Draft typed in the dock composer:

Draft typed in the dock

Open Home full page: the dock hides, the full Home page owns the conversation, and the draft carries over losslessly:

Full Home page with the draft preserved

Sending in the dock: the sent message visibly carries the "Working context captured at send time" reference block (plain text in conversation history, by design); the mock gateway's echo reply confirms the context traveled with the send:

Sent message carrying the visible work-context block

Bottom dock placement, same draft retained:

Bottom dock with the draft retained

The capture script also asserted: no footer toggle on origin/main; zero dock elements after the full-page handoff; and the exact draft text present in the page composer.

f177e16c89f makes the mocked dashboard advertise chat.history/chat.send (it already handled both), so the Home dock is visible on pnpm dev:ui:mock; changed-file checks pass on that commit.

24b94c71e37 adds a keyboard chord: Cmd/Ctrl+Shift+H toggles the Home dock from any route (inert without chat.history/chat.send), the combo shows in both toggle tooltips and the shortcuts overlay, and the collapsed-chrome assistant toggles move into shell-assistant-toggles.ts to respect the max-lines cap. Live-verified on the mocked dashboard: chord opens and closes the dock (also with the sidebar collapsed), tooltip renders "Talk to your Home agent (⌘⇧H)", and the overlay's Panels section lists the chord. A shell keydown regression test covers dispatch and the availability gate.

Collapsed sidebar: the assistant toggles sit in the top chrome, dock opened via the chord:

Collapsed chrome with the Home toggle and chord-opened dock

f4468a2ddca removes the dock's own Home-agent picker after maintainer feedback: the sidebar agent switcher already owns agent choice, so the dock now follows agentSelection (system agents excluded), drops the pinned-agent persistence, and moves Open Home full page into the dock header. Net −23 lines; owner/sibling suites (assistant panel, work context, dock suppression, attachment handoff, chat page) pass, changed-file gates and a fresh scoped-clean autoreview pass.

Live proof status

A live dev-gateway walkthrough is still outstanding. The earlier session's browser tool refused localhost navigation (browser navigation blocked by policy); the current review session confirmed its browser can reach localhost, so a live capture is feasible in a follow-up once the isolated dev gateway has an authenticated model provider. The preserved dev-gateway state from the earlier attempt remains available. The captures above are real rendered UI on the mocked dashboard, not a live gateway session, and are not presented as live proof.

Refactor and size

The route/page owns selected session and persisted navigation; an application-scoped focus owner selects the input region. Normal chat owns sending, retrying, and history. Composer handoff is fenced by gateway, authenticated recovery profile, conversation, and current client.

Removed the standalone custodian panel/chrome, pane-side navigation writes during focus/send, and duplicated workspace-root resolution. Consolidated repeated pairing-modal markup, window listener registration, and classic/split edge-drop handling; relocated regression tests into existing owner suites without lint suppressions. Existing dock preferences are retained. Current production delta: +925 lines; tests: +682; docs/generated: +13. Positive production growth implements the new persistent dock, inspectable context, and lossless composer handoff; no new backend subsystem.

Context is deliberately visible plain text in conversation history. Structured historical context cards remain a possible later improvement, not a parallel protocol in this change.

Rebased onto current main (e7bacb6e552) for landing; conflicts with #133628's outbox-scope rename were resolved by adopting resolveUiConversationIdentity at the three call sites. 293 owner/sibling tests pass post-rebase.

CI's checks-ui-e2e shard caught a real regression on the rebased head: the chat-quota-pill e2e saw 3 models.authStatus requests instead of 2. Root cause: the new route binding can synchronously publish a snapshot during applyGatewaySnapshot, and the reentrant application plus the outer stale clientChanged ran pane startup twice. Fixed in 782468c1b5e by re-evaluating the startup claim at the branch (claim-before-reentry); reproduced locally under load (2/3 failing), 6/6 passing after the fix, and the full chat owner suite (12,412 tests) passes.

Landing blocker: compact-shard worker starvation (CI infra, not this PR)

Five consecutive CI runs at head 782468c1b5e fail checks-node-compact-large-3/-9 with roaming 120s test timeouts in code this PR does not touch: src/agents/cli-runner/execute.supervisor-capture.test.ts (4x), src/audit/message-delivery-progress-store.test.ts (1x, runner git-credential outage), and src/agents/embedded-agent-subscribe.handlers.lifecycle.test.ts (1x). Evidence that this is shard-level starvation rather than a regression: the merge tree's src/agents is byte-identical to main (this PR changes only ui/**, docs, and the mocked dashboard script); main's own CI is green on the same projects; and locally the single test, whole file, whole agents-support project (4,962 tests), the exact 118-file shard subset (2,737 tests), CI env vars, CI file order, and load variants all pass on both main and this branch. The failing worker's event loop wedges (202s elapsed against a 120s timeout), consistent with the compact job's two concurrent vitest runs plus module-cache transform storms on 8 vCPUs. The shard concurrency/timing budget is owned by the CI plan (scripts/lib/ci-node-test-plan.mts, timings refit #134024 in flight); this PR intentionally does not patch unrelated core tests or CI budgets.

@clawsweeper

clawsweeper Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: XL maintainer Maintainer-authored PR labels Aug 31, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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. labels Aug 31, 2026
@clawsweeper

clawsweeper Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed August 31, 2026, 12:41 PM ET / 16:41 UTC.

ClawSweeper review

What this changes

This PR adds a persistent Control UI dock for an agent’s Home conversation, with context capture, composer handoff, and a global keyboard toggle.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open: the prior P1 remains at the current head—Dashboard can show the selected Home conversation without suppressing the dock, leaving competing composers.

Priority: P2
Reviewed head: 2c1a52697080421ed50af1d8965905db142ca612

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The feature has substantial implementation and focused mock-UI evidence, but the outstanding P1 route-ownership defect blocks merge readiness.
Proof confidence 🌊 off-meta tidepool Not applicable: Repository state identifies this as a MEMBER-authored PR, so the external-contributor proof gate does not apply; the supplied mocked-dashboard captures are useful UI evidence but do not replace the outstanding live-gateway walkthrough.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Repository state identifies this as a MEMBER-authored PR, so the external-contributor proof gate does not apply; the supplied mocked-dashboard captures are useful UI evidence but do not replace the outstanding live-gateway walkthrough.
Evidence reviewed 6 items Introduced trigger: The assistant panel receives sessionPage only when the active route is Chat, despite the shell already computing the broader sessionRoute fact.
Session-route contract: Dashboard and Chat are both defined as session routes, and both route through the same ChatPage owner.
Causal suppression path: For the Home destination, a false sessionPage exits before comparing page and Home identities; an open dock therefore continues rendering the Home chat pane.
Findings 1 actionable finding [P1] Suppress the Home dock on Dashboard routes
Security None None.

How this fits together

The Control UI shell hosts session pages such as Chat and Dashboard and can also render the assistant dock. The dock resolves the selected agent’s Home conversation, then hands normal chat sending and queued-message behavior to the existing chat pane.

flowchart LR
  A[Sidebar agent selection] --> B[Home conversation resolution]
  C[Chat or Dashboard session page] --> D[Session-route detection]
  D --> E[Assistant dock suppression]
  B --> E
  E --> F[Home chat pane]
  C --> G[Bounded work-context snapshot]
  G --> F
  F --> H[Existing chat send and queue flow]
Loading

Before merge

  • Suppress the Home dock on Dashboard routes (P1) - This repeats the prior P1 at the current head. Dashboard is a session route, but this passes false outside Chat; the panel then skips its Home/page identity check and renders a second Home composer beside the Dashboard view. Pass sessionRoute here and add a Dashboard regression case.
  • Resolve merge risk (P1) - On a Dashboard route for the selected Home session, merging this head can leave the dock and page conversation active together, creating competing composer ownership.
  • Resolve merge risk (P1) - The supplied visual walkthrough uses a mocked gateway and the PR states that a live dev-gateway walkthrough remains outstanding; rerun the focused UI proof after the suppression repair.

Findings

  • [P1] Suppress the Home dock on Dashboard routes — ui/src/app/app-shell-view.ts:643
Agent review details

Security

None.

PR surface

Source +955, Tests +731, Docs +21, Other +2. Total +1709 across 59 files.

View PR surface stats
Area Files Added Removed Net
Source 40 1571 616 +955
Tests 17 1112 381 +731
Docs 1 21 0 +21
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 59 2706 997 +1709

Review metrics

Metric Value Why it matters
Implementation growth production net +957; tests/support net +731; docs +21 The feature materially expands UI ownership and composer state, so the focused route-suppression regression is needed before accepting the added surface.

Stored data model

Persistent data-model change detected: serialized state: ui/src/pages/chat/chat-work-context.ts, unknown-data-model-change: ui/src/pages/chat/chat-work-context.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #133632
Summary: This PR is the stated implementation candidate for the app-level Home dock requested by the linked issue.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Repair Dashboard suppression (recommended)
    Pass the established session-route predicate to the assistant panel and add a Dashboard Home-session regression test before merging.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Pass sessionRoute into the assistant panel and add a Dashboard Home-session suppression regression test.

Technical review

Best possible solution:

Use the already-computed session-route fact for Home suppression, add Dashboard coverage for the matching Home identity, then capture the repaired dock behavior on the current head.

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

Yes—source inspection gives a high-confidence path: open the dock, navigate to Dashboard for the selected agent’s Home session, and observe that the dock is not suppressed. This read-only review did not execute the UI.

Is this the best way to solve the issue?

No. Reusing the existing dock and chat pane is sound, but this head must apply the existing sessionRoute predicate rather than treating only Chat as a session page.

Full review comments:

  • [P1] Suppress the Home dock on Dashboard routes — ui/src/app/app-shell-view.ts:643
    This repeats the prior P1 at the current head. Dashboard is a session route, but this passes false outside Chat; the panel then skips its Home/page identity check and renders a second Home composer beside the Dashboard view. Pass sessionRoute here and add a Dashboard regression case.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.99

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 692cb7b1f28f.

Labels

Label changes:

  • remove proof: 📸 screenshot: Current real behavior proof evidence kind is not_applicable.

Label justifications:

  • P2: The PR adds useful Control UI ergonomics, but the demonstrated defect is limited to the Dashboard/Home route combination.
  • merge-risk: 🚨 session-state: The introduced dock can coexist with its matching Dashboard Home conversation and create two active composer presentations.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: Repository state identifies this as a MEMBER-authored PR, so the external-contributor proof gate does not apply; the supplied mocked-dashboard captures are useful UI evidence but do not replace the outstanding live-gateway walkthrough.

Evidence

Acceptance criteria:

  • [P1] node scripts/run-vitest.mjs ui/src/app/app-host.dock-suppression.test.ts ui/src/components/assistant-panel.test.ts.
  • [P1] pnpm --dir ui test --project chromium src/components/sidebar-attention-layout.browser.test.ts.

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Pass the existing sessionRoute predicate to the assistant panel.
  • Add a Dashboard case proving the dock hides when that page shows the selected Home conversation.
  • Capture the repaired behavior on the current head with private details redacted.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (11 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-31T06:55:29.143Z sha 9386e39 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T07:51:02.726Z sha 90cf12f4300dd28e7bedf17bb12155d0be54107a :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T08:11:48.931Z sha 24b94c7 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T08:34:44.239Z sha 1f52590 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T09:28:52.267Z sha 782468c :: needs maintainer review before merge. :: none
  • reviewed 2026-08-31T10:13:41.314Z sha 782468c :: found issues before merge. :: [P1] Suppress the dock on Home dashboard routes
  • reviewed 2026-08-31T10:52:36.148Z sha 782468c :: found issues before merge. :: [P1] Suppress the dock on Home Dashboard routes
  • reviewed 2026-08-31T16:08:45.876Z sha cef5d24 :: needs changes before merge. :: [P1] Suppress the Home dock on Dashboard routes

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. label Aug 31, 2026
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Aug 31, 2026
@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. feature: ✨ showcase ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Aug 31, 2026
@steipete
steipete force-pushed the steipete/home-agent-dock branch from 90cf12f to 24b94c7 Compare August 31, 2026 08:04
@steipete
steipete marked this pull request as ready for review August 31, 2026 08:04
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 31, 2026
@steipete steipete closed this Aug 31, 2026
@steipete steipete reopened this Aug 31, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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. labels Aug 31, 2026
@openclaw-barnacle openclaw-barnacle Bot added the agents Agent runtime and tooling label Aug 31, 2026
@steipete
steipete force-pushed the steipete/home-agent-dock branch from 94468e1 to cef5d24 Compare August 31, 2026 15:33
@clawsweeper clawsweeper Bot added the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Aug 31, 2026
The mocked Control UI dev server already handles both methods but never
advertised them, so the new Home dock footer toggle stayed invisible on
the repo's canonical mocked validation surface.
The dock grew its own Home-agent picker while the sidebar identity
switcher already owns agent choice; two switchers for one concept was
confusing. The dock now derives its target from agentSelection, the
picker row and its pinned-agent persistence are removed, and the
open-full-page action moves into the dock header.
Cmd/Ctrl+Shift+H toggles the Home assistant dock from anywhere; the
shell owns the chord since the assistant panel never handles keydown,
and it stays inert when the gateway lacks chat.history/chat.send. The
combo shows in both toggle tooltips and the shortcuts overlay. The
collapsed-chrome assistant toggle buttons move to shell-assistant-toggles.ts
to keep app-shell-view under the max-lines cap.
Route binding during snapshot application can synchronously publish a new
snapshot and re-enter applyGatewaySnapshot; the inner application claims
connectedClient, so the outer application's stale clientChanged started a
second startup and duplicated models.authStatus. Re-evaluate the claim at
the branch instead of trusting the stale local. Reproduced via the
chat-quota-pill e2e under load (2/3 failing); 6/6 pass after the fix.
CI compact shards wedge execute.supervisor-capture with 120s timeouts
that never reproduce locally; the spawn wrapper silently proceeds on an
undefined managed run when a once-mock is consumed or reset elsewhere.
Reject loudly so the next occurrence names the defeat instead of
timing out opaquely.
@steipete
steipete force-pushed the steipete/home-agent-dock branch from cef5d24 to 2c1a526 Compare August 31, 2026 16:33
@clawsweeper clawsweeper Bot removed the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Aug 31, 2026
@steipete
steipete merged commit b86ea6c into main Aug 31, 2026
182 checks passed
@steipete
steipete deleted the steipete/home-agent-dock branch August 31, 2026 16:51
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 1, 2026
* feat: keep the Home agent beside your work

* refactor: simplify shared assistant shell and pane ownership

* test: advertise chat.history and chat.send on the mocked dashboard

The mocked Control UI dev server already handles both methods but never
advertised them, so the new Home dock footer toggle stayed invisible on
the repo's canonical mocked validation surface.

* refactor(ui): home dock follows the sidebar agent switcher

The dock grew its own Home-agent picker while the sidebar identity
switcher already owns agent choice; two switchers for one concept was
confusing. The dock now derives its target from agentSelection, the
picker row and its pinned-agent persistence are removed, and the
open-full-page action moves into the dock header.

* feat(ui): add a keyboard chord for the Home dock

Cmd/Ctrl+Shift+H toggles the Home assistant dock from anywhere; the
shell owns the chord since the assistant panel never handles keydown,
and it stays inert when the gateway lacks chat.history/chat.send. The
combo shows in both toggle tooltips and the shortcuts overlay. The
collapsed-chrome assistant toggle buttons move to shell-assistant-toggles.ts
to keep app-shell-view under the max-lines cap.

* style: format rebase-resolved handoff scope key

* docs: drop inline kbd markup for the Home dock chord

* fix(ui): claim pane startup against reentrant snapshot application

Route binding during snapshot application can synchronously publish a new
snapshot and re-enter applyGatewaySnapshot; the inner application claims
connectedClient, so the outer application's stale clientChanged started a
second startup and duplicated models.authStatus. Re-evaluate the claim at
the branch instead of trusting the stale local. Reproduced via the
chat-quota-pill e2e under load (2/3 failing); 6/6 pass after the fix.

* test(agents): fail fast when the supervisor spawn mock is defeated

CI compact shards wedge execute.supervisor-capture with 120s timeouts
that never reproduce locally; the spawn wrapper silently proceeds on an
undefined managed run when a once-mock is consumed or reset elsewhere.
Reject loudly so the next occurrence names the defeat instead of
timing out opaquely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui docs Improvements or additions to documentation feature: ✨ showcase ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. maintainer Maintainer-authored PR merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: keep the Home agent available in an app-level dock

1 participant