Component: host-driven repro harness (scripts/menu-close-probe). Pathway: x86
macOS / Linux Vulkan, rail macos-15. No product code and no guest-visible
behaviour changes.
Observation: five consecutive graded boots ran this probe and all five exited
`rc2` with "the menu box did not change when the menu opened". That reads as a
menu that failed to appear. Differencing the probe's own two captures on the
boot that did not panic shows 38 % of the screen changing over a bounding box
of the whole display, with the mean moving 106 -> 148. No context menu was
created on any of the five. The right-click raised an application window; the
dismiss click put it behind Finder.
Both of the probe's anchors were positional guesses:
- `ICON_X,ICON_Y = 333,1033`, documented as "the Finder icon, leftmost in the
dock". On this rail's current snapshot that coordinate is not Finder.
- `AWAY_X,AWAY_Y = 1700,400`, documented as "somewhere with no window and no
menu". The snapshot boots with an application window open and frontmost, so
it was beside that window rather than on bare desktop.
Dock layout is precisely what moves between snapshots, guest versions and
running-application sets, so re-measuring the dock would buy one snapshot's
worth of correctness and fail the same way at the next.
The probe now opens the **desktop** context menu instead. macOS places it with
its corner at the cursor, so the rectangle follows from the coordinate this
script itself clicked rather than from a dock it cannot see in advance. The
crop is derived from `MENU_X,MENU_Y` and inset well inside the smallest menu
the desktop produces, because a crop overhanging the menu scores desktop that
never had a menu over it.
What that gives up is stated in the file rather than papered over: the reported
interaction names a dock icon's menu, and this is one step removed from it. The
defect is a property of the menu layer's close-in animation rather than of
which menu it is, but if it turns out to be dock-specific this probe will read
CLEAN and be wrong, and the dock variant will have to be aimed by survey.
Second change, from the same arm: a right-click on this rail has been observed
killing the guest about four seconds later. A dead guest yields frozen,
identical captures, and identical captures score as no new black at all --
which reads as CLEAN. That is the one wrong answer this probe must not give,
because it would report the defect repaired by a boot that died before it could
show it. `guest_gone` marks the serial log's length before the first input and
is consulted at the opening captures, inside the trial loop, and before the
verdict; a run with no trial against a live guest reports GUEST_GONE and scores
nothing.
Verified: shell syntax only (bash -n). Not verified: no boot has run the
re-aimed probe yet, so neither the menu coordinate nor the crop has been
confirmed against a live desktop. The probe's own precondition -- the box must
change by more than 8 mean when the menu opens -- is what will catch it if the
coordinate is still wrong, and it fails loudly rather than scoring.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>