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
button/tap can silently no-op — exits 0 and --list still says running #136
ran into this while having an agent drive a sim headless (lock screen captures for live activity stuff).
at some point the helper's HID injection just died. serve-sim button lock, tap, gesture — all of them kept exiting 0 but nothing was landing on the device. --list was still reporting running: true the whole time. so from a script/agent's perspective everything looks healthy while literally no input works.
for a human this is a minor annoyance because you'd notice the screen not changing. for an agent it's brutal — it trusts the exit code, so it just keeps going and burns a ton of time debugging the wrong layer (we restarted springboard, tried notifyutil, eventually did a full sim reboot before figuring out it was the helper).
couldn't pin down the exact trigger. it survived normal use for hours and then died after a stretch of heavy lock/unlock cycling + a simctl shutdown/boot of the device. restarting the helper (--kill + fresh start) didn't always bring input back either, which was the confusing part.
what would fix the pain isn't even preventing the breakage, it's making it loud:
non-zero exit when the HID send doesn't actually land (or at least when the injector knows its connection is gone)
some health signal in --list beyond running true/false, like hid: ok/stale
happy to provide more details, we hit this on macOS 26 (tahoe) with xcode 26 sims, serve-sim 0.1.45.
Activity
EvanBacon commentedon Sep 27, 2026
Triage (2026-09-27 maintenance): accepted as a real agent-pain bug — HID inject can die while CLI still exits 0 and
--liststaysrunning: true.Next steps (no Mac load this pass)
hid.health+input.inject, non-zero exit whenhid.state=gone/no_client).--listhid.stateslice without full telemetry).Leaving open. No cloud agent / Darwin repro this cycle.
docs(observability): prioritize error-repro fields and timing spans f…
docs(observability): prioritize error-repro fields and timing spans f…
Merge branch 'main' into fix/136-hid-silent-noop
Merge branch 'main' into fix/136-hid-silent-noop
fix(serve-sim): report undelivered tap/button/gesture input instead o…
test(serve-sim): stub hardwareKeyboard on the #136 HID ack fixture