Component: `scripts/app-sweep-probe/`. Host-side harness only.
`qmp.py size` reads QEMU's `DisplaySurface`. Under the host-owned window that
is not the surface the guest draws into — it only *usually* still carries the
right dimensions, which is the documented reason sizing is exempt from the
screenshot ban. On macos-11 it reported **1920x24** for a fully composited
desktop, and the sweep took it: the whole seven-application run drove a geometry
that no result can be attributed to, and said `display=1920x24` in its own header
without anything treating that as a problem.
The size is now retried, and if it stays implausible the probe falls back to the
device's own published scanout size — `host_window_start id=1 WxH`, which is what
this device told the window system and the strongest available statement about
how many pixels the guest has. The header names which source won, because a run
driven against a fallback geometry is a different measurement from one driven
against the guest's own, and a reader should not have to guess which they have.
If neither source answers, the run refuses rather than driving blind.
The 400-row floor is not tuned: it sits far below any desktop these rails boot
at and far above the degenerate values seen, so it separates the two without the
probe needing to know the rail's real size.
Verified: `bash -n`, and the fallback pattern parses `1920x1080` out of a real
boot's fail log. Not verified: the fallback arm has not yet been exercised on
macos-11 itself — the rail sweep that found this is still running and a second
VM beside it would measure contention.
Co-Authored-By: Claude <noreply@anthropic.com>