Skip to content

feat(ui): unify focused presentation routes - #126143

Merged
steipete merged 12 commits into
mainfrom
steipete/fullscreen-dashboard-url-412302
Aug 19, 2026
Merged

steipete merged 12 commits into
mainfrom
steipete/fullscreen-dashboard-url-412302

Conversation

@steipete

@steipete steipete commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

Related: #125806

AI-assisted: Yes. The implementation and validation were completed with AI coding tools, with repository autoreview run clean before publication.

What Problem This Solves

The landed fullscreen feature required raw exact-session query links and separate terminal and desktop URL modes. Canonical short session URLs therefore could not be mechanically focused, and native clients had to construct bespoke query forms for otherwise shared presentations.

Why This Change Was Made

This establishes one path-only <base>/focus/<target> owner. Dashboard focus URLs reuse the canonical session resolver, including short references, canonical replacement, ambiguity, and missing-session outcomes; terminal and desktop use a closed path grammar. The iOS and Android clients now use those same paths.

Dashboard and desktop query forms were unshipped and are removed without compatibility. Tag inspection showed that /?view=terminal did ship in stable releases, so it remains only as a one-shot application-boundary migration that immediately replaces browser history with /focus/terminal; runtime parsers and all new callers stay path-only. Existing exact or prefix plugin HTTP routes retain ownership of /focus paths, with the Control UI focus document serving only as the unclaimed fallback.

Real live proof also exposed a general nested-document bug: Vite's relative index assets resolved beneath the deep route and were served back as HTML. Gateway-served index HTML now anchors generated and public assets to the configured Control UI base path.

User Impact

Insert /focus immediately after the Control UI base path to open a supported surface without application chrome:

/dashboard/main/deploy-monitor-12345678
/focus/dashboard/main/deploy-monitor-12345678

/openclaw/dashboard/main/deploy-monitor-12345678
/openclaw/focus/dashboard/main/deploy-monitor-12345678

/focus/terminal
/focus/desktop
/focus/desktop/source/<encodedSource>
/focus/desktop/session/<encodedExactSessionKey>

Native Terminal and Desktop screens now use this contract. Released root/base-path ?view=terminal links are rewritten once to /focus/terminal; desktop and dashboard query forms remain removed. Focus presentation remains separate from the browser Fullscreen API; opening a focus URL does not request browser fullscreen.

Evidence

Focused routing, Gateway, UI, E2E, changed-surface, build, and docs validation ran as one fail-fast sequence:

node scripts/run-vitest.mjs packages/session-url-contract/src/focus.test.ts ui/src/app-navigation.test.ts ui/src/app/bootstrap.test.ts ui/src/pages/dashboards/view.test.ts src/gateway/control-ui-routing.test.ts src/gateway/control-ui.http.test.ts src/gateway/server.plugin-http-auth.test.ts
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/dashboard-fullscreen.e2e.test.ts ui/src/e2e/desktop-document-mode.e2e.test.ts ui/src/e2e/terminal-embedded.e2e.test.ts ui/src/e2e/desktop-panel.e2e.test.ts ui/src/e2e/terminal-upload.e2e.test.ts
node scripts/check-changed.mjs
pnpm build
pnpm docs:list
pnpm docs:check-mdx
pnpm docs:check-links
pnpm docs:check-i18n-glossary
pnpm format:docs:check
git diff --check

Results:

  • Initial focused unit/Gateway/routing suites: 401 tests passed across four selected shards, including 256 Gateway tests; browser E2E passed 5 files / 38 tests.
  • Plugin-precedence and stable-terminal review fixes: 36 URL-contract, 262 Gateway, 41 bootstrap, and 6 terminal E2E tests passed. Real Gateway proof showed exact/prefix plugin /focus routes winning, unclaimed focus serving HTML, unclaimed writes returning 404, and /?view=terminal rewriting to /focus/terminal with no shell or fullscreen request.
  • CI repairs: the plugin SDK catalog contract passed 18/18; strict test types passed; cloud-install secret guidance passed after following the centralized Docker VM runtime contract; the UI locator and Android TLS coroutine flakes each passed three bounded repetitions; Codex shard ownership passed 18/18 with the light shard passing 3/3.
  • The final QA integration repair replaced downstream snapshot polling with the bus-owned outbound-message wait. The exact test passed five bounded repetitions, then the complete QA extension shard passed 207 files / 2,803 tests with 2 skipped.
  • Exact-head CI also exposed a current-main max-lines failure in packages/gateway-protocol/src/index.ts. The equivalent public-surface repair passed the exact lint stripe and 64 files / 520 Gateway protocol tests, landed independently in fix(ci): restore protocol lint and Codex shard ownership #126275, and was dropped from this branch during the final rebase.
  • A later QA smoke run exposed a parallel-startup ownership race: each worker selected and released a free Gateway port before expensive plugin/config staging, allowing a sibling Gateway to satisfy readiness and strand the authenticated client against the wrong instance. The runner now holds a real loopback reservation through staging and releases it only for child bind. The pre-fix port-claim gap reproduced directly; reservation/Gateway child tests passed 88/88, the complete QA shard passed 208 files / 2,804 tests with 2 skipped, and the exact four-scenario profile passed five zero-stagger stress runs.
  • node scripts/check-changed.mjs: passed for the complete core, core-tests, UI, apps, and docs scope; the final QA and Gateway protocol changes each passed their full changed-file gates.
  • pnpm build and final pnpm ui:build: passed, including 906 finalized Control UI sidecars.
  • Docs: MDX passed for 778 files; 6,510 internal links checked with 0 broken; glossary and formatting checks passed for 762 files.

iOS focused tests and build:

xcodebuild -project apps/ios/OpenClaw.xcodeproj -scheme OpenClaw -destination 'platform=iOS Simulator,name=iPhone 17 Pro,OS=27.0' -only-testing:OpenClawTests/DesktopHubScreenTests -only-testing:OpenClawTests/TerminalHubScreenTests test
pnpm ios:build

Result: 20 tests in 2 suites passed; ** TEST SUCCEEDED ** and ** BUILD SUCCEEDED **.

Android Play and third-party variants ran on SSH run run_3788b7102f9c:

pnpm android:test && pnpm android:test:third-party && pnpm android:assemble

Result: Play unit tests passed (BUILD SUCCESSFUL, 83 tasks), third-party unit tests passed (BUILD SUCCESSFUL, 54 tasks), and Play/Wear debug assemblies passed (BUILD SUCCESSFUL, 110 tasks).

Real behavior proof

  • An isolated real Gateway on port 50285 served dashboard, terminal, and desktop focus documents with GET 200, HEAD 200, and unclaimed POST 404. The dashboard resolved a canonical short URL and showed the live focus-dashboard-widget-ok widget; the terminal visibly executed focus-terminal-ok; desktop showed the real unavailable outcome. All three were shell-free, and document.fullscreenElement remained null.
  • Plugin compatibility proof used real registered handlers: an exact /focus route returned plugin-exact-focus-ok, a prefix descendant returned plugin-prefix-focus-ok, and only unclaimed focus requests reached the Control UI fallback.
  • Stable migration proof opened /?view=terminal in Chromium and observed immediate history replacement to /focus/terminal, removal of the query parameter, one focused terminal, zero application shells, and no browser fullscreen request.
  • The first live run reproduced a real asset failure missed by mocked browser tests: nested focus JS returned 200 text/html, so Chromium rejected the module for its MIME type. Anchoring generated JS/CSS and public index assets to the Control UI base path fixed the owner boundary; HTTP tests now fetch every rewritten asset and verify its content type from focus and ordinary deep routes.
  • The final rebuilt Control UI tree was frozen at SHA-256 1b786851c717c2b1e5b5993cf619e509437c9a584bfb40fb07abb59409cb6684 for the final routing proof.
  • iOS XCUITest captured exact requests GET /focus/terminal and GET /focus/desktop, both without a query string. Two focused UI tests passed. The focused terminal and desktop picker mounted visibly. XCUITest could synthesize typing into Ghostty Web's accessibility element, but Ghostty did not forward it as terminal.input, so the iOS marker is not claimed as visible; this is a synthetic-input limitation, not a route failure.
  • Android emulator SSH run run_44b12de7d4ae captured actual WebView requests to /focus/terminal and /focus/desktop, without view=. The live shell banner/prompt and real desktop-source state rendered; sanitized screenshots and a 68.6-second video were visually inspected, and cleanup was verified.
  • Final branch-wide $autoreview --mode branch --base origin/main: clean after the feature, CI repairs, plugin-precedence fix, stable terminal migration, Codex shard repair, QA state-wait and Gateway port-ownership repairs, and current-main lint repair.

Visual evidence

Before — the standalone dashboard used the exact-key query document introduced in #125806:

Before: exact-key standalone dashboard

After — the same shell-free dashboard is reachable through its canonical short URL with /focus inserted after the base path:

After: canonical focused dashboard

Real Gateway terminal and desktop focus documents:

Focused terminal with live command output

Focused desktop outcome

Actual native app WebViews using the same paths:

iOS Android
iOS focused terminal Android focused terminal
iOS focused desktop Android focused desktop

Real Gateway dashboard → terminal → desktop flow:

focus-live-proof-final.webm

LOC

From git diff --numstat origin/main...HEAD:

  • Production: 36 files, +773/-251 (net +522)
  • Tests: 27 files, +1,061/-359 (net +702)
  • Docs: 3 files, +82/-23 (net +59)
  • Total: 66 files, +1,916/-633

The production growth is the shared URL contract, one focus-route owner, one narrow released-terminal migration boundary, server-side correctness for deep-document assets and plugin fallback ordering, and a held QA Gateway port-reservation owner that removes a cross-process startup race. The change simultaneously deletes the three per-surface dashboard, terminal, and desktop mode modules and replaces them with one canonical path grammar.

@clawsweeper

clawsweeper Bot commented Aug 19, 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: android App: android app: ios App: ios app: web-ui App: web-ui gateway Gateway runtime size: XL maintainer Maintainer-authored PR labels Aug 19, 2026
@steipete
steipete marked this pull request as ready for review August 19, 2026 03:12
@steipete
steipete requested a review from a team as a code owner August 19, 2026 03:12
@steipete
steipete force-pushed the steipete/fullscreen-dashboard-url-412302 branch from 72c76e0 to a4b4801 Compare August 19, 2026 03:24
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: 🎥 video Contributor real behavior proof includes video or recording evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. 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 19, 2026
@clawsweeper

clawsweeper Bot commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed August 19, 2026, 1:58 AM ET / 05:58 UTC.

ClawSweeper review

What this changes

This PR replaces standalone dashboard, terminal, and desktop URLs with shared /focus/... presentation routes across the Gateway, Control UI, iOS, and Android.

Regression provenance

Possible regression — probable (reviewed change; failure trace). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open: the prior P1 remains at the current head. The new focus handler runs before plugin dispatch, so existing plugin routes beneath /focus are replaced by a Control UI response or 404.

Priority: P1
Reviewed head: f09daead56db1bd734eb513ffae5fb3ec3109f91

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The PR has substantial validation material, but the unresolved P1 route-order regression prevents a higher readiness rating.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored PR is exempt from the external-contributor proof gate; its body nevertheless records real Gateway and native-client runs.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored PR is exempt from the external-contributor proof gate; its body nevertheless records real Gateway and native-client runs.
Evidence reviewed 5 items Current-main routing contract: Current main places only the approval document before plugin dispatch; generic plugin request stages follow before the final Control UI fallback.
PR intercepts focus paths first: The branch adds focus paths to the standalone Control UI stage, which terminates the request before the plugin stages later in this same function.
Plugin dispatch is the intended fallback predecessor: The existing route pipeline explicitly documents plugin routes before read-only Control UI surfaces and dispatches registered plugin handlers at this later stage.
Findings 1 actionable finding [P1] Let registered plugin routes claim /focus before Control UI
Security None None.

Live Verification

Command: pnpm openclaw --help

Result: PASS (completed)

pnpm openclaw --help
runner@runnervmzvulz:/tmp/clawsweeper-live-proof-126143-guNVaQ/target$ pnpm openclaw --help
$ node scripts/run-node.mjs --help
pnpm openclaw --help
[openclaw] Building TypeScript (dist is stale: missing_build_stamp - build stamp missing).
[openclaw] Building bundled plugin assets.
[canvas] build: node scripts/bundle-a2ui.mjs
[log] ‹DIR›/a2ui.bundle.js  chunk │ size: 400.66 kB
[log] ‹DIR›/a2ui-v0.9.bundle.js  chunk │ size: 615.66 kB
[log]
[success] rolldown v1.2.0 Finished in 100.38 ms
[diffs] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts curated
[diffs-language-pack] build: node --import tsx ../../scripts/build-diffs-viewer-runtime.mts full
[discord] build: node --import tsx ../../scripts/build-discord-activity-sdk.mts
[tsdown-build] invocation 1/2 finished in 0.7s
node_modules/playwright-core/lib/coreBundle.js (65821:28) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
       ╭─[ node_modules/playwright-core/lib/coreBundle.js:65821:29 ]
       │
 65821 │               const value = eval(ˋ(${expr})ˋ);
       │                             ──┬─
       │                               ╰─── Use of direct ˋevalˋ here.
       │
       │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
───────╯

node_modules/playwright-core/lib/coreBundle.js (65828:28) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
       ╭─[ node_modules/playwright-core/lib/coreBundle.js:65828:29 ]
       │
 65828 │               const value = eval(ˋ(${expr})ˋ);
       │                             ──┬─
       │                               ╰─── Use of direct ˋevalˋ here.
       │
       │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
───────╯

node_modules/web-tree-sitter/web-tree-sitter.js (2343:30) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
      ╭─[ node_modules/web-tree-sitter/web-tree-sitter.js:2343:31 ]
      │
 2343 │           ASM_CONSTS[start] = eval(func);
      │                               ──┬─
      │                                 ╰─── Use of direct ˋevalˋ here.
      │
      │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
──────╯

node_modules/web-tree-sitter/web-tree-sitter.js (2366:32) [EVAL] Use of direct ˋevalˋ function is strongly discouraged as it poses security risks and may cause
issues with minification.
      ╭─[ node_modules/web-tree-sitter/web-tree-sitter.js:2366:33 ]
      │
 2366 │           moduleExports[name] = eval(func);
      │                                 ──┬─
      │                                   ╰─── Use of direct ˋevalˋ here.
      │
      │ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
──────╯

[tsdown-build] invocation 2/2 finished in 13.6s
[plugin-control-plane-loads] verified 36 built modules with native require and checked doctor closures
runtime-postbuild: 10 phases completed in 4231ms (slowest: built plugin control-plane loads 3453ms)

OpenClaw 2026.8.1 (f09daea) — All your chats, one OpenClaw.

Usage: openclaw [options] [command]

Options:
  --container ‹name›   Run the CLI inside a running Podman/Docker container named ‹name› (default: env OPENCLAW_CONTAINER)
  --dev                Dev profile: isolate state under ~/.openclaw-dev, default gateway port 19001, and shift derived ports (browser/canvas)
  -h, --help           Display help for command
  --log-level ‹level›  Global log level override for file + console
… output truncated …

Assertions:

  • PASS expect_output: Usage: openclaw

How this fits together

The Gateway routes incoming HTTP requests to core endpoints, registered plugin handlers, or the Control UI. Focus URLs select shell-free dashboard, terminal, or desktop presentations consumed by browser and native clients.

flowchart LR
A[Browser and native clients] --> B[Focus URL]
B --> C[Gateway route stages]
C --> D{Plugin claims route?}
D -->|Yes| E[Plugin HTTP response]
D -->|No| F[Control UI focus document]
F --> G[Dashboard terminal or desktop]
Loading

Before merge

  • Let registered plugin routes claim `/focus` before Control UI (P1) - This stage completes every /focus descendant before the plugin stages below it run, so an existing exact or prefix plugin route now receives a Control UI response or 404 instead of its handler response. Current main keeps plugin dispatch ahead of Control UI fallback; move focus serving after an unclaimed plugin dispatch and reverse the new reservation test.
  • Resolve merge risk (P1) - Merging would break existing exact or prefix plugin HTTP routes under /focus: reads receive Control UI output and writes receive 404 instead of the plugin response.
  • Complete next step (P2) - The handler ordering defect has a narrow, source-proven repair and focused Gateway coverage.

Findings

  • [P1] Let registered plugin routes claim /focus before Control UI — src/gateway/server-http.ts:464-473
Agent review details

Security

None.

PR surface

Source +412, Tests +393, Docs +51, Other +65. Total +921 across 56 files.

View PR surface stats
Area Files Added Removed Net
Source 27 619 207 +412
Tests 16 658 265 +393
Docs 3 74 23 +51
Config 0 0 0 0
Generated 0 0 0 0
Other 10 169 104 +65
Total 56 1520 599 +921

Review metrics

Metric Value Why it matters
Production versus tests production +665/-231; tests/support +781/-345; docs +74/-23 The feature adds a shared URL contract and cross-client routing integration; the production growth is justified only if it preserves the existing plugin-route contract.

Stored data model

Persistent data-model change detected: serialized state: packages/session-url-contract/src/focus.test.ts, serialized state: packages/session-url-contract/src/focus.ts, unknown-data-model-change: packages/session-url-contract/src/focus.test.ts, unknown-data-model-change: packages/session-url-contract/src/focus.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: canonical
Canonical: #126143
Summary: This PR is the active canonical follow-up to the merged dashboard fullscreen work, but its URL-routing change has a distinct plugin-compatibility regression.

Members:

  • partial_overlap: feat: add dashboard fullscreen modes #125806 - The merged PR introduced the prior dashboard fullscreen presentation; this PR replaces that URL shape and expands the focus mechanism to terminal and desktop.

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

Merge-risk options

Maintainer options:

  1. Restore plugin-first fallback (recommended)
    Move focus-document handling behind registered plugin dispatch and cover both claimed and unclaimed /focus paths.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Move focus serving after plugin dispatch, preserve the focus fallback for unclaimed routes, and update the Gateway route-order test.

Technical review

Best possible solution:

Let registered plugin handlers claim /focus first, then serve a focus document only when no plugin route accepts the request; update the route test to protect that fallback order.

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

Yes, source-reproducible: a registered plugin handler for /focus/... is skipped because the earlier focus stage always finishes the request; the added test demonstrates the resulting 503/404 behavior.

Is this the best way to solve the issue?

No: reserving the namespace before plugin dispatch is not the best solution because the existing Gateway order gives registered plugin routes precedence over Control UI fallback.

Full review comments:

  • [P1] Let registered plugin routes claim /focus before Control UI — src/gateway/server-http.ts:464-473
    This stage completes every /focus descendant before the plugin stages below it run, so an existing exact or prefix plugin route now receives a Control UI response or 404 instead of its handler response. Current main keeps plugin dispatch ahead of Control UI fallback; move focus serving after an unclaimed plugin dispatch and reverse the new reservation test.
    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 97e3136b9e6f.

Labels

Label justifications:

  • P1: The patch can break already-registered Gateway plugin endpoints for every matching /focus request.
  • merge-risk: 🚨 compatibility: The new core-owned route reservation changes the behavior of existing plugin HTTP paths without an upgrade path.
  • 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: This member-authored PR is exempt from the external-contributor proof gate; its body nevertheless records real Gateway and native-client runs.

Evidence

Acceptance criteria:

  • [P1] node scripts/run-vitest.mjs src/gateway/server.plugin-http-auth.test.ts.
  • [P1] node scripts/run-vitest.mjs src/gateway/control-ui-routing.test.ts src/gateway/control-ui.http.test.ts.

What I checked:

  • Current-main routing contract: Current main places only the approval document before plugin dispatch; generic plugin request stages follow before the final Control UI fallback. (src/gateway/server-http.ts:460, 97e3136b9e6f)
  • PR intercepts focus paths first: The branch adds focus paths to the standalone Control UI stage, which terminates the request before the plugin stages later in this same function. (src/gateway/server-http.ts:464, f09daead56db)
  • Plugin dispatch is the intended fallback predecessor: The existing route pipeline explicitly documents plugin routes before read-only Control UI surfaces and dispatches registered plugin handlers at this later stage. (src/gateway/server-http.ts:537, f09daead56db)
  • Added test codifies the regression: The new test expects a plugin handler for /focus descendants never to run, while the adjacent established test protects plugin precedence over the Control UI catch-all. (src/gateway/server.plugin-http-auth.test.ts:773, f09daead56db)
  • Feature provenance: Blame attributes the new pre-plugin focus stage to the current head; the related fullscreen feature was merged as commit c152782. (src/gateway/server-http.ts:473, f09daead56db)

Likely related people:

  • steipete: Current-head blame attributes the changed route stage to Peter Steinberger, and the related merged fullscreen feature has the same author. (role: focus-route and fullscreen feature author; confidence: high; commits: f09daead56db, c1527822ceba; files: src/gateway/server-http.ts, src/gateway/server.plugin-http-auth.test.ts, ui/src/app/app-root.ts)

Rank-up moves

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

  • Move focus serving behind plugin dispatch and revise the route-order test to prove claimed routes win while unclaimed focus URLs still work.

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 (4 earlier review cycles)
  • reviewed 2026-08-19T03:35:34.057Z sha a4b4801bd773511fc1b05650fcf37b2a97f8588f :: needs maintainer review before merge. :: none
  • reviewed 2026-08-19T04:08:18.797Z sha a3e1629a2998e16462dc5b93b0b93071887dea24 :: found issues before merge. :: [P1] Preserve plugin ownership of existing /focus routes
  • reviewed 2026-08-19T04:40:00.705Z sha 2184916 :: found issues before merge. :: [P1] Let registered plugin routes claim /focus first
  • reviewed 2026-08-19T05:16:14.545Z sha f14b8885a4fabca6ef926bf8fc319481a01345d4 :: found issues before merge. :: [P1] Preserve registered plugin ownership of /focus routes

@steipete
steipete force-pushed the steipete/fullscreen-dashboard-url-412302 branch 2 times, most recently from 7d80377 to a3e1629 Compare August 19, 2026 04:00
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. 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 P2 Normal backlog priority with limited blast radius. 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 19, 2026
@steipete
steipete force-pushed the steipete/fullscreen-dashboard-url-412302 branch from a3e1629 to 2184916 Compare August 19, 2026 04:34
@blacksmith-sh

This comment has been minimized.

@steipete
steipete force-pushed the steipete/fullscreen-dashboard-url-412302 branch from 2184916 to f14b888 Compare August 19, 2026 05:08
@clawsweeper clawsweeper Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Aug 19, 2026
@steipete
steipete force-pushed the steipete/fullscreen-dashboard-url-412302 branch 4 times, most recently from fb6a444 to 7d8f945 Compare August 19, 2026 09:06
@steipete
steipete force-pushed the steipete/fullscreen-dashboard-url-412302 branch 2 times, most recently from d1d8202 to 38a21c8 Compare August 19, 2026 10:01
/focus/<target> replaces unshipped standalone query links across dashboard, terminal, desktop, and native apps.

Gateway-served index assets are anchored so nested documents resolve their bundles from the Control UI base path.
Fixes check:test-types TS18048/TS2322 by dropping unmatched optional captures before comparing emitted asset URLs.
Fixes the stale current-main docs test after #126132 centralized GCP and Hetzner setup in docker-vm-runtime.
The 500ms locator text read can time out while the menu label is still rendering, causing expect.poll to reject instead of using its owning 10s retry window. Treat only Playwright TimeoutError as a missing value so the outer poll retries while page-closure and arbitrary failures still surface.
The TLS probe test inferred its coroutine from mutable scope children, racing unrelated child startup and teardown in CI. Capture the exact Job from inside the probe coroutine and join that owner before asserting the stale-attempt guard.
Keep approval handling ahead of plugin dispatch, but treat focus documents as an unclaimed Control UI fallback after plugin authentication and routing. Exact and prefix plugin routes therefore retain ownership, while unclaimed reads serve the focus document and other methods return 404.
Preserve stable v2026.7.1 terminal query compatibility by rewriting the root/base ?view=terminal URL once to the canonical /focus/terminal path with history.replace. Keep URL parsing path-only, and leave the removed desktop and dashboard query forms as a hard cut.
Cached filtered configs caused duplicate ownership, and the test lacked a canonical full-suite owner.
The recovery test should assert owner state and reload identity, while dedicated tests own transient alert visibility.
@steipete
steipete force-pushed the steipete/fullscreen-dashboard-url-412302 branch from 38a21c8 to d576371 Compare August 19, 2026 10:14
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready verification completed for d57637138ec0d091decc717ca2a140285be7b816.

All earlier ClawSweeper rank-up moves are applied: registered exact/prefix plugin routes retain /focus ownership, unclaimed focus paths fall through to the Control UI, and stable ?view=terminal links migrate once to /focus/terminal. The later QA smoke failure was a cross-process port-ownership race; Gateway ports are now held through staging and released only for the owned child bind.

Focused proof includes 36 URL-contract tests, 262 Gateway tests, 41 bootstrap tests, 38 browser E2E tests, 20 iOS tests plus app build, Android Play/third-party tests and Play/Wear assemblies, 208 QA files / 2,804 tests with 2 skipped, five zero-stagger repetitions of the exact failed QA profile, complete changed-file gates, repository/private-QA builds, docs checks, and a clean final branch-wide autoreview. Real browser, iOS, and Android evidence remains in the PR body.

Exact-head CI is green: https://github.com/openclaw/openclaw/actions/runs/32241671537

The current-main Gateway protocol lint break found during this landing was repaired independently in #126275 and is no longer part of this branch. The fresh ClawSweeper re-review is queued; per policy, the queued publisher refresh does not block landing after all actionable findings are addressed and exact-head CI is green.

@steipete
steipete merged commit 4af09d4 into main Aug 19, 2026
249 checks passed
@steipete
steipete deleted the steipete/fullscreen-dashboard-url-412302 branch August 19, 2026 10:41
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 20, 2026
* feat(ui): unify focused presentation routes

/focus/<target> replaces unshipped standalone query links across dashboard, terminal, desktop, and native apps.

Gateway-served index assets are anchored so nested documents resolve their bundles from the Control UI base path.

* test(gateway): narrow emitted asset URLs

Fixes check:test-types TS18048/TS2322 by dropping unmatched optional captures before comparing emitted asset URLs.

* test(docs): follow centralized cloud secret guidance

Fixes the stale current-main docs test after openclaw#126132 centralized GCP and Hetzner setup in docker-vm-runtime.

* test(ui): retry missing locator reads

The 500ms locator text read can time out while the menu label is still rendering, causing expect.poll to reject instead of using its owning 10s retry window. Treat only Playwright TimeoutError as a missing value so the outer poll retries while page-closure and arbitrary failures still surface.

* test(android): capture TLS probe coroutine

The TLS probe test inferred its coroutine from mutable scope children, racing unrelated child startup and teardown in CI. Capture the exact Job from inside the probe coroutine and join that owner before asserting the stale-attempt guard.

* fix(gateway): preserve plugin focus routes

Keep approval handling ahead of plugin dispatch, but treat focus documents as an unclaimed Control UI fallback after plugin authentication and routing. Exact and prefix plugin routes therefore retain ownership, while unclaimed reads serve the focus document and other methods return 404.

* fix(ui): migrate released terminal links

Preserve stable v2026.7.1 terminal query compatibility by rewriting the root/base ?view=terminal URL once to the canonical /focus/terminal path with history.replace. Keep URL parsing path-only, and leave the removed desktop and dashboard query forms as a hard cut.

* test(codex): assign run-attempt tools shard

Cached filtered configs caused duplicate ownership, and the test lacked a canonical full-suite owner.

* test(ui): keep cloud recovery proof state-owned

The recovery test should assert owner state and reload identity, while dedicated tests own transient alert visibility.

* test(qa): wait for outbound bus state

* fix(qa): reserve gateway ports through staging

* refactor(qa): keep socket creation in gateway owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: android App: android app: ios App: ios app: web-ui App: web-ui docs Improvements or additions to documentation extensions: qa-lab gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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.

1 participant