Repository navigation
Labels
Description
Problem & intent
Hold 3 records “Timed out waiting for the application to read the clipboard” in all 18 chrome/composing@textedit rows across the two cua runs. This is model-facing finding 2, also seen in hold 2b. Route 3 repaired other actions but not this path.
Seams: native/engine/Sources/Engine/Paste.swift, native/engine/Sources/Engine/Pasteboard.swift.
Constraints
- Preserve the Independence 4: cua's own native accessibility engine (replace sky) measured against a native baseline #117 contract in
docs/doperpowers/specs/2026-10-18-own-native-engine-design.md; no silent relaxation of safety, validity, or acceptance gates. - Live macOS proof needs an authorized mini hold under the load rule. Use harness-owned fixtures; never inspect or record owner app contents, secrets, or the signing identity.
- Follow-up spawned by Independence 4: cua's own native accessibility engine (replace sky) measured against a native baseline #117, not a decomposition child (parent N/A). Blocked-by N/A: no prerequisite ticket is required to begin this work.
Success criteria
- Reproduce the condition with the run-owned page and intact source/focus readings.
- Determine delivery versus focus/preparation versus acknowledgment failure; add a regression at that boundary rather than inflate the timeout.
- All affected rows deliver exact text and complete clipboard consumption without moving user focus/frontmost/top window.
- Preserve clipboard restoration, concealed-input and deadline safety.
Open questions
Absent clipboard read or missed acknowledgment? Do not equate this without evidence to #144, whose browser-service timer/wall-clock skew is different.
Decision log
- 2026-10-22: Deferred M2b residue after PR #117 M2b: the native matrix, oracles and the native-mac suite; route 3 for key equivalents and element actions #180 landed as squash b1174fa on main. Kept separate from browser-service Clipboard paste can run after its caller was told timeout (Deadline.race timer vs Date.now) #144; native engine clipboard-read failure is not that existing scope.
- Backlog only, not dispatch or permission to start a live hold.
Sources
docs/doperpowers/specs/2026-10-18-own-native-engine-m2b-report.md— Finding 2docs/doperpowers/specs/2026-10-18-own-native-engine-design.md— Surprises Chrome background pastedocs/doperpowers/research/2026-10-18-own-native-engine/m2b/hold3/matrix/cua/run-1/result.json— affected rowsdocs/doperpowers/research/2026-10-18-own-native-engine/m2b/hold3/matrix/cua/run-2/result.json— repeat
Activity
SSFSKIM commentedon Oct 23, 2026
2026-10-23 cross-app evidence for the native clipboard read/effect boundary. Sources:
/Users/new/Developer/GitHub/MAWS/plugin/cua/dogfood-feedback/l3-input.md§§1,4 and Learning the API;l6-artifacts.md§6;l9-browser-delivery.md§1. MAWS/Claude/Codex reported clipboard timeout, and a later retry sometimes duplicated text that had already arrived. Verdict: plausible shared paste acknowledgment/focus defect; a timeout is not proof zero bytes were delivered.Confirmed in Paste.swift: both provider.waitForRead failure and effect.wait failure throw the same clipboardReadTimedOut sentence; the latter is after clipboard handover and Cmd-V.
enteredadvances only after both waits. Diagnostics should distinguish read vs effect timeout and state that dispatch may already have changed the field; inspect before retry. Keep #188’s preparation failure distinct. No evidence ties this to input-source switching (#186) or browser-service Deadline.race (#144).The report’s claim that native paste always bypasses the app’s paste handler is contradicted by its Cmd-V implementation. Do not prescribe raw clipboard manipulation as a universal fix. Add Electron/rich-editor evidence to the existing native paste investigation rather than a duplicate ticket. Recommended P1; no live proof added.
Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)
SSFSKIM commentedon Oct 23, 2026
Follow-up clipboard evidence:
/Users/new/Developer/GitHub/MAWS/plugin/cua/dogfood-feedback/l6-artifacts.mdadded item 11, l1-sessions.md §7 and l5-code.md §5. Under Korean input, typeText hit clipboard timeouts; L5 also observed clipboardConflict. L6 found a newer clipboard value, then the assessor manually restored an earlier backup over it and subsequently put the newer value back. Do not quote the clipboard content or attribute that explicit manual overwrite to the engine.Confirmed code at d95261f: Input.swift routes unreliable/non-layout/non-ASCII-capable input-source conditions to Paste.swift (including Korean), not simply long text or every non-US keyboard. Paste.swift restores on success and EngineError paths; SystemPasteboard.restore in Pasteboard.swift checks changeCount against its own last write before clearing, and write uses the corresponding expected-count check. The report’s requested “restore only if still ours” protection already exists. A genuine race/Universal Clipboard interaction remains plausible but requires change-count/event evidence, not a pasted text dump.
Add synthetic competing-writer tests and value-free restore/skipped-because-changed outcome diagnostics to this investigation. Do not advise agents to read/copy the owner’s clipboard to debug or to restore stale backups. A proposed noClipboard option must fail clearly when exact text cannot be delivered without clipboard; never silently send IME-sensitive physical keys. #189 retains the input-source contract, #207 the usage explanation. #177’s matching row is being corrected accordingly.
Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)
SSFSKIM commentedon Nov 1, 2026
[board] in-progress: cursor235 (b93055dd): Phase 1 offline on the MacBook (delivery vs focus/preparation vs acknowledgment; timeout with delivered text; candidates; vendor's acknowledgment) per design session 1ea561bc:227; the mini is not used
SSFSKIM commentedon Nov 1, 2026
Part 1 PR #254 (Refs, not Closes): paste answers by stage (clipboardReadTimedOut / pasteUnconfirmed / unconfirmed success gated on a read after Cmd-V), error text carries the stage and confirmed count, value-free diagnostics incl. the record-only keyFocusAtPaste predicate, deadline-bound waits. #187 stays in-progress until the attended MacBook slot's A/B (3b) or 3a's refusal settles delivery.
#187 (part 1): paste answers by stage, never a blind retry, with valu…
SSFSKIM commentedon Nov 1, 2026
Part 1 merged: PR #254 -> main 18cad98 (plugin 0.20.5). Paste answers by stage, no blind retry, value-free diagnostics, record-only keyFocusAtPaste. Still open: background Chrome delivery (3b: the vendor's activation click at AXActivationPoint on the paste route), to be decided by an attended MacBook slot (A/B); if it fails, a refusal closes #187 as a stated gap.
#171 M3: merge origin/main (18cad98, #254, plugin 0.20.5) into feat/1…
Kit: item 187's judge closes nine false passes (refs #187, review)
Kit: item 187 reconciles every raise and trusts a menu watch only whi…
49 remaining items
SSFSKIM commentedon Nov 5, 2026
[board] done: landed via #281 (evidence) on #261/#280's code
macOS engine: the paste route's final poll runs before its activation…
macOS engine: the paste route keeps each line on the pasteboard until…
macOS engine: the paste route keeps #187's delivery exactly, and its …
macOS engine: the paste's delivered count keeps main's decoding, and …
macOS engine: type_text's paste route confirms by exact read-back, ke…
macOS engine: a click on a frontmost web text field places a caret, a…
Reader: one ambiguous-read-back mechanism, the wrapper's structured c…
Harness: decode a final Value at a real part boundary in any app, anc…
Tree: join flattened text the vendor's way and print line breaks esca…
Review: off a hosted runner the cursor sitting's selection is a read; #…
macOS engine: one hold for type_text's paste transport, classified at…
macOS engine: type_text's paste route gates every ⌘V and Return on th…