Repository navigation
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Description
Bug Report: macOS WebChat session rename/delete buttons are non-functional
Title
macOS WebChat: Session rename/delete buttons in sidebar are non-functional
Version
2026.7.1 (npm install, stable channel)
Environment
- macOS 26.5.2 (arm64)
- OpenClaw gateway running on port 18789
- Shell Node: v22.20.0
- Gateway service Node:
/opt/homebrew/opt/node/bin/node
Steps to reproduce
- Open OpenClaw macOS app.
- Open WebChat (
Lobster menu → Open Chat). - Look at the left sidebar sessions list.
- Hover over a session — rename and delete buttons appear.
- Click either button.
Expected behavior
- Rename: should allow editing the session title.
- Delete: should remove the session (likely with a confirmation).
Actual behavior
Buttons are visible in the sidebar, but clicking them does nothing. No rename field appears, no delete confirmation, and the session remains unchanged.
Additional context
- The gateway is healthy and running on port 18789.
openclaw update --dry-runresolves to 2026.7.1.openclaw update --channel beta --dry-runalso resolves to 2026.7.1, so no newer build is available to test.- Backend session operations still work via CLI (e.g.,
openclaw sessions list,openclaw sessions delete <key>), confirming this is specifically a UI/frontend bug in the macOS WebChat sidebar.
Impact
Users cannot organize or clean up sessions from the WebChat UI and must fall back to CLI/API calls.
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Jul 14, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 13, 2026, 9:40 PM ET / July 14, 2026, 01:40 UTC.
Summary
Keep open: stable v2026.7.1 exposes documented session actions, and the current UI controller uses browser-native confirmation for deletion; the report provides a precise macOS-only failure path, but focused embedded-WebView proof is still needed to distinguish dialog suppression from event wiring.
Likely related people
Reproducibility: no. live current-main reproduction is available, but the stable-release steps are concrete and the source shows dialog-dependent session actions consistent with an embedded-WebView failure.
Ways to help us reproduce this
Next step
The report describes a bounded existing-behavior regression with clear UI and controller boundaries, but the repair should first confirm which native dialog or click path fails on macOS.
Review details
Best possible solution:
Use the Control UI’s in-product dialog primitives for rename and delete instead of browser-native dialogs, preserve the existing gateway mutation APIs, and prove both actions in browser automation plus a real macOS app run.
Do we have a high-confidence way to reproduce the issue?
No live current-main reproduction is available, but the stable-release steps are concrete and the source shows dialog-dependent session actions consistent with an embedded-WebView failure.
Is this the best way to solve the issue?
Yes, replacing browser-native rename and confirmation dialogs with existing in-app modal components is the narrowest cross-platform fix; a macOS-only gateway or session-policy change would target the wrong boundary.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
prompt/confirmdialogs, lost click events, or another macOS embedding difference.Codex review notes: model internal, reasoning high; reviewed against e330e4a17d3c.
Label changes
Label changes:
P2: Session organization is broken for macOS WebChat users, but chat and backend session operations remain available.impact:session-state: The issue directly affects user operations on persisted session labels and records.impact:ux-friction: Users must leave the app and use CLI session commands because the visible in-product controls do nothing.issue-rating: 🐚 platinum hermit: Current issue advisory state selects this label.clawsweeper:needs-live-repro: Current issue advisory state selects this label.Label justifications:
P2: Session organization is broken for macOS WebChat users, but chat and backend session operations remain available.impact:session-state: The issue directly affects user operations on persisted session labels and records.impact:ux-friction: Users must leave the app and use CLI session commands because the visible in-product controls do nothing.Evidence reviewed
Acceptance criteria:
What I checked:
docs/web/control-ui.md. (docs/web/control-ui.md, e330e4a17d3c)sessions.patchfor labels andsessions.deletefollowed by a refresh; deletion is gated bywindow.confirm, making embedded-browser dialog handling a concrete suspect for the macOS-only symptom. citeturn596367view0turn103494view0. (ui/src/ui/controllers/sessions.ts, e330e4a17d3c)src/gateway/server-methods/sessions.ts)36c6d44,7b61ca1, andb8c4cf3, providing routing candidates for the affected area. citeturn482976search0. (ui/src/ui/controllers/sessions.ts)Likely related people:
36c6d44. citeturn482976search0. (role: introduced behavior; confidence: medium; commits: 36c6d44; files:ui/src/ui/controllers/sessions.ts)7b61ca1, which touched the central controller path. citeturn482976search0. (role: recent area contributor; confidence: medium; commits: 7b61ca1; files:ui/src/ui/controllers/sessions.ts)b8c4cf3, adjacent to the reported behavior. citeturn482976search0. (role: recent area contributor; confidence: medium; commits: b8c4cf3; files:ui/src/ui/controllers/sessions.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.steipete commentedon Jul 27, 2026
Fixed on main by #110019 (75697ad). I traced the exact reported Lobster menu → Open Chat path through the native WebChat manager and shared SwiftUI session sidebar: Rename now opens its edit dialog and calls sessions.patch; Delete opens a confirmation and calls sessions.delete. The native code also has explicit rename and deletion regression coverage. Independent native validation passed all 3 WebChatManagerTests and all 11 WebChatSwiftUISmokeTests. Closing as completed on current main; please reopen with the current app version and exact reproduction if the behavior persists after updating.