`scripts/app-sweep-probe/app-sweep-probe.sh`, host-side x86 harness. Three
defects, all found by running the probe the way `hang-bisect.sh` runs it.
**It aborted after the first application.** `run_app` declared `hash` with
`local` and then assigned it only inside `if [ -n "$SHOTS" ]`, so with no
`--shots` the read at the stall check hit `set -u`: `line 218: hash: unbound
variable`. Every arm of a bisect would have reported one leg and a truthy
`freezes=0`, which reads as the arm passing. `shot` and `hash` are now
initialised at declaration.
**The stall detector was gated on where the frame is filed.** Comparing this
app's frame to the previous app's is the probe's only evidence for a host window
that has stopped updating while the census keeps ticking from another thread —
which is exactly the macos-11 symptom the bisect exists to count. It ran only
when `--shots` asked for the frames to be kept. The frame is now always taken,
into `$WORK`; `--shots` chooses whether it is also copied out.
**The Launchpad leg was not opening Launchpad.** F4 is the glyph on an Apple
keyboard, where the key sends a HID consumer usage; QMP's usb-kbd sends the plain
F4 keycode, which macOS has bound to nothing. Photographed on macos-13 and
macos-14 in `/tmp/reims-rail-sweep/shots`: the desktop is unchanged across the
F4, and the eight characters typed after it went into a Maps dialog that was
still frontmost. The leg has been reporting `present_hz` for a static modal on
both rails, under a comment asserting F4 was "the stock Launchpad binding on
every rail here". It now opens it through LaunchServices (`open -a Launchpad`),
which behaves the same on all four rails and needs no Apple Events consent, and
it hashes the frame either side of the trigger: a full-screen blur that leaves
the frame identical did not happen, and is reported as the new `NO-LAUNCHPAD`
rather than folded into `NO-LAUNCH`.
Verified: `bash -n`. Not verified: the `open -a Launchpad` route has not yet run
against a live guest — the next bisect boot is its first exercise. No Rust
changed, so no clippy or feature-matrix arm is affected.