Repository navigation
Conversation
|
Codex review: needs changes before merge. Reviewed October 2, 2026, 6:01 AM ET / 10:01 UTC (Revision 17). ClawSweeper reviewWhat this changesThe branch shares clipboard feedback timers across copy controls and separates the Gateway connection command and copy icon into native buttons. Merge readiness⛔ Needs changes before merge - 3 items remain Keep open: the separate native connection buttons remain useful, and the maintainer label prevents automated cleanup. Both previously reported correctness findings remain on the pinned head; related merged fixes do not supersede the accessibility change. Priority: P2 Review scores
Verification
How this fits togetherControl UI copy controls receive command, file, and rendered chat text and send it to the browser clipboard. Their feedback tells users whether copying succeeded and supports another attempt after failure. flowchart TD
A[Connection commands] --> D[Copy activation]
B[File and chat text] --> D
D --> E[Browser clipboard]
E --> F[Legacy copy fallback]
E --> G[Feedback owner]
F --> G
G --> H[Success or failure feedback]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +29, Tests +139. Total +168 across 8 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep current main's attempt-aware clipboard owners and integrate separate native connection buttons whose command, icon, and background activations share visible feedback. Do we have a high-confidence way to reproduce the issue? Yes, source establishes two pinned-branch paths: fail both clipboard transports for command activation, or settle two Markdown writes in reverse order. Neither scenario was executed in this read-only review. Is this the best way to solve the issue? No, the timer-only owner is incomplete and command activation bypasses feedback. Current main's attempt-aware owners are the better foundation for the distinct native-button repair. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f4f6e35d276b. 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 (16 earlier review cycles; latest 8 shown)
|
|
Related merged fix: #141574 fixes code-block copying when HTML comments, closing tags, or similar delimiters cause sanitization to remove the stored copy payload. It preserves the existing decoder and clipboard behavior. That merge does not implement the separate feedback-timer ownership or connection-command keyboard/accessibility changes proposed here. This PR should not be closed as superseded by #141574. |
|
Closing the obsolete Lit implementation after the Solid migration (#172376, #171558). Current copy controls already guard feedback ownership and route connection-command activation through the shared copy button; any remaining markup accessibility issue should be handled directly in the Solid component. Closed in a sweep of stale maintainer PRs (no activity for 7+ days). Reopen with a current reproduction if this still matters. |
What Problem This Solves
Control UI copy surfaces can retain an old failure state after a successful retry or let an earlier timer erase newer copied feedback. The Gateway connection command also nests its copy affordance inside another interactive target, so Enter/Space activation can be swallowed.
Why This Change Was Made
Give each clipboard element one cancellable feedback owner, share that owner across icon and Markdown copy controls, and express the connection command and copy affordance as independent native buttons. Preserve existing full-card background clicks, focus treatment, RTL layout, and HTTP clipboard fallback. This is one conservatively counted UI copy-action ownership repair; production code changes by +77/-48 lines, net +29.
User Impact
Evidence
3303099b3c5c685f90765829133f19ae7ce8114d: all 146 focused file-preview, Markdown, and login-gate tests passed.git diff --checkpassed.gpt-5.6-solhigh-reasoning autoreview through P3 found zero issues, rated the patch correct with 0.94 confidence, and passed genuine TruffleHog 3.96 secret scanning.mainpreserves all touched paths, scoped instructions, and directly inspected callers relative to the reviewed parent.