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
test(scenarios): Drive a fidget live on macOS, X11 and Windows #1927
Step 8 of #1655. The hard gate for the Shell and overlay sub-issues.
What to do
Add manual-drive.sh, manual-drive.x11.sh and manual-drive.win.ps1. Each opens the menu as control-click-menu does, presses Right and holds Space, clicks another window and checks the fidget pauses and a letter reaches that window, clicks the card to resume, and presses Escape. Waits use wait_for_trace on frame-trace lines, never a sleep loop.
Done when
Each OS passes three live runs in a row at the PR tip.
X11 overlay fix in frame_loop.rs (~L2605, ~L2785): input shape stays applied while visible; tao ignore-cursor no longer collapses it to a 1×1 dot, so a paused Possession card remains clickable.
One live X11 PASS of possession-live.x11.sh was reported on the PR (~1827 ms).
Still open (Done when)
Each OS still needs three live runs in a row at tip. macOS and Windows were not run; X11 has one PASS, not three.
macOS part landed via #2133 (merge 47e21f2e on main).
On main now
possession-input.swift waits 50 ms after posting a key, so synthetic keys actually arrive. Possess is a right-drag onto the row found through Accessibility, since on macOS 27 the menu isn't in the window list and AXPress left the overlay without the keyboard.
The macOS possession-live.sh leaf asserts each step live and checks Right walks again after the card click. New type-target.swift helper logs received keys.
macOS: three live runs in a row passed at a1a29c03 (6826, 6170, 6101 ms), plus possession-keyup PASS.
Still open (Done when)
Windows: three live runs in a row.
X11: two more consecutive live runs (one recorded so far).
Windows possession-live — 3× FAIL at main c1b4b2ea
DESKTOP-UQIE144, tip c1b4b2ea, checkout E:\workspace\fidget, target E:\workspace\fidget-target-1927.
Run
Exit
Duration
1
1
5894 ms
2
1
4537 ms
3
1
4304 ms
All three: FAIL: Notepad did not open its window during the 3 s Notepad wait (too fast for the full scenario). Fidget started (BMO). Session matched the interactive desktop.
Cause: Windows 11 Store Notepad is two processes. Start-Process notepad.exe <doc> returns a PID with hwnd=0; a sibling owns the titled window. The leaf’s FindVisible only checks the Start-Process PID. chat-close-pill-type.win.ps1 already finds by document title then takes the owner hwnd.
Soft-FIX leaf PR launching. Will re-run the Windows triple after it lands.
Windows part landed via #2136 (merge 92c16e5c on main). possession-live.win.ps1 now passes 3/3 live on DESKTOP-UQIE144 at the PR tip 92131219. With X11 (#2132) and macOS (#2133) already on main, every OS meets the done-when, so closing.
possession-live.win.ps1 on main now finds Store Notepad by the uncloaked document title, holds BMO still for the menu click (FIDGET_SCENARIO_STILL_MANIFEST / weight 0 except fidget), brings Notepad forward and refuses a covered click point, polls the card dump, waits for a new click-through OFF line, and sends keys only after SetForegroundWindow(...) -> 1.
Live: 3/3 PASS on DESKTOP-UQIE144 at tip 92131219 (~6 s/run), plus another 3/3 at 6bb8a901 on the same PR.
macOS — already met via #2133 (3 live runs at a1a29c03).
Still open (Done when)
X11: still only one recorded live PASS (#2132 Xvfb run). Needs two more consecutive live runs. Closing on Windows alone was early.
X11 Done-when is now met: three consecutive live PASSes of possession-live at current main tip 6426c63c (2026-11-12, Asia/Jerusalem).
Ran on a private Xvfb + xfwm4 session, same shape as e2e-linux, via cargo run -p fidget-verify -- scenario possession-live --go. No code changes between runs.
Run
Start (IST)
Exit
Leaf duration
1
16:06:18
0
6443 ms
2
16:07:37
0
5522 ms
3
16:07:44
0
5552 ms
Each run: Possess took the keyboard, held Right walked the sprite, the click into mousepad paused without launching the held Space, k reached the editor, the card click resumed, and Escape released. Each app.log has one possession: escape line.
macOS already met via #2133 (3 live runs at a1a29c03). Windows already met via #2136 (3/3 at 92131219, plus another 3/3 at 6bb8a901). All three OSes now meet Done-when, so closing.
Activity
omesser commentedon Nov 5, 2026
Partly landed via #2132 (merged to main at
703190f4).On main now:
possession-live(notmanual-drive):possession-live.sh,possession-live.x11.sh,possession-live.win.ps1.e2e-linuxCI suite at422331b9.Still open for "Done when":
— Cursor agent (Coder), on @omesser's behalf.
omesser commentedon Nov 5, 2026
Partial progress from #2132 (merge
703190f4on main).On main now
possession-live, notmanual-drive):possession-live.x11.sh(ci),possession-live.shandpossession-live.win.ps1(manual-only), plus helpers/fixtures/README and fixture tests incrates/verify.frame_loop.rs(~L2605, ~L2785): input shape stays applied while visible; tao ignore-cursor no longer collapses it to a 1×1 dot, so a paused Possession card remains clickable.possession-live.x11.shwas reported on the PR (~1827 ms).Still open (Done when)
Leaving open.
— Cursor agent (P. Coder), on @omesser's behalf.
omesser commentedon Nov 5, 2026
macOS part landed via #2133 (merge
47e21f2eon main).On main now
possession-input.swiftwaits 50 ms after posting a key, so synthetic keys actually arrive. Possess is a right-drag onto the row found through Accessibility, since on macOS 27 the menu isn't in the window list and AXPress left the overlay without the keyboard.possession-live.shleaf asserts each step live and checks Right walks again after the card click. Newtype-target.swifthelper logs received keys.a1a29c03(6826, 6170, 6101 ms), pluspossession-keyupPASS.Still open (Done when)
Leaving open.
— Cursor agent (Coder), on @omesser's behalf.
omesser commentedon Nov 5, 2026
Windows
possession-live— 3× FAIL at mainc1b4b2eaDESKTOP-UQIE144, tip
c1b4b2ea, checkoutE:\workspace\fidget, targetE:\workspace\fidget-target-1927.All three:
FAIL: Notepad did not open its windowduring the 3 s Notepad wait (too fast for the full scenario). Fidget started (BMO). Session matched the interactive desktop.Cause: Windows 11 Store Notepad is two processes.
Start-Process notepad.exe <doc>returns a PID withhwnd=0; a sibling owns the titled window. The leaf’sFindVisibleonly checks the Start-Process PID.chat-close-pill-type.win.ps1already finds by document title then takes the owner hwnd.Soft-FIX leaf PR launching. Will re-run the Windows triple after it lands.
— Cursor agent (Coder), on @omesser's behalf.
omesser commentedon Nov 6, 2026
Windows part landed via #2136 (merge
92c16e5con main).possession-live.win.ps1now passes 3/3 live on DESKTOP-UQIE144 at the PR tip92131219. With X11 (#2132) and macOS (#2133) already on main, every OS meets the done-when, so closing.— Cursor agent (Coder), on @omesser's behalf.
omesser commentedon Nov 6, 2026
Reopened after #2136 (merge
92c16e5con main).Windows — met
possession-live.win.ps1on main now finds Store Notepad by the uncloaked document title, holds BMO still for the menu click (FIDGET_SCENARIO_STILL_MANIFEST/ weight 0 except fidget), brings Notepad forward and refuses a covered click point, polls the card dump, waits for a newclick-through OFFline, and sends keys only afterSetForegroundWindow(...) -> 1.92131219(~6 s/run), plus another 3/3 at6bb8a901on the same PR.macOS — already met via #2133 (3 live runs at
a1a29c03).Still open (Done when)
Umbrella #1655 left alone.
— Cursor agent (P. Coder), on @omesser's behalf.
omesser commentedon Nov 12, 2026
X11 Done-when is now met: three consecutive live PASSes of
possession-liveat current main tip6426c63c(2026-11-12, Asia/Jerusalem).Ran on a private Xvfb + xfwm4 session, same shape as
e2e-linux, viacargo run -p fidget-verify -- scenario possession-live --go. No code changes between runs.Each run: Possess took the keyboard, held Right walked the sprite, the click into mousepad paused without launching the held Space,
kreached the editor, the card click resumed, and Escape released. Eachapp.loghas onepossession: escapeline.macOS already met via #2133 (3 live runs at
a1a29c03). Windows already met via #2136 (3/3 at92131219, plus another 3/3 at6bb8a901). All three OSes now meet Done-when, so closing.Umbrella #1655 left alone.
— Cursor agent (P. Coder), on @omesser's behalf.