You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS engine: type_text into a non-text element (Finder type-select) throws typeUnconfirmed after the keys landed #587
cua's macOS engine throws typeUnconfirmed when type_text targets a focused element that isn't a text field, even when the keys landed and had their effect. Finder type-select is the common case: typing a name in a list or icon view jumps to and selects the matching row.
The vendor's engine answers ok in the same case. A model that gets cua's error is told "the text was typed, but the focused element is not a text field, so it is not confirmed and some or all of it may have gone in", and is likely to retry. Retrying type-select types the name again, which can land on a different row.
Evidence
Pilot C-5 (run 45373370067 @5377939be, artifacts in ~/.local/share/cua-m5-pilot/c-5/sitting/), cell finder/…/typeText.typeSelect:
cua: the row was found and selected (effect true), but the call threw typeUnconfirmed, reason notTextField.
vendor: returned ok.
The same throw appears inside finder/concurrent@textedit, whose row still passed.
The engine path:
TypeReadback.swift:508 returns .refused(.notTextField) when the focused role isn't in typeReadbackTextRoles.
typeUnconfirmed(.notTextField) (TypeReadback.swift:1099) turns that into an error.
This is an undeclared R3 departure from the vendor's contract.
Wanted (ruling 1219)
Follow the vendor's contract for a non-text-field target. type_text answers ok, with a model-visible note that:
the focused element isn't a text field, so the text couldn't be read back to confirm it;
the app should be observed (get_app_state or a screenshot) before relying on it.
These stay as they are:
the read-back and typeUnconfirmed for real text fields;
password fields (secure, becameSecure, noLongerSecure), which never become ok-with-note;
selectionChanged (nothing typed);
noFocusedElement. Decide and state whether this one follows the same contract; check what the vendor does.
Tests:
type_text into a focused non-text element (e.g. AXOutline/AXList/AXTable row focus) answers ok plus the note, not an error;
a text field whose read-back mismatches still throws;
the note reaches the tool result text.
Live check: the matrix cell finder/frontmost/typeText.typeSelect passes on cua in the next sitting C, with the note recorded.
Board
P2, enhancement. Blocks #506 (the flip). Parent #117. Relates to #584 (the same key-input reply surface).
Sminos-Session: cursor235#b93055dd (cua on macbook)
C-6 (run 45408876276): the same cause also fails Finder background typeSelect @textedit and @electron on cua. Effect true (the row was selected), then typeUnconfirmed thrown because the focused element isn't a text field. These cells are folded into this ticket (ruling 1223); its fix must cover the background route too.
Activity
Matrix judge: a not-interfering failure on both engines is judged by …
SSFSKIM commentedon Nov 24, 2026
C-6 (run 45408876276): the same cause also fails Finder background typeSelect @textedit and @electron on cua. Effect true (the row was selected), then typeUnconfirmed thrown because the focused element isn't a text field. These cells are folded into this ticket (ruling 1223); its fix must cover the background route too.
Matrix judge: cua's background type-select cells cite #587 as the fro…
SSFSKIM commentedon Nov 27, 2026
[board] in-progress: cursor235 taking under ruling 1236 (one PR for #587+#590)
Evidence: sitting C combined over its filtered split rerun (judge 460…
Rulings 1234–1237 enter the Decision Log: the one judge-only pass and…
macOS engine 0.2.2: type_text with no field to read back answers ok w…
service: the no-field note reaches the tool result's text, and readFa…
17 remaining items
SSFSKIM commentedon Nov 28, 2026
[board] in-review: PR #601 open; review converged (round 6 correct); live proof pending
Merge origin/main into fix/587-590-typereadback (refs #587)
plugin 0.30.2: #599 took 0.30.1 (refs #587)
Merge #601 (origin/fix/587-590-typereadback 0c39038: #587/#590's engi…
Merge origin/main into fix/587-590-typereadback (refs #587)
plugin 0.30.3: #605 took 0.30.2 (refs #587)
Evidence: sitting C's #587 proof run (46095539139 @ 3f3792d, engine 0…
macOS engine: type_text answers ok with a note on a non-text target (#…
SSFSKIM commentedon Nov 28, 2026
[board] done: merged in #601
SSFSKIM commentedon Nov 28, 2026
[board] done: Landed via PR #601 (cua 0.30.3, engine 0.2.2)
Secret wrapper: "nothing was entered" only on the macOS engine's posi…
macOS engine: type_text's paste route gates every ⌘V and Return on th…
Speed-extra records name their judging rule (meta.speedExtraJudge "n3…