Skip to content

fix(ui): stabilize worktree picker inputs - #150426

Merged
steipete merged 12 commits into
mainfrom
fix/control-ui-worktree-picker
Sep 19, 2026
Merged

steipete merged 12 commits into
mainfrom
fix/control-ui-worktree-picker

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes worktree picker editing and prevents New Session from silently reusing a custom name that an earlier accepted session already owns.

User Impact

Branch suggestions stay visible and keyboard-accessible, selecting text keeps the picker open, and Enter returns focus to the composer. After an accepted foreground, background, or terminal start, the next draft keeps its checkout defaults but clears the consumed custom name. Failed admission keeps the name available for retry.

If clearing the saved preference cannot be confirmed, a warning asks the user to check Name before starting another worktree. The accepted session continues. A separate warning reports an unconfirmed new-draft preference save. Session creation is never retried by preference cleanup.

Why This Change Was Made

The picker preserves in-progress text and shows the actual branch name. Name retirement now follows the submitted selection and accepted session ownership, including placement recovery, instead of clearing whatever a mutable draft happens to display later. The existing Gateway preference owner serializes local writes and updates replacement drafts. Cross-browser writes use optional expected values checked atomically in the existing preference transaction. A conflict rereads and reapplies only the intended patch, up to three attempts, so a concurrent model edit cannot restore a consumed name and cleanup cannot overwrite a newer checkout choice. The existing first-connection browser import also guards its migration marker and missing entries, so a delayed import cannot restore a name cleared by another browser. Other preference callers retain their existing behavior; no database schema, stored representation, permission, or version changes are required.

Fresh submissions retain the distinction between an explicit branch and a discovered default. Restored requests only contain the effective branch: if the original default cannot be distinguished from a later cleared branch, cleanup preserves the saved preference and warns rather than guessing. The original session and recovery request remain intact.

Preserves @RomneyDa's picker implementation and original commit ancestry, and preserves existing accepted-session retention behavior.

Evidence

  • Original contributor before/after picker screenshots.
  • Live baseline reproduced consecutive creation reusing the first accepted session's custom name and failing its ownership check. The exact reviewed production build now passes two real provider sessions on distinct clean worktree branches; the newer browser’s saved name survived accepting the older browser’s submission.
  • The earlier integrated picker/name-retirement candidate passed 229 owner and sibling unit cases, including meaningful original-failure regressions, identified-user persistence, route disposal, recovered creation, newer selections, and partial-success warnings.
  • The earlier integrated picker/name-retirement build passed four selected Chromium checks: picker editing and accepted-name reset, unsuggested refs with and without branch discovery, and cloud dispatch with the selected branch label.

Current conditional-write follow-up: 23 real store/protocol/Gateway-to-worker cases pass after original failures, and 61 draft-flow and migration cases pass, including both independent-client write orders, first-load migration, explicit branch clearing, recovery, bounded contention, identity replacement, and partial-success warnings. All 20 core test graphs, production core/UI types, typed lint, styles, export scans, formatting and selected guards passed. Fresh full staged-source review was scoped-clean at P2. The current head is 390f7c97a68c27e6b34c6b1574b562676e105107. Its only changes from the reviewed production candidate e8a0a82 are two test corrections: await visible attachment readiness before the second Enter, and assert migration conditional-write guards. Six focused Chromium cases and selected type/lint/format/guard checks pass; the test-only follow-up review is scoped-clean at P2. Exact-head CI 35415533024 passed: 161 jobs succeeded, 10 were skipped. The exact e8a0a82 local build has identical production code; two-session cross-tab live proof passes. A subsequent draft shows Name empty while preserving the main base and original repository. A third session then succeeded with an automatically generated, distinct clean worktree branch. The before/after images were visibly delivered in the originating conversation and verified fully rendered in the PR.

Published predecessor 2bb3045 completed 115 successful jobs; its real-Gateway lane was cancelled by the job’s 20-minute execution limit while cases were still progressing, so the aggregate failed. No failed test assertion was reported. The e8a0a82 real-Gateway lane subsequently passed in 11 minutes. That run completed 156 successful jobs but failed on the two now-corrected test cases, an unexplained pre-existing widget-font mismatch, and a transcript-test worker teardown timeout. The unchanged widget case passes locally; neither unexplained failure is claimed fixed. Both unchanged cases passed on the current head alongside the two repaired tests. Their earlier failure causes remain unproved; the current exact-head CI is green.

Accepted-name regression: before

The second draft inherited the first accepted session’s custom name and failed its ownership check. This synthetic baseline was inspected and delivered in the originating QA conversation.

Second session fails because it reuses the first accepted custom worktree name

Accepted-name regression: after

On the exact reviewed production build, the older browser submitted its original custom name while another browser had saved a newer name. Reloading the newer browser preserved its new choice. Both sessions then completed successfully in distinct clean worktrees. This capture shows the newer session’s synthetic response. The build is e8a0a82; current head 390f7c9 changes only the two CI tests described above.

Second session completes after preserving the newer browser’s custom worktree name

The before and after captures were inspected and visibly delivered in the originating QA conversation. The next draft was opened through the real UI and verified to have an empty Name, with its main base and original repository preserved. A third session successfully used a new automatic worktree name. Both images were verified complete at their natural 2832 × 1414 dimensions and personally inspected inline in the PR. Exact-head CI is green.

@clawsweeper

clawsweeper Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: M maintainer Maintainer-authored PR labels Sep 17, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 17, 2026
@clawsweeper

clawsweeper Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 18, 2026, 10:42 PM ET / September 19, 2026, 02:42 UTC (Revision 11).

ClawSweeper review

What this changes

Stabilizes worktree picker editing and clears accepted sessions’ custom names while preserving newer saved checkout and model choices.

Merge readiness

⛔ Blocked before merge - 2 items remain

This PR remains useful on current main. Earlier correctness findings are resolved, and the new live evidence addresses the previous behavior-proof gap. No additional code defect was found.

Priority: P2
Reviewed head: 390f7c97a68c27e6b34c6b1574b562676e105107

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A sound repair with meaningful concurrency coverage and relevant live evidence; the remaining screenshot-delivery check does not diminish patch quality.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected images and recorded live observations connect the picker and preference cleanup to two real-provider session starts, preservation of a newer browser choice, and an empty subsequent Name. The demonstrated build has identical production code to this head; GitHub screenshot-rendering confirmation remains a separate delivery gate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected images and recorded live observations connect the picker and preference cleanup to two real-provider session starts, preservation of a newer browser choice, and an empty subsequent Name. The demonstrated build has identical production code to this head; GitHub screenshot-rendering confirmation remains a separate delivery gate.
Evidence reviewed 8 items Pinned production code matches the proof build: The complete comparison against the previously reviewed production build changes only attachment-readiness and migration-guard test assertions; no production file changes.
Previous picker findings resolved: The picker uses an input-anchored popup, preserves caret focus, supports keyboard suggestion selection, and filters nested popover lifecycle events. Browser regression coverage exercises these interactions and accepted-name reset.
Atomic preference cleanup: Expected values are compared before writes inside the existing transaction, after canonical profile resolution. Conflict handling preserves newer choices without replaying session creation; schema and stored representation remain unchanged.
Findings None None.
Security None None.

How this fits together

The Control UI’s New Session picker turns repository, branch, and name selections into session requests. Its preference owner saves reusable choices through the Gateway and retires a consumed name after session acceptance.

flowchart TD
  A[Picker choices] --> B[Captured session request]
  B --> C[Gateway admission]
  C -->|Rejected| D[Keep name for retry]
  C -->|Accepted| E[Conditional preference cleanup]
  H[Concurrent browser edits] --> E
  E --> F[Profile preference transaction]
  F --> G[Next draft defaults]
Loading

Before merge

  • Resolve merge risk (P1) - The new accepted-name screenshots are readable locally, but the PR still explicitly records GitHub rendering verification as pending.
  • Complete next step (P2) - Verify that the accepted-name before/after screenshots render in the GitHub PR and record completion of the pending screenshot-delivery gate.
Agent review details

Security

None.

PR surface

Source +809, Tests +2013, Docs +13. Total +2835 across 42 files.

View PR surface stats
Area Files Added Removed Net
Source 20 1079 270 +809
Tests 21 2080 67 +2013
Docs 1 14 1 +13
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 42 3173 338 +2835

Review metrics

Metric Value Why it matters
Production versus regression coverage Production net +809 lines; tests and support net +2013 lines The stated production growth supports picker interactions and guarded preference lifecycle handling, with substantial concurrency and recovery coverage.
Preference protocol extension 1 optional request field; 1 additional result status; 0 schema changes Conditional callers gain conflict detection while existing unconditional callers retain their write contract.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep acceptance-driven name retirement in the existing preference owner, with atomic conflict handling and visible warnings that never undo accepted sessions.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep acceptance-driven name retirement in the existing preference owner, with atomic conflict handling and visible warnings that never undo accepted sessions.

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

Yes: consecutive named-worktree starts and picker keyboard editing provide concrete reproduction paths, supported by inspected baseline evidence and current-main source; this read-only review did not execute them.

Is this the best way to solve the issue?

Yes: the patch extends the existing preference transaction and submission lifecycle, preserving concurrent choices without introducing another storage owner or changing the persisted format.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 43cd359b3c3c.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. Inspected images and recorded live observations connect the picker and preference cleanup to two real-provider session starts, preservation of a newer browser choice, and an empty subsequent Name. The demonstrated build has identical production code to this head; GitHub screenshot-rendering confirmation remains a separate delivery gate.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected images and recorded live observations connect the picker and preference cleanup to two real-provider session starts, preservation of a newer browser choice, and an empty subsequent Name. The demonstrated build has identical production code to this head; GitHub screenshot-rendering confirmation remains a separate delivery gate.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 compatibility: Current PR review selected no merge-risk labels.

Label justifications:

  • P2: Repairs a bounded New Session picker and repeated-worktree workflow without evidence of a broader urgent outage.
  • 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 (screenshot): Inspected images and recorded live observations connect the picker and preference cleanup to two real-provider session starts, preservation of a newer browser choice, and an empty subsequent Name. The demonstrated build has identical production code to this head; GitHub screenshot-rendering confirmation remains a separate delivery gate.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected images and recorded live observations connect the picker and preference cleanup to two real-provider session starts, preservation of a newer browser choice, and an empty subsequent Name. The demonstrated build has identical production code to this head; GitHub screenshot-rendering confirmation remains a separate delivery gate.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected images and recorded live observations connect the picker and preference cleanup to two real-provider session starts, preservation of a newer browser choice, and an empty subsequent Name. The demonstrated build has identical production code to this head; GitHub screenshot-rendering confirmation remains a separate delivery gate.

Evidence

What I checked:

  • Pinned production code matches the proof build: The complete comparison against the previously reviewed production build changes only attachment-readiness and migration-guard test assertions; no production file changes. (390f7c97a68c)
  • Previous picker findings resolved: The picker uses an input-anchored popup, preserves caret focus, supports keyboard suggestion selection, and filters nested popover lifecycle events. Browser regression coverage exercises these interactions and accepted-name reset. (ui/src/pages/new-session/checkout-chip.ts:21, 390f7c97a68c)
  • Atomic preference cleanup: Expected values are compared before writes inside the existing transaction, after canonical profile resolution. Conflict handling preserves newer choices without replaying session creation; schema and stored representation remain unchanged. (src/state/user-preferences.worker.ts:37, 390f7c97a68c)
  • Preservation and recovery coverage: Inspected tests cover both independent-client write orders, delayed first-browser migration, replacement identities, newer model and checkout edits, rejected admission, restored placement, and bounded contention. These tests were read, not executed during this review. (ui/src/pages/new-session/draft-submission-worktree-preferences.test.ts:17, 390f7c97a68c)
  • Inspected before-and-after evidence: All four prepared images were inspected. The accepted-name baseline visibly reports a name already owned by another session; the after image shows the requested successful response. The captured PR body reports two real-provider sessions, preservation of the newer browser’s saved name after reload, and an empty subsequent Name with repository/base retained. Original picker evidence is linked at fix(ui): stabilize worktree picker inputs #150426 (comment). This assessment retains supplied sourceRevision f3b3d39d158cf6db767cb535305cbd5f994a7b394b1543c82fdedb82b45548b2. (e8a0a82d5bed)
  • Screenshot delivery gate remains explicit: The captured body and matching live body confirm delivery in the originating QA conversation but explicitly leave GitHub rendering verification pending. Successful local image inspection does not replace that repository landing gate. (AGENTS.md, 390f7c97a68c)

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.

  • Confirm the accepted-name before/after images render in the GitHub PR and replace the pending-rendering statement with that result.

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 (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-17T01:50:26.613Z sha 5986074 :: blocked before merge. :: [P2] Preserve text-input focus when opening branch suggestions | [P2] Filter nested dropdown events out of the checkout lifecycle
  • reviewed 2026-09-17T02:06:13.752Z sha e1920ff :: needs changes before merge. :: [P2] Preserve text-input focus when opening branch suggestions | [P2] Filter nested dropdown events out of the checkout lifecycle
  • reviewed 2026-09-17T06:08:54.529Z sha 1b991e7 :: blocked before merge. :: [P2] Restore keyboard selection for branch suggestions
  • reviewed 2026-09-17T06:38:42.868Z sha c774de6 :: blocked before merge. :: none
  • reviewed 2026-09-19T00:33:04.236Z sha 3dda67c :: blocked before merge. :: none
  • reviewed 2026-09-19T00:39:28.335Z sha 3dda67c :: blocked before merge. :: none
  • reviewed 2026-09-19T00:58:38.472Z sha 2bb3045 :: blocked before merge. :: none
  • reviewed 2026-09-19T02:13:32.891Z sha e8a0a82 :: blocked before merge. :: none

@clawsweeper clawsweeper Bot added 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 rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 17, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Addressed both findings on 1b991e73e3b:

  • Replaced the focus-stealing wa-dropdown with an input-anchored wa-popup; suggestion clicks preserve the input caret, and Home/End/ArrowLeft/Tab behavior is browser-tested.
  • Filtered wa-show, wa-hide, and wa-after-hide by popover ownership, including the Enter-to-confirm after-hide listener.

Validation: focused unit tests, 16/16 workspace browser E2E tests, UI typecheck, style/policy checks, line/max-lines ratchets, assertion-safety, and startup performance check all pass. Browser proof was captured as worktree-picker-input-focus.png.

@clawsweeper

clawsweeper Bot commented Sep 17, 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:

@RomneyDa

Copy link
Copy Markdown
Member Author

Worktree picker before/after

Before: nested dropdown interaction was unstable and the helper rendered the literal openclaw/<name> placeholder.

After: the suggestion surface remains anchored to the free-text input while typing/caret navigation retains focus. The browser test also verifies Tab moves to Name without dismissing the checkout picker; entering a valid name renders its exact branch preview.

Before: unstable nested suggestions and literal branch placeholder

After: input-anchored suggestions retain focus during ordinary keyboard editing

@clawsweeper clawsweeper Bot added the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Sep 17, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Addressed the remaining keyboard-selection finding on ad7cbb2e306:

  • From is now an ARIA combobox with listbox options and active-descendant state.
  • ArrowDown/ArrowUp select suggestions without moving focus from the input; Enter accepts the active suggestion without dismissing the checkout picker.
  • Home/End/ArrowLeft remain ordinary caret keys, Tab still moves to Name, and Escape retains the existing outer-picker dismissal behavior.
  • The PR body now links the rendered before/after screenshot comment.

Validation: checkout-chip unit tests 16/16, workspace-validation browser E2E 16/16, all six locator-affected browser files 42/43 in a combined run with the sole Escape regression then fixed and the affected cloud-dispatch file re-run 2/2; UI typecheck, formatting, Stylelint, line/max-lines ratchets, assertion safety, and Control UI performance all pass.

@clawsweeper

clawsweeper Bot commented Sep 17, 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:

@RomneyDa
RomneyDa force-pushed the fix/control-ui-worktree-picker branch from ad7cbb2 to 2708094 Compare September 17, 2026 06:26
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Rebased the completed keyboard-selection fix onto current main; exact head is now 2708094cac0.

Post-rebase validation passes: checkout-chip unit tests 16/16, workspace-validation browser E2E 16/16, UI typecheck, line/max-lines ratchets, git diff --check, and Control UI performance. The startup baseline conflict was resolved in favor of current main’s newer 362706-byte baseline.

@clawsweeper

clawsweeper Bot commented Sep 17, 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

@clawsweeper re-review

Integrated head is 3dda67cb25a29457edb9a52813c1206af0f0300e, preserving @RomneyDa's original branch ancestry and picker work. The accepted-name lifecycle now follows captured session custody and the existing preference owner across route disposal, recovery, and newer draft edits.

Validation: 229 owner/sibling cases, four selected maintained Chromium flows, production/UI test type graphs, scoped lint/guards, and the exact full local build passed. The PR body records the partial-success warning and cross-client persistence limitation.

The original contributor screenshots were inspected and visibly delivered in the originating QA conversation, and both rendered on GitHub. Fresh integrated two-session live proof and its before/after images remain pending; hosted CI is running. This is a review request only, not an automerge request.

@clawsweeper

clawsweeper Bot commented Sep 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:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 19, 2026
Compare expected preference values in the existing state transaction before
retiring an accepted custom worktree name or rebasing another draft edit.
Fence browser migration batches and recovered input provenance so delayed
writes cannot overwrite newer choices or restore a consumed name.

Keep accepted session creation intact on unconfirmed preference cleanup,
with a visible warning and bounded contention handling.
@openclaw-barnacle openclaw-barnacle Bot added the gateway Gateway runtime label Sep 19, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 19, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Sep 19, 2026
@steipete
steipete merged commit bcafd72 into main Sep 19, 2026
252 checks passed
@steipete
steipete deleted the fix/control-ui-worktree-picker branch September 19, 2026 02:47
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 19, 2026
* fix(ui): stabilize worktree picker inputs

* fix(ui): satisfy worktree picker CI gates

* fix(ui): avoid unchecked picker assertions

* fix(ui): close worktree picker on escape

* test(ui): locate hidden worktree base input

* fix(ui): preserve worktree branch input focus

* fix(ui): support keyboard branch selection

* test(ui): approve worktree branch combobox

* test(ui): await group preference persistence before assertions

* fix(ui): preserve concurrent new-session preferences

Compare expected preference values in the existing state transaction before
retiring an accepted custom worktree name or rebasing another draft edit.
Fence browser migration batches and recovered input provenance so delayed
writes cannot overwrite newer choices or restore a consumed name.

Keep accepted session creation intact on unconfirmed preference cleanup,
with a visible warning and bounded contention handling.

* test(ui): await attachment readiness and assert migration guards

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
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 docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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.

2 participants