Skip to content

fix(ui): edit queued messages in place - #124298

Merged
Patrick-Erichsen merged 33 commits into
openclaw:mainfrom
jjjhenriksen:agent/fix-queued-message-edit-cancel
Aug 17, 2026
Merged

Patrick-Erichsen merged 33 commits into
openclaw:mainfrom
jjjhenriksen:agent/fix-queued-message-edit-cancel

Conversation

@jjjhenriksen

@jjjhenriksen jjjhenriksen commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Editing a queued message currently borrows the main chat composer. That couples two unrelated drafts: the queued edit can replace the operator's current composer content, and the edit is blocked entirely when the operator is already composing another message.

Issue: #121667

Why This Change Was Made

The queued row now becomes its own textarea while it is being edited. Its draft lives in row-local edit state, so the main composer remains untouched.

This direction was given after discussing the interaction with OpenClaw maintainers in the maintainer Discord thread.

  • Submit replaces the queued row in the same queue position and preserves its attachments.
  • Cancel or Escape discards only the row-local edit and restores the original queued message.
  • A normal composer send remains independent while a row edit is open; only the explicit inline-row submit can replace the edited row.
  • Inline-row and composer submissions use distinct in-flight guard identities, so identical text and attachments cannot cause one action to suppress the other.
  • An inline row edit carries its queued row's original replyToId through submission and does not inherit the active composer's reply target.
  • The old composer edit marker and empty-composer restriction are removed.
  • The public Control UI documentation now describes the inline row editor and independent composer behavior.

User Impact

  • Operators can edit a queued row while keeping a separate composer draft.
  • Operators can submit a separate composer message without retiring the row being edited.
  • Escape/Cancel behaves like Codex: the abandoned row draft is discarded.
  • The queue row stays visible in place, with explicit submit and cancel controls.
  • Editing a queued reply preserves its original reply association even if the composer is targeting a different message.
  • Existing remove, reorder, reconnect, and attachment ownership behavior remains covered.

Evidence

Base: acbbff19bad0a5539cd4725e6a6c8ae8e53f6694 (origin/main at validation time)

Head: ca3f1004d7389e3e0fe82c2804501562c890a6f4

Focused validation:

  • queued-message-edit.test.ts and chat-composer-queue.test.ts: 30/30 passed, including same-payload concurrent row/composer sends and queued-reply routing isolation.
  • chat-send.test.ts and chat-send-submit.test.ts: 303/303 passed.
  • chat-flow.queue-edit.e2e.test.ts: 4/4 passed in the mocked-Gateway browser harness, including a normal composer send while a row edit remains open.
  • pnpm tsgo:ui: passed.
  • oxfmt --check and git diff --check: passed.

Browser behavior proof:

  • Base: with a separate composer draft already present, editing the queued row is blocked by the old composer-busy restriction.

  • Head: the dedicated recording visibly holds the middle queued row as an inline textarea; submitting replaces that row in place, and the separate composer draft remains unchanged.

  • The recording was run at the exact PR head ca3f1004d7389e3e0fe82c2804501562c890a6f4 and passed 1/1.

  • Pre-PR / base acbbff19bad0a5539cd4725e6a6c8ae8e53f6694: old composer-busy behavior

    [email protected]
  • Post-PR / head ca3f1004d7389e3e0fe82c2804501562c890a6f4: exact-head inline row editor, submit, and preserved composer draft

    [email protected]

Browser: Playwright Chromium 1234 / Chrome for Testing 151.0.7922.34. This is mocked-Gateway UI behavior proof, not live production Gateway proof.

Limitations

The browser proof uses the repository's mocked Gateway harness and an installed Chromium executable. It does not claim validation against a live production Gateway or every browser engine. The queued-reply routing fix is covered by focused unit tests; the recording does not visually expose transcript reply metadata.

AI-assisted contribution; reviewed and behavior-tested locally.

Codex follow-up (2026-08-16)

  • Rebased onto canonical origin/main, resolved the send-path conflict while preserving inline-edit attachment handling, and pushed exact head b95aeec142.
  • Focused validation at this head: queued-edit/composer suites — 30 tests passed; queue-edit UI E2E — 4 tests passed.
  • Targeted UI lint and git diff --check passed.
  • Live isolated-Gateway proof remains unavailable locally; the existing mocked-Gateway evidence is not represented as live proof.

Codex follow-up (2026-08-16, exact head f43971b900c95a6b86dd22ebe1732f6e4b26f501)

  • Applied the current ClawSweeper P1: Steer is unavailable for the row owned by the inline editor, so it cannot send the original payload while an unsubmitted draft exists; neighboring eligible rows remain steerable.
  • Focused validation at this head: pnpm exec vitest run ui/src/pages/chat/chat-composer-queue.test.ts --pool=forks --maxWorkers=1 — 15 tests passed; targeted oxlint, oxfmt, and git diff --check passed.
  • No new live external-Gateway run is claimed here. The previous ClawSweeper finding is now older than this pushed head; awaiting re-review.

Exact-head real-Gateway attempt (2026-08-16, f43971b900c95a6b86dd22ebe1732f6e4b26f501)

  • Built the exact head with pnpm ui:build and connected the Control UI to an isolated real Gateway over WebSocket at a disposable loopback port; the UI accepted the Gateway URL change.
  • The real Gateway created a held active run and accepted proof-a/proof-b RPC sends with status:"started"; the correct isolated per-agent database contained both session_windows and transcript_events (4 events).
  • The positive UI assertion remains unproven: those RPC-created rows are Gateway history, not Control UI outbox rows, so no queue rows appeared for the browser to edit. No edited-row/neighbor Steer result is claimed. A screenshot records the connected real-Gateway state without queue rows; no video was produced.

Codex follow-up (2026-08-16, exact head ca4940b62e921a31421a44e89851de7463eba3e1)

  • Applied the actionable cancellation-race fix: after awaited history loading, inline submission re-reads the active queued edit and aborts if Cancel/Escape retired that edit while the load was in flight.
  • Focused validation at this exact head: pnpm exec vitest run ui/src/pages/chat/chat-composer-queue.test.ts ui/src/pages/chat/queued-message-edit.test.ts --pool=forks --maxWorkers=1 — 2 files, 31 tests passed. Targeted UI lint, formatting, and git diff --check passed.
  • Rebuilt the UI and connected it to an isolated real Gateway. The real Gateway health probe returned live, and the literal UI created three queue rows while a real model request was held; the Gateway build identity was 2026.8.1-ca4940b62e92-2026-08-16T16-39-02.908Z.
  • The queue-row projection disappeared before the edit controls could be opened, so I do not claim a positive live cancel/submit observation. The cancellation behavior is covered by the exact-head regression test; the remaining contributor proof gap is live UI interaction evidence.
  • Existing mocked-Gateway video remains labeled as mocked and older; it is not being used as live proof.

Codex follow-up (2026-08-16, exact head d130a05ae42)

  • Fixed the current shared-pane P1 with a compare-and-set replacement fence: an inline replacement must retire the exact source row version, so a stale second pane cannot append a duplicate after the first pane replaces it.
  • A pane also refuses to begin editing a row already owned by another subscribed pane; stale submissions are rejected before memory-only fallback can strand or duplicate the source.
  • Focused validation after this change: 3 files, 329 tests passed across chat-send.test.ts, chat-composer-queue.test.ts, and queued-message-edit.test.ts; targeted oxlint, oxfmt, and git diff --check passed.
  • The exact-head real UI/Gateway proof is being rerun now. No proof from ca4940b is being reused for this head.

Exact-head real proof refresh (d130a05ae42cf9a260c71daf0fc0a8b46fb0a8b1)

  • Rebuilt the literal UI successfully with pnpm ui:build.
  • Started an isolated real Gateway on loopback 127.0.0.1:62983; real /healthz returned {"ok":true,"status":"live"}, and the Gateway was stopped after the attempt.
  • The Playwright browser could not start/navigate in this environment, so the real queued-row edit/cancel/submit flow was not exercised and no screenshot/video success claim is made.
  • Terminal artifacts: /tmp/pr124298-exact-proof-FgJZyJ (ui-build.log, healthz-final.json, gateway.log, and browser-limitation.txt).

Codex follow-up (2026-08-16, exact head 50ecf10fe3da72c429e731cb35af51c5e3bc0839)

  • Moved the shared-edit ownership fence into the Steer action owner: a peer pane now returns before dispatch whenever another subscribed pane owns the row's inline edit.
  • Added the two-pane Steer regression; the current focused queue/send suite passes 330 tests. Targeted oxlint, oxfmt, and git diff --check pass.
  • Rebuilt the literal Control UI with pnpm ui:build and ran the built Gateway in isolated state. Exact-head /healthz returned {"ok":true,"status":"live"}; the built Control UI root returned HTTP 200.
  • Browser launch remains unavailable in this environment, so no live edit/submit/cancel screenshot or video is claimed.

Codex follow-up (2026-08-16, exact head 76088d0d693)

  • Fixed the fresh P1: command-like inline queued-row edits are fenced before /stop or local slash-command dispatch. The original queued row remains owned by the edit and the UI shows discard-and-retype guidance; the command is not executed.
  • Added exact regression coverage for /stop and /compact, asserting the source row remains queued, the edit remains active, no chat.send occurs, and the visible error explains the composer path.
  • Focused validation at this exact head: 3 files, 332 tests passed; targeted oxlint, oxfmt, and git diff --check passed.

The earlier fresh review finding was actionable and is now fixed on the pushed head. Exact-head real Control UI interaction proof (row edit, command-like rejection, cancel, submit, and preserved composer draft) remains to be rerun because the terminal/browser attempt did not complete the browser interaction lane; no mocked proof is claimed as live.

Codex follow-up: exact-head real behavior proof (2026-08-16, 76088d0d6932d7933c89027cfe8eae8c7cf46b85)

  • Rebuilt and exercised the literal current head 76088d0d693 with the bundled Control UI, a real isolated Gateway, and a headed Chromium browser.
  • The live Gateway /health and /readyz checks passed; the Control UI build reported 2026.8.1-76088d0d6932.
  • With real queued/held rows visible, an inline edit containing /stop was rejected with Queued-row edits cannot run slash commands. Cancel this edit and send the command from the composer.; the source queued row remained and no chat.send was dispatched.
  • Cancel restored the original queued row. A normal inline edit replaced the row text while preserving unrelated composer text (composer draft must survive).
  • Local exact-head artifacts: /tmp/openclaw-pr124298-artifacts/summary-clean.json, 01-stop-rejection.png, 02-cancel-restores-source.png, 03-submit-preserves-composer.png, gateway-focused.log, and gateway-live.log.
  • The browser-local queue override was used to create held rows; the isolated Appearance config patch was not claimed as persistent because that temporary config path rejected an atomic replacement. The observed edit, rejection, cancel, and replacement behavior was live in the real bundled UI/Gateway path.

Codex follow-up: peer-removal fence and inspectable proof (2026-08-16, 9ba838a18a9)

  • Fixed the fresh P1 shared-pane race: the page-level removal action now checks the same subscribed-pane queued-edit owner used by Steer. A peer cannot delete a row while another pane owns its inline draft; the row remains available for cancel or submit.
  • Added focused two-pane ownership coverage in ui/src/pages/chat/queued-message-edit.test.ts and recorded the exact-head live verification in proof/pr-124298-real-proof.md.
  • Exact-head validation at 9ba838a18a9: focused queue-edit/state suite — 2 files, 73 tests passed; targeted lint, formatting, and git diff --check passed.
  • Real bundled Control UI + isolated Gateway proof was rerun at 4879eab1d9d: slash-command rejection, cancel, submit, composer-draft preservation, and split-pane shared-row ownership were observed. Gateway health/readiness passed.
  • The final ephemeral peer-removal click was not performed because the headed browser became unavailable immediately before that action; the proof record makes that limitation explicit. The peer-removal boundary is covered by the focused two-pane test, with no browser claim beyond the captured pre-action state.
  • Local screenshots/logs remain at /tmp/openclaw-pr124298-rerun/artifacts/; the reviewable transcript is tracked in the branch.

Codex follow-up: inspectable peer-removal proof record (2026-08-16, current head 9ba838a18a9)

  • The current head adds only the reviewable proof transcript after the code fix 4879eab1d9d; no production or test files changed after the exact-head live run.
  • The code fix fences page-level removal with the shared subscribed-pane edit owner. The focused exact two-pane boundary test passed as part of the 73-test queue-edit/state run.
  • The real browser run observed slash-command rejection, cancel, submit, independent composer preservation, and both panes sharing the edited row. The final ephemeral peer-removal click was not performed when the headed browser became unavailable; this is explicitly recorded rather than claimed as browser proof.
  • Reviewable transcript: proof/pr-124298-real-proof.md. Local screenshots, Gateway health/readiness, and logs remain at /tmp/openclaw-pr124298-rerun/artifacts/.

Codex follow-up: inspectable proof at final tip (2026-08-16, f806b10c253e98f39677f0daa80b91abffd2c37e)

  • The branch tip now carries inspectable browser screenshots for the real Gateway run: command rejection, submit preserving the composer, and split-pane ownership.
  • The current literal tip passed the focused queue-edit boundary suite again: 2 files, 73 tests passed.
  • The real browser run showed the source row retained after command rejection, cancel restoration, normal replacement with an independent composer draft preserved, and the split-pane ownership state. The peer-removal click remains explicitly unclaimed because the headed browser became unavailable immediately before that action; the two-pane boundary is covered by the focused regression test.
  • The current tip is a proof-artifact-only follow-up after the production fix; no production behavior changed after 4879eab1d9de.

Codex follow-up: late P1 reorder finding fixed (2026-08-16, 5cb3e9c68d6fba41b1c12865c6d439a406182e36)

  • Fixed the shared-pane ordering race identified by ClawSweeper: peer reorder is now blocked while any subscribed pane owns an inline edit for that row, and the durable replacement compare-and-set now includes orderKey so a stale edit cannot restore an old position.
  • Added regressions for peer reorder blocking and stale-position replacement rejection.
  • Exact-head focused validation: pnpm exec vitest run ui/src/pages/chat/queued-message-edit.test.ts ui/src/pages/chat/chat-queue-reorder.test.ts ui/src/pages/chat/chat-state.test.ts --pool=forks --maxWorkers=1 — 3 files, 83 tests passed; oxfmt --check, targeted oxlint, and git diff --check passed.
  • The tracked screenshots/transcript remain the real Gateway/browser evidence for the surrounding edit/cancel/submit flow; peer reorder is now covered by the exact-head regression.

Current pushed tip after the reorder fence: 5cb3e9c68d6fba41b1c12865c6d439a406182e36; please evaluate the late P1 fix and the exact-head 83-test rerun above.

Codex follow-up (2026-08-16, exact head 6065583039ae0c3121c4da52f685d84cf354cad5)

  • The chat-state action now propagates a rejected cross-pane reorder into the visible reorder-conflict error state. The rejected-write regression submits through resumeQueuedMessageEditId, covering the durable replacement failure boundary.
  • Focused validation at this literal head: 3 files, 84 tests passed; oxfmt, oxlint, and git diff --check passed.
  • Exact-head browser run: Playwright Chromium exercised the bundled Control UI at this checkout; 1 E2E file and 4 tests passed in 12.78s. The assertions covered inline replacement, cancel restoration, composer-draft preservation, and reconnect/reorder outcomes. No UI state was mocked; the test uses its deterministic Gateway transport fixture.
  • The browser run generated local screenshots/video under the ignored .artifacts/pr124298-final3.PPJTvE directory only; no PR-specific media is committed.

Codex follow-up: exact-head real behavior proof (2026-08-16, 6065583039ae0c3121c4da52f685d84cf354cad5)

  • Rebuilt and ran the literal current head 6065583039ae0c3121c4da52f685d84cf354cad5. The live Gateway identified its bundled UI build as 2026.8.1-6065583039ae and GET /health returned {ok:true,status:live}.
  • A local OpenAI-compatible model endpoint held a real Gateway run open, so the browser created genuine Waiting for current run queue rows through the live WebSocket path.
  • Chromium against that live Gateway kept an independent composer draft, edited the second queued row, and submitted it in place: [queue row alpha, queue row beta] became [queue row alpha, queue row beta edited], while the composer remained composer draft must survive.
  • A second exact-head run edited a real queued row, entered abandoned live edit, pressed Escape, and observed the original queue text restored with zero editing rows.
  • Gateway logs recorded the exact build, chat startup, live model transport, and WebSocket connections. Screenshots and raw logs remain local at /tmp/openclaw-pr124298-real-606/; no generated proof artifacts are committed.

Codex follow-up: inspectable exact-head real behavior proof (2026-08-16, exact head 1dcaa7fc02c)

  • Added the reviewable transcript proof/pr-124298-real-gateway-queue.md after the exact-head real run.
  • Rebuilt and ran the literal tip b68739a2b7421d30e482c522ae90e1538d98a750 with the bundled Control UI, a real isolated Gateway, a real WebSocket connection, and a local OpenAI-compatible streaming endpoint holding the active run open.
  • Live /health returned {"ok":true,"status":"live"}; the Control UI identified build 2026.8.1-b68739a2b742.
  • The browser created real queued rows, submitted an inline edit (queue row beta -> queue row beta edited) while preserving composer draft must survive, then pressed Escape during a second edit and restored the original row with zero editing rows.
  • The tracked transcript contains the exact-head terminal record; raw Gateway state is retained at /tmp/openclaw-pr124298-real-b687/ and the browser screenshot is retained in the worktree .playwright-cli/ directory. No mocked behavior is claimed as live proof.

Codex follow-up: exact-head real behavior proof (2026-08-16, exact head f42ce469bbd06db17d85cea95716bc0be0281229)

  • The current pushed head fences Retry while another subscribed pane owns a failed queued row edit: the row-level Retry control is hidden during the owner edit, and the action owner rejects a peer retry before reset/drain. The existing tracked proof transcript was removed as requested by the prior P3; this PR-body section is the current reviewable evidence.
  • Rebuilt the literal f42ce469bbd06db17d85cea95716bc0be0281229 checkout with pnpm ui:build; focused queue/send validation at that exact head passed: 3 files, 354 tests.
  • Started the built Control UI against an isolated real Gateway from this checkout. Live GET /health returned {"ok":true,"status":"live"}.
  • A real WebSocket browser session plus local OpenAI-compatible streaming endpoint held the active run open, producing genuine waiting queue rows. The live UI edited the second row in place (queue row beta -> queue row beta edited) while preserving composer draft must survive; a second live edit was cancelled with Escape and restored the original row, leaving zero editing rows.
  • Redacted local artifacts from this exact-head run: .playwright-cli/page-2026-08-16T21-45-55-722Z.png, .playwright-cli/page-2026-08-16T21-46-32-963Z.png, and the isolated Gateway state/log directory /tmp/openclaw-pr124298-real-f42-state. The local model endpoint is test harness infrastructure only; no mocked Gateway behavior is claimed as live proof.

Codex follow-up: exact-head natural-stop proof (2026-08-16, head baf30a2a85c8a7cd402a0ec23992ecdaaee24aff)

  • Fixed the fresh P1 by fencing isChatStopCommand aliases (including plain stop, esc, abort, wait, and exit) in the same inline-edit guard as parsed slash commands. The guard runs before any abort request.
  • Focused exact-head validation passed: 3 files, 355 tests; targeted oxfmt, oxlint, and git diff --check passed.
  • Live exact-head proof: git rev-parse HEAD returned baf30a2a85c8a7cd402a0ec23992ecdaaee24aff; live GET /health returned {"ok":true,"status":"live"}; the bundled UI footer identified @baf30a2.
  • With a real Gateway/WebSocket session and a local streaming endpoint holding an active run, the browser created a genuine queued row. Editing it to plain stop and submitting left the row queued, kept the inline editor open, showed Queued-row edits cannot run commands or stop aliases..., and dispatched no abort request. Screenshot retained at .playwright-cli/pr124298-baf-stop-rejected.png; the local model endpoint is test harness infrastructure only.

Codex follow-up: exact-head peer-conflict and live refresh (2026-08-16, head 630b27587af72199b07250322e1268db1ed4f0e0)

  • Fixed the fresh P1: shared-edit Steer now calls setChatError with a dedicated steering conflict instead of silently returning. The two-pane regression now asserts the peer-visible conflict while retaining the source row and sending no request.
  • Focused exact-head validation at the prior production-equivalent tree passed: 3 files, 355 tests; targeted formatting, lint, and diff checks passed. The new conflict-only commit changes only this guard, constant, and assertion.
  • Rebuilt the literal current checkout and exercised the real Gateway/WebSocket UI again. git rev-parse HEAD returned 630b27587af72199b07250322e1268db1ed4f0e0; live GET /health returned {"ok":true,"status":"live"}; the UI footer identified @630b275.
  • The live browser retained the queued source row and inline editor after submitting natural stop, showed Queued-row edits cannot run commands or stop aliases..., and dispatched no abort request. Screenshot retained at .playwright-cli/pr124298-630-stop-conflict.png. The local streaming model is test harness infrastructure only.

Codex follow-up: exact-head draft revision fence (2026-08-16, head 3437f2d1915dc4e5494ad4e0cf31b1205fbb415b)

  • Added an immutable row-edit revision that increments on every draft update. After awaited history loading, inline submission now rejects if the edit revision changed, preserving the newer draft instead of replacing the row with the stale captured text.
  • Exact current-head validation: 3 files, 356 tests passed; targeted formatting, lint, and git diff --check passed. The new regression changes the prior exact production-equivalent behavior only by exercising a draft mutation during the await.
  • The live exact-head UI/Gateway proof already recorded for the immediately preceding production-equivalent head covers the same queued-row/active-run surface; this revision fence is specifically validated by the new deterministic mid-history-load test because the race is an await-boundary condition.

Codex follow-up: real behavior proof in PR body (source fix head 27dfe3138bd, cleanup head 0e864650d86)

The real behavior run was executed from the production source fix head 27dfe3138bd5119e9b429f48dbafc5d6d4cb7cf7. The later 0e864650d86 commit only removes temporary local proof artifacts; it does not change production or test code.

Runtime transcript

$ git rev-parse HEAD
27dfe3138bd5119e9b429f48dbafc5d6d4cb7cf7

$ pnpm ui:build
✓ built in 2.85s
verified 816 finalized Control UI sidecars

$ curl -fsS http://127.0.0.1:19892/health
{"ok":true,"status":"live"}

The bundled Control UI was opened at http://127.0.0.1:19892/chat/main; its footer identified codex/pr-12429…@27dfe31. A real Gateway WebSocket held an active run open through a local OpenAI-compatible streaming endpoint, and the browser produced genuine waiting queue rows through that live Gateway path.

Observed UI behavior

  • Inline stop fence: I edited a genuine queued row to plain stop and pressed Send. The row stayed queued, the editor stayed open, no replacement or abort was dispatched, and the UI showed: Queued-row edits cannot run commands or stop aliases. Cancel this edit and send the command from the composer.
  • Peer edit conflict: in split panes, pane one owned the row edit; pressing Edit for the same row in pane two produced a visible conflict alert: A queued message is being edited in another pane. Finish or cancel that edit before removing it. The peer action did not silently no-op.
  • Annotation ordering: the exact-head regression in ui/src/pages/chat/queued-message-edit.test.ts attaches browser annotation context to an inline /stop edit and verifies the raw command is fenced before annotation composition.

Exact-head validation for the source fix: 4 focused files, 411 tests passed; targeted oxfmt, oxlint, and git diff --check passed. No mocked Gateway behavior is claimed as live proof.

Codex follow-up: literal current-head real proof (0e864650d86)

Reran the real behavior lane from the literal pushed head 0e864650d862ba86fb3a10c8a677802cc6719fab. No proof files are committed.

$ git rev-parse HEAD
0e864650d862ba86fb3a10c8a677802cc6719fab

$ pnpm ui:build
✓ built in 2.54s
verified 816 finalized Control UI sidecars

$ curl -fsS http://127.0.0.1:19892/health
{"ok":true,"status":"live"}

The bundled Control UI footer identified codex/pr-12429…@0e86465. A real Gateway WebSocket plus a local OpenAI-compatible streaming endpoint held a live run open and produced a genuine waiting queue row.

  • Inline stop fence: editing that row to plain stop and pressing Send left the row queued and the editor open, dispatched no replacement or abort, and displayed: Queued-row edits cannot run commands or stop aliases. Cancel this edit and send the command from the composer.
  • Peer edit conflict: with the same live session open in split panes, pane one owned the edit; pane two pressing Edit displayed: A queued message is being edited in another pane. Finish or cancel that edit before removing it. The peer did not silently no-op.
  • The annotation-specific regression remains in ui/src/pages/chat/queued-message-edit.test.ts and verifies raw /stop classification before annotation composition.

Literal current-head validation: 4 focused files, 411 tests passed; targeted oxfmt, oxlint, and git diff --check passed. No mocked Gateway behavior is claimed as live proof.## Codex follow-up: rebased exact-head real behavior proof (2026-08-16, ddba14d89fd6de50cac295b4ff9b6344df3c66b0)

The branch was rebased onto current origin/main (22ab8e3c2cc) to clear GitHub's merge conflict. No proof files are committed; this is the reviewable proof transcript in the PR body.

$ git rev-parse HEAD
ddba14d89fd6de50cac295b4ff9b6344df3c66b0

$ pnpm ui:build
✓ built in 2.38s
verified 818 finalized Control UI sidecars

$ curl -fsS http://127.0.0.1:19892/health
{"ok":true,"status":"live"}

$ curl -fsS http://127.0.0.1:19892/readyz
{"ready":true,"failing":[]}

The exact-head Gateway logged OpenClaw 2026.8.1, agent model: proof/queued-proof, http server listening, and ready. The Control UI footer identified codex/pr-12429…@ddba14d.

A real Gateway WebSocket connected the literal built UI to a local OpenAI-compatible streaming endpoint that held the active run open. The browser then created a genuine Waiting for current run queue row named queued row rebased current; this was not a mocked Gateway or a test-only queue fixture.

  • Inline stop fence: editing that live queued row to plain stop and pressing Send message left the row queued and the editor open with stop; no replacement or abort was dispatched. The visible alert was: Queued-row edits cannot run commands or stop aliases. Cancel this edit and send the command from the composer.
  • Peer edit conflict: with the same live session open in split panes, pane one owned the edit; pressing Edit queued message in pane two displayed: A queued message is being edited in another pane. Finish or cancel that edit before removing it. The peer action did not silently no-op.
  • Current-head identity: both panes showed the same live session, the exact-head footer, and the retained queued row while the active run remained held.

Rebased exact-head validation: 4 focused files, 404 tests passed; oxfmt --check, targeted oxlint, and git diff --check passed. No mocked Gateway behavior is claimed as live proof.## Codex follow-up: stale-token fix and exact-head proof (2026-08-16, 29cf6835ae387767d7bd773ca30a547a99655461)

  • Fixed the route-return lifecycle gap in activeQueuedMessageEdit: when the pane returns and the edited source row was delivered or removed elsewhere, the stale token is cleared before render, so the next queued row can be edited normally.
  • Added the route-away → peer removal → return → new edit regression in ui/src/pages/chat/queued-message-edit.test.ts.

Exact-head validation:

$ git rev-parse HEAD
29cf6835ae387767d7bd773ca30a547a99655461

$ pnpm ui:build
✓ built in 2.42s
verified 818 finalized Control UI sidecars

$ curl -fsS http://127.0.0.1:19892/health
{"ok":true,"status":"live"}

The live Control UI footer identified codex/pr-12429…@29cf683. A real Gateway WebSocket plus the local OpenAI-compatible streaming endpoint held the run open and produced a genuine Waiting for current run row named queued row final head.

  • Editing that live row to plain stop and pressing Send message kept the queued row and inline editor in place, dispatched no replacement or abort, and displayed: Queued-row edits cannot run commands or stop aliases. Cancel this edit and send the command from the composer.
  • The literal current-head source/test run passed 405 tests across the focused chat suites; oxfmt --check, targeted oxlint, and git diff --check passed.
  • The route-away/removal lifecycle repair is covered by the exact regression; no mocked Gateway behavior is claimed as live proof.

No proof files are committed; this is body-only proof and validation evidence.## Codex follow-up: final version-fence fix and exact-head proof (2026-08-16, fb65100cb904e7546d4f95c0b770f10f0cfab724)

  • Tightened stale-edit recovery to compare the captured source version tuple (sendRunId, sendAttempts, sendState, agent/session scope, and orderKey), not only row existence. A failed or otherwise changed row is no longer revived after route return.
  • Added the route-away → failed delivery state → return → fresh edit regression.

Final-head real behavior transcript:

$ git rev-parse HEAD
fb65100cb904e7546d4f95c0b770f10f0cfab724

$ pnpm ui:build
✓ built in 2.43s
verified 818 finalized Control UI sidecars

$ curl -fsS http://127.0.0.1:19892/health
{"ok":true,"status":"live"}

The live Control UI footer identified codex/pr-12429…@fb65100. A real Gateway WebSocket plus the local OpenAI-compatible streaming endpoint held the run open and produced a genuine Waiting for current run row named queued row final literal head.

  • Editing that live row to plain stop and pressing Send message left the row queued and the inline editor open with stop; no replacement or abort was dispatched. The visible alert was: Queued-row edits cannot run commands or stop aliases. Cancel this edit and send the command from the composer.
  • Final-head focused validation passed 406 tests across the chat state, queued-edit, send, and composer suites; oxfmt --check, targeted oxlint, and git diff --check passed.
  • No mocked Gateway behavior is claimed as live proof. No proof files are committed; this is body-only evidence.

Exact-head live proof — d67e453dc1f73f1d7929fbfce32f1ac86bcbc4f4

  • git rev-parse HEAD: d67e453dc1f73f1d7929fbfce32f1ac86bcbc4f4.
  • pnpm ui:build: passed in 2.60s; verified 818 finalized Control UI sidecars.
  • Started the Gateway from this PR worktree with the isolated proof config and a real local OpenAI-compatible streaming endpoint; curl -fsS http://127.0.0.1:19892/health returned {"ok":true,"status":"live"}.
  • Browser footer showed codex/pr-12429…@d67e453*; the live session used model queued-proof and held an active run open over the real Gateway WebSocket.
  • In session real d67 queued edit proof, created a genuine queued wait d67 row; the UI displayed Waiting for current run.
  • Clicked Edit queued message, changed the draft to /stop, and clicked Send message.
  • The exact visible alert was: Queued-row edits cannot run commands or stop aliases. Cancel this edit and send the command from the composer. The queued row and inline editor remained visible, proving the rejected edit neither aborted/sent nor disappeared and that the new post-submit invalidation rendered immediately.
  • Focused validation at this head: 407 tests passed across chat-state, queued-message-edit, chat-send, and chat-composer; formatting, targeted lint, and git diff --check passed.
  • No proof artifacts were committed; this section records the body-only transcript from the literal head above.

@clawsweeper

clawsweeper Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@clawsweeper clawsweeper Bot added 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. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 15, 2026
@clawsweeper

clawsweeper Bot commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 17, 2026, 12:50 PM ET / 16:50 UTC.

ClawSweeper review

What this changes

This PR replaces composer-based queued-message editing with an inline row editor that preserves the separate composer draft and coordinates replacement, delivery, and cross-pane actions.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open for maintainer product review and current-main reconciliation. The current head addresses the prior peer-reorder blocker with a tested conflict result; no new line-level correctness defect was found.

Priority: P2
Reviewed head: 4f971d9682202d4e5338d31309da182e197e012a
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch has strong focused behavior coverage and prior real UI evidence, with current-main reconciliation remaining the material merge-risk reducer.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (recording): The PR body provides before/after browser recordings and documents an isolated real Gateway and Chromium run for the queue edit, command rejection, cancel, and replacement flow; focused browser E2E coverage supplements it.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (recording): The PR body provides before/after browser recordings and documents an isolated real Gateway and Chromium run for the queue edit, command rejection, cancel, and replacement flow; focused browser E2E coverage supplements it.
Evidence reviewed 5 items Row-local ownership and stale-source fencing: The active edit is scope-validated against its original queue row; submission retires that source only through the durable replacement write.
Delivery owner honors the edit barrier: The outbox drain stops at an edited row, preventing delivery of the pre-edit payload while the operator rewrites it.
Prior reorder finding is covered at the current head: The move owner detects a requested cross-pane move across a peer-edited row and returns the visible reorder-conflict result; the regression test exercises that case.
Findings None None.
Security None None.

How this fits together

Control UI keeps queued follow-up messages in a browser outbox before Gateway delivery. This change makes a queued row hold its own editable draft while preserving queue position, attachments, reply context, and delivery ordering.

flowchart LR
  Operator[Control UI operator] --> Queue[Queued message row]
  Queue --> Edit[Row-local edit draft]
  Edit --> Guard{Source still current?}
  Guard -->|Yes| Replace[Durable row replacement]
  Guard -->|No| Keep[Keep original row and draft]
  Replace --> Outbox[Queued outbox]
  Outbox --> Gateway[Gateway delivery]
Loading

Decision needed

Question Recommendation
Should Control UI adopt row-local queued-message editing, allowing an independent composer draft, instead of retaining the earlier composer-owned edit workflow? Adopt row-local editing: Reconcile the branch to current main, retain the durable edit fences, and land after exact-head validation.

Why: The PR changes the established editing interaction and adds cross-pane delivery coordination; source shows a coherent implementation, but the intended permanent operator workflow requires maintainer ownership.

Before merge

  • Resolve merge risk (P1) - The branch is behind current main, and the review checkout could not retrieve current-main blobs; rebase or merge-result validation is still needed before landing.
  • Resolve merge risk (P1) - The implementation adds a net +241 production lines to a message-delivery surface for row-local and cross-pane fencing; maintainers should explicitly accept that interaction model over the existing composer-owned edit flow.
  • Complete next step (P2) - Active maintainer ownership and a product-level interaction choice remain; ClawSweeper should not open a competing repair branch.
Agent review details

Security

None.

PR surface

Source +241, Tests +320, Docs 0. Total +561 across 20 files.

View PR surface stats
Area Files Added Removed Net
Source 16 393 152 +241
Tests 3 401 81 +320
Docs 1 1 1 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 20 795 234 +561

Review metrics

Metric Value Why it matters
Production versus test delta production +393/-152 (net +241); tests +401/-81; docs +1/-1 Most production growth implements durable replacement and cross-pane delivery fences, so the interaction-model decision matters before merge.

Merge-risk options

Maintainer options:

  1. Reconcile and prove the current merge result (recommended)
    Rebase or validate GitHub's merge result against current main, then rerun the focused queue tests and real Control UI flow on that exact head.
  2. Pause if the interaction model is not wanted
    Do not merge the expanded cross-pane queue behavior if maintainers prefer the existing composer-based edit workflow.

Technical review

Best possible solution:

Keep one row-local draft token with durable compare-and-set replacement, reconcile it to current main, and ship it only if maintainers confirm that independent composer and row editing is the intended Control UI workflow.

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

A source-backed baseline exists: the earlier queued-edit feature moved the row into the composer, and the PR E2E covers a separate composer draft plus the inline replacement path. A current-main run could not be established because required promisor blobs were unavailable in this checkout.

Is this the best way to solve the issue?

Unclear: row-local ownership is the cleanest implementation boundary for independent drafts, but whether to replace the established composer-edit workflow is a maintainer product decision.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • 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 (recording): The PR body provides before/after browser recordings and documents an isolated real Gateway and Chromium run for the queue edit, command rejection, cancel, and replacement flow; focused browser E2E coverage supplements it.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This changes a bounded but user-facing Control UI queue workflow.
  • merge-risk: 🚨 message-delivery: Queued rows are replaced, reordered, and blocked before Gateway delivery, so a regression could duplicate, drop, or send stale text.
  • 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 (recording): The PR body provides before/after browser recordings and documents an isolated real Gateway and Chromium run for the queue edit, command rejection, cancel, and replacement flow; focused browser E2E coverage supplements it.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides before/after browser recordings and documents an isolated real Gateway and Chromium run for the queue edit, command rejection, cancel, and replacement flow; focused browser E2E coverage supplements it.
  • proof: 🎥 video: Contributor real behavior proof includes video or recording evidence. The PR body provides before/after browser recordings and documents an isolated real Gateway and Chromium run for the queue edit, command rejection, cancel, and replacement flow; focused browser E2E coverage supplements it.

Evidence

What I checked:

  • Row-local ownership and stale-source fencing: The active edit is scope-validated against its original queue row; submission retires that source only through the durable replacement write. (ui/src/pages/chat/queued-message-edit.ts:70, 4f971d968220)
  • Delivery owner honors the edit barrier: The outbox drain stops at an edited row, preventing delivery of the pre-edit payload while the operator rewrites it. (ui/src/pages/chat/chat-outbox-drain.ts:345, 4f971d968220)
  • Prior reorder finding is covered at the current head: The move owner detects a requested cross-pane move across a peer-edited row and returns the visible reorder-conflict result; the regression test exercises that case. (ui/src/pages/chat/chat-send-actions.ts:187, 4f971d968220)
  • Feature-history provenance: Merged commit 9327c10 introduced the earlier composer-based queued-edit flow; this PR changes that interaction to a row-local draft rather than duplicating an unrelated queue surface. (ui/src/pages/chat/queued-message-edit.ts:1, 9327c10d2bdc)
  • Current-main inspection gap: The checkout has current-main commit metadata but its promised blobs are unavailable locally; Git attempted a promisor fetch and network DNS failed, so the exact three-way integration was not independently inspected. (b83447756582)

Likely related people:

  • vyctorbrzezowski: Authored the merged queued-message editing feature that established the composer-based interaction this PR refines. (role: feature owner; confidence: high; commits: 9327c10d2bdc; files: ui/src/pages/chat/queued-message-edit.ts, ui/src/pages/chat/chat-send-submit.ts)
  • Patrick-Erichsen: Is assigned to this PR and authored the current-head reconciliation and peer-reorder conflict changes. (role: recent area contributor; confidence: high; commits: df1473a452f3, 4f971d968220; files: ui/src/pages/chat/chat-send-actions.ts, ui/src/pages/chat/queued-message-edit.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Validate the exact merge result against current main and let its required CI complete.

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 (41 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-16T22:31:31.928Z sha 630b27587af72199b07250322e1268db1ed4f0e0 :: needs real behavior proof before merge. :: [P1] Fence draft changes while history loading
  • reviewed 2026-08-16T22:42:55.169Z sha 3437f2d1915dc4e5494ad4e0cf31b1205fbb415b :: needs real behavior proof before merge. :: [P1] Fence inline commands before annotation composition | [P2] Surface peer edit conflicts
  • reviewed 2026-08-16T23:04:49.243Z sha 0e864650d862ba86fb3a10c8a677802cc6719fab :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-16T23:45:55.742Z sha ddba14d :: found issues before merge. :: [P2] Clear stale row edits after the source is removed
  • reviewed 2026-08-16T23:59:12.564Z sha 29cf683 :: needs changes before merge. :: [P2] Invalidate edits whose source changed while the pane was away
  • reviewed 2026-08-17T00:14:40.193Z sha fb65100 :: needs changes before merge. :: [P1] Render rejected inline submissions
  • reviewed 2026-08-17T00:32:03.802Z sha d67e453 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-17T05:59:10.359Z sha 9be931e :: needs changes before merge. :: [P2] Report moves blocked by a peer-owned edit

@jjjhenriksen
jjjhenriksen marked this pull request as ready for review August 15, 2026 22:20
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed 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. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Aug 16, 2026
@jjjhenriksen
jjjhenriksen force-pushed the agent/fix-queued-message-edit-cancel branch from 597e820 to bbfe110 Compare August 16, 2026 04:08
@jjjhenriksen jjjhenriksen changed the title fix(ui): restore cancelled queued message drafts fix(ui): edit queued messages in place Aug 16, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 16, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: L docs Improvements or additions to documentation and removed size: M labels Aug 16, 2026
@clawsweeper clawsweeper Bot added the proof: 🎥 video Contributor real behavior proof includes video or recording evidence. label Aug 16, 2026
@jjjhenriksen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review: the rebased literal head ddba14d is conflict-free. The PR body now contains a body-only exact-head transcript of the real Gateway/UI run, inline stop fence, split-pane peer conflict, build, health/ready probes, and 404-test rerun.

@clawsweeper

clawsweeper Bot commented Aug 16, 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:

@jjjhenriksen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review: actionable P2 fixed and pushed at exact head 29cf683. The PR body now has the fresh exact-head real Gateway/UI transcript plus 405-test rerun and route-away/removal regression.

@clawsweeper

clawsweeper Bot commented Aug 16, 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:

@jjjhenriksen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review: final version-aware stale-edit fix is pushed at exact head fb65100. The PR body now includes the final exact-head real Gateway/UI transcript and 406-test validation; no proof files were committed.

@clawsweeper

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

@jjjhenriksen

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review: P1 visible-error invalidation is fixed and pushed to the PR actual head branch at exact head d67e453. The PR body now contains the rebuilt exact-head live Gateway/UI transcript: footer @d67e453, live queue row, inline /stop rejection alert, and 407 focused tests; no proof files were committed.

@clawsweeper

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

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

@clawsweeper review

@clawsweeper

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

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

@clawsweeper review

@clawsweeper

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

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

@clawsweeper review

@clawsweeper

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

@Patrick-Erichsen Patrick-Erichsen 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.

Approved at exact head 4f971d9682202d4e5338d31309da182e197e012a.

The peer-crossing reorder blocker found during review is fixed: crossings over another pane's active edit now produce a visible conflict, while peer-visible and owner-pane indices are translated into the legal movable segment. The row-local editor is the operator-selected interaction for this batch. #124915 overlaps composer ownership but does not implement or supersede this queued-row editing behavior.

Proof is clean: 25 focused tests plus the full changed gate passed in Crabbox; exact-head CI completed successfully; fresh autoreview found no actionable issue at 0.99 confidence; independent final verification passed tree 771f4a99283d70b816bbf6bddd6347fc69165016; ClawSweeper reported no actionable finding; and zero review threads remain unresolved. Repository-native prepare-run also passed and verified the remote tree.

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor

Merged via squash.

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 merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 🎥 video Contributor real behavior proof includes video or recording evidence. 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