Repository navigation
fix(ui): quiet pending steer states - #194805
Conversation
Show a muted "Steering…" label once on the newest waiting steer, with the wait reason on hover instead of tool names. Render Send now only when the viewer can steer and the run can interrupt; a refused Send now refreshes the row instead of raising a composer notice. Pending steers hide the delivered footer until they land. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 75c974ad-e97c-460d-a403-74cd33af12f1
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Before → after, mocked Gateway with synthetic content.
The second image shows the refusal path: no composer notice, the row stays, and the footer appears only after delivery. |
|
Codex review: needs changes before merge. What this changesThis PR quiets pending-steer labels, removes misleading composer notices after refused steering, and defers footer controls until delivery. Example: Two corrections wait behind a tool that cannot be interrupted.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this is a useful maintainer-directed presentation fix with one minor documentation correction; no introduced runtime or security defect was found. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI projects Gateway pending-input records into chat bubbles and sends existing session-scoped steering actions back to the Gateway. flowchart LR
A[Gateway pending inputs] --> B[Scoped chat reconciliation]
B --> C[Pending steer lookup]
C --> D[Chat bubbles and status]
D --> E[Existing steering action]
E --> A
Technical reviewBest possible solution: Retain the focused presentation changes and describe refusal as refreshing the current pending state rather than guaranteeing a Steering label. Do we have a high-confidence way to reproduce the issue? Current-main source establishes the repeated warning and composer-error paths, and the inspected before/after browser captures demonstrate the presentation problem. Is this the best way to solve the issue? The patch uses the existing reconciliation and rendering owners, preserves server authority and delivery, and adds only the derived newest-steer marker needed to consolidate labels. Full review comments:
Overall correctness: patch is correct AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fc9749fb1e46. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +42, Tests +75, Docs +4. Total +121 across 13 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 7, 2026, 4:17 PM ET / 21:17 UTC. |
Waiting steers drain together, so show a single Send now on the newest sendable steer, or Steering… on the newest when none can interrupt. Steer rows use the footer and action-row slots of delivered messages, so pending and delivered transcripts keep identical spacing. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 5de4f548-dca9-4b68-8647-d89cdbffca48
The steer row between bubbles sat centered in the reserved action-row space, so it read as belonging to neither message. Place it right under its bubble, like the final footer, while keeping the same total spacing. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: e1b15a49-88e6-4f43-89e4-c9472cd0848d
Reuse the muted chat-message-source color for the Steering… label and use a shorter steer-row rule so total Control UI CSS stays within the base growth allowance. Allocate the steer row tests in the test-line budget. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: caf0d4c4-b2db-4d0d-b08d-698b7a73f80b
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 8c238ac4-a4a0-4559-8157-31180fe7a9d2
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0574f0a9-3676-4385-b4af-0e5f6f202a76
Update the Send-now-after-timeout browser test from main to the new Steering… row. With current main the test-line budget has room, so drop the allocation. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 1a77c1d2-34f8-436b-b49f-c8dda77f947e




Problem
Pending steers from #193665 work well, but a few edges are rough:
Waiting for exec; cannot interrupt safely.), using internal tool names.Sending a pending steer now requires session write access./The conversation changed…). It stays there after the user sends new messages, so it reads as if those failed.Solution
Presentation-only changes in the Control UI. The Gateway, steering lifecycle and Send now interruption are unchanged.
docs/web/control-ui.md,docs/concepts/queue-steering.md.Accepted edge: if a viewer loses steer access while Send now is on screen, the click is refused quietly and the message stays queued.
Screenshots
Before → after screenshots (mocked Gateway, synthetic content) are attached in comments below. The latest comment shows the four states with identical bubble positions.
Evidence
chat-message(including row assignment across steers waiting together), group, markdown, queue/steer lifecycle, pending-inputs pagination, session-controls and transcript projection suites — 104 passed.chat-flow.messaging(10 passed): one Send now on the newest sendable steer; an earlier sendable steer carries it when the newest cannot interrupt; refused Send now shows no composer notice; blocked steers show one Steering…; Send now still delivers.chat-steer-send-now.real-gateway.e2e.test.tswithOPENCLAW_STEER_NOW_PROOF=fixedpassed on this revision.pnpm tsgo:ui, oxlint on touched files, stylelint, format check,git diff --check;pnpm tsgo:test:uiandpnpm ui:i18n:verifyon the first revision.Worked on by