Repository navigation
fix(ui): restore Steer for Gateway-queued inputs - #160593
roboclaw-bot wants to merge 1 commit into
Conversation
|
🦞👀 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. |
|
Codex review: blocked before merge. Reviewed September 30, 2026, 11:46 PM ET / October 1, 2026, 03:46 UTC (Revision 4). ClawSweeper reviewWhat this changesThe Control UI adds Steer to Gateway-queued messages, preserves their original identity and the user's draft, and reconciles outcomes through authoritative chat history. Merge readiness⛔ Blocked before merge - 2 items remain This remains useful: current main still excludes Gateway-queued inputs from Steer. The prior disconnected-state finding is resolved by the shared composer gate, and no new actionable defect was found in the introduced UI changes. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI displays queued inputs supplied by Gateway chat history alongside the browser's local outbox. Steer asks the Gateway to promote an existing queued input into the active turn, while subsequent history determines whether its queue row remains. flowchart TD
A[Gateway queued inputs] --> B[Composer queue]
C[Connection and send readiness] --> B
B --> D[Steer original input]
D --> E[Gateway queue owner]
E --> F[Authoritative chat history]
F --> B
E --> G[Accepted input or visible refusal]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +149, Tests +793, Docs +2. Total +944 across 17 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep promotion with the Gateway queue owner and use authoritative receipts to preserve input identity, attachments, draft state, and truthful refusal outcomes. Do we have a high-confidence way to reproduce the issue? Yes, source provides a high-confidence path: display a Gateway-queued input during an active run, and current main excludes it from Steer eligibility. Supplied browser captures demonstrate the visible difference; this review did not execute target code. Is this the best way to solve the issue? Yes, routing the original queued identity through the Gateway owner is the maintainable approach, and the UI preserves existing history and composer ownership. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 55fe1b488910. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles) |
f3947e2 to
efef44c
Compare
1b9059c to
8f34d27
Compare
Rebased UI — October 1Current main Before After The click check sent one |
efef44c to
3b8a4bb
Compare
Keep local outbox steering with its send owner. Use identity-only control for Gateway-held input, reconcile authoritative custody, and preserve the composer draft. Co-authored-by: vyctorbrzezowski <[email protected]>
8f34d27 to
ffc9487
Compare


What Problem This Solves
Fixes: Steer disappears when an unsent message moves into Gateway custody, even while compatible work is still active.
User Impact
The queued-message chip keeps its Steer action after Gateway admission, with a busy state and a visible refusal when steering is unavailable. The composer draft is preserved. Local unsent messages retain their existing send/reorder behavior; Gateway-held inputs are never resent from preview text.
Stack: depends on backend #160275. No merge or deployment is authorized by this task. Both PRs remain drafts.
Why This Change Was Made
Local outbox and Gateway-held input have different custody contracts. Local Steer stays with the send-action owner. Server-held Steer sends only the original session/run identity to
chat.steer, then reconciles through the existing authoritative pending-input reader. Empty-composer keyboard steering follows the displayed eligible queue order and retains IME guards.Evidence
Refreshed UI head:
ffc9487b23ee568ea3c48c61256864c8db4e2111, stacked on backend3b8a4bb07de632056cb7bf1e1340264c59698e83.chat.sendfallback, duplicate/busy suppression, refusal reconciliation, retired input and draft preservation.63c25f72daff6906c011027195a3187c8d8b7f06: P0–P2, two native passes, no actionable findings. The only subsequent change removedawaitfrom synchronous backend test cleanup; affected lint and standalone tests passed afterward.Inspected before/after
Synthetic data; crops exclude unrelated UI and model-picker details. These inspected screenshots were also delivered to the originating chat. Current proof and scenario details.
Before: Gateway-held queued message without Steer.
After: the same queued message retains its Steer action.
Limits: the browser scenario uses a mock Gateway; there was no live-provider or installed-upgrade rehearsal. Native generated contracts were checked, not native application builds. Current-head CI remains separate; older results are not current-head evidence.
Reported by @vyctorbrzezowski.
Worked on by
Work sessions
View the OpenClaw team session