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
MAWS: reproduce the background dialog-button press that closes the dialog (needs MAWS's own dialog and a trace) #389
#366 began from a MAWS dogfood report (2026-11-11, O15 M4 part A): pressing a MAWS dialog button through cua in background Electron closed the dialog, and cua answered success. cua #235's hosted kit (probe/366-measure; smokes 44013282366 and 44016387589) could not reproduce the dismissal on an owned fixture, including a MAWS-parity window: hiddenInset, traffic lights {16,15}, MAWS's 44 px drag toolbar and its webPreferences, Electron 44.4.5. It saw 0 closures in 300 valid rows, across every route.
So the dismissal depends on something only MAWS's own dialog has: its components, versions, focus handling, or the sequence before the press.
What's needed
One reproduction in MAWS itself, with a trace: cua's request log for the press (route, hold, inert-click target), and MAWS's renderer events around it (pointerdown and focus-outside, Radix's dismiss reason). Either a MAWS session reproduces it once on the person's Mac, or a MAWS build runs on a hosted macOS runner, if its repository can be checked out there.
Then
Fix it in cua, or state it as a limit with the trace as evidence.
Split from #366 (2026-11-17), which narrowed to the first-press false success found by the same kit.
[board] needs-info: Needs one reproduction in MAWS itself with cua's request log and MAWS's renderer events; owned fixtures don't reproduce it (#366 kit).
[answers] Route, from the MAWS architect (2026-11-17): reproduce on a hosted macOS runner with MAWS's own build, which needs no MAWS seat. MAWS's own gate already builds and runs it on macOS: pnpm install --frozen-lockfile, then pnpm build:app, at master. Pin the sha you build here. e2e/support/launch.ts is the hermetic launch (a scratch profile, the runner's ANTHROPIC_* dropped, no engine needed for a dialog). A replay fixture opens most dialogs without a live turn, and the e2e scenes show how to reach a given one. Trace hint: Radix's DismissableLayer closes on onFocusOutside as well as onPointerDownOutside, so a background press that moves window or document focus before the pointer event can close it with no pointer outside at all. Log document.hasFocus() and the window's blur and focus events beside Radix's dismiss reason. If the hosted run can't reproduce it with MAWS's build either, the architect finds a mini slot after B3.
The dialog, from the MAWS architect (2026-11-17): MAWS's Add project dialog, a Radix modal opened from the sidebar's Add project button. cua pressed 'Add ' on a discovered project and ran setValue on the dialog's search field, with MAWS behind cmux. The effect check: the project's origin stays 'discovered' in index.sqlite (the button didn't run). Source: the friction entry cua/live/background-electron-gets-no-keys-and-ax-press-dismisses-radix-dialog.md.
[findings] #389 spike: not reproduced on a hosted MAWS build under real window focus. No modal-specific cua fix is indicated by this evidence.
Setup: GitHub-hosted macOS; MAWS 77af813a (Electron 44.4.5), built with its frozen install and launched through its hermetic helper; the target is the "Add project" Radix dialog, its "Add " discovered-project button, and the search field's setValue. Delivery is judged by scratch index.sqlite (projects.origin from discovered to user), not by a click event or the dialog vanishing. Kit: probe/389-maws (matrix kit 7e234dd, final head 351cd7f).
Authoritative run 44199446398: GREEN, 96/96 valid. Every launch first passed a real-focus control: with a cover app frontmost document.hasFocus() was false, and returning to MAWS fired a new window.focus. (An earlier full run, 44192688705, is not used for dismissal: Playwright's default CDP focus emulation kept hasFocus true. One Emulation.setFocusEmulationEnabled(false) call fixed that, proven by the controls.)
cua 9020bb1 (0.27.24, Nov-11 main proxy), fresh observation
0/10 handlers ran though the press answered success; dialog stayed open
10/10
0/20
Trace: all calls took route 3. The current build's press: hasFocus=false → window.focus → focusin(search) → focusout(search) → focusin(Add) → pointer/mouse/click(Add) → the handler closes the dialog, origin becomes user. The historical press stops after focusin(search): no click, no handler, the dialog stays open. That is #366's cold AXPress false success, not a dismissal. No Radix focusOutside or pointerDownOutside event occurred in any trial; this Radix modal also prevents default on focusOutside.
Untested, not negative: the native-folder-chooser roundtrip (open, cancel, return) before the press. Two attempts (44204738059, 44208009427) stopped in setup: the open/save panel service exposes no AX windows of its own, and the strict owner check declined to press its Cancel. Also not recreated: the owner's persistent MAWS state, cmux as the cover, and the exact original sequence. So the conclusion is "not reproduced under these hosted conditions", not "fixed by #366".
Sminos-Session: cursor235#b93055dd (cua on macbook)
[board] wontfix: Not reproduced on hosted MAWS 77af813a under real focus (run 44199446398, 96/96): current cua Add presses run the handler and close normally; the 11-11 build dropped presses (#366). Reopen if the dismissal is seen after the native folder chooser's open/cancel/return, in the owner's persistent MAWS state, or with cmux as the cover; those paths are untested. Ruling 1ea561bc:801.
Activity
SSFSKIM commentedon Nov 17, 2026
[board] needs-info: Needs one reproduction in MAWS itself with cua's request log and MAWS's renderer events; owned fixtures don't reproduce it (#366 kit).
SSFSKIM commentedon Nov 17, 2026
[answers] Route, from the MAWS architect (2026-11-17): reproduce on a hosted macOS runner with MAWS's own build, which needs no MAWS seat. MAWS's own gate already builds and runs it on macOS: pnpm install --frozen-lockfile, then pnpm build:app, at master. Pin the sha you build here. e2e/support/launch.ts is the hermetic launch (a scratch profile, the runner's ANTHROPIC_* dropped, no engine needed for a dialog). A replay fixture opens most dialogs without a live turn, and the e2e scenes show how to reach a given one. Trace hint: Radix's DismissableLayer closes on onFocusOutside as well as onPointerDownOutside, so a background press that moves window or document focus before the pointer event can close it with no pointer outside at all. Log document.hasFocus() and the window's blur and focus events beside Radix's dismiss reason. If the hosted run can't reproduce it with MAWS's build either, the architect finds a mini slot after B3.
SSFSKIM commentedon Nov 17, 2026
[board] ready-for-implementer: Route found: hosted runner with MAWS's own build (see [answers])
SSFSKIM commentedon Nov 17, 2026
[board] in-progress: Taken by cursor235: hosted MAWS-build reproduction (probe/389-maws)
SSFSKIM commentedon Nov 17, 2026
The dialog, from the MAWS architect (2026-11-17): MAWS's Add project dialog, a Radix modal opened from the sidebar's Add project button. cua pressed 'Add ' on a discovered project and ran setValue on the dialog's search field, with MAWS behind cmux. The effect check: the project's origin stays 'discovered' in index.sqlite (the button didn't run). Source: the friction entry cua/live/background-electron-gets-no-keys-and-ax-press-dismisses-radix-dialog.md.
SSFSKIM commentedon Nov 18, 2026
[findings] #389 spike: not reproduced on a hosted MAWS build under real window focus. No modal-specific cua fix is indicated by this evidence.
Setup: GitHub-hosted macOS; MAWS 77af813a (Electron 44.4.5), built with its frozen install and launched through its hermetic helper; the target is the "Add project" Radix dialog, its "Add " discovered-project button, and the search field's setValue. Delivery is judged by scratch
index.sqlite(projects.originfromdiscoveredtouser), not by a click event or the dialog vanishing. Kit:probe/389-maws(matrix kit 7e234dd, final head 351cd7f).Authoritative run 44199446398: GREEN, 96/96 valid. Every launch first passed a real-focus control: with a cover app frontmost
document.hasFocus()was false, and returning to MAWS fired a newwindow.focus. (An earlier full run, 44192688705, is not used for dismissal: Playwright's default CDP focus emulation kepthasFocustrue. OneEmulation.setFocusEmulationEnabled(false)call fixed that, proven by the controls.)Trace: all calls took route 3. The current build's press:
hasFocus=false → window.focus → focusin(search) → focusout(search) → focusin(Add) → pointer/mouse/click(Add) → the handler closes the dialog, origin becomesuser. The historical press stops afterfocusin(search): no click, no handler, the dialog stays open. That is #366's cold AXPress false success, not a dismissal. No RadixfocusOutsideorpointerDownOutsideevent occurred in any trial; this Radix modal also prevents default on focusOutside.Untested, not negative: the native-folder-chooser roundtrip (open, cancel, return) before the press. Two attempts (44204738059, 44208009427) stopped in setup: the open/save panel service exposes no AX windows of its own, and the strict owner check declined to press its Cancel. Also not recreated: the owner's persistent MAWS state, cmux as the cover, and the exact original sequence. So the conclusion is "not reproduced under these hosted conditions", not "fixed by #366".
Sminos-Session: cursor235#b93055dd (cua on macbook)
SSFSKIM commentedon Nov 18, 2026
[board] wontfix: Not reproduced on hosted MAWS 77af813a under real focus (run 44199446398, 96/96): current cua Add presses run the handler and close normally; the 11-11 build dropped presses (#366). Reopen if the dismissal is seen after the native folder chooser's open/cancel/return, in the owner's persistent MAWS state, or with cmux as the cover; those paths are untested. Ruling 1ea561bc:801.