Skip to content

feat(ui): custodian onboarding surface with option cards and first-run handoff - #110141

Merged
steipete merged 7 commits into
mainfrom
claude/onboard-web-custodian
Jul 17, 2026
Merged

steipete merged 7 commits into
mainfrom
claude/onboard-web-custodian

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Phase 4 PR1 of the custodian onboarding redesign (plan: docs/start/onboarding-redesign.md). After the web Control UI's first-run model-setup wizard verifies inference, the user is currently dropped onto the plain dashboard. There is no conversational onboarding surface in the browser, and the phase-3 CLI browser handoff has no dedicated page to deep-link into.

Why This Change Was Made

The redesign's north star is that onboarding is a conversation with OpenClaw (the system agent), not a form. This PR gives the web UI that surface: a custodian chat page in minimal onboarding chrome, structured choices rendered as option cards (max 4 options, exactly one recommended, always skippable), and a first-run handoff from the model-setup wizard into that conversation.

User Impact

  • New route /custodian (deep-linkable as /custodian?onboarding=1 for the phase-3 CLI handoff; not in the sidebar nav). Renders a conversation with the system agent over the existing openclaw.chat gateway RPC (welcomeVariant: "onboarding"), with minimal chrome and one "Exit setup" control that restores normal chrome.
  • New openclaw-option-card component: header chip, question, 2-4 option cards with optional descriptions, one recommended accent, always-present skip. Selection replies with the exact option label so the agent-harness user-input bridge parses it.
  • Structured questions require an explicit hidden marker (<!-- openclaw-user-input {json} -->) in the reply; ordinary prose (including numbered lists) always stays plain text, and invalid markers degrade to text. Nothing emits the marker server-side yet — that is the phase 4 PR2 follow-up; until then the page is a plain conversation.
  • First-run model-setup completion navigates to the custodian page instead of the dashboard; non-first-run wizard behavior is unchanged.
  • Session ownership is bounded by gateway URL plus presented credentials: a client swap with different auth (same URL) clears the transcript and pending state and starts a fresh onboarding session, so conversations never leak across logins on a shared browser. Transport reconnects keep the conversation.

Evidence

  • UI unit tests: option-card (7), custodian page (14, incl. credential/bootstrap-token boundary, no-replay, and sensitive-verbatim regressions), structured-question parser (10), app-host/navigation/model-setup handoff — all green via node scripts/run-vitest.mjs.
  • Browser E2E route tests: 3/3.
  • pnpm tsgo, pnpm tsgo:ui, oxlint on touched files, pnpm deadcode:exports, i18n baseline/verify, git diff --check, pnpm format — all green.
  • Live test on this Mac: vite dev UI connected to an isolated same-config gateway (port 18999) with a real system agent (openai/gpt-5.6-sol). Verified: /custodian?onboarding=1 renders minimal chrome; onboarding welcome arrives via openclaw.chat; send round-trip ("help" → real system-agent reply); "Exit setup" restores full chrome on the chat page.
  • Autoreview loop (Codex, branch mode, xhigh): four findings across three passes, all fixed with regression tests — session reset on token/password change (a270ba22494), bootstrap-token in the ownership key (c0ad346a370), no replay of ambiguous user turns + sensitive input sent verbatim (eed62310ed6). Final pass clean ("patch is correct", no actionable findings).

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XL maintainer Maintainer-authored PR labels Jul 17, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eed62310ed

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +92 to +93
const { gatewayUrl, token, password, bootstrapToken } = this.context.gateway.connection;
return JSON.stringify([gatewayUrl, token, password, bootstrapToken]);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include stored device tokens in the session scope

When the browser authenticates via a stored device token, a same-URL reconnect can present a different credential while gatewayUrl, token, password, and bootstrapToken all remain unchanged; the browser client explicitly reads loadDeviceAuthToken for auth in ui/src/api/gateway.ts:556-569. In that scenario this scope key does not change, so the custodian transcript and any pending sensitive retry state can survive across operators on a shared browser instead of being cleared.

Useful? React with 👍 / 👎.

@steipete
steipete force-pushed the claude/onboard-web-custodian branch from eed6231 to 7dedf20 Compare July 17, 2026 19:39

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7dedf20eb1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +49 to +50
loader: async (context: ApplicationContext, { location }) =>
loadModelSetupRouteData(context, location),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add loaderDeps for the first-run query

When the URL changes only between /settings/model-setup and /settings/model-setup?firstRun=1, this loader is not re-run because the page does not declare loaderDeps; sibling query-driven routes such as ui/src/pages/plugins/route.ts explicitly note that query-only state needs distinct loader deps. In that same-route navigation scenario (for example clicking the active Model Setup settings-sidebar item strips the query), routeData.firstRun can stay stale, so the Open Chat button can either skip the custodian during first run or send a normal settings visit into onboarding until a full remount happens.

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Jul 17, 2026
@clawsweeper

clawsweeper Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 17, 2026, 6:13 PM ET / 22:13 UTC.

Summary
The branch adds a /custodian Control UI onboarding chat route, renders explicit structured-question option cards, and routes first-run model-setup completion into that experience.

PR surface: Source +1027, Tests +773. Total +1800 across 26 files.

Reproducibility: not applicable. as a defect reproduction: this PR introduces a planned onboarding capability. The contributor supplied a concrete live after-fix route, chat, and Exit setup transcript for the new behavior.

Review metrics: none identified.

Stored data model
Persistent data-model change detected: serialized state: ui/src/components/option-card.ts, serialized state: ui/src/pages/custodian/structured-question.test.ts. Confirm migration or upgrade compatibility proof before merge.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🐚 platinum hermit
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P2] Have the assigned reviewer approve the planned first-run handoff after required checks finish on the current head.

Risk before merge

  • [P1] The first-run completion destination changes from the dashboard/chat flow to a dedicated onboarding conversation; although the plan and tests describe an Exit setup recovery path, this remains a compatibility-sensitive onboarding decision that should be approved against the exact merge head.

Maintainer options:

  1. Confirm the planned onboarding handoff (recommended)
    Approve the documented first-run redirect to /custodian?onboarding=1 after required checks cover the current merge head and the Exit setup recovery path remains intact.
  2. Pause for a narrower product adjustment
    Keep the existing destination if maintainers no longer want first-run model setup to enter a conversational onboarding surface by default.

Next step before merge

  • [P2] The protected maintainer label and compatibility-sensitive first-run navigation change require an accountable human merge review rather than autonomous repair or cleanup.

Security
Cleared: The reviewed diff adds no dependency, workflow, package-resolution, secret-handling, or permission expansion; its credential-aware session reset is directed at preventing cross-login transcript exposure.

Review details

Best possible solution:

Land the documented custodian onboarding flow only after the designated reviewer confirms the planned first-run navigation change and required checks validate the exact head; retain the normal non-first-run chat path and the visible Exit setup recovery route.

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

Not applicable as a defect reproduction: this PR introduces a planned onboarding capability. The contributor supplied a concrete live after-fix route, chat, and Exit setup transcript for the new behavior.

Is this the best way to solve the issue?

Yes, conditionally. The dedicated non-sidebar route, explicit marker parser, and first-run-only redirect form a bounded implementation that preserves the ordinary model-setup destination; the remaining question is merge approval for the documented navigation change, not a narrower mechanical repair.

AGENTS.md: unclear because the file could not be read completely.

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

Label changes

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The contributor supplied redacted copied live output for the changed web UI flow: onboarding deep link, a real system-agent reply, and Exit setup returning to normal chat chrome.
  • 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. Sufficient (live_output): The contributor supplied redacted copied live output for the changed web UI flow: onboarding deep link, a real system-agent reply, and Exit setup returning to normal chat chrome.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 security-boundary: Current PR review merge-risk labels are merge-risk: 🚨 compatibility.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This is a substantial but bounded Control UI onboarding improvement rather than an urgent regression or emergency.
  • merge-risk: 🚨 compatibility: The PR changes the post-success destination for first-run model setup, so existing setup expectations and recovery behavior need deliberate review.
  • 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. Sufficient (live_output): The contributor supplied redacted copied live output for the changed web UI flow: onboarding deep link, a real system-agent reply, and Exit setup returning to normal chat chrome.
  • proof: sufficient: Contributor real behavior proof is sufficient. The contributor supplied redacted copied live output for the changed web UI flow: onboarding deep link, a real system-agent reply, and Exit setup returning to normal chat chrome.
Evidence reviewed

PR surface:

Source +1027, Tests +773. Total +1800 across 26 files.

View PR surface stats
Area Files Added Removed Net
Source 17 1057 30 +1027
Tests 9 776 3 +773
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 26 1833 33 +1800

What I checked:

  • First-run handoff: The model-setup completion handler routes first-run users to custodian?onboarding=1 while preserving the existing chat destination for ordinary model-setup visits. (ui/src/pages/model-setup/model-setup-page.ts:512, 42edfc105dc8)
  • Session isolation coverage: The new custodian-page test surface explicitly covers token, bootstrap-token, and device-token ownership changes plus transient reconnect preservation, matching the earlier review concerns. (ui/src/pages/custodian/custodian-page.test.ts:1, 42edfc105dc8)
  • Prior-review remediation: The PR history shows focused follow-up commits for credential-session reset, bootstrap-token scope, ambiguous-turn replay, and stable device-token scope after the earlier findings. (ui/src/pages/custodian/custodian-page.ts:1, c9017e238bdf)
  • Real behavior proof: The contributor posted a redacted live transcript showing the onboarding deep link, a real openclaw.chat welcome and help round trip, and Exit setup restoring normal chat chrome. (88c2e403b742)
  • Current-main gap: The proposed route, component, and first-run redirect are new PR surfaces rather than an already-implemented current-main solution, so an implemented-on-main close is not applicable. (ui/src/pages/custodian/route.ts:1, 42edfc105dc8)

Likely related people:

  • steipete: The supplied PR history attributes all seven focused onboarding and session-hardening commits to this contributor, including the original UI surface and subsequent fixes to session ownership. (role: implementation and onboarding-design contributor; confidence: medium; commits: c12373453597, c9017e238bdf, 42edfc105dc8; files: ui/src/pages/custodian/custodian-page.ts, ui/src/pages/model-setup/model-setup-page.ts, ui/src/app/app-host.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.
Review history (3 earlier review cycles)
  • reviewed 2026-07-17T20:24:20.661Z sha 7dedf20 :: needs real behavior proof before merge. :: [P2] Include stored device auth in the session ownership key | [P2] Declare loader dependencies for the first-run query
  • reviewed 2026-07-17T21:00:21.057Z sha f0aa09b :: needs real behavior proof before merge. :: [P2] Scope session ownership to stored device authentication | [P2] Declare loader dependencies for the first-run query
  • reviewed 2026-07-17T21:41:42.124Z sha 88c2e403b742ba725f27745aa0bbf0dc79da7922 :: needs real behavior proof before merge. :: [P2] Produce the structured-question marker before relying on option cards

@steipete
steipete force-pushed the claude/onboard-web-custodian branch from 7dedf20 to f0aa09b Compare July 17, 2026 20:56
@steipete steipete self-assigned this Jul 17, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 254736f97a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

*/
private connectionScopeKey(): string {
const { gatewayUrl, token, password, bootstrapToken } = this.context.gateway.connection;
const deviceToken = this.context.gateway.snapshot.hello?.auth?.deviceToken ?? "";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve device-token scope across reconnects

When the operator is authenticated via stored device auth, a transient gateway drop sets hello: null while keeping the retrying client in the snapshot (src/app/gateway-store.ts:192-198). Because this scope reads the device token only from hello, the key changes from the token to "" during the disconnect, so synchronizeClient() treats the same operator as a new scope, clears the custodian transcript, and starts a fresh welcome after reconnect. Fresh evidence beyond the prior device-token comment: the target commit now includes the hello token, but it still is not stable across the offline phase.

Useful? React with 👍 / 👎.

};

const MARKER_PATTERN = new RegExp(
`<!--\\s*${CUSTODIAN_QUESTION_MARKER}\\s*([\\s\\S]*?)\\s*-->`,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add a real producer for custodian option markers

This card path only renders when replies contain the openclaw-user-input marker, but a repo-wide search finds that marker only in this parser and tests, while the real onboarding welcome is plain prose built in src/system-agent/onboarding-welcome.ts:85-98. In the actual first-run handoff, option cards therefore never appear unless the gateway is mocked to emit the hidden marker; add a server/prompt producer for the marker or avoid gating the new card UI on an unproduced contract.

Useful? React with 👍 / 👎.

@steipete

Copy link
Copy Markdown
Contributor Author

Review response — all actionable findings addressed at head 88c2e403b74, plus the requested real-behavior evidence.

Real behavior proof (live, this head)

Setup: vite dev UI (this branch) connected to an isolated same-config gateway on ws://127.0.0.1:18999 (plain test token, throwaway state dir) with a real system agent on openai/gpt-5.6-sol. Captured page-text transcript, redacted only of nothing — no secrets appear:

1. Deep link /custodian?onboarding=1 → minimal chrome + real welcome via openclaw.chat (welcomeVariant: "onboarding"):

OpenClaw — Your system setup guide            [Exit setup]
Inference is ready.
- Verified model: openai/gpt-5.6-sol.
- Gateway: running at ws://127.0.0.1:18999.
- I can now finish your workspace, Gateway, channels, agents, plugins, and other optional setup.
- Connect how you want to talk: say connect whatsapp, connect telegram, connect slack, connect discord — or channels for the full list.
Say talk to agent to meet your agent right here, or help for everything I can do.

2. Send round-trip (help typed into the composer, real system-agent reply):

> help
I can help you:
- talk to agent — start chatting with your main agent
- connect whatsapp|telegram|slack|discord — add a channel
- channels — list available channels
- status or health — check OpenClaw
- agents or models — inspect agents and models
- create agent <id> workspace <path> — add an agent
- plugins list or plugins search <query> — manage plugins
- audit — review security / doctor — diagnose problems
Your inference, Gateway, and configuration are already healthy. The shortest path forward is talk to agent.

3. "Exit setup" → normal chat surface with full chrome restored:

Main Session · 🦀 Clawd · "Type a message below · / for commands" · GPT-5.6 Sol

No sidebar/nav is present in state 1-2 (onboarding chrome); the full shell returns in state 3.

Finding-by-finding

  • Stored-device-token session scope (P1/P2): fixed in two steps. 254736f97a6 added the hello-reported deviceToken to the ownership key; 88c2e403b74 makes it sticky across transient drops — hello vanishes while the client retries, so the last authenticated device token is retained and only a new hello carrying a different token rotates the scope. Regression tests cover: operator change via device token (fresh session, old transcript gone), pending sensitive turn cleared on device-auth change, and the transient-drop case (hello → null → same token: transcript preserved, no duplicate welcome).
  • loaderDeps for ?firstRun=1 (P2): fixed in 254736f97a6 with the sibling-route pattern (location.search as the dep) and a route test asserting distinct deps for "" vs ?firstRun=1.
  • No producer for the openclaw-user-input marker (P2): correct and intentional for PR1. The plan doc (docs/start/onboarding-redesign.md, merged) scopes server-side marker emission to phase 4 PR2; until then the page is a plain conversation and ordinary prose (including numbered lists) never renders as cards. The strict-marker gate exists precisely so nothing false-positives before the producer lands.
  • First-run destination sponsorship: the /custodian first-run handoff is the maintainer-authored product decision recorded in the merged redesign plan (docs/start/onboarding-redesign.md, phases 3-4: "browser-first handoff", "conversation as UI"). Exit/recovery: "Exit setup" restores normal chrome and lands on chat (transcript above); non-first-run model-setup completion still navigates to chat unchanged.
  • "Stored data model" metric: misread — option-card.ts and structured-question.test.ts contain no persisted schema; the only state is in-memory Lit component state. Nothing is serialized to disk by this PR.

Merge evidence context: hosted blacksmith runners are in a repo-wide freeze (jobs hang ~20m at "Setup Node environment"; three frozen attempts across two runs on the docs PR, a dozen frozen jobs on run 29608349378 here). Landing follows the sanctioned AGENTS.md local-fallback gates (build + check + full test) with the reason recorded in the pre-merge verification comment.

@steipete
steipete force-pushed the claude/onboard-web-custodian branch from 88c2e40 to 9ba7392 Compare July 17, 2026 22:08
@steipete
steipete force-pushed the claude/onboard-web-custodian branch from 9ba7392 to 42edfc1 Compare July 17, 2026 22:11
@clawsweeper clawsweeper Bot added 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. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 17, 2026
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. label Jul 17, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Pre-merge verification

Land-ready at exact PR head 42edfc105dc830c6f7666a6c6983b75c3951b8a0.

  • Repo-native review artifacts validate as READY FOR /prepare-pr, with issueValidation.status=valid and zero findings.
  • Exact-head PR-event CI run 29617115107 completed green: 56 successful jobs, 10 skipped, zero failures. openclaw/ci-gate, checks-ui, build-artifacts, and automatic control-ui-i18n all passed.
  • OPENCLAW_TESTBOX=1 scripts/pr prepare-run 110141 passed in hosted_exact_or_recent_parent mode. Prepared head and PR head both resolve to 42edfc105dc830c6f7666a6c6983b75c3951b8a0; no local-gates fallback was used.
  • Recorded local proof on the same patch: node scripts/run-vitest.mjs ui/src/pages/custodian ui/src/components/option-card.test.ts ui/src/app/app-host.test.ts ui/src/pages/model-setup (focused custodian/model-setup surface, 47 tests across 8 files) and the full Control UI shard (pnpm test:ui, 303 files / 4370 tests), all green. Browser route E2E: 3/3.
  • Live behavior proof and the response to prior review findings are already captured in the review-response comment: onboarding welcome through openclaw.chat, a real system-agent send round trip, and Exit setup restoring normal chrome.
  • Four-pass branch autoreview ended clean after all actionable findings were fixed and regression-tested. A fresh helper attempt after the base-only rebase was refused before model invocation because the credential/bootstrap-token regression fixture matched its secret-like-content scanner; it produced no new code finding.

Earlier runner-freeze context is historical, not the gate used here: run 29608349378 and run 29606946090 froze at Setup Node environment. Hosted CI subsequently recovered, so this landing uses the new green exact-head run above.

Known proof/design gap: strict foreign-locale parity is intentionally deferred to the post-merge locale-refresh bot. The English source keys and keyless raw-copy baseline are present; foreign locale bundles were not hand-edited. Automatic PR-event i18n verification is green.

@steipete
steipete merged commit e32292e into main Jul 17, 2026
115 of 125 checks passed
@steipete
steipete deleted the claude/onboard-web-custodian branch July 17, 2026 22:20
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 18, 2026
…n handoff (openclaw#110141)

* feat(ui): add custodian onboarding surface

* fix(ui): reset custodian session when credentials change on the same gateway

* fix(ui): include bootstrap token in custodian session ownership key

* fix(ui): no replay for ambiguous user turns; send sensitive input verbatim

* fix(ui): harden custodian session and route state

* fix(ui): keep device-token session scope stable across transient drops

* fix(ui): detect gateway scope errors structurally, not by class identity

Under isolate:false a custom element registered by an earlier test file keeps
its own module registry, so instanceof GatewayRequestError diverges while the
error shape stays stable; the branch's new custodian test files reshuffled
worker packing and exposed this in usage-page.test.ts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL 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