Skip to content

Computer use CLI for AI agents

670 KB
Raw Blame

Linux platform exploration findings (sub-phase 3.0)

The evidence ledger sub-phase 3.0 requires. Every row maps one experiment to observed behavior and a doc-alignment verdict, and every row names the client stack that produced it and the scope its conclusion carries. Rows are graded against docs/phases.md Phase 3.

Probe scripts and raw captures are development aids kept outside the repository, so the probe cell names the probe area and step rather than a committed path. The observed cell quotes the capture field values the conclusion rests on.

How to read a row

column meaning
id stable row id (L<area>-<n>), cited by phases.md hunks and the contradictions index at the bottom
probe the probe area and step that produced the row
stack dbus = raw D-Bus via Gio, the product-relevant stack; gi-atspi = libatspi convenience reads; tool = external tools such as xdotool, xprop, xclip. Combinations are joined by " + "
scope api-contract = product-wide, holds for any conforming AT-SPI client. app = specific to the measured application and version. box = specific to this environment. Downstream sub-phases read this column to know what generalizes
phases.md expectation the sentence or claim in docs/phases.md the probe tested, or none
observed the capture field values and measurements the verdict rests on
verdict CONFIRMS, CONTRADICTS, NEW-EDGE, DEFERRED
action what the finding obliges. DEFERRED rows carry needs: and closure: 3.<n>, the Phase 3 sub-phase that closes them

Stack authority: where a dbus row and a gi-atspi or tool row disagree, the dbus row wins, because the Rust adapter speaks raw D-Bus.

Environment

Every row was measured on the machine below, except the rows whose probe cell names the XFCE container, which was measured in the second environment.

fact value
OS Ubuntu 24.04.4 LTS, kernel 7.0 generic, x86_64
Desktop GNOME Shell 46.0 (mutter 46.2), X11 session; the Wayland rows (L13) were measured in an isolated headless gnome-shell on the same machine
Accessibility and bus AT-SPI core 2.52, dbus 1.14.10
Toolkits GTK 3.24.41, GTK 4.14.5, Qt 6.11.0 (PyQt6 6.11.0)
Tools xdotool 3.20160805.1, xclip 0.13, wl-clipboard 2.2.1, wmctrl 1.07
Apps VS Code 1.142.0, Google Chrome 154, snap Firefox 157
XFCE container Ubuntu 24.04 arm64 container, Xvfb 1440x900, XFCE 4.18 (xfwm4 compositing), AT-SPI core 2.52, GTK 3.24.41 (Mousepad 0.6.1, Thunar 4.18), GTK 4.14.5 (GNOME Text Editor 46.3), Qt 6.6.1 (PyQt6)

Area L1 — environment and bus bootstrap

id probe stack scope phases.md expectation observed verdict action
L1-1 OS, desktop and library versions tool box Minimum OS Requirements: "Ubuntu 22.04+ / Fedora 38+", "GNOME 42+ (primary target)", "at-spi2-core package installed (default on GNOME)" os_release.VERSION: 24.04.4 LTS, tools.gnome-shell.version: GNOME Shell 46.0, packages.at-spi2-core: 2.52.0-1build1, packages.libgtk-4-1: 4.14.5+ds, packages.libgtk-3-0t64: 3.24.41, packages.dbus: 1.14.10, kernel: 7.0.0-38-generic, arch: x86_64 CONFIRMS 3.1: none; the measured box sits inside the stated floor. Floor claims for 22.04 / Fedora 38 / GNOME 42 are not exercised here
L1-2 Input and clipboard tools in the base install tool box Display Server Detection: "verify xdotool (X11) or ydotool (Wayland) is installed; error with install instructions if missing" and "xclip (X11) or wl-clipboard (Wayland)" packages_absent lists xdotool, xclip, xsel, wl-clipboard, wmctrl, ydotool, flatpak, python3-pyatspi; every one of these came only from the user-space tree (tools.xdotool.origin: user-space) CONFIRMS 3.8 / 3.10: the missing-tool error path is reachable on a stock GNOME 46 install, not a corner case; the install guidance must name the distro package
L1-3 Tool paths and versions (user-space tree sourced) tool box none tools.xdotool.version: xdotool version 3.20160805.1, tools.xclip.version: xclip version 0.13, tools.wmctrl.version: 1.07, tools.wl-copy.version: wl-clipboard 2.2.1, tools.weston.version: weston 13.0.0, tools.ydotool.status: present (help prints nothing), tools.ydotoold.status: absent; also tools.google-chrome.version: Google Chrome 154.0.8037.97, tools.firefox.version: Mozilla Firefox 157.0.1, tools.python3.version: Python 3.12.3; absolute paths recorded per tool in the capture NEW-EDGE 3.8: xdotool is the 2016 release line (3.20160805.1); input rows must be read against that version, newer flags are not available
L1-4 Display server environment for detection tool box Display Server Detection: "Check $WAYLAND_DISPLAY ... if set, use the Wayland path"; "Check $DISPLAY ... if set and no Wayland, use the X11 path" session_env.DISPLAY: :0, session_env_unset contains WAYLAND_DISPLAY, session_env.XDG_SESSION_TYPE: tty (remote shell), wayland_feasibility.gdm_wayland_enabled_conf: ["WaylandEnable=false"], wayland_feasibility.session_is_wayland: false CONFIRMS 3.1 / 3.8: the env-var order works for the X11 half. XDG_SESSION_TYPE reads tty in a remote shell of a graphical session and must not be used for detection. The Wayland half is not exercised (L1-17)
L1-5 Presence check on the cold bus (failing direction for a name-owner check) dbus api-contract §3.1 AT-SPI2 Bus Detection: "Check for org.a11y.Bus presence on the D-Bus session bus" cold private session, 7 kept runs plus warm-up: pre_name_has_owner: false while pre_listed_activatable: true; no_auto_start_get_address.remote_error: org.freedesktop.DBus.Error.NameHasNoOwner; plain GetAddress then succeeds and post_name_has_owner: true (get_address_first_call.ok: true) CONTRADICTS 3.1: detect with an auto-starting org.a11y.Bus.GetAddress call, never with NameHasOwner or a no-auto-start call; those report a healthy cold session as missing
L1-6 Presence check on the live session (passing direction) dbus box none dbus_live_session.org.a11y.Bus_has_owner.value: [true], dbus_live_session.org.a11y.Bus_activatable: true, dbus_live_session.a11y_bus_address.scheme: unix, dbus_live_session.org.a11y.atspi.Registry_has_owner.value: [true], dbus_live_session.registry_child_count.value: 19 NEW-EDGE 3.1: on a warm session both checks agree; the divergence in L1-5 appears only before first activation
L1-7 Missing and broken org.a11y.Bus service dbus api-contract §3.1: "If the bus is not running, return PLATFORM_NOT_SUPPORTED" no service file (2 runs): absent_service[*].get_address_default_flags.remote_error: org.freedesktop.DBus.Error.ServiceUnknown, 0.12-0.47 ms, listed_activatable: false; service whose Exec is missing (2 runs): broken_service_exec_missing[*].get_address_default_flags.remote_error: org.freedesktop.DBus.Error.Spawn.ExecFailed, 1.27-1.43 ms, listed_activatable: true; no-auto-start variant returns NameHasNoOwner in both NEW-EDGE 3.1: map ServiceUnknown (package not installed) and Spawn.ExecFailed (installed but cannot start) to PLATFORM_NOT_SUPPORTED with different platform_detail; both fail in under 2 ms, so no timeout budget is needed for the absent case
L1-8 Cold activation latency over raw D-Bus (min of 7, warm-up discarded) dbus box none cold_latency_ms.get_address_first_call: {min 6.11, median 6.3, max 7.8} ms, connected_to_a11y_bus: {6.45, 6.66, 8.17}, registry_usable: {11.21, 11.36, 13.17}, warm_get_address: {0.13, 0.15, 0.23} (n=49); runs_with_usable_registry: 7 of 7 NEW-EDGE 3.1: first-command cost of a cold bus is about 11-13 ms to a usable registry; the adapter needs no startup retry loop on this stack, only one auto-starting call per session
L1-9 Empty registry is a success, not a failure dbus api-contract none fresh bus: registry.child_count: 0, registry.usable: true, a11y_bus_names: [org.a11y.atspi.Registry, org.freedesktop.DBus], session_survivors_while_running: [at-spi-bus-laun, at-spi2-registr, dbus-daemon] NEW-EDGE 3.1 / 3.2: report an answered ChildCount 0 as "bus up, no apps", separate from a read error; do not map 0 children to a bus fault
L1-10 org.a11y.Status properties dbus box §3.1: GNOME hint to check toolkit-accessibility live: dbus_live_session.IsEnabled.value: true, dbus_live_session.ScreenReaderEnabled.value: false, gsettings["org.gnome.desktop.interface toolkit-accessibility"]: true; fresh private session reads status_IsEnabled.value: true, status_ScreenReaderEnabled.value: false NEW-EDGE 3.1: IsEnabled is readable over D-Bus on every desktop, unlike gsettings, but it is not a diagnostic: with it false the bus and apps still work (L1-16)
L1-11 GTK4 app starting before the a11y bus exists (bus activatable) dbus app none gtk4_app.cold[0]: pre_name_has_owner: false, then app_triggered_a11y_bus_activation: true, app_registration_from_registry_poll.registered: true, tree_nodes: 4, tree_read_failures: 0, leak_check_shared_a11y_bus.app_found_on_shared_a11y_bus: false NEW-EDGE 3.1 / 3.2: a GTK4 app (4.14.5) itself activates the bus, so the adapter need not start it first
L1-12 GTK4 app tree shape with the bus present (warm, passing direction) dbus app none gtk4_app.warm[0]: nodes by depth: application ("python3", Accessible+Application) -> application ("BusProbe window", Accessible+Action+Component) -> button ("Probe button", Action+Component) -> label ("Probe button", Accessible+Action+Component+Text); tree_nodes: 4, tree_read_failures: 0, identical to the cold run NEW-EDGE 3.3: GTK4 ApplicationWindow reports role name application through GetRoleName, not frame or window; the role map must not assume a window role from GTK4. The label child repeats the button's name and advertises Action. Revisited by numeric role in L3-2: the GTK4 window is role number 23 (frame)
L1-13 GTK4 app starting before the bus, bus started after (failing direction, 2 independent runs) dbus app none gtk4_app.late[0] and [1]: a11y_bus_present_when_app_ready: false, late_bus_name_has_owner: true (started in about 11 ms), app_registration_from_registry_poll.registered: false after 12 s (about 1155 polls), registry_children_seen: 0; in both runs leak_check_shared_a11y_bus.app_found_on_shared_a11y_bus: true NEW-EDGE 3.1 / 3.2: an app that started with no bus never registers on a bus that appears later, so a snapshot cannot see it until the app restarts; in this case the app registered on a different (shared) a11y bus, so the adapter must resolve the bus from GetAddress and not assume one bus per login. The mechanism that selected the other bus was not isolated
L1-14 Bus daemon lifecycle on session exit tool api-contract none every scenario: cleanup.survivors_after_session_daemon_exit: [], cleanup.survivors_after_cleanup: 0 (launcher, registryd and a11y dbus-daemon all exit with their session bus) NEW-EDGE 3.1: nothing to clean up after an activated bus; tests may rely on it ending with the private session
L1-15 Live-session isolation of the probe tool box none shared_x_property_before: "_AT_SPI_BUS: no such atom on any window.", shared_x_property_unchanged: true, a11y_socket_under_private_runtime_dir: true NEW-EDGE 3.1: the shared X root has no _AT_SPI_BUS property on GNOME 46, so the adapter cannot locate the bus from the X11 root property and must use org.a11y.Bus.GetAddress
L1-16 Behaviour with toolkit-accessibility false dbus box §3.1: GNOME hint to check toolkit-accessibility private session (own XDG_RUNTIME_DIR, GSETTINGS_BACKEND=keyfile under a private XDG_CONFIG_HOME; the memory backend is per process, so gsettings set never reached the launcher and the first run read the real dconf), probe-owned gnome-calculator, release binary status, one run per direction. false: private gsettings: false, GetAddress ok, IsEnabled: (False,), registry child_count=2 names=['xdg-desktop-portal-gtk', 'gnome-calculator'] found_calc=True waited_s=0.5, status: "accessibility":{"state":"granted"}. true: private gsettings: true, IsEnabled: (True,), same registry and granted. Live session afterwards: gsettings get ... toolkit-accessibility true, /run/user/1000/at-spi/bus_0 present NEW-EDGE 3.1: toolkit-accessibility=false does not stop GetAddress, app registration or the registry read; a GTK4 app registers either way and detection stays granted, so the setting is not a bus fault and IsEnabled is not read as a diagnostic. The GNOME hint names the setting only as the toggle behind the Settings accessibility switch, never as the cause of a failed detection. Scope: GTK4 app on a non-GNOME-Shell private session
L1-17 Wayland session, nested or headless gnome-shell, ydotool tool box Display Server Detection / Minimum OS: "Wayland: ydotool installed" wayland_feasibility.gnome_shell_help_flags: [--headless, --nested, --no-x11, --virtual-monitor, --wayland, --wayland-display, --x11], gdm_wayland_enabled_conf: ["WaylandEnable=false"], wayland_sessions_installed: [ubuntu-wayland.desktop, ubuntu.desktop], uinput.mode: 0o600, uinput.writable_by_probe_user: false, uinput.groups: [adm, sudo], tools.ydotoold.status: absent, tools.weston.version: weston 13.0.0; only flag presence was recorded, no Wayland session was started; a headless gnome-shell --headless --wayland started in a private session with a restart loop and a health gate, and RemoteDesktop keys reached a native GTK4 entry (L28-21) NEW-EDGE a headless Wayland shell now starts from the tests, so only the ydotool half stays open and it is owned by L5-2 (closure: none needed here); capture and clipboard use of the same shell belongs to 3.10
L1-18 Flatpak and Qt toolchain tool box §3.1: "Flatpak/Snap: Ensure the app has --talk-name=org.a11y.Bus permission" tools.flatpak.status: absent, python_modules.PyQt6.status: absent, python_modules.PyQt5.status: absent, python_modules.PySide6.status: absent; snap is present (tools.snap.version: snap 2.77.1) DEFERRED needs: flatpak install (root); closure: 3.14 (sandbox guidance, with L12-9). The Qt identity half is answered: no Qt binding is needed to measure it, a launched Qt 6 app answers in L3-9 and L3-10
L1-19 Python access to AT-SPI gi-atspi box §3.0: "pyatspi2 where it clarifies" python_modules.Atspi.version: typelib ok, desktops=1, python_modules.pyatspi.status: importable (path under the user-space tree only), packages_absent includes python3-pyatspi, python_modules.dbus.version: 1.3.2 NEW-EDGE 3.0 closure: pyatspi exists only through the user-space tree and python-dbus exists but the probes use Gio; the §3.0 wording is addressed by the KTD1 rewrite

Area L2 — trees and read cost

id probe stack scope phases.md expectation observed verdict action
L2-1 Raw tree dump of GNOME Files, Terminal, Settings (frame-rooted walk, all nodes, 8-9 calls per node) dbus app P3-O1: "snapshot on Ubuntu GNOME returns valid tree for Files, Terminal, Settings" 02-tree-files.json analysis.node_count: 201, max_depth: 27; terminal 89, max_depth: 8; settings 215, max_depth: 22; call_errors: 0, nodes_with_errors: 0 in all three; Calculator 98 (max_depth: 16), Text Editor 69 (max_depth: 17) CONFIRMS 3.2/3.4: the raw tree is fully readable with the planned call set; no read failure on any node
L2-2 Cycle and duplicate-reach detection with an ancestor-path set dbus api-contract §3.2: "same cycle-guard discipline as macOS/Windows (ancestor-path set, not a global visited set)" analysis.cycle_count: 0, duplicate_reach_nodes: 0, null_children: 0 for all 6 apps (VS Code 3 variants too); parent_mismatch: 1 Files, 2 Terminal, 1 Text Editor, 0 Calculator/Settings/VS Code (child's Parent property differs from the node it was reached from) NEW-EDGE 3.2: keep the ancestor guard, but this box never triggers it, so its failing direction is unmeasured (a unit test with a synthetic cycle is the only evidence); do not rely on Parent for re-identification, it disagreed with the walked parent on 4 nodes; 3.5: re-identification descends from the verified window frame and never climbs Parent
L2-3 ChildCount property against GetChildren length dbus api-contract none analysis.child_count_mismatch: 0 in every capture (6 apps) NEW-EDGE 3.2: ChildCount can be used to size/skip a GetChildren call; it agreed on every node read
L2-4 Sequential read cost of a full walk (call_sync) dbus app §3.2: "AT-SPI2 has no single 'copy multiple attributes' call ... concurrent-D-Bus-call batching strategy" timing.walk_sequential_call_sync min/median/max ms: Files 421.9/434.8/458.4 (201 nodes); Terminal 137.6/141.7/163.6 (89); Calculator 191.0/196.0/206.6 (98); Settings 427.6/429.7/454.1 (215); Text Editor 149.5/160.1/173.6 (69); VS Code 424.3/431.8/459.1 (252). About 2.1 ms per node at 9 calls (0.2-0.3 ms per call) NEW-EDGE 3.2: baseline for the concurrency gain; a 2,000-node tree costs about 4 s sequentially
L2-5 Concurrent walk, async Gio.DBusConnection.call under one main loop, 16 and 128 in flight dbus app §3.2: "futures::join_all over property-get calls" stands in for a batch call walk_concurrent_async_inflight_128 min/median/max: Files 118.7/123.4/148.0, speedup_vs_sync_median: 3.52; Terminal 50.2/51.5/53.6, 2.75; Calculator 67.9/79.5/95.6, 2.47; Settings 119.4/123.1/125.8, 3.49; Text Editor 43.8/52.2/60.5, 3.07; VS Code 159.8/165.5/173.2, 2.61. In-flight 16 is within 5-15% of 128 CONFIRMS 3.2: concurrent calls give a 2.5-3.5x walk speedup; a cap of 16 to 128 in flight is enough (no LimitsExceeded or timeouts seen, call_errors: 0)
L2-6 Properties.GetAll against individual Get for the Accessible properties (Name, Description, ChildCount, Parent, AccessibleId) dbus api-contract §3.2: "AT-SPI2 has no single 'copy multiple attributes' call" property_read_styles (Files, 201 refs) median ms: sync_individual_gets: 189.76, sync_getall: 57.62, async_individual_gets_inflight_128: 48.92, async_getall_inflight_128: 18.80; same ordering on Terminal (66.4/21.8/19.8/10.9), Calculator (86.0/25.8/22.1/9.0), Settings (187.1/55.5/49.5/20.0), VS Code (170.2/69.4/56.0/36.4) CONTRADICTS 3.2: use one GetAll(org.a11y.atspi.Accessible) per node for the property group (3.3x fewer round trips than five Gets), then concurrency on top
L2-7 org.a11y.atspi.Cache.GetItems as whole-app batch read dbus app §3.2: "AT-SPI2 has no single 'copy multiple attributes' call ... so this sub-phase designs the concurrent-D-Bus-call batching strategy" GTK4: cache_getitems.supported: true, Files items_app_wide: 208, get_items_timing 16.54/16.68/17.24 ms (vs 118.7 ms concurrent walk), role_mismatch: 0, name_mismatch: 0, state_mismatch: 0, child_count_mismatch: 0 over compared: 201; Calculator 7.97/7.99/8.30 ms (98 nodes), Settings 18.47/18.67/20.24 ms, Text Editor 5.89/5.96/6.00 ms. GTK3 Terminal: supported: false, error: org.freedesktop.DBus.Error.UnknownMethod. VS Code (Chromium): same UnknownMethod. Cache item tuple length 10 (ref, app, parent, index, child count, interfaces, name, role, description, states): no extents, attributes, relations or NActions CONTRADICTS 3.2: add Cache.GetItems as the GTK4 fast path (about 7x faster than the concurrent walk), keep concurrent calls as the general path (GTK3, Chromium, Electron answer UnknownMethod) and still fetch extents/attributes/relations per node
L2-8 Cache coverage against the walk dbus app none Files: in_walk_not_in_cache: 0, in_cache_under_frame_not_in_walk: 5; Calculator 0/2; Settings 0/22; Text Editor 0/3 (cache holds items parented under the frame that GetChildren did not return) NEW-EDGE 3.2: if the cache path is used, reconcile against GetChildren order; the extra items are unreachable by a children walk and must not become refs
L2-9 Wrapper role names that carry no meaning, GTK4 apps dbus app §3.4: "non-semantic wrapper elements with AT-SPI roles ROLE_PANEL, ROLE_SECTION, or ROLE_FILLER that have empty Name AND empty Value" GTK4 captures have wrapper_nodes: 0 yet analysis.empty_name_roles: Files 78 generic nodes with empty name of 201, Settings generic: 78, Calculator generic: 29, Text Editor generic: 38; no panel, section or filler role in any GTK4 capture NEW-EDGE 3.4: is_web_wrapper as specified skips nothing in GTK4 apps; decide whether generic (and empty-name group) join the skip set, only for web content or for all trees. Revisited by numeric role in L3-3: GTK4 generic is role number 39 (panel) and is the majority of GTK4 nodes
L2-10 Depth-skip effect on VS Code at the product default depth (max_depth 10 in crates/core/src/tree/tree_options.rs) dbus app §3.4 exit: "a VS Code snapshot at default depth finds 50+ refs through web-aware depth-skip alone (no force flag)" VS Code plain launch (no env, no flag): depth_skip_table["10"]: nodes_raw: 23 / nodes_skip: 386, refable_by_role_raw: 4 / refable_by_role_skip: 83 (second plain launch: 21/252, 4/54); wrapper_nodes: 160 of 386; max_depth: 33 raw, max_effective_depth: 8. Ref-ability here is an approximation (interactive role names), not the product rule CONFIRMS 3.4: skipping alone clears the 50-ref bar (54-83 against 4 without it); re-check with the real ref rule in the 3.4 test
L2-11 Wrapper roles in Chromium content dbus app §3.4: roles ROLE_PANEL, ROLE_SECTION, ROLE_FILLER VS Code roles: section: 164, panel: 12, filler absent; wrapper_candidates_with_value_iface: 0; empty_name_roles section: 149, panel: 11; wrapper_candidates_named: 15 (named wrappers must keep their depth cost) CONFIRMS 3.4: section is the dominant wrapper role in Chromium; filler never appears there but is the GTK3 wrapper (L2-12)
L2-12 Depth-skip applied to a GTK3 tree dbus app §3.4: depth-skip described for "Electron/WebKitGTK content" Terminal (GTK3): roles filler: 18, panel: 4, wrapper_nodes: 22 of 89; max_depth: 8 raw, max_effective_depth: 3; depth_skip_table["3"]: nodes_raw: 28 / nodes_skip: 89, refable_by_role_raw: 14 / refable_by_role_skip: 51 NEW-EDGE 3.4: the same rule changes GTK3 snapshots a lot (all 89 nodes inside depth 3 instead of 28); state whether the skip is global or limited to Chromium/WebKit subtrees
L2-13 Chromium detection by process name dbus app §3.4: "process name matching (electron, chrome, chromium, code)" VS Code registry_app.proc: comm: code, exe_basename: code, argv0_basename: code, registry name: code CONFIRMS 3.4: code matches by /proc/<pid>/comm and exe; electron was not observed (VS Code does not report it); Chrome rows in L2-17
L2-14 Chromium accessibility activation by env variable or flag dbus box §3.4: "Linux Chromium additionally respects ACCESSIBILITY_ENABLED=1 as an alternative to --force-renderer-accessibility" 02-tree-vscode.json variants None (env var removed, no flag), env (ACCESSIBILITY_ENABLED=1), flag (--force-renderer-accessibility) all expose document web at the first poll (stabilisation_series[0].document_nodes: 1) and settle at 252/252/252 nodes (the first plain launch settled at 386 with extra window content). a11y_status.IsEnabled: true on this box. Failing direction measured in L16-7 on a private bus with IsEnabled false NEW-EDGE 3.4: with IsEnabled true neither is needed; with it false only the environment variable made Chrome register reliably and the flag alone did not (L16-7), so the guidance text names ACCESSIBILITY_ENABLED=1 first
L2-15 Lazy population of the Chromium tree after the window appears dbus app none VS Code plain stabilisation_series: (t=0.01 s, 18 nodes), (1.02 s, 18), (2.21 s, 370), (3.31 s, 386), then stable; env variant 23 -> 200 -> 252 over 2.3 s; Files/Terminal/Calculator/Settings/Text Editor are complete at the first poll (Files 194 -> 201 at 0.07 -> 1.12 s in an earlier run) NEW-EDGE 3.4: a snapshot taken right after launch sees 18-23 nodes in Electron; the observation needs a stable-count wait with a deadline, not a single read
L2-16 accessible-id coverage on GNOME 46 apps and Chromium dbus app P3-O8: "AccessibilityNode.native_id populated from AT-SPI2 accessible-id (standard since AT-SPI 2.18) with GTK gtk-id / Qt objectName fallback; dom_classes may be populated from AT-SPI2 object-attributes HTML keys on WebKitGTK / Chromium-Content embeds" accessible_id.present: 0 in every capture: Files absent_answered_empty: 201, Terminal 89, Calculator 98, Settings 215, Text Editor 69, VS Code 252; read_failed: 0 everywhere. GTK attribute keys are only toolkit (plus window-type once). VS Code attributes include class (169 of 252 nodes), tag (185), id (8 nodes, the DOM id) CONTRADICTS 3.3: native_id from AccessibleId is empty for GTK3, GTK4 and Chromium on this box; there is no gtk-id attribute either; use the Chromium id attribute where present and treat other apps as identity-less; dom_classes from the class attribute is confirmed
L2-17 Google Chrome (running, read-only) dbus box §3.4: Chromium detection, depth-skip Pre-restart run (capture overwritten, not kept): Chrome comm: chrome, one registry app, 6 frames, a 369-node frame walk. After the a11y bus restart: 02-tree-chrome.json error: no chrome-like app on the a11y bus, candidates: 0. Closed by measuring an own Chrome instance with a fresh profile on a private bus (L16-3, L16-8) NEW-EDGE 3.4: the running Chrome is not needed; Chromium detection and the frame filter are measured on an own instance (L16-3, L16-8)
L2-18 GetExtents values dbus app none Reads succeed on all nodes (extents.read_failed_or_absent: 0) with the reply type ((iiii)). Zero-or-negative size: Files 17 of 201, Terminal 1 (page tab [-1,-1,-1,-1]), Calculator 4, Settings 16, Text Editor 61 of 69, VS Code 9/4 NEW-EDGE 3.4/3.5: keep empty and -1 extents distinct from errors; GTK4 containers often report [0,0,w,0] or all zero, so extents cannot decide visibility there
L2-19 Launching single-instance GApplications tool box none Files: launch.joined_preexisting_process: false, registry pid is the launched pid, frame at 0.52 s (no existing Files process on the box, so nautilus --new-window joining the existing process was not exercised). Terminal: app_pid_is_launched_pid: false (frames come from gnome-terminal-server, not the launcher pid). Text Editor: frame_wait_s: 25.48, launcher exit code 0 when a Text Editor process already exists (launches forward to it). Settings: exits 1 with Running gnome-control-center is only supported under GNOME and Unity, exiting unless XDG_CURRENT_DESKTOP=GNOME is set; with it, tree read NEW-EDGE 3.4/3.14: attach by comm and new-frame diff, not by launched pid; the remote session env lacks XDG_CURRENT_DESKTOP; a second Text Editor launch joins a process that may not be registered on the bus
L2-20 Tool absence tool box none wmctrl was absent at first run (tools.wmctrl.path: null), present at later runs (1.07) NEW-EDGE 3.4: wmctrl is a fallback only; do not make it a hard dependency

Area L3 — census and identity

id probe stack scope phases.md expectation observed verdict action
L3-1 Role domain: roles seen against the AT-SPI 2.52 enum dbus api-contract §3.3 exit: "vocabulary conformance tests span every AT-SPI Role (complete mapping coverage, not a sample)" enum.role_last_defined: 130 (values 0-129, last-defined is a sentinel); roles_seen_count: 44, roles_unseen_count: 86, role_number_not_in_enum: [] (every number a live app returned is a 2.52 enum value). Seen role numbers by count: panel (39) 418, section (85) 250, push-button (43) 254, label (29) 109, static (116) 100, notification (101) 49, menu (33) 43, menu-item (35) 37, image (27) 37, list-item (32) 33, plus 34 more down to 1 each. Unseen (86): see section 5 CONFIRMS 3.3: the domain to map is 130 values; the table needs an arm for every number 0-129 and a fallthrough for numbers above 129 (a newer libatspi); the 86 unseen roles can only be tested by a synthetic unit test, no running app here returned them
L3-2 GetRoleName strings against the numeric GetRole, per toolkit dbus api-contract §3.3: "AT-SPI Role enum → unified role enum"; capability map subrole: "AT-SPI2 role-name + state-set" Same number, different GetRoleName per toolkit (roles_seen[...].role_name_strings_by_toolkit): role 39 (panel) is generic on GTK4 (306 nodes) and panel on GTK3/Chromium/Gecko; role 49 (scroll-pane) is generic on GTK4; role 23 (frame) is application on all four GTK4 apps and frame elsewhere; role 43 (push-button) is button on GTK4 and push button elsewhere; role 7 (check-box) is switch on a GTK4 Settings node; role 55 (table) grid; role 87 (form) search; role 61 (text) text box on GTK4 and text on Qt; role 54 (status-bar) statusbar on Chromium. GetRoleName for a GTK4 node is an ARIA-style label, not the enum nick. Role numbers were never ambiguous NEW-EDGE 3.3: key roles.rs on the numeric GetRole, never on GetRoleName; subrole from role-name is a toolkit-local vocabulary (GTK4 generic, switch, search, grid carry information the number does not, but are not portable), so state which toolkit strings are matched
L3-3 Wrapper roles by number on GTK4 (revisits L2-9) dbus app §3.4: "non-semantic wrapper elements with AT-SPI roles ROLE_PANEL, ROLE_SECTION, or ROLE_FILLER that have empty Name AND empty Value" GTK4 generic nodes are role number 39 (panel): Files 121 of 201 nodes (roles["39"].count: 121, name_nonempty: 3), Settings 99 of 199 (name_nonempty: 3), Text Editor 52 of 74 (name_nonempty: 1), Calculator 34 (all empty name). L2-9 found zero wrapper nodes in GTK4 because it matched the string panel; by number there are hundreds. GTK3 Terminal: filler (20) 18, panel 4 NEW-EDGE 3.4: is_web_wrapper keyed on the Role number would skip most GTK4 containers too; correct L2-9 and decide whether the skip is limited to Chromium/WebKit subtrees or global (the same question as L2-12), then test it against a GTK4 tree
L3-4 role_description source dbus api-contract capability map role_description: "AT-SPI2 role-description" There is no role-description property; the call is Accessible.GetLocalizedRoleName. It answered on every role in all 9 apps (localized_role_errors: 0) and equals GetRoleName for every role (apps.*.localized_role_name_differs_from_role_name: {}) on this English locale. The author-supplied description is the attribute roledescription (Chromium only) (the Chrome capture attribute examples Bookmark button, Bookmark folder button; VS Code editor), on 3 Chrome nodes and 1 VS Code node, absent in GTK and Qt CONFIRMS 3.3 implements this: role_description is the roledescription attribute only; GetLocalizedRoleName is not read because it equals GetRoleName off-English too (L3-26)
L3-5 StateSet vocabulary dbus api-contract §3.3: "AT-SPI StateSet → canonical state vocabulary" Enum has 44 states (0-43, plus the last-defined sentinel at 44); state_enum_vs_walker_mismatch: []. No set bit above 43 in any app (state_bits_beyond_known_names: {} for all 9). Seen: 29 distinct (e.g. sensitive 1506, visible 1356, showing 1104, enabled 938, focusable 324, editable 9, checked 1, expanded 1, pressed 1, modal 2, has-popup 67). Unseen (15): active animated armed busy collapsed defunct has-tooltip iconified indeterminate invalid invalid-entry is-default required stale truncated CONFIRMS 3.3 implements this: the mapping covers 44 bits and nothing beyond; the 15 unseen states are tested synthetically; the toggled and expanded cases were measured on a driven app (L3-25)
L3-6 ENABLED versus SENSITIVE by toolkit dbus api-contract §3.3: StateSet → canonical states (the enabled state is not specified) GTK4 never sets enabled: Calculator enabled: 0 / sensitive: 97 of 98, Files 0/199 of 201, Settings 0/199 of 199, Text Editor 0/74 of 74. GTK3 sets both (enabled: 84, sensitive: 83 of 89), Chromium both (Chrome 188/188 of 246; VS Code 400/400 of 404), Gecko both (244/244 of 247), Qt both (22/22) NEW-EDGE 3.3: canonical enabled must be ENABLED or SENSITIVE; reading ENABLED alone reports every GTK4 control as disabled, and the actionability preflight would refuse every GTK4 click
L3-7 visible and showing dbus app none showing is a strict subset of visible in browsers: Chrome visible: 61, showing: 61 of 246; Firefox visible: 218, showing: 42 of 247; VS Code 401/389 of 404. GTK4 sets both on every node (Files 201/201). Qt 19/19 of 22 (3 nodes neither) NEW-EDGE 3.3 implements the showing accessor and produces no offscreen from it (L3-27); 3.6 owns the occlusion and off-screen decisions and 3.5 the live reads, and both use showing, never visible alone (Firefox: 218 nodes visible against 42 showing)
L3-8 AccessibleId tri-state by toolkit, and the fallbacks dbus api-contract P3-O8 and §3.3: "accessible-id (standard since AT-SPI 2.18) → native_id, with GTK gtk-id / Qt objectName fallback" Present / absent-answered-empty / read-failed of AccessibleId: GTK3 Terminal 0 / 89 / 0; GTK4 0 / 572 / 0 over four apps; Chromium 0 / 650 / 0 (VS Code 404, Chrome 246); Gecko 0 / 247 / 0; Qt 22 / 0 / 0. GTK attribute keys are only toolkit (value GTK on GTK4, gtk on GTK3) and window-type once; no gtk-id or any id-like key (id_like_attribute_keys: {} in all 5 GTK captures) CONTRADICTS 3.3: native_id comes from AccessibleId on Qt only (L3-9) and from the DOM id attribute on Chromium and Gecko (L3-11); GTK has no stable id of any kind, so GTK identity is role, name and path evidence, reproducible across a restart (L3-10). P3-O8, the 3.3 scope and the capability map are corrected in place
L3-9 Where Qt objectName surfaces dbus app P3-O8: "Qt objectName fallback" In Qt 6.11 AccessibleId itself carries it, as a dotted chain of ancestor object names: QApplication, QApplication.mainWin, QApplication.mainWin.centralPane.nameEdit, ...centralPane.optCheck; an unnamed button gets its class name (...centralPane.QPushButton); a widget with setAccessibleIdentifier returns that value alone (okButtonAccId). 22 of 22 nodes answer, 17 distinct; the 5 duplicates are list rows and combo popup rows that share their list's id. No attribute carries it (attributes_tristate: answered_empty on all 22) and the Name never does (known_id_surfaces finds only the explicit identifier by exact match) NEW-EDGE 3.3: for Qt native_id is AccessibleId directly, with no fallback read; keep the full dotted value (the last segment is the objectName), treat a class-name tail (QPushButton, QAction) and row-level duplicates as non-identifying; 3.5: rows that share the id are told apart by stable text, then by stored size, and stay ambiguous when nothing separates them
L3-10 Identifier stability across an app restart dbus app P2-O8: "controls with explicit IDs survive re-drills; controls without one continue through the fingerprint fallback" Two launches each (restart_comparison): Qt accessible_id_values: [17, 17, 17] (all 17 distinct values identical), same_ipath_role_name: 22 of 22; Calculator 98 of 98 and Files 201 of 201 identical by (index path, role, name) with no ids at all; VS Code attr_id_values_run1_run2_both: [10, 9, 8] (the differing ones are list_id_1_0, list_id_4_0, workbench.panel.chat, dynamic content), node counts 404 then 270 at settle, fraction_ipath_role_name_of_min: 0.9407 CONFIRMS 3.3 implements the Qt AccessibleId and web DOM id as native_id, which survive restarts; GTK4 trees of a fresh launch are reproducible by path+role+name, so the fingerprint fallback has a stable basis, which 3.5 consumes; VS Code ids with list indices or lazily mounted parts do not survive; 3.5 resolves GTK elements by role, name and path with a stored-size tie-break
L3-11 Chromium and Gecko HTML attributes dbus app P3-O8: "dom_classes may be populated from AT-SPI2 object-attributes HTML keys on WebKitGTK / Chromium-Content embeds"; capability map dom_id / dom_classes On the local test page both browsers returned every page id (page_ids_found: bt ck hd lk nm rg sel, 7 of 7) as attribute id, and the classes as attribute class (f a, btn). Coverage over the whole tree: VS Code class 269 of 404, id 10, tag 299, xml-roles 84; Chrome class 231 of 246 (browser UI views), id 35, xml-roles 1; Firefox class 152 of 247, id 88, tag 246, xml-roles 17. Other keys seen: display, text-align, explicit-name, name-from, description-from, level, posinset, setsize, haspopup, live, hidden (Chrome 185) CONFIRMS 3.3 implements dom_id from id and dom_classes from class, taking a web-document flag as input because the id key also carries non-DOM view ids on browser chrome (view_1, tabContextMenu); 3.4 owns supplying the flag from a document web or document-frame ancestor
L3-12 placeholder source by toolkit dbus app capability map placeholder: "AT-SPI2 description + HTML placeholder via object-attributes" Chromium: attribute placeholder (Type here, Describe what to build); Gecko: attribute placeholder-text (Type here), a different key; Qt: Description of the QLineEdit is its placeholder (Type name), no attribute; GTK4: Description is tooltip text (Close the window, Recently Used Documents), never a placeholder in the apps present CONFIRMS 3.3: read placeholder and placeholder-text attributes, and treat Description as a placeholder only on text-input roles for Qt; on GTK Description is a tooltip, so do not apply the description rule to buttons
L3-13 Attribute keys per toolkit dbus api-contract none GTK3/GTK4 carry only toolkit (and window-type on one GTK3 window); Qt carries none. Chromium (VS Code): text-align 299, tag 299, display 298, class 269, name-from 208, explicit-name 89, xml-roles 84, setsize 29, container-live 20, posinset 20, haspopup 17, level 14, id 10, keyshortcuts 6, placeholder 1, roledescription 1; Gecko adds margin-*, child-item-count, formatting, src, placeholder-text NEW-EDGE 3.3 implements this: attributes are only a signal on Chromium/Gecko, and toolkit is the cheap toolkit probe for GTK (GTK versus gtk), used for the one GTK subrole pair; 3.4 detects a web document from its role 95 or 82 ancestor, not from attribute presence
L3-14 Name evidence: Name, LabelledBy, Description dbus app §3.3: "NameEvidence supplier feeding core accname.rs (AT-SPI Name, LabelledBy relation, Description)" Name non-empty: Calculator 59 of 98, Terminal 53 of 89, Files 57 of 201, Settings 67 of 199, Text Editor 21 of 74, VS Code 208 of 404, Chrome 62 of 246, Firefox 102 of 247, Qt 16 of 22. LabelledBy (relation 2) resolves to a named target: Calculator 23 of 23, Settings 25 of 26, Files 2 of 3, Firefox 2 of 2, Qt 1 of 1; only one node on the whole box has an empty own name and a named LabelledBy target (Firefox, own_name_empty_but_target_named: 1). DescribedBy (17) is never present; the reverse description-for is (Settings 26, Files 2) CONFIRMS 3.3: all three sources exist and resolve; LabelledBy mostly repeats the node's own Name, so it is a fallback; do not rely on DescribedBy, read Description directly
L3-15 Description non-empty rate dbus app §3.3: Description as name evidence Calculator 0.184 (18/98), Text Editor 0.149 (11/74), Qt 0.136 (3/22), Firefox 0.053, Chrome 0.037, Files 0.035, VS Code 0.030, Settings 0.015, Terminal 0.0 (0/89). GTK4 values are tooltips; Qt's application node returns the interpreter path NEW-EDGE 3.3: Description is a low-yield tooltip channel; weight it below Name and LabelledBy
L3-16 RelationSet types seen dbus api-contract §3.4: "check both Role and RelationSet/RELATION_EMBEDS" relation_types_seen: labelled-by 56, description-for 28, member-of 15 (VS Code), controller-for 11, node-child-of 5 (Firefox), embeds 3, label-for 3, embedded-by 2, controlled-by 1, popup-for 1. embeds/embedded-by appear in VS Code (1/1), Chrome (1/1) and Firefox (1/0). Never seen: flows-to, flows-from, described-by, details, error-message CONFIRMS 3.4: RELATION_EMBEDS is real on Chromium and Gecko; the other types in the enum (23 values, 0-22) were not produced by any app here
L3-17 Role x interface matrix dbus api-contract §3.0 scope: "interface census per Role (Action, Text, EditableText, Value, Selection, Component, StateSet)" Full matrix in role_interface_matrix (44 roles x toolkit). Highlights: Value only on slider and scroll-bar (GTK3/GTK4/Qt/Chromium slider) plus one GTK4 panel; Selection on list, menu, menu-bar, page-tab-list, tool-bar (Chromium), table, check-menu-item (GTK3); EditableText on GTK4/Qt text (3/3, 1/1) but also on 180 of 247 Gecko nodes (labels, headings, links, sections) and the Gecko alert; Text on all 246 Chrome and 403 of 404 VS Code nodes. Component is on every node except one Qt node and one Firefox node NEW-EDGE 3.3 implements this: editability comes from the editable state (Gecko editable: 2 against EditableText: 180), never from interface presence; 3.4 and 3.7 own deciding actionability from NActions and the action name, written into their scopes
L3-18 Action interface advertised versus NActions > 0 dbus app §3.4 / ref rule: "Ubiquitous affordances do not qualify on their own" Action iface / nodes with NActions > 0: Calculator 98 / 60, Files 191 / 43, Settings 197 / 46, Text Editor 71 / 19, Terminal 57 / 46, Qt 21 / 16, Firefox 246 / 238, Chrome 246 / 246, VS Code 404 / 404 (Chromium advertises on every node) NEW-EDGE 3.4/3.7: on GTK use NActions (not the interface) as the "advertises an action" test; on Chromium and Gecko every node has actions, so the action-name rule (L3-19) must decide ref-ability
L3-19 Action names dbus api-contract §3.7 mapping: Expand/Collapse "Action.DoAction("expand") / ("collapse")", Toggle "DoAction("toggle") or ("click")"; P3-O13: ShowMenu via DoAction("popup"), Cancel via DoAction("cancel") Names from GetName(i) over sampled nodes: GTK4 click (60), plus GAction names such as clipboard.copy, selection.delete, link.open, menu.popup, window.close, win.close; GTK3 click (45), menu; Chromium showContextMenu 470, doDefault 181, clickAncestor 147, click 49, press 47, open, select, jump, check, uncheck, activate; Gecko clickAncestor 123, click 39, press 38, jump, activate, select, open, switch, check; Qt SetFocus, Toggle, Press, ShowMenu, Increase, Decrease. None of expand, collapse, popup, cancel appears in any app; toggle appears only as Qt Toggle (capital) and Chromium checkboxes use check/uncheck CONTRADICTS 3.7: the name-based dispatch rows are corrected in place. Names are toolkit-specific and none of expand, collapse, popup, cancel is advertised; read the advertised set with GetName(i) (L3-20) and pick from it. This row states which names exist, not what each one does
L3-20 Which call returns the action name dbus api-contract §3.7: Action.DoAction(0) / by name GetActions first field is not the machine name: Chromium returns empty strings (VS Code 526 of 526 entries, Chrome 414 of 414, getactions_empty_names), Gecko returns ;; junk, GTK returns the localized form (Click) while GetName(0) returns click, Qt matches. GetLocalizedName is empty on Chromium, differs from GetName on GTK/Gecko (Click against click), and is unimplemented in Qt (org.freedesktop.DBus.Error.UnknownObject, 24 calls). On Calculator GetName(i) failed with an unmapped GLib error on 6 of the indexed calls (call_errors, 6 name, 6 localized) NEW-EDGE 3.7: read action names with GetName(i) (the only reliable one), compare case-insensitively for GTK, and tolerate a per-index error
L3-21 Properties.GetAll(Accessible) on Qt dbus app none (revisits L2-6, which recommends one GetAll per node) Qt: getall_fallback.nodes_getall_failed: 22 of 22 with org.freedesktop.DBus.Error.UnknownInterface; individual Properties.Get of Name, Description, AccessibleId, HelpText, Locale answered on 22 of 22 (fallback_answered). GetAll succeeded with zero errors on all 8 other apps NEW-EDGE 3.2: when GetAll(org.a11y.atspi.Accessible) returns UnknownInterface, fall back to per-property Get; a walk that assumes GetAll reads every Qt name as empty (this probe's first Qt run did exactly that)
L3-22 Chrome web content with and without --force-renderer-accessibility (closes the tree row of L2-17) dbus box §3.4: "Linux Chromium additionally respects ACCESSIBILITY_ENABLED=1 as an alternative to --force-renderer-accessibility" Own Chrome instance, same page, both launches: 246 nodes each; document web nodes 1 (no flag) and 3 (flag); descendants of a document web node 16 in both, same role mix (static 4, menu item 2, heading, label, entry, push button, link, combo box, check box, landmark, menu, paragraph); page ids 7 of 7 in both; placeholder attribute Type here in both. Settle series: 230 nodes at 0.68 s then 246 at 1.26 s (no flag); 246 at the first poll, 0.18 s (flag). The a11y bus reported IsEnabled: true in L2, so the flag was not needed NEW-EDGE 3.4: with the a11y bus enabled, web content appears without the flag, as with VS Code (L2-14); the case with IsEnabled false stays unmeasured (L2-14 deferred); allow for a late-arriving second document web node
L3-23 Gecko lazy tree and web content dbus app §3.4: depth-skip for "Electron/WebKitGTK content" Firefox node count over time: 66 (0.03 s), 78, 81, 226 (1.8 s), 247 (2.9 s), stable at 4.1 s; web content descendants_of_document_web: 176 (section 78, push button 28, label 19, link 15), section is the dominant wrapper role as in Chromium NEW-EDGE 3.4: the stable-count wait is required for Gecko too (about 4 s); the wrapper skip applies to Gecko content (section 78)
L3-24 Restart behaviour of VS Code dbus app none Run 1: 404 nodes, run 2: 270 nodes at the same settle rule (settle_series ends at 5.86 s and 4.32 s); 255 of 270 (path, role) keys shared NEW-EDGE 3.4: an Electron tree is not reproducible across launches (restored workbench parts differ), so path-based re-identification across a restart is unreliable there; the snapshot is only valid within a process; 3.5: a ref cannot cross a restart, because the window gate refuses a process instance other than the stored one
L3-25 GTK4 and GTK3 toggled, popover and check states, entry placeholder (private Xvfb session, DoAction(0) read before and after, in-memory settings) dbus app capability map placeholder; §3.3 states GTK4 toggle button (role 62) sets pressed while active and never checked or expanded: Files Search Current Folder and Filter Search Results, Text Editor Main menu, Calculator Main Menu each read pressed after DoAction(0) and lose it after the second call. A GTK4 menu button is two nodes: an outer push button (role 43) that carries has-popup, and an inner toggle button (role 62) that carries pressed while its popover is open; no node reads expanded. GTK4 popover check item (role 8, role name menu item checkbox, Files) read checked + checkable after DoAction(0); radio items (role 45, menu item radio, Calculator) read checked. GTK3 check menu item (Terminal Show Menubar) reads checked. Chromium (VS Code): toggle button (role 62) reads pressed, check box reads checked, entry carries attribute placeholder. Files search box (role 79 search box, opened by the search toggle): Name and Description empty, attributes only toolkit, no placeholder key; no GTK4 entry in Files, Text Editor or Calculator exposes placeholder text NEW-EDGE 3.3: for role 62 emit checked from either pressed or checked and pressed only for push buttons; GTK4 has no placeholder source, so nothing is emitted; expanded has no GTK4 source and the open state of a menu button is the toggle's pressed, which 3.7 owns together with expand/collapse by action name
L3-26 Localized role and action names off-English (Calculator, Files, Terminal and Qt launched with LANG and LC_ALL set to es_ES.UTF-8 and LANGUAGE=es) dbus app capability map role_description The apps' own text is localized (Calculator window name Calculadora, Files sidebar Carpeta personal), yet GetLocalizedRoleName equals GetRoleName for every role present: Calculator 9 distinct role/name pairs, Files 16, Terminal 12, Qt 12, zero differences; GTK4 role names stay English (toggle button, grid cell) and GTK3 and Qt stay English too NEW-EDGE 3.3: GetLocalizedRoleName carries no information beyond GetRoleName on any toolkit measured, so no per-node read is added and role_description comes only from the Chromium roledescription attribute
L3-27 VISIBLE without SHOWING against node extents, per toolkit dbus app §3.3: offscreen from the state set; L3-7 and L6-9 Calculator 0 of 98, Files 0 of 367, Text Editor 0 of 74, Qt 0 of 18 (GTK4 and Qt never set VISIBLE without SHOWING). GTK3 Terminal: 33 of 49, every one a node of a closed menu with extents [-2147483648,-2147483648,1,1]. VS Code: 12 of 402, extents such as [-12947,912,327,19] and [945,-49820,1,1] plus one with extents [542,619,304,35] wholly inside the window frame [40,112,1200,800]. Firefox: 886 of 946, of which 173 have extents inside the window frame [4,4,1152,921] (menu bar and menus, the scroll pane, internal frames and both document web nodes). The word order is confirmed: SHOWING (bit 25) is in word 0 on every node and HAS_POPUP (bit 42) in word 1 NEW-EDGE 3.3: offscreen is not produced from the state set, because on-screen nodes read VISIBLE without SHOWING on Chromium and Gecko; the showing bit stays available; 3.6 owns the derivation (extents against the window frame and scroll container, the INT32_MIN sentinel as unknown bounds)
L3-28 Chromium notification role (49 nodes in L3-1) dbus app none VS Code role 101 nodes read attributes xml-roles: alert, live: assertive, container-live: assertive, atomic: true, class: monaco-alert, states enabled sensitive visible (no showing) CONFIRMS 3.3: role 101 maps to alert, matching its source ARIA role
L3-29 EDITABLE on text roles (60 terminal, 61 text, 79 entry) dbus api-contract none GTK4 text box (role 61): Calculator input editable focusable focused multi-line, Text Editor view editable; Calculator display read-only without editable; Qt line edit (role 61 text) editable; GTK3 Terminal (role 60) enabled focusable sensitive showing visible, no editable and no read-only; Chromium entry (role 79) editable; Files search box (role 79) editable NEW-EDGE 3.3: text roles 60 and 61 map to textfield only with EDITABLE, so the GTK3 Terminal resolves to document and the Calculator display to document; role 79 is a text field whatever its state
L3-30 Name of GTK4 popover menu items dbus app §3.3: NameEvidence slots Menu items (role 35) in the Files, Text Editor and Calculator main-menu popovers have an empty Name and Description on all 8, 11 and 6 items, an Action interface with NActions 1, no Text interface, and one child (role 39 generic) with an empty name and no children of its own; the Zoom buttons (role 43) in the same popovers do name themselves (Zoom out). No node under the item carries its label text NEW-EDGE 3.3: nothing in the item's subtree to read, so the name resolves absent and no child_label source is built; a GTK4 popover item is addressable by position and action count only, which 3.4's dogfood on Files and Calculator must state for the agent

Area L4 — interactions

id probe stack scope phases.md expectation observed verdict action
L4-1 Click on a GTK3 push button, DoAction(0), target window inactive dbus api-contract §3.7 Linux API Mapping Click: "org.a11y.atspi.Action.DoAction(0)" fixture row DoAction(0) push button: returned: true, fixture stdout clicked event (independent), focus_changed_from_decoy: false, pointer_moved: false CONFIRMS none
L4-2 Click on GTK4 Calculator buttons (1 + 2 = C) by DoAction(0) dbus app §3.7 Click: "DoAction(0)" calculator rows: returned: true, display text '' -> '1' -> '1+' -> '1+2' -> '3' -> '', window pixel md5 changes each step (independent X11 read), x11_target_active_after: false, pointer_moved: false; the single action is named Click CONFIRMS none
L4-3 Action-less and unreported-effect nodes in GTK4 dbus app §3.7 Click: "DoAction(0)" with no precondition Text Editor buttons Open, View, Main menu carry the Action interface with an empty action list (their toggle-button twins carry Click); Settings sidebar rows are button nodes with actions: [] (sound_row_actions: []); Files Back: DoAction(0) -> returned: false (no effect); Files grid cell listitem.scroll-to: returned: true, states unchanged NEW-EDGE 3.7: read the action list (GetActions/NActions) before DoAction; an empty list, or false, is ACTION_NOT_SUPPORTED/not delivered, never a click
L4-4 Action naming across toolkits dbus api-contract §3.7 Toggle: "Action.DoAction("toggle") or Action.DoAction("click")" D-Bus DoAction takes an index only (introspect: DoAction beside GetActions, GetName); names must be resolved via GetActions. GTK3 names are capitalised: check box/toggle button/radio Click, switch Toggle, expander/entry/spin Activate, combo Press; GTK4 mixes Click with GAction names such as menu.popup, win.close, list.select-all (census: 53/28/70/19 distinct names in Text Editor/Calculator/Files/Settings) NEW-EDGE 3.7: resolve action index by case-insensitive name from GetActions; do not assume lowercase verbs
L4-5 Toggle effect on GTK3 check box, toggle button, switch, radio button via DoAction(0) dbus api-contract §3.7 Toggle: "Action.DoAction("toggle") or Action.DoAction("click")" fixture rows: each returned: true, toolkit state flips (check, toggle, switch, radio2 False -> True) and the fixture stdout carries the event; check box advertises only Click, switch only Toggle CONFIRMS 3.7: Click is the verb for check/toggle/radio, Toggle for switch; read the state back
L4-6 Expand and collapse a GTK3 expander dbus api-contract §3.7 Expand/Collapse: "Action.DoAction("expand") / Action.DoAction("collapse")" expander_named_actions: {expand_idx: null, collapse_idx: null}; the only action is Activate ("Activates the expander"); DoAction(0) -> toolkit expanded False -> True, again -> False; AT-SPI states after: expanded+checked, then neither. No action name containing expand or collapse in any of the four GTK4 apps' census CONTRADICTS 3.7: no expand or collapse action exists; disclosure is one toggle-style action (GTK3 expander: Activate) resolved by name through GetActions/GetName(i); read EXPANDED first, call the action only when it differs from the target, read the state back. §3.7 scope and the Expand/Collapse row are corrected in place
L4-7 Selection.SelectChild on GTK3 combo, list box, notebook and GTK4 grid dbus api-contract §3.7 Select: "org.a11y.atspi.Selection.SelectChild" for "combobox, listbox, tab items" fixture: combo 0 -> 2, list box [] -> [1], notebook page 0 -> 1, all returned: true with toolkit event; Files grid: SelectChild(1) then SelectChild(2) gives nsel 1 then 2 (adds, does not replace), SelectAll 3, ClearSelection 0; GTK3 notebook tab nodes carry no Action interface (notebook_tabs[].actions: null) CONFIRMS 3.7: GTK4 multi-select grids add on repeated SelectChild
L4-8 Selection edge cases: deselect and out-of-range dbus api-contract §3.7 Select (no failure semantics stated) GTK3 list box DeselectChild(1) -> returned: true, effect_observed: false (selection still [1]); GTK3 SelectChild(99) -> false; GTK4 grid SelectChild(99) -> D-Bus error InvalidArgs NEW-EDGE 3.7: success with no effect for DeselectChild on GTK3; verify with NSelectedChildren (a property, not a method) / IsChildSelected
L4-9 SelectChild on navigation lists (Files sidebar, Settings categories) dbus app §3.7 Select: "Selection.SelectChild (select)" Files sidebar SelectChild(Open Personal Folder): returned: true, frame name and listing unchanged; Settings SelectChild(Sound): returned: true, visible page labels unchanged (labels_showing still the Displays page), only the pixel hash changed once, row selected state went [2] -> []; second call (Appearance) changed nothing NEW-EDGE 3.7: selection is not activation on GTK4 navigation lists; a row with no action cannot be activated by AT-SPI, route through input (3.8) and report verified: false
L4-10 Set text interface name dbus api-contract §3.7 Linux API Mapping Set text: "org.a11y.atspi.Text.InsertText" introspection: Text methods include GetText, SetCaretOffset, GetNSelections, AddSelection ... and no InsertText; direct call Text.InsertText -> UnknownMethod; EditableText has SetTextContents, InsertText, CopyText, CutText, DeleteText, PasteText CONTRADICTS 3.7: set text is EditableText.InsertText(position, text, length) or EditableText.SetTextContents; Text has no InsertText. P3-O10, the Set text rows and the §3.7 key APIs are corrected in place
L4-11 Caret read is a property dbus api-contract P3-O10: "GetCaretOffset" among the "org.a11y.atspi.Text D-Bus methods"; capability map Text range read: "Text.GetText(start, end) + Text.GetCaretOffset" Text methods list has no GetCaretOffset; CaretOffset and CharacterCount are properties (properties: [CharacterCount, CaretOffset]), read through Properties.Get in every text row CONTRADICTS 3.7: CaretOffset and CharacterCount are properties read with Properties.Get, not methods. P3-O10 and the Text range read row are corrected in place
L4-12 Text offset unit, non-BMP emoji and combining mark dbus api-contract §3.0/core TextRange: "UTF-16 code units"; P3-O10: "core's UTF-16 offsets" text a+U+1F600+e+U+0301+b: CharacterCount: 5 (UTF-16 would be 6, graphemes 4); GetText(1,2) = the emoji and GetText(1,3) = emoji+e (code points); GetText(3,4) = the lone combining mark; toolkit read-back: InsertText(2,'X') -> a+emoji+X+e+mark+b, InsertText(3,'Y') lands between e and the mark (UTF-16 would land after the emoji); SetCaretOffset(3) -> toolkit position 3; AddSelection(1,2) -> toolkit selection [1,2]; CopyText(1,2) -> clipboard holds the emoji. Same on GTK3 entry, GTK3 text view and GTK4 Text Editor (verdict_get_text: code_points) CONTRADICTS 3.7: AT-SPI text offsets are Unicode code points on GTK3 and GTK4; the adapter converts to and from core's UTF-16 offsets at its boundary, core's contract is unchanged. P3-O10 is corrected in place
L4-13 InsertText length parameter dbus api-contract P3-O10: "EditableText.InsertText(position, text, length)" length counts UTF-8 bytes, not characters: inserting two emoji (8 bytes) with length 1 or 2 inserts nothing (and returned: true, toolkit Gtk-CRITICAL g_utf8_validate), 4 inserts one emoji, 5 inserts nothing (GTK4) or one emoji (GTK3). ASCII InsertText(5,', dear',6) works NEW-EDGE 3.7: pass the UTF-8 byte length; never a code-point count or a value cutting a sequence; true is returned even when nothing was inserted, so read back
L4-14 Text editing on GTK3 entry and GTK3 text view dbus api-contract §3.7 Set text; P3-O10 SetTextContents, InsertText, DeleteText, SetCaretOffset, AddSelection, RemoveSelection all returned: true with matching toolkit values (entry hello, hello world, hello; entry_pos 2; entry_sel [1,4] then []); caret moves to end of inserted text after InsertText (entry_pos 0 -> 11) CONFIRMS none
L4-15 Text editing on GTK4 Text Editor dbus app P3-O10: "GetNSelections, GetSelection(n), AddSelection(start, end), RemoveSelection(n)", "SetCaretOffset" SetTextContents, InsertText, DeleteText, GetText, CharacterCount, CaretOffset work with read-back; SetCaretOffset, AddSelection, RemoveSelection -> D-Bus NotSupported; GetNSelections -> 0; GetSelection(0) -> InvalidArgs: Not a valid selection: 0 CONTRADICTS 3.7: GTK4 text widgets answer NotSupported for SetCaretOffset, AddSelection, RemoveSelection and have no selections; GTK3 supports them; text write on GTK4 is InsertText/DeleteText/SetTextContents only. P3-O10 and the Text range write row are corrected in place
L4-16 GrabFocus dbus app none (U4 asks whether each action needs or steals focus) GTK4 text box: Component.GrabFocus -> D-Bus NotSupported. GTK3 entry: returned: true, toolkit focus widget adbtn -> adentry, adentry2. Earlier run (decoy active, capture overwritten): _NET_ACTIVE_WINDOW changed to the fixture window after GrabFocus (focus_changed_from_decoy: true, x11_target_active_after: true), in a second earlier run again, but not in the final run (window manager refusing activation, focus_changed_from_decoy: false) NEW-EDGE 3.7: do not use GrabFocus in the headless tier; it can activate an inactive window (2 of 3 runs) and is unsupported on GTK4
L4-17 Value.CurrentValue set dbus api-contract §3.7 scope names no Value route CurrentValue is a property written with Properties.Set (no return value); spin 42 and 10.5 stored as given, 500 stored as 100 (max), scale -50 stored as 0 (min), toolkit events and Properties.Get agree; MinimumValue/MaximumValue/MinimumIncrement = 0/100/1 NEW-EDGE 3.7: set-value clamps silently; read CurrentValue back and compare
L4-18 ShowMenu via DoAction("popup") dbus app P3-O13: "Action::ShowMenu via org.a11y.atspi.Action.DoAction("popup")"; capability map: "AT-SPI2 Action.DoAction("popup")" no action named popup on the GTK3 entry (entry_actions: [Activate], entry_popup_action_idx: null); GTK4 text widgets expose menu.popup; Files exposes view.popup-menu. Calling menu.popup: Text Editor returned: true, showing-node count 65 -> 66 but pixel md5 unchanged; Calculator returned: true, no change in node count, X11 windows of the process, or pixels CONTRADICTS 3.7: there is no popup action; ShowMenu resolves the widget's own name (GTK4 menu.popup, Files view.popup-menu), whose true produced no observable menu, so it reports verified: false. P3-O13 and the ShowMenu row are corrected in place
L4-19 Cancel via DoAction("cancel") dbus api-contract P3-O13: "Action::Cancel via Action.DoAction("cancel") or Escape synthesis"; capability map: "AT-SPI2 Action.DoAction("cancel") or synthesize Escape" no action named cancel (any case) in the GTK3 fixture or in the 126 distinct action names of the four GTK4 apps; closest names search.hide, win.close, navigation.pop CONTRADICTS 3.7/3.8: there is no cancel action in any measured app; Escape synthesis is the only route. P3-O13 and the Cancel row are corrected in place
L4-20 Popover toggle buttons in GTK4 (Text Editor Main menu, View; Calculator Main Menu; Files View Options) dbus app §3.7 Click: DoAction(0) returned: true on both open and close calls; AT-SPI states, node count, X11 visible windows and window pixel md5 all unchanged (the same pixel channel changed for every Calculator digit click, so it can see changes); Files Search Everywhere does change pressed NEW-EDGE 3.7: ActionStep must report verified: false for popover toggles; whether the popover opened is unobserved, needs a portal screenshot or another channel Amended by L18-1: the popover is not absent; it reaches the registry 160 to 330 ms after the call returns, so the unchanged reading was taken too early, and the open state is observable (L33-11).
L4-21 Action on an insensitive widget dbus api-contract §3.7: "same honest verified semantics as macOS/Windows" fixture push button made insensitive: DoAction(0) -> returned: true, no clicked event, effect_observed: false; its states then lack enabled and sensitive NEW-EDGE 3.7: preflight ENABLED/SENSITIVE before an action; the D-Bus true is not proof of delivery
L4-22 Headless-first for semantic actions dbus api-contract Core invariant 1: "no ... focus steal, or physical cursor movement"; §3.7 exit: "work headless" 68 action rows in the final captures (fixture, Text Editor, Calculator, Files, Settings), none skipped: pointer_moved: false in all 68, focus_changed_from_decoy: false in all 68 (the one action class that changed the active window in earlier runs is GrabFocus, L4-16). DoAction, EditableText, Selection and Value writes did not change the active window in any run CONFIRMS none
L4-23 Frame ACTIVE state versus _NET_ACTIVE_WINDOW dbus box none final captures: ACTIVE never set on GTK3 or GTK4 frames while the target was not active (expected); the positive control is invalid because the window manager refused to activate probe windows while a foreign window was active. Earlier runs disagreed with each other for the same X11 state (ACTIVE true with win_active: true, then ACTIVE false with win_active unchanged) CONFIRMS a window manager that grants activation was measured: under openbox every _NET_ACTIVE_WINDOW request activated the frame and the frame carried ACTIVE in AT-SPI with the root property equal to the client (L27-3, L27-11), and a window that never held focus is the mutter case 3.9 owns (L27-10); 3.7 reads no frame ACTIVE itself
L4-24 CopyText side effect dbus api-contract none EditableText.CopyText(start,end) writes the X11 clipboard (changed content observed for each of three ranges) NEW-EDGE 3.7: CopyText/CutText/PasteText clobber the user clipboard; do not use them for reads
L4-25 Launching Settings without desktop environment variables tool box none gnome-control-center exits 1: "only supported under GNOME and Unity" unless XDG_CURRENT_DESKTOP=GNOME is set in the environment NEW-EDGE 3.4/3.11 live tests: set XDG_CURRENT_DESKTOP=GNOME when launching Settings 3.11: no live leg of the signal work launches Settings, so it sets no variable; the 3.12 harness owns the launch.
L4-26 Text Editor reuses an existing process tool box none gnome-text-editor --new-window hands off to an existing instance when one runs (launched_pid_exit: 0, joined_preexisting: true in the exploration capture); the new window is the only safe target NEW-EDGE 3.11: identify the target by new frame, not by launched pid Closed in 3.11: a handoff is window-opened alone and never app-launched (L33-13, L33-31).

Area L5 — input

id probe stack scope phases.md expectation observed verdict action
L5-1 Version and path of the X11 input tool tool box §3.8 Scope: "xdotool key (X11)"; Display Server Detection: "verify xdotool (X11) ... is installed" sections.env.tools.xdotool: {path: <user-space ad-tools root>/usr/bin/xdotool, version: "xdotool version 3.20160805.1"} (2016 line, user-space extraction, not a system package) NEW-EDGE 3.8: the install check must resolve the binary on PATH and report the version it found; do not assume a modern xdotool (--window, type --delay, getwindowfocus semantics differ across the 2016 and 3.2021 lines)
L5-2 ydotool availability without root tool box §3.8 Scope: "ydotool key (Wayland)"; P3-O3: "xdotool/ydotool" sections.env.tools.ydotool.path resolves (user-space extraction), version: null; sections.env.uinput: "crw------- 1 root root 10, 223", uinput_rw_for_user: false DEFERRED needs: a measurement of ydotool with a privileged ydotoold or a /dev/uinput writable by the test user, covering keys and pointer into a Wayland-native window and the cost of requiring root; closure: 3.15 (the input sub-phase built XTEST and RemoteDesktop keys instead; this route stays unbuilt, see docs/phases.md §3.15)
L5-3 libei and RemoteDesktop reachability tool box §3.8 libei note: "documented ... as a researched future alternative ... not adopted as a dependency" sections.env.libei: [libei.so.1, libei.so.1.2.1, libeis.so.1, libeis.so.1.2.1] present as system libraries; sections.env.session_bus_names contains org.gnome.Mutter.RemoteDesktop and org.freedesktop.portal.Desktop; xdg_session_type: "tty", wayland_display: null DEFERRED needs: RemoteDesktop access control measured on a live user session, where an ordinary client may be refused or asked for consent, because the private-bus runs (L13-16, L13-18, L28-9, L28-21) cannot show it; closure: 3.15 (its live-session re-run). The libei "not adopted" statement is not contradicted, the library is present
L5-4 AT-SPI DeviceEventController surface dbus api-contract P3-O3: "all mouse commands via AT-SPI actions + xdotool/ydotool" (no mention of the registry synthesis methods) sections.env.dec_methods: [RegisterKeystrokeListener, DeregisterKeystrokeListener, GetKeystrokeListeners, GenerateKeyboardEvent, GenerateMouseEvent, NotifyListenersSync, NotifyListenersAsync] on org.a11y.atspi.Registry /org/a11y/atspi/registry/deviceeventcontroller NEW-EDGE 3.8: GenerateKeyboardEvent(i,s,u) and GenerateMouseEvent(i,i,s) exist as a no-subprocess alternative on X11; their effect on apps is not measured here (L5-6)
L5-5 Does each pointer synthesis path move the real cursor tool + dbus + gi-atspi api-contract Core invariant 1: "run without ... physical cursor movement unless --headed explicitly opts into cursor input"; §3.8: "raw cursor commands require --headed" pointer_only.results.xdotool_mousemove.all_arrived: true, gi_generate_mouse_event_abs.all_arrived: true, raw_dbus_GenerateMouseEvent_abs.all_arrived: true (8 of 8 each; independent XQueryPointer read-back equals the requested coordinates); gi_rel_7_-3.delta: [7,-3], raw_rel_7_-3.delta: [7,-3]. Latency to arrival, min/median/max ms (n=7 after discarded warm-up): xdotool 1.6/1.7/2.4 (includes process spawn), gi 0.1/0.1/0.3, raw D-Bus 0.2/0.3/0.3. No button state changed (buttons: []) CONFIRMS 3.8: every X11 synthetic pointer path, AT-SPI included, moves the user's real cursor, so no path is headless; the headed-only policy placement for hover, drag, mouse-* is correct and the AT-SPI route is no exception
L5-6 Precondition for keystroke synthesis: is the target window really focused tool + gi-atspi box Core invariant 1 / §3.8 (no claim about focus readiness) gates[0..6].ewmh_active_is_target: true and x_focus equals the target xid while frame_active_state: false for 15 s (frame_active_wait_ms: 15078); activate.tried: wmctrl-ia rc 0 but not active after 3 s, xdotool-windowactivate same, xdotool-windowfocus set EWMH active; grabs: {keyboard_already_grabbed: true, pointer_already_grabbed: true}; pointer_only.active_window: 0 (no active window at all) NEW-EDGE 3.8: _NET_ACTIVE_WINDOW == target is not sufficient evidence that keys will land there; check the AT-SPI frame active state before synthesizing and fail with a clear error instead of typing blind. Cause on this box was a shell system access dialog pending since the portal probes (see L9-13), which holds the keyboard and pointer grabs; keystrokes synthesized through XTEST then go to the grab holder, not the focused window
L5-7 Keyboard and chord synthesis (key, ctrl+a, shift+arrows), type with é ü 你好 emoji, 2,000-char string, xdotool and AT-SPI paths tool + gi-atspi + dbus app §3.8 Scope, API Mapping Keyboard row key, ctrl+a and non-ASCII type measured through XTEST on GTK3, GTK4, Qt, Text Editor and Calculator with the grab cleared (L28-4, L28-12, L28-13, L28-14, L28-15); shift+arrows and a 2,000-character string were not driven NEW-EDGE 3.8: the keyboard bullet is built on XTEST and read back by the application; shift+arrows and the long string are accepted unmeasured live, because the plan tests cover the Shift wrapper and the 32-character chunking
L5-8 Mouse click, double-click, right-click, wheel, drag inside a probe window; xdotool and AT-SPI paths; read back through AT-SPI Text tool + gi-atspi + dbus app §3.8 Scope, API Mapping Mouse and Scroll rows click, wheel and drag measured through XTEST on GTK3, GTK4, Qt and Files with the effect read back (L28-14); double-click and right-click are covered by plan tests only CONFIRMS 3.8: the mouse and scroll rows are built on XTEST; the AT-SPI GenerateMouseEvent path is not used
L5-9 Long-press (button hold timing) tool app capability map LongPress: "Coordinate via ydotool/xdotool" (P3-O13: "timed xdotool/ydotool button-hold") not driven: core has no LongPress action, so no route is built for it NEW-EDGE 3.8: accepted, no owner needed until core adds the action; the held button a drag keeps is released by the guard
L5-10 ForceClick dbus + tool api-contract capability map ForceClick: "Not natively supported — return ActionNotSupported" no measurement attempted; X11 has no pressure input primitive in the tools measured (xdotool, DEC methods list in L5-4 carry no pressure argument) CONFIRMS 3.8: keep ActionNotSupported; the evidence is the absence of a pressure parameter in the GenerateMouseEvent(i,i,s) signature and in xdotool's mouse verbs, not a behavioural test
L5-11 xdotool --window (XSendEvent) delivery to a focused and to a background window tool app none not used: the route is XTEST, which follows the active window and not a window id (L28-1) NEW-EDGE 3.8: accepted, xdotool is not a dependency
L5-12 Wayland input (ydotool, RemoteDesktop portal, libei) tool box §3.8 Scope: "ydotool key (Wayland)" not measured in this area; Wayland input is measured in L13-13 to L13-18 DEFERRED needs: as L5-2, the ydotool route on Wayland; RemoteDesktop keys were measured without it (L28-21); closure: 3.15

Area L6 — hit-testing and occlusion

id probe stack scope phases.md expectation observed verdict action
L6-1 Introspect the Component interface on a live node and call the point-test methods dbus api-contract §3.6 Key APIs: "org.a11y.atspi.Component.ContainsPoint" toolkits.gtk3.cases.scroll.component_methods_introspected: [Contains, GetAccessibleAtPoint, GetExtents, GetPosition, GetSize, GetLayer, GetMDIZOrder, GrabFocus, GetAlpha, SetExtents, SetPosition, SetSize, ScrollTo, ScrollToPoint] (identical for gtk4). There is no ContainsPoint; the method is Contains(x i, y i, coord_type u) -> b CONTRADICTS 3.6: call Component.Contains and Component.GetAccessibleAtPoint; fix the §3.6 Key APIs line
L6-2 Contains on the same button visible, covered by a second window, and with its window minimized (GTK3, screen and window coords) dbus api-contract §3.6: "hit_test three-way result via Component.ContainsPoint + bounds corroboration" visible: cases.visible_button.self.screen_center.contains.value: true; covered (cases.covered_button.x11_occluders_at_button_center.covering_is_probe_cover: true, cover index 10 above main index 9 in _NET_CLIENT_LIST_STACKING): cases.covered_button.self.screen_center.contains.value: true, window coords true; minimized (x11_hidden_state_seen: true): cases.minimized_button.self.screen_center.contains.value: true. Outside point (+40 px right of the button) contains: false in all three CONFIRMS 3.6: Contains is pure geometry, so a true never proves the point is unobstructed; map it to Unknown/geometric-yes and take the occlusion verdict from X11 stacking plus window geometry (L6-3). Never report "not hit" from Contains alone
L6-3 X11 stacking as the occlusion source tool box §3.6: "hit_test ... + bounds corroboration" (no source named for occlusion) cases.covered_button.stacking_main_index: 9, stacking_cover_index: 10, x11_occluders_at_button_center.covering_point_count: 1, covering_is_probe_cover: true; after raising main: cases.covered_button_after_raise_main.x11_occluders_at_button_center.covering_point_count: 0. Both directions measured, both runs. AT-SPI GetMDIZOrder returned 0 for main and cover frames and GetLayer 7 (WINDOW) for both (main_window_frame_snap, cover_window_snap) NEW-EDGE 3.6: occlusion = windows above the target's toplevel in _NET_CLIENT_LIST_STACKING whose frame rectangle (client geometry plus _NET_FRAME_EXTENTS) contains the point; do not use GetMDIZOrder/GetLayer, they carry no z-order here. Wayland has no equivalent measured: needs: Wayland session; closure: 3.6
L6-4 GetAccessibleAtPoint called on the main frame, on the covering window's frame and on the leaf button, at the covered point (GTK3) dbus api-contract §3.6: "hit_test three-way result via Component.ContainsPoint" on main frame: cases.covered_button.via_main_window_frame.screen_center.at_point is a filler (the direct child), not the button; on the leaf button: self.screen_center.at_point.null: true; on the cover frame: via_cover_window_frame.at_point: label "COVER" (cover app, other pid). Same shape uncovered (visible_button.via_window_frame) so the answer never reflects the cover for the covered window NEW-EDGE 3.6: GetAccessibleAtPoint returns the immediate child only (null ref on a leaf) and is per-window; to find the topmost element at a point, find the topmost window from stacking (L6-3) and descend its GetAccessibleAtPoint until a null ref; compare the result's bus name/path to the target
L6-5 GTK3 extents in screen and window coords against X11 geometry dbus app none button extents_screen [100,137,420,34], extents_window [0,0,420,34]; X11 client origin [100,137], frame_extents_lrtb [0,0,37,0]. Frame node window_frame_screen [100,100,420,457] = X11 client origin minus the 37 px title bar, height 420+37; window_frame_window [0,-37,420,457]. Widget screen coords equal X11 client origin plus window-relative offset CONFIRMS 3.6: widget screen extents are directly comparable with X11 client geometry; the frame node includes the title bar (offset -_NET_FRAME_EXTENTS top), so compare widgets against the client rectangle and only the frame node against the decorated rectangle
L6-6 GTK4 extents in screen and window coords against X11 geometry dbus app none button extents_screen [0,0,420,34] (the widget size at origin 0,0 whatever the window position, while X11 client origin is [100,137]), extents_window [17,5,420,34] (an unexplained 17,5 offset; a 420-wide button at x=17 overflows the 420-wide window). The top-level node is role application with extents_screen [0,0,420,420]; no frame node. Contains at the screen centre of the extents returns true even 40 px beyond the right edge (self.screen_outside.contains.value: true) and false at the window-coord centre of its own window extents (self.window_center.contains.value: false at (227,22) inside [17,5,420,34]) NEW-EDGE 3.6: GTK4 4.14 Component geometry is not usable as truth under X11: screen extents ignore the window position, Contains disagrees with GetExtents. Treat every GTK4 Contains/extents hit-test as Unknown and corroborate from X11 geometry only if the window-coord offset can be explained; owner: 3.6 (measure GTK4.16+ and a Qt/Electron app)
L6-7 Zero-size node: GTK3 DrawingArea requested 0x0 dbus app §3.6: "zero-bounds/disabled/occluded fixture cases" toolkits.gtk3.cases.zero_size_named.snap.extents_screen: [100,177,1,1] (not 0x0), scanned_zero_size_count: 0 over 609 nodes; Contains at origin true, at origin+1 false NEW-EDGE 3.6/3.12: a GTK3 widget cannot present 0x0 extents (allocation reported as 1x1); the zero-bounds case must be sourced from GTK4 (L6-8) or another toolkit
L6-8 Zero-size node in GTK4 (scan for w==0 or h==0) dbus app §3.6: "zero-bounds/disabled/occluded fixture cases" toolkits.gtk4.tree.scanned_zero_size_count: 1; node role generic, extents_screen [0,0,0,0], extents_window [0,40,0,0], states sensitive, showing, visible; Contains(0,0,screen) returns true for the 0x0 rectangle. The named 0x0 DrawingArea itself was not exposed (zero_named_found: false) NEW-EDGE 3.6: a 0x0 rectangle must map to Unknown/not-hit regardless of Contains (it answers true for an empty rectangle); 3.12: real GTK4 apps present such generic nodes, name one as the zero-bounds target
L6-9 Offscreen list item (row 250 of 300, scrolled list), extents, Contains, states dbus app §3.6: "Visibility/enabled/offscreen evidence feeding the core auto-wait gate" GTK3: cases.offscreen_row.snap.extents_screen: [-2147483648,-2147483648,420,22] (INT32_MIN sentinel, also in window coords), states enabled, focusable, sensitive, visible with showing absent (visible row 1: showing present); Contains at (sentinel+210, sentinel+11) returns true; the same point via the window frame returns contains: false, at_point.null: true. GTK4: extents_window [2,5526,420,22], extents_screen [0,0,420,22], states include showing and visible NEW-EDGE 3.6: GTK3 offscreen = SHOWING absent with VISIBLE present and INT32_MIN extents; treat the sentinel as unknown bounds, never feed it to Contains/overlap math (it yields a false true). GTK4 reports SHOWING for an item 5,500 px outside the viewport, so SHOWING is not offscreen evidence on GTK4; offscreen must be derived by comparing window-coord extents to the scroll container
L6-10 SHOWING / VISIBLE / ICONIFIED / ENABLED alongside each case (GTK3 and GTK4) dbus app §3.6: "Visibility/enabled/offscreen evidence" button visible, covered, and window minimized (GTK3): snap.states.names all contain showing, visible, enabled, sensitive; only the window frame changes on minimize (cases.minimized_button.window_frame_snap.states.names adds iconified; atspi_window_iconified_seen: true, X11 _NET_WM_STATE_HIDDEN seen). GTK4: iconified never appears (atspi_window_iconified_seen: false while x11_hidden_state_seen: true); GTK4 button states have sensitive but no enabled NEW-EDGE 3.6: covered and minimized do not clear SHOWING on descendants; minimized is only visible as ICONIFIED on a GTK3 frame or _NET_WM_STATE_HIDDEN on X11; use X11 for the minimized check on GTK4; enabled = ENABLED or (SENSITIVE where ENABLED is never emitted, as GTK4 4.14)
L6-11 Component.ScrollTo / ScrollToPoint on GTK3 (row 250, three scroll types plus two point forms, independent adjustment read-back) dbus app §3.6: "scroll_into_view — AT-SPI2 has no native scroll-into-view primitive" both methods are present in introspection (ScrollTo_in_introspection: true, ScrollToPoint_in_introspection: true); every call returns false: toolkits.gtk3.cases.scroll.attempts[*].return.value: false (ANYWHERE=6, TOP_LEFT=0, TOP_EDGE=2, ScrollToPoint screen and window); adjustment_changed: false (app-printed vadjustment stayed 0.0); control on an already-visible row false, on a button false CONTRADICTS 3.6: replace the "no native primitive" wording with the measured fact (below); implement the coordinate fallback as the working path
L6-12 Component.ScrollTo on GTK4 (row 250) dbus app §3.6: "scroll_into_view — AT-SPI2 has no native scroll-into-view primitive" toolkits.gtk4.cases.scroll.attempts[*].return.error is org.freedesktop.DBus.Error.NotSupported for ANYWHERE, TOP_LEFT, TOP_EDGE; same error on the visible-row and button controls; app vadjustment stayed 0.0. ScrollToPoint was not called on GTK4 (no scroll-container node of role scroll pane was exposed to take a target point from) CONFIRMS 3.6: GTK4 4.14.5 gives NotSupported (an error to catch, not a false); treat both outcomes as "no primitive" and fall back
L6-13 GetPosition as the locator for coordinate-based scroll dbus app §3.6: "implement via Component.GetPosition + coordinate-based scroll synthesis" GTK3 offscreen row has INT32_MIN position (L6-9), so it cannot aim a scroll; GTK4 gives a window-relative y (extents_window[1]: 5526) that is usable against the scroll container's window-relative extents but not against screen coords (L6-6) NEW-EDGE 3.6: for GTK3 offscreen items, locate the target from list order/sibling geometry (a visible neighbour's extents plus index delta) or scroll in steps until SHOWING appears; do not rely on GetPosition. needs: GTK4 coordinate frame explained; closure: 3.6
L6-14 GetMDIZOrder, GetLayer, GetAlpha on frames and widgets dbus api-contract none frames: layer.value: 7, mdi_z.value: 0 for both windows; widgets: layer 3, mdi_z 0; every call answered (no error) in both toolkits NEW-EDGE 3.6: ignore these for occlusion; values are constants here (WINDOW/WIDGET layer, z 0)

Area L7 — events

id probe stack scope phases.md expectation observed verdict action
L7-1 Do GTK4 apps emit AT-SPI events without any RegisterEvent? Phase A (match rules only, registered_before: []) vs B (registered) vs A2 (deregistered) dbus app P3-O9: "implemented via zbus::Proxy::receive_signal on AT-SPI2 signals" (no registration step stated) A.calc_display_InsertText.target_event_misses: 0, B...: 0, A2...: 0; same for value and DoAction triggers in all three phases; latencies equal within noise (insert min 3.46-3.55 ms) CONFIRMS 3.x (watch): adding a bus match rule is sufficient for GTK4 apps; calling RegisterEvent is optional (it succeeded: register_result: ok x10, GetRegisteredEvents read back keyed by the caller's unique name, removed by DeregisterEvent). Do not make correctness depend on it, but call it for non-GTK4 toolkits (not measured here)
L7-2 Does RegisterEvent alone (no AddMatch) deliver anything? Phase C dbus api-contract P3-O9: signal subscription via zbus C.*.target_event_misses: 2 of 2 on insert, delete, DoAction, both value triggers; startup_event_count_after_launch: 0 NEW-EDGE 3.x (watch): the bus match rule is the delivery mechanism; registration without a match rule yields zero events (failing case), match rule without registration yields all (passing case, L7-1)
L7-3 Programmatic value change: Value.CurrentValue set on a GTK4 spin button (Atspi Set) and in-app set_value; time to Object:PropertyChange:accessible-value dbus app Testing: "watch --event value-changed ... delivers an event within 500 ms of a programmatic value change" in-app: min_ms 0.74, median 0.85, max 1.33; via AT-SPI set: min_ms 0.98, median 1.09, max 1.71 (A; B and A2 within 0.2 ms); target_event_misses: 0; read-back CurrentValue 10.0 / 40.0 as set; role spin button, ifaces Value,Text,EditableText,Action CONFIRMS 3.x (watch): map value-changed to PropertyChange:accessible-value. Same change also emits TextChanged:delete then TextChanged:insert before it (arrival order delete, insert, accessible-value), so a listener must filter on the detail string
L7-4 Text change events: EditableText.InsertText / DeleteText on the calculator display dbus app P3-O9 lists PropertyChange, ChildrenChanged, StateChanged, Window:* (no text events) insert: min_ms 3.49, median 3.65, max 4.14; delete: min_ms 0.63, median 0.65, max 0.88; event set per run Object:TextChanged:insert x2 + Object:TextCaretMoved (delete: TextChanged:delete x2 + TextCaretMoved); duplicate TextChanged per change in every run; readback GetText "7" then "" NEW-EDGE 3.x (watch): subscribe to TextChanged (+TextCaretMoved); de-duplicate the doubled signal. First delete on the empty display is the warm-up miss (target_event_misses: 1, n: 7)
L7-5 Button Action.DoAction(0) on a calculator key; time to TextChanged on the display dbus app Testing: event within 500 ms of a programmatic change latency.all_ms A [50.8, 254.21, 53.01, 254.12, 50.62, 0.66, 0.99], min_ms 0.66, median 50.8, max 254.21; B max 254.98; A2 max 255.82; no misses; text read back "1" NEW-EDGE 3.x (watch) and 3.11 (wait): action-driven changes arrive in bimodal bursts (~0.2-1 ms, ~50 ms, ~254 ms) after the call; budget at least 300 ms of settle after an action, below the 500 ms bar but not by a wide margin Closed in 3.11: the waits poll to the deadline with a pause after each poll and the 300 ms is a floor and not a budget (L33-9, L33-11).
L7-6 Second window open/close: fixture opens and destroys a second Gtk.Window; expect Window:Create / Window:Destroy dbus app P3-O9: signals include "Window:Create, Window:Destroy" open, 2 of 2 attempts in each of A, B, A2: open_miss: 2, open_kinds: {ChildrenChanged:add, StateChanged:showing, StateChanged:visible, BoundsChanged}; close: close_miss: 2, close_kinds: {StateChanged:defunct}; opened_children_delta: 1, children_restored: true. Registered phase B identical, so registration does not enable them CONTRADICTS 3.x (watch): window appearance = ChildrenChanged:add on the app root (+StateChanged:showing); disappearance = StateChanged:defunct on the old window (no ChildrenChanged:remove seen); see section 3
L7-7 Focus and activation events, measured with the probe window verified active (xprop -root _NET_ACTIVE_WINDOW equals the fixture frame, frame active state bit read back true); in-app grab_focus between two entries, then xdotool windowactivate main <-> second probe window (both own); phases A (no register), B (RegisterEvent), A2 (deregistered) dbus app P3-O9: signals include "StateChanged:focused" active window: inapp_focus_active_window.latency.min_ms A 0.35 / B 0.37 / A2 0.37 (median 0.36-0.40, max 0.75-1.48), event Object:StateChanged:focused in all three, same without registration. Window swap (8 runs, 0 misses): events per swap Object:StateChanged:active x2, Window:deactivate, Window:activate, Object:StateChanged:focused; window_activation_swap.latency.min_ms A 4.89 / B 4.81 / A2 4.48 (median 6.15-8.88, max 9.0-10.63; includes the xdotool process time, so an upper bound). Component.GrabFocus on the two entries: NotSupported in all three phases. Earlier L7-7 misses (target_event_misses: 2, no events) came from a window that was not the active window CONFIRMS 3.x (watch): StateChanged:focused fires only while the toplevel is active; also subscribe StateChanged:active on the frame and Window:activate/Window:deactivate (these do fire on GTK4, with lowercase member names, no registration needed). First in-app focus attempt per phase is the warm-up miss (target_event_misses: 1, n: 7)
L7-8 Component.GrabFocus on a GTK4 widget dbus app none calc_Component.GrabFocus_alternating.errors: ["...DBus.Error.NotSupported: (7)"] in A, B, A2, C (4 of 4) NEW-EDGE 3.8: focus cannot be moved through Component.GrabFocus on GTK4; use an action or the focus path of the adapter
L7-9 Startup signal volume after launch (noise a listener must tolerate) dbus box none startup_event_count_after_launch: A 8, B 18, A2 8 (counted at a single point after tree discovery; C 0 only because there was no match rule); BoundsChanged bursts ~209 events over the open/close of one window NEW-EDGE 3.x (watch): filter by sender and member server-side or cheaply client-side; BoundsChanged, StateChanged:showing/visible, PropertyChange:widget dominate window churn

Area L8 — windows, apps, displays

id probe stack scope phases.md expectation observed verdict action
L8-1 Enumerate registry apps, frames, pids dbus api-contract §3.4: "list_windows/list_apps/focused_window via the window-manager-neutral AT-SPI2 Window interface" enumeration.registry_app_count: 19. Registry.GetChildren gives (bus name, path) per app. Pid comes from org.freedesktop.DBus.GetConnectionUnixProcessID on the a11y bus (apps[].pid). Application interface props Id, ToolkitName, Version all read. Many apps (gsd-, ibus-) have children: [], which is empty-but-answered. Chrome lists 6 frame-role children (2 distinct BrowserRootView windows plus RootView bubbles), so list_windows needs filtering. Registry GetChildren min 0.288 ms. Full apps+frames enumeration min 36.7 ms, median 37.5, max 44.1 (19 apps). Pid lookups for all 19 apps min 1.94 ms. CONFIRMS 3.4: build list_apps from Registry children and pid from the bus daemon. Treat empty app children as zero windows. Dedupe or filter Chromium RootView frames.
L8-2 Window roles and identity fields dbus api-contract §3.4 (AT-SPI Window interface) Probe GTK3 windows show role_name: frame for top-levels and dialog for the dialog. interfaces: [Accessible, Component, Collection], so there is NO Window interface in the capture. A gnome-shell child is window. attributes keys are only toolkit and window-type (atspi_window_attribute_keys). accessible_id is empty. CONTRADICTS 3.4: window enumeration uses the Accessible/Component interfaces, not a Window interface; membership is a root child with Component, whatever its role (L41-1).
L8-3 Focused window, AT-SPI vs _NET_ACTIVE_WINDOW dbus + tool box §3.4 focused_window focus.agrees: true. After xdotool activation, X11 active equals the target and the target's AT-SPI frame carries ACTIVE (atspi_active_frame_of_target). The inactive probe app has no ACTIVE (inactive_probe_has_ACTIVE: false). Two accessibles report ACTIVE at once (atspi_active_count: 2): the real app frame and a role application child under the mutter-x11-frames app, which has the same title. NEW-EDGE 3.4: pick ACTIVE among frame/dialog roles only and ignore children of the frames helper app. Cross-check with _NET_ACTIVE_WINDOW when X11.
L8-4 AT-SPI field carrying an X11 window id dbus api-contract §3.4 and §3.12 intro: "a recycled-identifier hazard" atspi_fields_carrying_xid: []. Searched name, path, attributes, accessible_id and app Id for the decimal and hex XID of every probe window. None found. NEW-EDGE 3.4: AT-SPI to X11 mapping must be by pid plus title plus geometry, never by id.
L8-5 Same-title windows dbus + tool api-contract §3.4 Three windows share the title adprobe-same across two pids (same_title_windows.title_alone_unique: false). pid+title leaves 2 X11 candidates for the 2-window app (n_candidates: 2). Extents differ per window. Raw comparison to X geometry shows a mismatch (extents_equal_xgeom: false) because AT-SPI frame extents include the title bar. Example: AT-SPI [100,120,320,237] vs X {x:100,y:157,w:320,h:200}, with _NET_FRAME_EXTENTS "0, 0, 37, 0". Offline check (not computed by the script): window 2 is AT-SPI [160,160,...] vs X y=197, which is 160+37. NEW-EDGE 3.4: map by pid + title + extents, converting with _NET_FRAME_EXTENTS (AT-SPI y = X y - top extent, h + top). Use child order or extents to disambiguate same-title windows.
L8-6 X11 window properties tool box §3.4 "falling back to wmctrl" xprop gives _NET_WM_PID, _NET_WM_NAME, _NET_WM_WINDOW_TYPE (NORMAL vs DIALOG), _NET_WM_STATE, _NET_FRAME_EXTENTS, WM_TRANSIENT_FOR, WM_CLIENT_MACHINE. _NET_CLIENT_LIST read costs min 1.94 ms. wmctrl.present: false on this box (not installed). xwininfo gives absolute geometry. CONTRADICTS 3.4: the fallback must not depend on wmctrl. Use xprop/_NET_CLIENT_LIST (or Gdk/x11 reads) directly.
L8-7 XID reuse risk tool box §3.12 intro: "Linux gains an equivalent only if the same recycled-identifier hazard is measured on X11 or Wayland" Same process, 150 create/destroy cycles: same_process.reused_ids: 0, ids step by 4 (0x4000003, 0x4000007, ...). Fresh process per window, 40 spawns: fresh_process_per_window.distinct_xids: 1, reused: 39, every first window is 0x4000003. Overlapping live processes got different bases. NEW-EDGE 3.12: the hazard is measured on X11, across processes not within one process. An XID is not a stable window identity across a process restart. Any stored window identity must pair the XID with pid and the process start time. 3.12 owns the field.; 3.5: the window gate pairs the id with the stored process instance and the bus owner pid, so a reused id is refused
L8-8 Window ops with xdotool tool box API Mapping "Window ops": xdotool / wmctrl for resize, move, minimize, maximize, restore xdotool move+resize read back {x:150,y:197,w:410,h:260} (took_effect: true, rc 0). xdotool windowminimize sets _NET_WM_STATE_HIDDEN and WM_STATE Iconic, and AT-SPI shows ICONIFIED on the frame. xdotool on a nonexistent id: rc 1 with BadWindow. AT-SPI Component.SetExtents with signature (iiiiu) was rejected with InvalidArgs (took_effect: false); other signatures not tried. CONFIRMS (partial) 3.4: keep xdotool for move, resize and minimize, and read back through X11 state. Do not use SetExtents on a GTK3 frame.
L8-9 wmctrl and maximize/restore tool box API Mapping "Window ops" wmctrl is not installed (rc 127). Every wmctrl step records rc: 127 and took_effect: false (maximize, restore, activate-from-minimize). Maximize, restore and unminimize were not measured. DEFERRED needs: wmctrl (or another EWMH client-message sender) extracted into the user-space tool root, then measure maximize, restore, unminimize in both directions; closure: 3.9 (maximize, restore and unminimize measured in L11-20 and L11-22)
L8-10 Display geometry and scale tool + dbus box §3.4: "list_displays via XRandR (X11) / the Wayland portal's equivalent + per-monitor scale" xrandr --listmonitors: 1 monitor Virtual1 1280/339x800/212+0+0. xrandr --query shows 0mm x 0mm. Mutter GetCurrentState: one logical monitor scale: 1.0, primary: true, props layout-mode: 2, global-scale-required: True, legacy-ui-scaling-factor: 1. Mutter supports per-mode supported_scales ([1.0], [1.0,2.0,3.0], ...). Gdk scale_factor: 1, workarea [66,32,1214,768]. Xft.dpi: 96. Timing: Mutter min 0.529 ms, median 0.635, max 1.879; xrandr --query subprocess min 3.02 ms, median 3.09, max 4.92. Single display only, so multi-monitor and mixed scale are unmeasured. CONFIRMS 3.4: list_displays from XRandR/Mutter works. Prefer the Mutter DisplayConfig scale for the per-display scale. xrandr gives no scale. Report workarea separately from monitor geometry.
L8-11 Wayland-side window listing fallbacks dbus box §3.4: "falling back to wmctrl/xdg-desktop-portal introspection" portal_has_window_listing: false: no org.freedesktop.portal.* interface name contains window or toplevel (portal_interfaces lists 31 names: Inhibit, Screenshot, ScreenCast, RemoteDesktop, Clipboard, ...). org.gnome.Shell.Introspect.GetWindows returns AccessDenied: "GetWindows is not allowed". CONTRADICTS 3.4 (Wayland path): there is no portal or shell route to enumerate windows. Window enumeration under Wayland must come from AT-SPI alone.
L8-12 Display Server Detection tool box "Display Server Detection": WAYLAND_DISPLAY then DISPLAY then PLATFORM_NOT_SUPPORTED On this X11 session WAYLAND_DISPLAY is unset, DISPLAY=:0, rule yields x11 (env.display_server_detection.phases_rule_result: x11). The ssh environment reports XDG_SESSION_TYPE: tty, so that variable is not a usable signal. Wayland and Xwayland cases not measured. CONFIRMS (X11 branch only) 3.x: do not use XDG_SESSION_TYPE. The Wayland-with-Xwayland case (both variables set) belongs to the Wayland probe area.

Area L9 — capture and clipboard

id probe stack scope phases.md expectation observed verdict action
L9-1 Forked xclip setter holds the caller's stdio pipes tool api-contract none forked_setter.setter_return_ms: 3.3, serving_child.*.ppid: 1, serving_child.*.std_fds are the three caller pipes, caller_stdout_pipe_after_setter_exit: open-no-eof-for-2s, then caller_stdout_pipe_after_child_stopped: eof after stopping the child by pid NEW-EDGE 3.10: the setter returns in ms while a re-parented serving child inherits stdin/stdout/stderr; a caller reading the setter's pipes (or a lock-holding ssh session) never sees EOF until that child dies. Spawn the server with all stdio on /dev/null and a new session, record its pid, never wait on its pipes
L9-2 Detached xclip setter (stdio /dev/null, new session) tool api-contract none detached_forked_setter_devnull: {setter_return_ms: 3.4, serving_children: 1, read_ok: true, child_session_id_differs: true}, child stopped by pid terminated NEW-EDGE 3.10: this is the safe spawn shape for clipboard-set; the child lives on until selection is cleared or it is stopped, so ownership of its lifetime needs a stated owner
L9-3 Clipboard text/image persist after the owner exits tool box none (the brief's premise: ownership needs a live owner) text: read_after_owner_stop.equal: true, targets then text/plain;charset=utf-8,UTF8_STRING,TARGETS,TIMESTAMP; PNG and 1 MB text equal too; owner_after_race_trials.owner_process_comm: gnome-shell; persistence_race_trials: 3 of 3 survived at 0, 0.05, 0.25 and 1.0 s owner lifetime NEW-EDGE 3.10: on GNOME X11 the shell takes over text and image selections; do not rely on it (other sessions have no such manager) and do not assert "content gone after setter exit" in tests on this box
L9-4 Non-text targets need a live owner tool api-contract none text/uri-list, x-special/gnome-copied-files, application/x-ad-u9-probe: read_after_owner_stop.rc: 1, stderr target ... not available, targets_after_owner_stop.rc: 1; with owner alive read_with_owner.equal: true CONFIRMS 3.10: FileUrls (and any custom target) are only readable while a serving process lives; clipboard-set for FileUrls must leave a tracked server. Both directions measured (owner alive: present; owner stopped: absent)
L9-5 One xclip serves one target tool api-contract §3.10: typed ClipboardContent::Text/Image/FileUrls via xclip second_setter_replaces_first.targets_after_first: [TARGETS,UTF8_STRING], targets_after_second: [TARGETS,image/png], first_owner_exited_on_selection_clear: true NEW-EDGE 3.10: a payload offered as several formats (text plus uri-list, gnome-copied-files plus uri-list for file managers) cannot be set with sequential xclip calls; each call replaces the previous. Needs one owner serving several targets
L9-6 xclip text/image/uri/large round trip tool api-contract P3-O5 "clipboard-get/set/clear via xclip (X11)" owner-alive reads equal for UTF8_STRING (23 B), image/png (74 B), text/uri-list, x-special/gnome-copied-files, 1 MB text (INCR) ; text_read_timing_live_owner: {min_ms: 1.91, median_ms: 2.01, max_ms: 3.34} (process start included) CONFIRMS 3.10: xclip is viable for get/set on X11; read cost ~2 ms
L9-7 Empty owner and no-owner reads tool api-contract none empty_content_owner: {read_rc: 0, read_bytes: 0, targets: [TARGETS,UTF8_STRING]}; unavailable target gives rc: 1, Error: target ... not available; no_owner row is contaminated by L9-3 (shell-held empty text) NEW-EDGE 3.10: clipboard-clear = take ownership with empty content (empty-but-successful, rc 0) vs "target not available" (rc 1) are distinct states; map the second to absent, not error
L9-8 Per-window X11 capture without portal tool box §3.10: "falling back to XGetImage (X11) for the lowest-permission path" covered.A_capture.classes: [red] while independent_cover_evidence.B_above_A_in_net_client_list_stacking: true and A_rect_inside_B_rect: true; uncovered and recovered also [red]; covered_window_returns_own_pixels: true; no prompt CONFIRMS 3.10: per-window capture through the window drawable works on GNOME X11 with no permission and returns the window's own pixels when covered
L9-9 Minimised window capture tool box none minimized.A_net_wm_state_hidden: true, minimized.A_capture.classes: [red] (pixbuf returned, own content) NEW-EDGE 3.10: a minimised window still captures on this stack; do not pre-reject minimised targets for capture
L9-10 Root-window capture on composited GNOME X11 tool box §3.10 / P3-O4: screenshot via XGetImage (X11); API Mapping: "Screenshot ... XGetImage (X11)" display.composited: true, display.window_manager: GNOME Shell; root_mean_abs_diff_B_shown_vs_hidden_64x40: 0.0 while a 1000x700 window was mapped then unmapped; root_capture_stats_B_over_A.blue_cells: 0, red_cells: 0; root grab returns a PNG (root_capture.png_bytes: 411213) CONTRADICTS 3.10: full-screen and --screen capture cannot use root XGetImage on GNOME X11 (the grab does not reflect mapped windows); compose from per-window captures or use the shell/portal path
L9-11 Window and root capture cost tool box none root_capture.timing (1280x800 grab plus PNG encode) {min_ms: 125.13, median_ms: 125.45, max_ms: 126.22}; window_capture_timing_B_1000x700 (grab only, no encode) {min_ms: 0.92, median_ms: 0.94, max_ms: 1.29} NEW-EDGE 3.10: budget; the two numbers are not like for like (encode included in root)
L9-12 org.gnome.Shell.Screenshot from an unlisted client dbus api-contract §3.10 lowest-permission path Screenshot and ScreenshotWindow: AccessDenied: ... is not allowed, file_exists: false; introspect_methods lists Screenshot, ScreenshotWindow, ScreenshotArea, SelectArea, PickColor, FlashArea, InteractiveScreenshot NEW-EDGE 3.10: the shell screenshot interface is closed to arbitrary clients; do not plan on it
L9-13 Portal Screenshot non-interactive, first and second call dbus box P3-O11 / API Mapping: consent via XDG portal dialog both calls: response.code: 2, response.keys: [], after_ms: 51, handle_matches_predicted: true; portal journal: Failed to show access dialog: ... LimitsExceeded: Already showing a system access dialog; permission_store_after_all.screenshot_table_ids: [] NEW-EDGE 3.10: a host (non-sandboxed) caller goes through the shell access dialog even for interactive:false (the portal tried to show one); with a dialog already pending the request ends code 2 in ~50 ms with no result. The first-grant flow and "remembers a grant" are not measured (see 4)
L9-14 Portal Screenshot interactive: dialog visible through AT-SPI dbus box P3-O11 "portal handles consent dialog" interactive_1: no Response in 8 s, dialog_or_shell_ui_change_seen_via_atspi: false, gnome_shell_in_atspi_registry: false, root_pixels_max_mean_abs_diff_while_waiting: 0.0; Request.Close called, response_after_close: null, no residual diff NEW-EDGE 3.10: gnome-shell is not an AT-SPI application here, so shell-drawn consent dialogs cannot be observed or answered through AT-SPI; consent detection must come from the portal Response code and Request lifecycle, not the accessibility tree
L9-15 Portal availability dbus api-contract P3-O11 portal_versions: Screenshot 2, ScreenCast 5 (AvailableSourceTypes: 7, AvailableCursorModes: 7), RemoteDesktop 2 (AvailableDeviceTypes: 3), Clipboard 1; mutter_screencast_props.Version: 4; org.freedesktop.impl.portal.desktop.gnome and .gtk have owners CONFIRMS 3.10: ScreenCast and RemoteDesktop portals exist on GNOME 46; stream start and consent not exercised (no PipeWire client)
L9-16 Screen Recording permission analogue dbus box capability map "Screen Recording permission: PipeWire portal permission dialog" permission_store_before.screenshot_table_ids: [] and unchanged after; no preflight API was found; only request outcome (Response code) reports refusal NEW-EDGE 3.10: PermissionReport.screen_recording on Linux can only be inferred from a request outcome, not preflighted
L9-17 Wayland: wl-clipboard, ScreenCast stream tool box §3.10 Wayland path The first probe had no Wayland session (wayland.verdict: DEFERRED). Measured since in a private headless shell: wl-clipboard and the Xwayland bridge in L13-10, L29-18 and L29-32; the portal Screenshot in L29-24 to L29-27; a ScreenCast frame in L29-28 NEW-EDGE 3.10: the clipboard and the Screenshot route are built from those rows; the portal ScreenCast stream is not built, because its Start raises a dialog that no test answered (L29-28), and the live-session run of it is written into 3.15 in docs/phases.md

Area L10 — shell surfaces, notifications, tray

id probe stack scope phases.md expectation observed verdict action
L10-1 Notifications server identity dbus api-contract §3.14: "detect via GetServerInformation()" notification_server.server_information.value: [gnome-shell, GNOME, 46.0, 1.2]; capabilities [actions, body, body-markup, icon-static, persistence, sound]; interface exposes only Notify, CloseNotification, GetCapabilities, GetServerInformation plus signals NotificationClosed, ActionInvoked, ActivationToken. Bus owner is a unique name whose process comm is gjs, not gnome-shell CONFIRMS 3.14: detect the daemon from the GetServerInformation name field, never from the owner process name
L10-2 org.gnome.Shell.Notifications.GetNotifications() dbus api-contract §3.14: "GNOME: org.gnome.Shell exposes org.gnome.Shell.Notifications with GetNotifications()"; exit criteria "via org.gnome.Shell.Notifications" the bus name org.gnome.Shell.Notifications is owned, but GetNotifications_attempts over 2 destinations x 2 paths x 2 interfaces all read-failed: No such interface "org.gnome.Shell.Notifications" on object at path /org/gnome/Shell; Object does not exist at path /org/gnome/Shell/Notifications; No such method "GetNotifications". Recursive introspection of /org/gnome/Shell found interfaces org.gnome.Shell, org.gnome.Shell.Extensions and child paths AudioDeviceSelection, Wacom, Introspect, Screenshot; gnome_shell_dbus.notification_like_members: []. Eval not called CONTRADICTS 3.14: no D-Bus listing exists on GNOME 46; list from the gnome-shell AT-SPI tree (L10-3) or a Notify monitor
L10-3 Posted notification in the gnome-shell AT-SPI tree dbus box none (alternative to the list claim) posted_notifications.A_found_in_tree: true, A_seconds_to_appear: 2.24 (includes tree walk time), A_new_node_count: 27. Summary label, body label and a push button named after the action label sit under a notification node at depth 15-19 of the message list, all with extents -2147483648 (list closed). A closed baseline already holds a notification node [423,36,500,96] at depth 5 and a "Clear all notifications" button at depth 11. After CloseNotification, B_gone_from_tree_after_close: true NEW-EDGE 3.14: list = walk the shell tree for notification role nodes; hidden-list nodes carry no usable extents, so index by tree order, not coordinates
L10-4 Dismiss via CloseNotification dbus api-contract §3.14: "CloseNotification(id) — works across all notification daemons" for posted id B_id: B_closed_signal_observed: true, signal NotificationClosed [id, 3] (reason 3 = closed by call); node gone from tree. Cleanup closed ids 4, 5, 6, all close_called: true CONFIRMS 3.14: dismiss = CloseNotification; read reason code 3 as success. Ids come from Notify, so only notifications whose id was seen can be dismissed this way
L10-5 Triggering ActionInvoked programmatically dbus api-contract §3.14: "the D-Bus spec does not define a method to trigger actions programmatically — coordinate-based click ... via AT-SPI may be needed as a fallback" introspection lists no invoke method (L10-1). In the tree the action button exists (push button "Probe Action") but A_nodes_with_actions: []: its Action interface answers NActions 0, so DoAction has nothing to call (A_labelled_action_node_found: false); extents -2147483648, so a coordinate click has no target while the list is closed. ActionInvoked was never emitted by the shell during the run CONFIRMS 3.14: action on a notification needs the message list opened first (so extents become real) then a coordinate click; semantic DoAction is not available. Whether a click emits ActionInvoked is unmeasured (see section 4)
L10-6 AT-SPI close/dismiss control on a notification dbus box none C_close_like_nodes: [] (no node named close/dismiss with an action under the new notification); only the list-wide push button "Clear all notifications" exists, actions: [] NEW-EDGE 3.14: per-notification dismissal is CloseNotification only; "clear all" needs a coordinate click on the open list
L10-7 Do Not Disturb read tool api-contract §3.14: "GNOME gsettings get org.gnome.desktop.notifications show-banners" do_not_disturb.gsettings_show-banners: {rc: 0, stdout: "true"}; gio_settings_show_banners: true; keys application-children, show-banners, show-in-lock-screen. Only the true state was read; no write was made CONFIRMS 3.14: DND = show-banners == false. The false state was not measured (read-only rule)
L10-8 StatusNotifierWatcher presence dbus box §3.14: "discover items via org.kde.StatusNotifierWatcher.RegisteredStatusNotifierItems"; capability map: "AT-SPI2 StatusNotifierWatcher D-Bus" tray.org.kde.StatusNotifierWatcher.name_on_bus: true, owner comm: gnome-shell, IsStatusNotifierHostRegistered: true, ProtocolVersion: 0, item_count: 2; org.freedesktop.StatusNotifierWatcher.name_on_bus: false. Enabled extensions include [email protected] CONFIRMS 3.14: probe org.kde.StatusNotifierWatcher only. Absent-extension direction not measured (the extension was not disabled)
L10-9 Item registration string format dbus api-contract none RegisteredStatusNotifierItems entries are :1.99@/org/ayatana/NotificationItem/software_update_available (raw_form: service_at_path), i.e. service@path, not service/path; ProtocolVersion is 0 NEW-EDGE 3.14: split registered items on @, falling back to /-form and to the default path /StatusNotifierItem when no path is present
L10-10 Item properties and menu dbus app §3.14: "Title, IconName, ToolTip, Menu (D-Bus menu path) properties" both items (interface org.kde.StatusNotifierItem) expose Id, Category, Status, IconName, Title, Menu, IconThemePath, IconAccessibleDesc, AttentionIconName, AttentionAccessibleDesc, XAyatanaLabel, XAyatanaLabelGuide, XAyatanaOrderingIndex; ToolTip absent (tooltip_shape: None). Title: update-notifier, Status: Passive. Menu points to a com.canonical.dbusmenu object: GetLayout(0,1,[]) answered, revision 52 / 6 top-level entries and revision 2 / 4 entries, several with a null label (separators) CONTRADICTS 3.14: ToolTip must be optional; Menu + dbusmenu GetLayout is confirmed
L10-11 Activate(x, y) and ContextMenu(x, y) on the item dbus app §3.14: "call Activate(x, y) on the StatusNotifierItem D-Bus interface"; "call ContextMenu(x, y)" introspection of both items shows interface methods only Scroll, SecondaryActivate, XAyatanaSecondaryActivate; no Activate, no ContextMenu. Neither was called CONTRADICTS 3.14: for libayatana-style items use SecondaryActivate or the dbusmenu; call Activate/ContextMenu only after introspection shows them. Scope is the two items on this box; items from other toolkits were not present
L10-12 Passive tray items in the top panel gi-atspi box none the two update-notifier items appear as menu nodes at depth 7 of the top panel with extents -2147483648 (Passive status hides them); a third item AnyDesk (menu, [1136,0,40,32]) is visible but is absent from RegisteredStatusNotifierItems NEW-EDGE 3.14: the tray listing from the watcher and from the panel tree differ; show both, and mark hidden items by Status or invalid extents
L10-13 Legacy XEmbed tray tool box §3.14: "older apps use the XEmbed protocol; access via the AT-SPI tree of the tray window" tray.xembed_selection.value: "_NET_SYSTEM_TRAY_S0: not found.": no X11 tray owner exists, so there is no tray window to walk. A visible legacy-style item is exposed only as a panel menu node (L10-12) CONTRADICTS 3.14: on GNOME the tray has no XEmbed window; legacy icons reachable only as nodes of the gnome-shell tree
L10-14 gnome-shell AT-SPI subtree, top panel dbus box P3-O12: "Dock / taskbar surface via per-DE panel process walk (GNOME Shell process...)" atspi.gnome_shell_accessibles: 1 (one application named gnome-shell of registry_children: 20); baseline_walk: {nodes: 2006, truncated: false, seconds: 2.26}. Top panel is a depth-3 panel [0,0,1280,32] holding toggle button "Activities" [0,0,72,32], the system menu [1176,0,104,32] and tray menu nodes. Whole tree has 1115 panel nodes; Action interfaces are present on all, but only 1 node (a text) reports an action (activate) CONFIRMS 3.14: one gnome-shell app root serves panel, dock and message list; activate shell controls by coordinates since Activities reports actions: []. Walk cost above is libatspi via raw D-Bus, one run
L10-15 gnome-shell AT-SPI subtree, Ubuntu dock dbus box capability map: "Dock / taskbar surface: AT-SPI2 per-DE panel walk"; P3-O12 dock is a depth-3 panel [0,32,66,768] with push button children named after apps (extents e.g. [0,-1,66,60]) plus Trash and a toggle button "Show Apps" [0,734,66,66]; a second copy of the app buttons sits in the overview with extents -2147483648. Buttons report actions: [] CONFIRMS 3.14: build the dock list from the push button children of the left panel, filtering invalid extents so overview copies are dropped
L10-16 Message tray / banner subtree dbus box none a banner container panel [419,32,508,104] with child [424,37,499,94] and a notification node at depth 5 [423,36,500,96] was present in the baseline before the probe posted anything; the probe's own notification landed in the list subtree instead (L10-3). Whether a visible banner was shown for the probe notification was not observed NEW-EDGE 3.14: do not assume banner nodes belong to the notification just posted; match by summary text
L10-17 Extensions listing dbus box none org.gnome.Shell.Extensions is not a bus name (names: false) but ListExtensions on /org/gnome/Shell answered: ding, tiling-assistant, ubuntu-appindicators, ubuntu-dock NEW-EDGE 3.14: detect the AppIndicator extension via ListExtensions on org.gnome.Shell to build the "no tray available" suggestion

Area L11 — lifecycle

id probe stack scope phases.md expectation observed verdict action
L11-1 Direct spawn pid vs app pid, cold tool api-contract §3.9: "spawn via xdg-open or direct Command::spawn" editor cold_launch.variants[direct spawn].launcher_pid_is_app_pid: true, bus_name_owner_pid equals it; calculator same (app_found_ms about 5) CONFIRMS 3.9: a direct spawn's child pid is the app pid for GApplication apps; cold first window median 343 ms editor, 325 ms calculator (launch_latency, min 332/289, max 349/360)
L11-2 Launch by desktop id (gio launch, gtk-launch, Gio.DesktopAppInfo.launch_uris_as_manager) tool api-contract §3.9 API Mapping: "App launch: xdg-open / direct process spawn: Launch by .desktop file or command name" launcher_pid_is_app_pid: false for gio and gtk (launcher_returncode: 0, exit about 10 ms / 50 ms); app app_ppid: 1 (app_ppid_comm: systemd); waitpid_by_probe: ChildProcessError errno=10; app_cgroup is the login session scope (no per-app scope); api_callback_pids[0] is in new_pids (api_pid_in_new_pids: true) NEW-EDGE 3.9: the launcher's pid is never the app's; resolve the app pid after launch (bus-name owner pid, or a pid callback from launch_uris_as_manager); never report the launcher pid in LaunchResult
L11-3 xdg-open <file> as a launcher tool app §3.9: "spawn via xdg-open" editor cold_launch.variants[xdg-open]: launcher_exited: false while app alive, app_ppid_comm: xdg-open, launcher_pid_is_app_pid: false; takes a file, not an app id NEW-EDGE 3.9: xdg-open opens a document with the default handler and blocks while the app it spawned lives; use gio launch/gtk-launch/spawn for launching an app by id or name. Launching a .desktop path through xdg-open was not measured
L11-4 Second launch of a single-instance app (editor) tool app §3.9: "attach-vs-fail policy"; types: "attach_if_running true" editor handoff.variants[*] (direct, gio, gtk, repeats): launcher_exited: true, launcher_returncode: 0, exit 100-130 ms (gio 10 ms), new_app_processes_seen: [], new_window_pids: [], first_pid_windows_now: 1; bus_owner_after equals bus_owner_before NEW-EDGE 3.9: for a single-instance app the attach is implicit and silent: the spawned pid exits 0 and no window appears; an attach decision must be made before spawning (bus-name owner / existing pid) and the returned pid must be the existing owner's
L11-5 Second launch with args, env, cwd tool app §3.9: "args/env/cwd" in LaunchOptions editor args_env_cwd.second: first_pid_window_titles shows the second file opened in the first process (any_first_pid_window_title_has_second_file: true), but first_pid_environ_has_second_mark: false, first_pid_cwd_is_second_cwd: false, new_window_pids: []; --new-window gives new_window_under_first_pid: true, new_app_processes_seen: [] NEW-EDGE 3.9: args reach the existing instance, env and cwd of a handed-off launch are discarded; document that env/cwd apply only when the launch creates the process (attach_if_running false cannot be honoured for single-instance apps)
L11-6 Multi-instance app (calculator) launches tool app §3.9: "attach-vs-fail policy" calculator handoff.variants[direct spawn]: launcher_exited: false, new_window_pids is the new pid, bus_owner_before: null; close.second_launch.second_pid_alive: true NEW-EDGE 3.9: whether a second launch attaches or forks is per app; attach detection cannot assume a bus name. Calculator holds none (close.gaction_quit.error ServiceUnknown)
L11-7 Launch failures tool api-contract none launch_errors: missing binary FileNotFoundError errno=2; gtk-launch rc 2 "no such application"; gio launch missing file rc 1; xdg-open missing file rc 2 (4 in a session with a bus) NEW-EDGE 3.9: map spawn ENOENT and gtk-launch rc 2 to APP_NOT_FOUND; do not treat xdg-open rc alone as launch success
L11-8 SIGTERM and SIGKILL on a probe-launched child tool api-contract §3.9: "SIGTERM then SIGKILL under --force, confirmed via a follow-up liveness probe"; API Mapping: "Graceful close first" close.sigterm[*].returncode: -15, close.sigkill[*].returncode: -9; proc state R then Z within about 7 ms (timeline); window_gone_ms about 8; gtk apps do not handle SIGTERM CONTRADICTS 3.9: see section 3 (SIGTERM is not a graceful step)
L11-9 Liveness probe on an unreaped child tool api-contract §3.9: "confirmed via a follow-up liveness probe, not assumed" close.sigterm[0].zombie_probe: {kill0_while_zombie: true, proc_state: Z} NEW-EDGE 3.9: kill(pid, 0) succeeds for an exited-but-unreaped child; the liveness probe must read /proc/<pid>/stat and treat Z (or a missing entry) as exited. A non-child is gone from /proc about 10 ms after the signal (cold_launch...sigterm.ms_to_gone)
L11-10 Graceful close by window close message tool api-contract §3.9: "Graceful close first" editor close.close_last_window_wm_close: wmctrl -i -c rc 0, process exits returncode: 0 in about 216 ms (zombie_probe Z); with two windows close.multi_window: one window gone in 66 ms, process_alive_after_one_close: true, remaining_windows: 1. calculator close of its only window: exit 0 NEW-EDGE 3.9: graceful close_app = _NET_CLOSE_WINDOW to every window of the pid, then wait for exit; the process stays alive while other windows remain. Unsaved-document prompts were not measured
L11-11 App-level quit action dbus app none editor close.gaction_quit: org.gtk.Actions.List returns 7 actions incl. quit; Activate("quit") gives exited: true, returncode: 0, 162 ms; calculator error ServiceUnknown NEW-EDGE 3.9: optional second graceful path for apps owning a bus name; not available for every app
L11-12 Ungraceful X11 close helpers tool app §3.9: API Mapping "Window ops: xdotool / wmctrl" close.xdotool_windowclose: editor returncode: -6 after 4082 ms (SIGABRT), calculator returncode: 1; close.xdotool_windowkill: returncode: 1 both; rc 0 from the tool in all cases NEW-EDGE 3.9: never use xdotool windowclose/windowkill as a close; they destroy the connection and the app aborts or exits 1
L11-13 Exit status visibility tool api-contract §3.9: "exit-code inspection -> Exited/Crashed" child: returncode 0 / -15 / -9 / -6 readable; non-child (gio, gtk, API launches): waitpid_by_probe: ChildProcessError errno=10, process vanishes from /proc with no status CONTRADICTS 3.9: see section 3
L11-14 /proc/<pid>/stat after SIGSTOP tool api-contract §3.9: "/proc/<pid>/stat state character for hung detection where meaningful" sigstop.baseline_state: S; after_sigstop.state_is_T: true in 5.2 ms (calculator) and 7.2 ms (editor), status_state_line: State: T (stopped), kill0: true CONFIRMS 3.9: T identifies a stopped app within a few ms; an app blocked in its main loop is expected to read S like an idle one (not measured), so /proc cannot be the only signal
L11-15 AT-SPI call to a stopped app dbus api-contract §3.9 / phases "ProcessState": Unresponsive via liveness probe calculator sigstop.stopped_calls: timeout_arg_ms: -1 fails after 25025.2 ms and again 25025.2 ms (g-io-error-quark code 24 Timeout); explicit 1000 ms fails at 1001.2, 300 ms at 300.6; baseline baseline_call_ms min 0.2 / median 0.3 / max 0.8 NEW-EDGE 3.9: every AT-SPI read made for liveness needs an explicit short timeout; the default is 25 s. A timeout plus /proc state T maps to Unresponsive; a timeout alone is TIMEOUT; 3.5: every resolver call races the caller's deadline, and a timeout is never reported as STALE_REF
L11-16 What still answers while the app is stopped dbus box none registry_getchildren_while_stopped.ok: true (0.4 ms, still lists the app); bus_pid_query_while_stopped pid answered in 0.2 ms; x_server_answers_while_stopped.title read in 2.3 ms NEW-EDGE 3.9: pid-from-bus-name and the X server stay responsive for a stopped app, so a pid can be resolved and /proc read without touching the app
L11-17 Signals against a stopped app, and resume tool api-contract §3.9: "SIGTERM then SIGKILL" sigterm_to_stopped.exited_within_1500ms: false, status_lines ShdPnd: 0000000000004000; after SIGCONT exits -15 in about 150 ms; sigkill_to_stopped.exited: true; resume.call_ok_after_cont: true, first ok call 0.8 ms, call_while_stopped_ok: false NEW-EDGE 3.9: SIGTERM to a stopped process stays pending until SIGCONT; close_app on an Unresponsive (stopped) app must go straight to SIGKILL (or SIGCONT first)
L11-18 move, resize tool api-contract §3.9: "window_op via xdotool/wmctrl for resize/move" calculator window_ops.ops[move]: effect_observed: true at 1.0 ms, geometry exactly 140,160; ops[resize] 562x693 exact; editor results are clamped by the 1280x800 screen (resize to 982x802 reads y 65) CONFIRMS 3.9: xdotool windowmove/windowsize work and read back through xwininfo absolute client coordinates; GTK client-side shadow is in _GTK_FRAME_EXTENTS (61,61,55,67) and _NET_FRAME_EXTENTS is absent, so frame math must use xwininfo, not extents
L11-19 wmctrl -G geometry tool box none wmctrl_list_row_for_window reports x,y 280,320 for a window xwininfo reports at 140,160 (width/height equal) NEW-EDGE 3.9: do not read position from wmctrl -l -G (x,y come back doubled for these windows); use xwininfo -id
L11-20 maximize / restore tool api-contract §3.9: "window_op ... maximize/restore" calculator: wmctrl -i -r -b add,maximized_vert,maximized_horz sets both _NET_WM_STATE_MAXIMIZED_*, geometry 66,32 1214x768 (settled in about 170 ms); remove restores exactly 140,160 562x693; raw _NET_WM_STATE client message gives the same both ways CONFIRMS 3.9: maximize/restore via EWMH work with xdotool-free wmctrl or a raw client message; wait for geom_settle_ms before reading geometry (first read mid-transition differed)
L11-21 minimize tool api-contract §3.9: "minimize" window_ops.minimize.effect_observed: true; _NET_WM_STATE_HIDDEN, WM_STATE Iconic; AT-SPI window atspi.iconified: false while hidden NEW-EDGE 3.9: read minimized state from _NET_WM_STATE_HIDDEN; AT-SPI does not report it for GTK4 windows
L11-22 unminimize / restore from minimized tool api-contract §3.9: "window_op via xdotool/wmctrl for resize/move/minimize/maximize/restore" window_ops.unminimize_trials (12 methods x 2 apps): xdotool windowmap, windowactivate, windowraise, wmctrl -i -a, wmctrl -b remove,hidden, _NET_ACTIVE_WINDOW source 1/2 with timestamp 0 or a real server time, and three repeats after a 1.5 s delay: all unhidden: false, wm_state_after: Iconic, final_hidden: true; reproduced in three runs CONTRADICTS 3.9: see section 3
L11-23 Focus and activation of a visible window tool box none ops[focus] (xdotool windowfocus): active_is_window: true in 29-37 ms; window_ops.active_window_at_start_is_ours: false for a freshly spawned window NEW-EDGE 3.9: a newly launched window is not the active window; windowfocus makes _NET_ACTIVE_WINDOW the target, but headed focus policy must verify it
L11-24 Window ops on a nonexistent window id tool api-contract none nonexistent_window: xdotool move/minimize/activate rc 1 BadWindow; wmctrl -i -r 0x1 and wmctrl -i -c 0x1 rc 0 with no error; wmctrl -i -a 0x1 rc 1 NEW-EDGE 3.9: wmctrl returns success for dead window ids on resize/state/close; verify the effect by readback, never by exit code
L11-25 Missing xdotool subcommands tool box none tools.xdotool_subcommands: windowstate: false, windowquit: false; windowclose, windowkill, windowminimize, windowactivate, windowmove, windowsize, windowmap, windowfocus present NEW-EDGE 3.9: the distro xdotool (3.20160805.1) has no windowstate; maximize/fullscreen need wmctrl or a raw client message
L11-26 Window to pid mapping tool api-contract §3.9 "Depends on: 3.4 (window identity)" every window has _NET_WM_PID equal to the app pid (window_pid_matches: true); xdotool search --pid plus _NET_CLIENT_LIST finds it; a handed-off launch adds windows under the first pid CONFIRMS 3.9: window -> pid via _NET_WM_PID is reliable for these GTK4 apps on X11
L11-27 Wayland window operations tool box §3.9: "window_op via xdotool/wmctrl" not run (X11 session only) DEFERRED needs: Wayland session from U13; closure: 3.9
L11-28 is_protected_process, press_key_for_app tool box §3.9 scope bullets not measured here: no process-protection data is in scope of this unit, key delivery belongs to the input unit DEFERRED needs: U5 input results and a protected-process list decision; closure: 3.9

Area L12 — sandbox

id probe stack scope phases.md expectation observed verdict action
L12-1 Probe-owned snap Firefox (own profile, --no-remote --new-instance about:blank), registry walk over raw D-Bus dbus app §3 Testing / P3-O15: sandboxed consumers must not be "silently empty-tree" part_a_snap_firefox.firefox.tree_read: "answered-nonempty", tree.nodes: 67, tree.top_level: ["frame"], read_failures: 0, registry_appear_ms: 1789, app_pid_matches_launched_pid: true, roles include document web, push button, menu bar, tool bar, page tab list. Closed by pid group (close: ["SIGTERM group <pid>"], processes_left_with_probe_profile: []) CONFIRMS 3.4: snapshot of a snap-confined app works with the default snap connections; no sandbox-specific path needed for Firefox. App root GetChildren min/median/max ms 0.5/3.8/15.2 (n=7, warm-up discarded)
L12-2 snap connections firefox plus snap interface a11y / accessibility tool box P3-O15: "Skill docs include the exact ... Snap plug grants" snap_connections_summary.rows: 42, plugs_with_a11y_in_name: [], interfaces_with_a11y_in_name: [], snap_interface_a11y.err: "error: no such interface", snap_interface_accessibility.err: "error: no such interface". Connected desktop-class plugs: desktop, desktop-legacy, unity7, x11, wayland CONTRADICTS 3.14 (skill docs): snap has no a11y interface or plug to grant; see section 3
L12-3 Which snap interface carries the a11y rules (read of the generated AppArmor profile) tool box P3-O15 as above apparmor_profile.lines_mentioning_a11y: 30; #include <abstractions/dbus-accessibility-strict> at profile lines 1170 (inside the unity7 section that starts at 954) and 1742 (inside the desktop-legacy section that starts at 1730); both allow org.a11y.Bus.GetAddress on the session bus and bus=accessibility path=/org/a11y/atspi/**; the desktop section (starts 1562) holds none; snap_yaml_has_a11y: false NEW-EDGE 3.14: document that a snap app gets AT-SPI via unity7 or desktop-legacy; a snap that connects neither is the confined-without-access case (not measured, see L12-9)
L12-4 Probe-owned GTK4 app (calculator, text editor) with AT_SPI_BUS_ADDRESS set to a socket path that does not exist; what the app logs, whether it starts, how long gi-atspi app §3.1 bus detection / P3-O15 (no claim about the app side) calc_bad_socket.started_all: true, window_visible_ms min/median/max 777.8/786.3/808.1 (n=7 after discarded warm-up); stderr: Gtk-CRITICAL **: Unable to connect to the accessibility bus at 'unix:path=...': Could not connect: No such file or directory; same line for text editor (editor_bad_socket, 2 runs, 790.0/817.7). No exit, no block (blocked_past_deadline: false) NEW-EDGE 3.4: a failed a11y connection is not fatal to the target app and is only visible in the target's stderr; the adapter cannot detect it from the app
L12-5 Same case, what an AT-SPI client on that private bus sees dbus app §3.1: bus presence check by org.a11y.Bus calc_bad_socket.client_views[0..1]: get_address.ok: true, connected: true, registry_read: "answered", registry_child_count: 0, app_in_registry: false after registry_waited_s: 6 (60 polls); identical in both runs and for the text editor. Passing direction: calc_default.client_views: registry_child_count: 1, app_in_registry: true, tree.nodes: 99; editor_default: tree.nodes: 64 NEW-EDGE 3.1/3.4: GetAddress success plus an empty registry is the "app has no bus access" signature and is an answered-empty result, not an error. Do not map it to PLATFORM_NOT_SUPPORTED; return an app-not-found style diagnostic that names the missing a11y connection. Absence was waited 6 s (bounded), not proven forever
L12-6 No activatable a11y bus at all: app launch gi-atspi app §3.1: "Check for org.a11y.Bus presence on the D-Bus session bus" calc_no_a11y_bus.bus_before: {a11y_bus_activatable: false, a11y_bus_has_owner: false}, started_all: true, window_visible_ms 643.5/665.4/676.5 (n=7); stderr Gtk-WARNING **: Unable to acquire the address of the accessibility bus: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files. If you are attempting to run GTK without a11y support, GTK_A11Y shou.... Text editor: editor_no_a11y_bus same warning, 680.7/683.6 (2 runs) NEW-EDGE 3.1: the app starts and does not block. Cold a11y activation costs about 130 ms of start in this tree (calc_default min 781.8 vs 643.5), single-run comparison across private trees, not a general claim; 3.5: accepted, a ref cannot exist without a bus and the bus-absent path is unchanged
L12-7 No activatable a11y bus: what the client sees dbus api-contract §3.1: "If the bus is not running, return PLATFORM_NOT_SUPPORTED" calc_no_a11y_bus.client_views[0..1].get_address: {ok: false, error: "org.freedesktop.DBus.Error.ServiceUnknown", message: "...The name org.a11y.Bus was not provided by any .service files"}; same for the text editor, both runs CONFIRMS 3.1: detection by GetAddress failing with ServiceUnknown is a distinct, machine-readable signal from L12-5; both directions measured (L12-5 and calc_default get_address.ok: true)
L12-8 Snap a11y plug disconnect, then re-read Firefox tree tool box P3-O15 not measured DEFERRED needs: root to run snap disconnect; closure: 3.14. Note the premise changed: there is no a11y plug (L12-2), so the closure test disconnects unity7 and desktop-legacy and checks the snap app falls into the L12-5 shape or a denied GetAddress
L12-9 Flatpak GNOME Text Editor with and without --talk-name=org.a11y.Bus; Flatpak override text tool box §3 Testing: "Flatpak-packaged GNOME Text Editor snapshot is non-empty when --talk-name=org.a11y.Bus is granted; returns a clear diagnostic otherwise"; P3-O15 deferred[1].flatpak_on_path: null DEFERRED needs: flatpak system install; closure: 3.14

Area L13 — Wayland

id probe stack scope phases.md expectation observed verdict action
L13-1 Which display variables a headless Wayland shell and the live X11 box expose tool box Display Server Detection: "Check $WAYLAND_DISPLAY environment variable — if set, use the Wayland path"; "Check $DISPLAY ... if set and no Wayland, use the X11 path" In the private shell: socket steps.session_start.wayland_socket: "wayland-0", Xwayland started on steps.private_bus.xdisplay: ":1" (so a Wayland shell offers both). Live X11 box: live_env: {DISPLAY: ":0", WAYLAND_DISPLAY: null, XDG_SESSION_TYPE: "tty"}. XDG_SESSION_TYPE was tty on the X11 box, so it is not a usable signal CONFIRMS 3.8/3.10: keep the order WAYLAND_DISPLAY then DISPLAY; do not consult XDG_SESSION_TYPE
L13-2 wl-paste with a stale and with an empty WAYLAND_DISPLAY tool api-contract Display Server Detection: "if set, use the Wayland path" stale name: clipboard_wl.stale_WAYLAND_DISPLAY_paste: {rc: 1, err: "Failed to connect to a Wayland server: No such file or directory ..."}; empty string: empty_WAYLAND_DISPLAY_paste: {rc: 1, err: "Failed to connect to a Wayland server: Connection refused ..."} NEW-EDGE 3.8/3.10: treat an empty WAYLAND_DISPLAY as unset, and treat "set but the socket does not connect" as a failed Wayland path that falls back to X11 only if DISPLAY is set; never pass the failure through as a clipboard result
L13-3 Starting gnome-shell --headless --wayland unattended, repeatedly tool box Key Risks: "Wayland a11y gaps"; 3.12 harness assumes a Wayland session can be started inner.shell_start_attempts over the final three full runs: [{stable:false, probes_ok_before_hang:0}, {stable:false, probes_ok_before_hang:1}, {stable:true, probes_ok:16}], [{stable:true, probes_ok:16}], [{stable:false, probes_ok_before_hang:1}, {stable:true, probes_ok:16}]. In an unstable start the socket exists and the first wl-paste may even answer, then every Wayland client request (get_registry + sync) never completes while the shell process sits idle in poll; GTK apps launched into it never reach the a11y registry. --nested was not used (known to fail, per box prep) NEW-EDGE 3.12: the Wayland tier of the harness must treat start-up as a retry loop with a health gate (a client round trip that completes repeatedly over a short window), kill and restart the shell on a failed gate, and bound the attempts; never trust "socket exists" or "org.gnome.Shell owned" (both were true in hung starts). Isolate the session bus (private session.conf) so portal/other services are not activated
L13-4 Tree shape of the same GTK4 app on Wayland vs on X11 (Xwayland), raw D-Bus walk dbus app Key Risks: "Wayland a11y gaps ... Focus on GNOME (best AT-SPI2 support)" Calculator: apps.calculator-wayland.tree.nodes: 97, calculator-x11.tree.nodes: 99; tree_compare_wayland_vs_x11.calculator.only_in_b: [["button","Minimize"],["button","Maximize"]], only_in_a_count: 0 (X11 shows client-drawn window buttons, Wayland does not). Text Editor: 62 vs 66 nodes, differences are document title/state text (the document draft changed between launches) plus the same two window buttons. Same roles, depth 17-18, read_failures: 0 on all four. Registry appearance registry_appear_ms 1318 / 307 (editor wayland / x11), 406 / 306 (calculator wayland / x11), one launch each CONFIRMS 3.4: no Wayland-specific tree handling for GTK4 on GNOME; do not key snapshot logic on window-decoration buttons being present
L13-5 Roles and interfaces of the GTK4 window node under the app root dbus app §3.4: "each app's top-level accessibles with role frame, dialog or window (GTK3 exposes only the Accessible, Component and Collection interfaces on them, with no Window interface; L8-2)" In both GTK4 apps on both backends the only depth-1 node has role: "application" (tree role count application: 2 = app root + window) with ifaces ["Accessible","Component","Action"], has_Window_iface: false, states sensitive, showing, visible (no active/focused, even after a pointer click delivered through the compositor) CONTRADICTS 3.4: a GTK4 window is the single child of the app root with GetRoleName application (numeric role 23, frame, per L3-2), the Accessible, Component and Action interfaces, no Window interface and no ACTIVE state in the headless Wayland session; the 3.4 sentence is corrected in place
L13-6 GetExtents in screen (0) and window (1) coords for the window and its descendants; does Wayland report a global position dbus app none (extends L6-6) Window: extents_before_screen == extents_before_window == [0,0,700,520] (editor), [0,0,360,497] (calculator) on Wayland, and [0,0,700,520] / [0,0,360,460] under Xwayland. Descendants: screen minus window offset takes 20 / 25 / 45 / 47 distinct values (editor wayland, editor x11, calculator wayland, calculator x11) (extents.screen_minus_window_offsets), so screen coords are not window coords plus one frame origin. The X11 editor's real position from X was Position: 228,59 while AT-SPI said [0,0,...]. No node returned -1,-1 (screen_minus1_minus1: 0) NEW-EDGE 3.4/3.8: GTK4 gives no global position on Wayland, and none on X11 either (L6-6); coordinate input cannot be derived from AT-SPI extents for GTK4. Window-coordinate extents are the only usable geometry
L13-7 GetAccessibleAtPoint and Contains at each button centre, both coord types, and at points outside the window dbus app §3.6 (hit test): "hit_test three-way result via Component.Contains (geometry only, so never a negative on its own; L6-1, L6-2)" Calculator, 12 nodes: GetAccessibleAtPoint(ct=1) returned the node or a descendant 12/12, ct=0 0/12 (returns an unnamed generic). Contains at the ct0 centre true 12/12, at the ct1 centre true 6/12 (contains_ct1_true: 6, contains_false_or_error: 6) although GetAccessibleAtPoint hit all 12. Editor: ct1 hit 3/9, ct0 0/9. Identical numbers under Xwayland, so not Wayland-specific. Outside the window: negative_probes.*.at_point: ["", "/org/a11y/atspi/null"], contains: false CONFIRMS 3.6: Contains returning false does not mean "not under the point"; use GetAccessibleAtPoint in window coords and keep Contains as supporting evidence only
L13-8 DoAction on a button with no input device present dbus app Key Risks: "Prefer AT-SPI actions over coordinate input" Calculator: seat reported "This seat has no keyboard" at that moment (clipboard_wl_before_any_input_device). do_action.action0_name: {ok:"click"}, do_action_7: {ok:true}, display text went "" -> "7" then after the second button "78" (readback_changes_7, readback_after_8) on Wayland and on Xwayland. Failing direction: bad_index_99: {err: ...Unknown action 99} CONFIRMS 3.7/3.8: AT-SPI actions are the dependable Wayland input; read the effect back from the app tree
L13-9 EditableText.InsertText / SetTextContents in a Wayland text box with no input device dbus app Key Risks: "Prefer AT-SPI actions over coordinate input" editable_text.insert: {ok:true}, readback_after_insert: "hello", set_text_contents: {ok:true}, readback_after_set: "replaced", caret_offset: {ok:8}, text box states focusable, sensitive, showing, visible, editable (not focused) CONFIRMS 3.8: text entry through EditableText works on Wayland without focus or an input device
L13-10 Clipboard round trip with wl-clipboard tool box §3.10 / P3-O5: "wl-clipboard (Wayland)" With a keyboard seat present: roundtrip_ok: true, roundtrip_text.out: "ad13-clip-marker", types_while_owned: "UTF8_STRING STRING TEXT text/plain;charset=utf-8 text/plain", primary_roundtrip.out: "primary-marker"; empty clipboard: empty_clipboard_paste: {rc:1, "Nothing is copied"} (an answer, not a hang). wl-clipboard works here with no data-control protocol: its own surface receives wl_keyboard.enter CONFIRMS 3.10: wl-copy/wl-paste usable under GNOME Wayland for text and primary selection
L13-11 wl-clipboard when the seat has no keyboard tool box §3.10 / P3-O5 as above clipboard_wl_before_any_input_device: {rc:1, message:["This seat has no keyboard"]}; the same tool then worked once a (virtual) keyboard existed (L13-10). In a shell that had stopped serving clients the identical call hit the 6 s limit (rc: null, error: "timeout", earlier runs of this probe) NEW-EDGE 3.10: map "no keyboard" (exit 1 with that text) and a timeout to a distinct, actionable error (headless/no-seat session), not Nothing is copied
L13-12 Does a wl-copy selection outlive the wl-copy process tool box none clipboard_wl.after_stop_paste: {rc:0, out:"ad13-clip-marker"} after the wl-copy --foreground process group was signalled and reaped (wl_copy_alive_during: true before). Observed once in this capture NEW-EDGE 3.10: do not assume stopping the wl-copy writer clears the clipboard; clipboard-clear needs wl-copy --clear. Re-measure before relying on persistence (single observation)
L13-13 Wayland globals offered by mutter to an ordinary client tool api-contract Display Server Detection: "Input tools: verify xdotool (X11) or ydotool (Wayland)" clipboard_wl_before_any_input_device.wl_globals (27) include wl_seat, xdg_activation_v1, zwp_primary_selection_device_manager_v1, zwp_text_input_manager_v3, zwp_pointer_constraints_v1, zwp_relative_pointer_manager_v1; none of zwlr_virtual_pointer_manager_v1, zwp_virtual_keyboard_manager_v1, zwlr_data_control_manager_v1, ext_data_control, screencopy, foreign-toplevel NEW-EDGE 3.8: wtype/wlrctl-class tools cannot work on GNOME; the only non-root Wayland input found is the mutter RemoteDesktop service (L13-16) or the portal; the only root route is ydotool (L13-15)
L13-14 xdotool against Xwayland, both directions tool box §3.8: "xdotool key (X11) / ydotool key (Wayland)" X11-native editor: x11_type_xtest (XTEST) rc 0, text read back x11_readback_xtest: "abc". --window SendEvent form: x11_readback_sendevent: null. The same XTEST typing aimed at the Wayland-native editor: wl_native_readback: "", wl_native_readback_after_wait: null. xdotool getactivewindow fails (_NET_ACTIVE_WINDOW ... code=1). wmctrl -m reports Name: GNOME Shell, wmctrl -l lists the X11 editor CONFIRMS 3.8: xdotool reaches X11 clients under Xwayland only; Wayland-native windows need another path; use XTEST not --window
L13-15 ydotool tool box §3.8: "Wayland input through ydotool is unmeasured; it needs ... write access to /dev/uinput (L1-17)" tools.ydotool.uinput: {mode:"0o600", uid:0, gid:0, writable_by_us:false} DEFERRED needs: as L5-2, write access to /dev/uinput; closure: 3.15
L13-16 mutter RemoteDesktop service on the private bus: keyboard path dbus box §3.8: "libei ... documented ... not adopted"; Display Server Detection names only xdotool/ydotool org.gnome.Mutter.RemoteDesktop owned, version: 1, supported_device_types: 7; CreateSession and Start succeed with no consent step. Keys via NotifyKeyboardKeysym reach a Wayland-native GTK4 editor: first sequence read back keysym_readback_to_wayland_editor: "i" (the first key h of h,i was dropped), second sequence second_sequence_xyz_readback: "xyz" (all three delivered); the dropped first key reproduced in two full runs. Window states stayed sensitive, showing, visible (no active) NEW-EDGE 3.8: a rootless Wayland key path exists in a session where the caller may use this service; lead each injected sequence with a throwaway key or wait for focus. Access control in a real user session is unmeasured (see section 4)
L13-17 Pointer path: relative motion + button through the same service, aimed from AT-SPI extents dbus box Key Risks: "Prefer AT-SPI actions over coordinate input" mutter_remote_desktop_pointer: button extents screen [0,0,64,44], window [16,299,64,44]; click at the AT-SPI screen centre [32,22] changed nothing (click_reached_button: false); click at the position assuming a centred window [508,472] changed nothing (centred_window_hypothesis.reached: false). org.gnome.Shell.Introspect.GetWindows -> AccessDenied: GetWindows is not allowed; org.gnome.Shell.Screenshot.Screenshot -> AccessDenied NEW-EDGE 3.8: raw pointer input cannot be aimed on Wayland without a global window origin, and an ordinary client cannot ask the compositor for it; keep coordinate pointer input out of the Wayland path, use AT-SPI actions
L13-18 libei / EIS reachability dbus box §3.8: "libei ... documented here as a researched future alternative ... not adopted" libei.so.1.2.1 and libeis.so.1.2.1 installed; Session.ConnectToEIS returned a unix socket fd (connect_to_eis: {fd_index:0, fd_is_socket:true}); no EIS socket file appeared in the private runtime dir (eis_sockets_in_private_runtime: []). The EIS handshake was not performed CONFIRMS 3.8: libei is available through RemoteDesktop ConnectToEIS; the claim "not adopted" stands, a later phase can measure the handshake
L13-19 Portals present on the private session bus dbus box P3-O11: "org.freedesktop.portal.ScreenCast (Wayland) + org.freedesktop.portal.RemoteDesktop" After adding the portal service files to the private bus: RemoteDesktop.version 2 (AvailableDeviceTypes 7), ScreenCast.version 5 (AvailableSourceTypes 7, AvailableCursorModes 7), Screenshot.version 2, Clipboard.version 1, InputCapture.version 1, Settings.version 2; GlobalShortcuts absent (No such interface) CONFIRMS 3.10: the P3-O11 interfaces exist on GNOME 46
L13-20 RemoteDesktop portal consent flow in the headless session dbus box P3-O11: "XDG desktop portal handles the user consent dialog" CreateSession Response [0], SelectDevices accepted, Start Response [0] within 8 s with no human action (start_response_within_8s: [0]) NEW-EDGE 3.10: a headless session grants without a dialog, so the consent code path (Response 1/2, timeout) cannot be exercised there; keep the consent test on a session that has a person (L9-13)
L13-21 ScreenCast through mutter's own API, and getting a frame dbus box P3-O4 / P3-O11: "screenshot produces PNG via PipeWire ScreenCast portal" org.gnome.Mutter.ScreenCast version 4: CreateSession ok, RecordMonitor ok, Start ok, PipeWireStreamAdded delivered pipewire_node_id: 34 with no consent step (a private pipewire daemon was started). Reading a frame with gst-launch-1.0 pipewiresrc path=34 ... pngenc: gst_capture: {rc: 255, err: "Failed to set pipeline to PAUSED."}, png_bytes: 0. A 60 s limit applied (an earlier run with 25 s timed out) NEW-EDGE 3.10: the PAUSED failure was the missing session manager; with pipewire and wireplumber running the same Mutter route gave a 1280x800 frame (L29-28). That route needs no consent, so it is not used (R7), and the portal ScreenCast stream is owned by 3.15 in docs/phases.md
L13-22 AT-SPI window operations on a Wayland-native window dbus api-contract §3.9: window ops listed for GNOME/X11 only window_ops: set_extents_move, set_position, set_size_resize, set_extents_resize, grab_focus all org.freedesktop.DBus.Error.NotSupported; extents unchanged after each (extents_after_window same as before); no Window interface (has_Window_iface: false) on either backend NEW-EDGE 3.9: window move/resize/focus through Component is not an option on GTK4, Wayland or X11
L13-23 EWMH window operations on an Xwayland client under mutter tool box §3.9: "window_op via xdotool/wmctrl (or raw EWMH client messages) covers move, resize, minimize, maximize and restore ... on GNOME/X11" xdotool windowmove moved it (Position: 228,59 -> 200,150); xdotool windowsize 500 400 left Geometry: 822x642; wmctrl -i -r <id> -e 0,300,200,640,480 gave Position: 300,200, Geometry: 640x480; xdotool windowminimize and wmctrl -b add,hidden left the AT-SPI frame without iconified (states_after_wmctrl_hidden: sensitive, showing, visible); AT-SPI frame extents stayed [0,0,700,520] throughout NEW-EDGE 3.9: for an Xwayland client prefer wmctrl -e over xdotool windowsize; do not read window geometry or minimized state back through AT-SPI on GTK4; no effect of minimize was observed so it is not claimed
L13-24 Move / resize / minimize a Wayland-native window dbus box §3.9 (as above) No call changed a Wayland-native window: AT-SPI refused (L13-22), GetWindows and Screenshot are AccessDenied (L13-17), wmctrl and xdotool were not run against a Wayland-native window (it was not present at that step) DEFERRED needs: a compositor window-management route usable by an ordinary client (none found), plus a run of wmctrl/xdotool with a Wayland-native window mapped; closure: 3.9
L13-25 Clipboard paste into the app through an injected Ctrl+V tool box §3.10 / P3-O5 clipboard_into_app_via_injected_ctrl_v: {refocus_click: sent, editor_text_after_ctrl_v: null, pasted_ok: false}, two full runs, after wl-copy had set the selection (L13-10) and keys were already known to reach the app (L13-16) DEFERRED needs: confirmation that the Ctrl modifier and a selection set from another surface reach the focused text view (cause not isolated), on 3.8's key path; closure: 3.15
L13-26 GetChildren on the app root, raw D-Bus, 7 samples after one warm-up dbus app none get_children_ms min/median/max (ms): editor wayland 0.16/0.16/0.18, editor x11 0.16/0.18/0.18, calculator wayland 0.16/0.16/0.18, calculator x11 0.16/0.18/0.21 NEW-EDGE 3.4: no per-call cost difference between Wayland and X11 for GTK4

Area L14 — real-app edge targets

id probe stack scope phases.md expectation observed verdict action
L14-1 Disabled control that becomes enabled: Calculator "Undo" dbus app §3.12 edge case: delayed-enable calculator.undo: node button "Undo" (ipath 0/0.0.0.0.0.1.0.0.0.0.0.0.0.0, Action nactions: 1) undo_states_before: [focusable, showing, visible] (no sensitive); DoAction on button "7" (0/0.0.0.0.0.0.0.1.0.0.1) returned true; undo_sensitive_after_input: true, undo_states_after: [focusable, sensitive, showing, visible] NEW-EDGE 3.12: use gnome-calculator Undo as the disabled-to-enabled target: launch, observe Undo without sensitive, click "7", poll Undo for sensitive. Pin on sensitive, not enabled (GTK4 never emits enabled). Not an app-supplied delay: it enables on the next event, so a deliberate time-delayed enable is not covered
L14-2 Disabled control that becomes enabled, both directions: Terminal Edit > Copy dbus app §3.12 edge case: delayed-enable terminal.copy_enable: menu item "Copy" (0/0.1.0.1.0) copy_states_before: [selectable, visible]; Text.SetSelection(0,0,5) on the terminal node (0/0.1.1.0.0.0.0, ifaces Text, Action) returned true, nselections_after: 1, copy_enabled_after_select: true, copy_states_after: [enabled, selectable, sensitive, visible]; RemoveSelection(0) true, copy_disabled_after_clear: true, copy_states_cleared: [selectable, visible] NEW-EDGE 3.12: GTK3 target with real extents: print a line in a gnome-terminal, select it with the Text interface, read Copy gain enabled+sensitive; clear the selection, read both lost. Passing and failing direction both measured. The menu item sits at the INT32_MIN sentinel extents (hidden menu bar), so it is a state-only target
L14-3 Replace button enabling after typing (Text Editor search bar) dbus app §3.12 edge case: delayed-enable editor.search: ctrl_f.new_node_count: 0, entries lists only the document text box, replace_buttons_before: []; key_delivery.typed.sent: true but text_read_back: null (typed text did not appear in the document); ctrl_comma, ctrl_h, F10 also new_node_count: 0 DEFERRED needs: an input path that reaches GTK4 windows under X11 (xdotool key/type was accepted but had no observable effect on the Text Editor document in this run) or a GAction route; closure: 3.12. L5-6 records a held input grab as one cause of undelivered keys on this box; it is not established for this run. Not exercised, no claim that the Replace button gates on text
L14-4 Zero-size / zero-axis nodes that remain in the tree dbus app §3.12 edge case: zero-bounds GTK4 apps expose many generic/group/tab panel/search nodes with one axis 0 and showing+visible: files.zero_extent_count: 17 (e.g. group 0/0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1 ext [0,0,710,0]; tab panel ext [0,0,0,31240]), editor.zero_extent_count: 10, calculator.zero_extent_count: 4, Settings panels 10-15 each (settings.panels.*.zero_extent_count); Settings search node (0/0.0.0.0.0.0.0.0.1.0.0.1) ext [0,0,245,0] with sensitive, showing, visible. GTK3 Terminal: terminal.zero_extent: [], but 68 nodes at the sentinel [-2147483648,-2147483648,1,1] (offscreen_sentinel_count: 68) and a page tab (0/0.1.1.0) with ext [-1,-1,-1,-1] NEW-EDGE 3.12: zero-bounds target = any named-by-position GTK4 node of 0 height, e.g. Files toolbar-adjacent group at the path above (unnamed, so target by ipath) or the Settings search node; all keep showing. These are unnamed containers: there is no stock zero-size control with a name/ref-able role. A zero-size ref-able control was not found. 3.6: zero axis must map to unknown bounds regardless of showing
L14-5 Duplicate identity: two siblings with the same role and name dbus app §3.12 edge case: duplicate-title files.dup_groups[0]: parent group "List View" (0/0.0.0.0.0.0.0.0.1.0.0.0.0.0.0.2.0.0.1.0) holds two button children named "View Options": member 0 ext [0,0,34,34], nactions: 1; member 2 ext [0,0,23,34], nactions: 0 and it contains a toggle button "View Options" (...1.0.2.0, nactions: 1). Both: aid: "", attrs: {toolkit: GTK}, states sensitive, showing, visible NEW-EDGE 3.12: Files toolbar "View Options" is a real same-role same-name sibling pair, so a name+role lookup is ambiguous (target for AMBIGUOUS_TARGET). The members differ only by action count, width and one having a toggle-button child; no identifier distinguishes them. Reach: open any folder in Files, find role button name "View Options". Calculator digit button/label pairs share a name but are parent and child, not siblings; 3.5: under 3.3's roles the pair is button and menubutton, which the role gate separates, so each ref resolves to its own node; same-role twins resolve to one element whenever the stored path lands on it or a stored size separates it, and to AMBIGUOUS_TARGET only when the path tier declines and the search finds both with no separating size
L14-6 Disclosure / expander in stock apps dbus app §3.12 edge case: disclosure; §3.7 exit: "expand/collapse work ... interim coverage via GNOME Files/Terminal" No node with expandable, expanded or collapsed in: Files (grid view; files.list_view.expandable_nodes: [] after sending ctrl+2, but the key's effect is unconfirmed, see L14-3), Terminal, Text Editor, Calculator, Settings panels multitasking, mouse, sound, power, background, keyboard, display (settings.panels.*.interesting has none). settings.exercised has no expander_* key NEW-EDGE 3.12: no stock-app disclosure was found in this run, so the disclosure case has no named real target yet. Candidates not reached: Files list view (needs a working input path to switch views), Settings Privacy & Security, Apps and other panels not walked, the Terminal Preferences dialog (not reachable, L14-8). Terminal and Files do not currently supply the expand/collapse coverage §3.7 claims; a further search of real apps is required
L14-7 Scrollable list with offscreen items (Files grid, 300 files) dbus app §3.12 edge case: scroll-into-view; §3.6: "scroll_into_view — AT-SPI2 has no native scroll-into-view primitive" files: folder of 300 files; after layout only the realised items are in the tree: item_count: 26 grid cells, f_named_total: 39, last item f012.txt (showing), so items 13-299 are absent from the tree (GTK4 grid virtualisation). Window-coordinate extents of the last realised cell [724,484,144,132]. Component.ScrollTo -> scrollto_error: org.freedesktop.DBus.Error.NotSupported. Vertical scroll bar (Value, nactions: 0): vbar_max: 10482, write CurrentValue to max -> read back vbar_value_after_set_max: 10014 (clamped), yet last_item_window_extents_after_bar unchanged [724,484,144,132] 0.6 s later. In an exploratory run (not a committed capture) the same folder showed all 300 grid cells right after launch before layout, all with ext [0,0,0,0] and showing NEW-EDGE 3.12/3.7: Files with a 300-file folder is the offscreen-list target; offscreen items are not in the tree at all (not showing=false), so scroll-into-view must scroll the container by scroll bar Value and re-snapshot; Component.ScrollTo is NotSupported on GTK4. Whether the scrollbar write re-realises items was not confirmed in 0.6 s: 3.7 must poll
L14-8 Dialog or popover covering its parent; modal dialog dbus app §3.12 edge case: occlusion None reached. Terminal menu "Preferences" DoAction (click) after opening its parent menu returned true, new_frames: 0, app_frames_now: 1, only the main window in wm_after_action (terminal.preferences_dialog). GTK4 "Main Menu"/"Main menu"/"View Options" toggles: DoAction true but no popover node appears in any app frame and no pressed state (files.popup_*, editor.main_menu, calculator.main_menu); F10, ctrl+comma, shift+F10 added no nodes and no window (files.ctrl_comma, editor.search.ctrl_comma, calculator.ctrl_comma) DEFERRED needs: an opener for GTK4 popovers and dialogs (a working keyboard/pointer path to GTK4 windows under X11, or a GAction call) and a way to read the popover surface; closure: 3.12. No covering dialog or modal state was observed in any stock app, so no occlusion or modal target is named. Terminal Preferences remains a candidate (GTK3, real extents) Amended by L18-1, L18-11 and L18-12: the GTK4 popover contents are readable and the About and Keyboard Shortcuts dialogs open by AT-SPI actions (L33-36, L33-2); the occlusion target is what this row still needs.
L14-9 Checkbox / switch / toggle dbus app §3.7 exit: toggle settings.exercised.toggle_multitasking: switch "Hot Corner" (0/0.0.0.0.0.1.0.0.0.0.0.0.0.0.0.1.0.0.0.0.1.0), actions: [toggle], before has checked, DoAction true, changed_after: [checked], restore restored: true. Other switches seen: "Active Screen Edges", "Mouse Acceleration", "Fractional Scaling". GTK3: terminal.check_menu_item "Read-Only" check menu item, action click, changed_after: [checked], restored: true. Switch states carry checkable, never enabled NEW-EDGE 3.12/3.4: Settings > Multitasking "Hot Corner" is the switch target (reach: gnome-control-center multitasking), Terminal View/Terminal check items the GTK3 target. Toggle effect is read from the checked state; action name is toggle on GTK4 switches and click on GTK3 check items
L14-10 Combo box / dropdown with selectable items dbus app none settings.exercised.combo_sound: combo box "Output Device" ifaces Selection, Action with nactions: 0, children_len: 1, child_names: [""], nselected: 0; DoAction -> do_action_err: org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code13. Same role on Power "Screen Blank" and Displays "Orientation", "Resolution", "Refresh Rate" (settings.panels.power.interesting and settings.panels.display.interesting) NEW-EDGE 3.12/3.4: libadwaita combo rows are combo box with no Action and one unnamed child; no list of choices is exposed and DoAction fails with an unmapped error. A select-by-display-value target was not found in a stock app; the choices are not enumerable through AT-SPI here. Selecting by keyboard was not testable (L14-3)
L14-11 Slider and spin value, write and read back dbus app none settings.exercised.value_multitasking: spin button (name "4", under "Number of Workspaces", ifaces Text, EditableText, Value) min 1.0 max 36.0, write 7.5, read_back: 7.5, restored_value: 4.0. slider_mouse: slider "Pointer Speed" min -1.0 max 1.0, write 0.2, read_back: 0.2, restored_value: 0.0. Also sliders "Volume", "Balance" (Sound), meter (Value only) NEW-EDGE 3.12/3.4: Multitasking spin and Mouse slider are the set-value targets, reached with gnome-control-center multitasking or gnome-control-center mouse. The spin accepted a non-integer 7.5 without snapping, so a read-back must be compared with the requested value only for sliders; for the spin read back after commit. min_increment reported 0.0
L14-12 Text field with placeholder text dbus app none Files search entry after the "Search Current Folder" toggle (files.search_placeholder.entries[0]): role search box, states editable, sensitive, showing, visible, ifaces Action only, name: "", desc: "", attrs: {toolkit: GTK}; Text.GetText -> InvalidArgs. Settings search node (settings.search_placeholder): ifaces Action, name: "", children: 1. NEW-EDGE 3.12/3.4: GTK4 4.14 search entries expose no placeholder text, no Text interface and an empty name; a placeholder target cannot be asserted through the tree. A spin button and Editor text box do carry Text+EditableText (text box in editor.search.entries), but have no placeholder
L14-13 Menu and menu items: GTK3 menu bar dbus app none terminal.menu_edit: menu "Edit" (0/0.1.0.1) actions: [click], DoAction true, after gains selected; its menu item children (Copy, Copy as HTML, Paste, Select All, Preferences) are in the tree before the menu is opened, at the sentinel extents; Paste nactions: 1, Copy/Copy as HTML nactions: 0 (disabled). Menu items count by menu: File 5, Edit 7, View 6, Search 4, Terminal 9, Help 2 (separators included) NEW-EDGE 3.12: gnome-terminal menu bar is the menu target; items are listed whether or not the menu is open, with showing absent, so a menu item must never be judged visible from its presence in the tree. Activating an item with DoAction returned true for Preferences without producing a window (L14-8)
L14-14 Menu/popover of GTK4 primary menu button and context menu dbus app none DoAction click on toggle buttons "Main Menu" (Files, Calculator), "Main menu" (Editor), "Basic" mode (Calculator), "View Options" (Files) returned true; new_node_count: 0, after equals before with no pressed, in every app frame (files.popup_Main Menu, editor.main_menu, calculator.mode_menu, calculator.main_menu). Files shift+F10 -> new_node_count: 0. The Settings "Search" toggle did show pressed in a development run (not in a committed capture) NEW-EDGE 3.12/3.4: no GTK4 menu contents or context menu could be read in this run; the menu button toggles do not report an open state. Whether the popover is absent from AT-SPI or the action never opened it was not separated. DEFERRED part: see L14-8 Amended by L18-1: the pressed and expanded states and a menu child do appear once the popover has reached the registry, and the detector reads them (L33-36, L33-37).
L14-15 Settings navigation: Selection.SelectChild on the category list dbus app none settings.selectchild: returned: true, content_signature_changed: false, row5_name: Multitasking, row5_states_after lacks selected ([focusable, selectable, sensitive, showing, visible]); the sidebar rows are button with nactions: 0 and DoAction fails: sidebar_row_action.error: ...Code13 NEW-EDGE 3.12: do not navigate Settings through SelectChild or a sidebar button action; it returns true and nothing changes. Open a panel by launching gnome-control-center <panel>; panels reached this way: multitasking (272 nodes), mouse (228), sound (211), power (185), background (238), keyboard (226), display (199). accessibility gave a tree identical to sound (211 nodes), so it is not the right panel id
L14-16 Text.SetSelection on the VTE terminal node dbus api-contract none terminal.copy_enable: set_selection: true, nselections_before: 0, nselections_after: 1, remove_selection: true; terminal node ext [116,129,802,530] (real screen coordinates, GTK3) NEW-EDGE 3.12: selection by Text interface works on gnome-terminal and is the reliable way to create a selection for the Copy case; no pointer input required

Area L16 — observation (sub-phase 3.4)

id probe stack scope phases.md expectation observed verdict action
L16-1 App identity strings (registry root Name, ToolkitName, comm, exe, desktop file Name), 3 runs dbus + tool app §3.4 exit criteria name "GNOME Files" and "GNOME Terminal" Root Name / ToolkitName / /proc comm / exe basename / desktop-file Name: Files org.gnome.Nautilus / GTK / nautilus / nautilus / Files; Terminal gnome-terminal-server / gtk / gnome-terminal- / gnome-terminal-server / Terminal (launched pid is not the app pid); Settings gnome-control-center / GTK / gnome-control-c / gnome-control-center / Settings; Calculator gnome-calculator / GTK / gnome-calculato / gnome-calculator / Calculator; Text Editor gnome-text-editor / GTK / gnome-text-edit / gnome-text-editor / Text Editor; Yelp yelp / gtk / yelp / yelp / Help; Qt script qt.py / Qt / python / python3.12; VS Code code / Chromium / code / code; Chrome Google Chrome / Chromium / chrome / chrome. comm is cut at 15 characters. Identical in 3 of 3 runs NEW-EDGE 3.4: the app name is the registry root Name, else comm; --app also matches comm and the exe basename, case-insensitively and exactly. Exit criteria use these names (org.gnome.Nautilus, gnome-terminal-server), not the desktop display names, which are never read
L16-2 Helper accessibles under mutter and gnome-shell run as X11 window manager in a private Xvfb dbus box §3.4: exclude the mutter-x11-frames helper; its numeric role "not recorded" gnome-shell --x11 stayed up and set _NET_SUPPORTING_WM_CHECK. Registry app gnome-shell (toolkit: clutter) has one child, numeric role 69 window, empty name, states ACTIVE FOCUSED ENABLED SENSITIVE SHOWING VISIBLE, extents [0,54,87,55], while _NET_ACTIVE_WINDOW was 0x0. Registry app mutter-x11-frames has one numeric role 23 child per decorated client (role name application, title equal to the client title, states SENSITIVE SHOWING VISIBLE, no ACTIVE while the client was unfocused, extents [0,0,200,137] against the Qt client frame [0,69,200,100], _NET_FRAME_EXTENTS of that client 0, 0, 37, 0). GTK4 clients under mutter had no _NET_FRAME_EXTENTS. n=1 NEW-EDGE 3.4: the window filter excludes the gnome-shell and mutter-x11-frames apps by process name; the helper child is numeric role 23, so a role test cannot separate it; the shell's own role 69 window must not be listed or focused
L16-3 Chrome registry frames, own instance with a fresh profile dbus app §3.4 / L8-1: drop RootView bubble frames Chrome (comm chrome, root Name Google Chrome, ToolkitName Chromium) registered 0.5 s after launch with three numeric role 23 frames, all ENABLED SENSITIVE SHOWING VISIBLE: /org/a11y/atspi/accessible/1 named about:blank - Google Chrome, attribute class: BrowserRootView, extents [10,10,1050,780]; /2 and /3 with empty names, class: RootView, extents [109,35,888,88] and [109,35,888,89]. Identical in 3 runs NEW-EDGE 3.4: the bubble predicate is the frame attribute class equal to RootView with a blank name; a BrowserRootView frame is a window
L16-4 Frame bus name and path stability, and across an app restart dbus api-contract §3.4: window id from registry address Five reads of the app root children over 3 s for 7 apps, 3 runs: unique bus name and frame path identical every time. Restart of Calculator, Files and Text Editor, 3 runs each: the unique name changed 9 of 9 and the GTK4 frame path (a GUID-segmented path) changed 9 of 9, with new pid and start time. Qt, GTK3 and Chromium frames use small integer paths (/org/a11y/atspi/accessible/1, Qt .../2147483649) that can repeat across restarts while the unique name does not. Three Nautilus windows of one process had three distinct paths NEW-EDGE 3.4: the window id is the unique bus name plus the frame path, stateless and reversible; a stored id never resolves to a restarted process because the unique name changes
L16-5 Process start time token dbus + tool api-contract §3.4 identity: pid plus start time /proc/<pid>/stat field 22 read three times per app for 7 apps, 3 runs: stable. A restarted app got a new value 9 of 9. Two sleep processes started back to back got the same start tick in 3 of 3 runs (100 Hz resolution). /proc/sys/kernel/random/boot_id is present (36 characters) NEW-EDGE 3.4: process_instance is a boot-id prefix plus the start time and is compared only for the same pid; equal start ticks of two different pids do not matter
L16-6 Window manager under a private Xvfb tool box §3.4: X11 reads need a window manager for _NET_* Without a window manager there is no _NET_ACTIVE_WINDOW or _NET_FRAME_EXTENTS and _NET_CLIENT_LIST is empty. gnome-shell --x11 works as the window manager (L16-2). Openbox 3.6.1 also works without root: apt-get download openbox libobrender32v5 libobt2v5 libimlib2t64, dpkg -x each into a private directory, LD_LIBRARY_PATH set to its usr/lib/x86_64-linux-gnu, --config-file the extracted etc/xdg/openbox/rc.xml; it set _NET_CLIENT_LIST, _NET_ACTIVE_WINDOW (equal to the AT-SPI ACTIVE Calculator frame) and _NET_FRAME_EXTENTS (1, 1, 22, 5 on Qt, 0, 0, 0, 0 on GTK4) NEW-EDGE 3.4 and the later live tests: positive X11 corroboration is verified under openbox or gnome-shell in a private session; the extracted openbox directory is a development aid kept outside the repository
L16-7 Chromium registration with IsEnabled false (closes the failing direction of L2-14) dbus box §3.4: env variable is an alternative to the flag Private bus with the settings keyfile toolkit-accessibility=false (IsEnabled read false). Chrome: plain 0 of 2 registered; --force-renderer-accessibility 1 of 3 registered and then only 17 nodes, no document web; ACCESSIBILITY_ENABLED=1 3 of 3 registered with 225 nodes and one document web. VS Code: plain registered without any frame in 1 of 2 and not at all in 1; flag 0 of 3; env 2 of 2 registered. Control, IsEnabled true: Chrome plain and flag 2 of 2 registered with 225 nodes; VS Code plain and flag registered NEW-EDGE 3.4: nothing the adapter can set turns the tree on; the no-connection diagnostic names ACCESSIBILITY_ENABLED=1 and the accessibility setting, and a Chromium app with a thin tree gets the same text in its incomplete result
L16-8 Own Chrome instance on a private bus (closes L2-17) dbus app §3.4: Chromium detection and depth skip Fresh profile, --no-sandbox --disable-gpu: registered after 0.5 s, 225 nodes in the first full walk, raw depth 9, one document web node, roles 39 (88), 43 (66), 101 (47), 116 (8). Identical node count in 6 runs NEW-EDGE 3.4: Chrome is measurable on a private bus; browser chrome is mostly panels (role 39) carrying doDefault and showContextMenu (L16-12)
L16-9 Settle curves of web trees dbus app §3.4: stable-count wait for Chromium VS Code cold, 6 runs (3 without and 3 with openbox): 17 nodes then 18 for at least 1.0 s (0.6 to 1.6 s), then 237 to 288 nodes between 1.3 and 2.7 s in the runs sampled finely. Chrome: 225 at the first sample, 1.0 s after launch, unchanged to 24 s in 6 runs. Yelp: 62, 65 then 100 within 0.6 s, unchanged to 22 s. Polling only GetChildren returned 1 node for Chrome for 22 s while a full node read of the same frame returned 225. After one full walk the VS Code frame left the app root (0 children) 5 to 15 s later in 6 of 6 runs with or without openbox, but stayed for 45 s when only polled lightly (2 runs). Warm versus cold could not be separated: a second window's frame could not be sampled before the first was lost NEW-EDGE 3.4: the settle poll is a full node read, never a child count; shell ceiling 32 nodes (17 to 23 seen), three equal polls 200 ms apart, 70 percent of the remaining budget; a warm age is not measured so the rule does not use one. A VS Code frame can disappear mid-observation and the walk reports it as incomplete or WINDOW_NOT_FOUND
L16-10 Reachable nodes at logical depth 10 with and without the wrapper skip, 3 runs dbus app §3.4: wrapper skip and the 50 refs exit criterion Nodes reached / ref-able nodes (probe rule: interactive role or a non-ubiquitous mapped action), with skip against without: Files 193 / 22 against 26 / 0 (raw depth 27); Settings 198 / 30 against 27 / 0 (28); Text Editor 63 / 11 against 23 / 0 (17); Calculator 98 / 33 against 52 / 25 (16); Terminal (GTK3) 89 / 51 for both (8); Qt 4 / 2 for both; Yelp 78 / 27 against 70 / 20; Chrome with a small page 236 / 75 for both (raw depth 9, 89 wrapper nodes). Wrappers are roles 39, 85, 20 with no name, description, identifier or primary action: Files 114 of 193 CONFIRMS 3.4: the global wrapper skip is needed for GTK4 (Files 0 ref-able controls without it) and costs nothing elsewhere
L16-11 Advertised action names across the apps dbus api-contract §3.7 / KTD6 table GTK4: click on 127 nodes in 7 apps, menu.popup on every text node (78), GActions such as clipboard.copy, selection.delete, link.open, win.*, window.close, view.*, row.*; GTK3 Terminal click 45, menu 1; Qt Press, SetFocus; Chromium page: showContextMenu 236 of 236, doDefault 195, press 11, click 15, open 10, activate 2, jump 1, clickAncestor 2 (on static text under a clickable ancestor). Unmapped by the table: every GAction name, doDefault, clickAncestor NEW-EDGE 3.4 owns the table (select added to Select); the unmapped names are printed by the live run; 3.7 reads the same table
L16-12 doDefault on Chromium nodes dbus api-contract none (observation plan KTD6 assumed doDefault is a click) On a Chrome page (clickable div, button, link, entry, plain text, span): doDefault on 195 of 236 nodes including 87 of 88 panels, plain static text and a span; the real controls carry click, press, activate, jump or open as well. Counting doDefault as a click made 234 of 236 nodes ref-able and 0 wrapper nodes; leaving it out gave 75 ref-able and 89 wrapper nodes NEW-EDGE 3.4: doDefault maps to no capability; ref-ability and the wrapper test use the other names
L16-13 AT-SPI child order against _NET_CLIENT_LIST order dbus + tool box §3.4: child order may break an extents tie Under openbox, three Nautilus windows of one process: AT-SPI child order equals client-list order (creation order). One application, one creation order only; no reordering case was measured. Qt windows are separate applications NEW-EDGE 3.4: child order is not used to break ties; a tie stays ambiguous
L16-14 WebKitGTK application (Yelp) dbus app §3.4: web document flag Yelp (ToolkitName gtk, root Name yelp) exposes one numeric role 95 document web node and a role 23 frame; 62 to 100 nodes within 0.6 s. A full node walk read only 78 nodes in the 60 s probe deadline in 3 of 3 runs (about 0.8 s per node), so reads inside WebKit content are slow here NEW-EDGE 3.4: Yelp is a web-document target whose walk is cut by the deadline and reports incomplete; the live run records the node count reached. Epiphany is not installed
L16-15 Snap Firefox in a private session tool box §3.4: Gecko target /usr/bin/firefox --new-instance --profile <dir> under a private XDG_RUNTIME_DIR exits at once and never registers on the private bus, in 3 of 3 runs (60 s wait). The snap confinement does not see the private runtime directory NEW-EDGE 3.4: the Gecko case (L3-23, L12-1) is measured only on the live session once the owner restores its bus; the private-session run cannot show it
L16-16 ACTIVE state without and with a window manager dbus box §3.4: focus from ACTIVE plus X11 Private Xvfb, no window manager: every GTK4 frame alone carried ACTIVE (Calculator, Files, Text Editor, Settings), GTK3 and Qt frames never did; Calculator and Text Editor together: only Calculator carried it (1 run). Openbox: only the Calculator frame carried ACTIVE, equal to _NET_ACTIVE_WINDOW; three unfocused Nautilus windows and two Qt windows had none. gnome-shell: its own window child carried ACTIVE with no client focused (L16-2) NEW-EDGE 3.4: without X11 corroboration ACTIVE can be set on a frame no window manager made active, and on the shell helper; the focus decision keeps its two-candidate and unavailable-X11 rules and excludes the helper apps
L16-17 VS Code open-file dialog (Electron modal) dbus + tool app §3.4: Electron file picker is a sheet surface Under openbox with VS Code focused (xdotool getwindowfocus named it), ctrl+o sent by xdotool key produced no new X client, no new registry app and no new frame within 20 s, in 2 runs. The VS Code frame carries one relation of type 13 (embeds) with one target. A click used to focus the page opened an external browser through a welcome-page link NEW-EDGE 3.4: the picker could not be opened, so its AT-SPI shape is unmeasured here; the sheet predicate is dialog role plus MODAL only, and the Electron case is re-assigned to the live-session run
L16-18 Walk cost with label and value reads added dbus app §3.4: no unexplained latency The 3.2 live walk gate in a private session (debug build): Files 331 nodes 261/263/278 ms (min/median/max), Terminal 89 nodes 58/59/61, Calculator 98 nodes 90/92/96, Qt 18 nodes 17/18/18, zero read errors, label reads run only for blank-named ref-able nodes (Files 241 of 331). The 3.2 record for Files was 367 nodes at 266/276/296 ms CONFIRMS 3.4: the extra reads leave the walk cost level
L16-19 VS Code live walk that did not settle in earlier runs, re-measured dbus + tool box §3.4 exit criteria: a VS Code snapshot at the default depth finds 50 or more refs (a live case that failed in an earlier run with tree did not settle at 29 to 125 nodes) Not reproduced. VS Code 1.142.0 under ~/.local/ad-tools/vscode/app, install directory last written 05:48 on 2026-10-18 (binary dated 2026-10-02, no self-update path in a tarball install), unchanged since the 3.2 and 3.3 passes. The tests give each launch a fresh --user-data-dir under the temp directory and --disable-extensions, so no profile or extension state is shared between runs. No VS Code or Electron process of ours was left over (the only Chrome processes on the box belong to another job). Disk 9.3 GB free of 68 GB. In a private session, no window manager: 6 of 6 runs (one inside the full ignored suite) reached 402 nodes, complete, depth 33, 322 to 364 ms per walk. With six busy-loop processes on the 4 cores: 2 of 2 reached 402 nodes, the walk costing 804 to 1018 ms. Box memory at the time: 5.2 GB available, swap 2.4 GB of 4 GB in use NEW-EDGE 3.4: CPU load does not produce the failure; the cause is the keyring prompt of a fresh private session (L19-4), which the runs in this row did not meet. The live settle helper now appends load average, MemAvailable and SwapFree to its failure text, so a recurrence names the environment instead of looking like a regression; the case still fails, with no waiver
L16-20 Registry listing while an application is stopped (SIGSTOP) dbus api-contract §3.4: apps are listed from the registry; core's stale-ref upgrade to APP_UNRESPONSIVE needs list_apps to still return the app (L11-15) Private session, Calculator: after kill -STOP, an inventory with a 10 s deadline took 601 ms, still listed the app with its pid from the bus daemon, name gnome-calculator taken from /proc (the root Name did not answer inside the 300 ms slice) and the same process instance as before, with no skipped record. Name equals the registry Name for apps whose executable is named like it (Calculator, Text Editor, Settings, VS Code) and differs for org.gnome.Nautilus, Google Chrome and qt.py (L16-1), whose stored name a stopped process cannot restate. n=1 NEW-EDGE 3.4: list_apps never drops an unresponsive app; the upgrade to APP_UNRESPONSIVE holds only where the /proc name equals the root Name, which is stated for the owner of 3.5-3.7
L16-21 X11 reader under openbox against the AT-SPI focus dbus + tool box §3.4: focus claimed only when sources agree Private Xvfb with openbox (L16-6) and Calculator then Text Editor: the reader returned Ready with both clients, _NET_WM_PID, _NET_WM_NAME, geometry in root coordinates and _NET_FRAME_EXTENTS of 0, 0, 0, 0 for both GTK4 clients; _NET_ACTIVE_WINDOW named the Text Editor client and focused_window returned the Text Editor window with exactly one window flagged focused. Openbox needed XDG_DATA_DIRS to include the extracted usr/share or it exits at once on the missing theme. n=1 NEW-EDGE 3.4: the pid-and-title mapping resolves two single-window GTK4 apps; same-title GTK4 ties stay ambiguous by design (KTD13)
L19-1 Stopped Calculator and Files: listed name, scoped window and surface listings dbus + tool api-contract §3.4: a stopped app stays listed, named from /proc; core upgrades a stale ref only when the listed name is unchanged (L16-20) Private session, SIGSTOP then inventory, scoped list_windows by the listed name, list_surfaces by pid and instance, then SIGCONT. Calculator listed as gnome-calculator before and after. Files listed as nautilus before and after (the executable basename; the root Name org.gnome.Nautilus finds it by --app while it answers and not once it is stopped). The scoped window listing and the surface listing each returned APP_UNRESPONSIVE in 1203 ms (Calculator) and 1204 ms (Files); the unscoped listing still succeeded; both apps listed their window again after SIGCONT. n=1 each CONTRADICTS 3.4: the app name must be the same derivation in both states, so it comes from /proc alone (L16-1 shows the root Name differs for Files and Chrome); a scoped listing for a stopped target is APP_UNRESPONSIVE, not an empty list
L19-2 Half-open connection probe against a private Xvfb tool api-contract §3.4/§3.8: detect a reachable display before reading it A detector that connected to the X socket and dropped the connection without a handshake, then connected the real reader a moment later, made the reader fail with ConnectionReset or BrokenPipe in 7 of 40 and 5 of 60 runs (the same with a full-handshake probe). With no probe 0 of 60 failed. Reading the kernel's unix socket table (/proc/net/unix: listening flag, abstract or file path) for the probe: 0 of 100 failed NEW-EDGE 3.4 and every later reader: probe display endpoints without connecting; a probe connection immediately before a reader connection is a source of intermittent monitor list could not be read failures
L19-3 Stale WAYLAND_DISPLAY with a working DISPLAY, and the RandR primary flag on Xvfb tool box §3.8: a set but unconnectable Wayland display falls back to X11 only when DISPLAY is set (L13-2) Private session with WAYLAND_DISPLAY=wayland-stale-9: the detector chose X11(:1) and list_displays returned the one 1280x800 screen at the origin, scale 1.0, 100 of 100 runs. The Xvfb monitor (screen) carries no primary flag, unlike the real box in L8-10 CONFIRMS 3.4: when no monitor is flagged primary the first is reported primary, so FullScreen always has a display
L19-4 VS Code stops answering AT-SPI about 3 s after launch in a fresh private session (tree did not settle, L18-8) dbus + tool box §3.4: a cold VS Code snapshot returns the tree seen and a raised timeout returns the settled tree (L16-9) Private session (own XDG_DATA_HOME, so no keyring file), 1280x800x24 Xvfb, with and without openbox: 9 of 9 probe launches (3 of them with the flags named below) that sampled the tree reached 237 to 291 nodes by 2.0 to 2.6 s and then stopped answering: every call on the app root blocked 12.5 s and returned -1, the frame left the registry, the process stayed alive and the X window stayed mapped. The Rust live test failed the same way: 43 nodes, complete=false with openbox and 275 nodes, complete=false without, after its 40 s limit. --disable-gpu, ACCESSIBILITY_ENABLED=1 and --force-renderer-accessibility changed nothing (1 run each). Session-bus capture of a default launch: at +3.03 s VS Code calls ReadAlias, SearchItems, Unlock, OpenSession, CreateItem and CreateCollection on org.freedesktop.secrets; gnome-keyring, which has no default collection, calls BeginPrompting on its prompter and gcr-prompter starts; nobody answers, and the main thread sits in poll for the rest of the run. With --password-store=basic: no org.freedesktop.secrets call (against 9 in the default capture) and the app root answered every 0.3 s through a 25 s series in 2 of 2 runs. CPU load, swap (2.6 of 4 GB in use) and openbox are not the cause: the failure is the same at load 0.5 and with no window manager CONTRADICTS 3.4: the settle rule is sound and unchanged; the test launch gives VS Code --password-store=basic (vscode_arguments in live_launch.rs, used by the walker and vocabulary live tests). An Electron app in a session whose keyring is empty cannot be observed past about 3 s whatever the wait rule does, so a snapshot of it returns complete: false or WINDOW_NOT_FOUND; the L16-19 runs and earlier passes did not meet the prompt, and the helper's private XDG_DATA_HOME no longer shares the login keyring

Area L18 — menu and dialog openers (pre-code probe for sub-phase 3.11, window and sheet shapes for 3.4)

id probe stack scope phases.md expectation observed verdict action
L18-1 Menu open and close, GTK4 popover menu buttons: Calculator Main Menu and mode menu, Files Main Menu and View Options (private session, Openbox, DoAction only, whole-tree reads for 1.8 s) dbus app none in phases.md. research dossier D8/Q1 and rows L4-20, L14-14, L14-8: "DoAction on those toggles left states, node count, windows and pixels unchanged", "no popover node appears in any app frame" DoAction (click, index 0) on the inner role 62 toggle returned true; reads at 0, 77 and 156 ms still equal the baseline, the read at 231 ms differs. Then: toggle gains PRESSED; the outer role 43 button gains EXPANDABLE+EXPANDED and its child count goes 1 to 2; new nodes appear: Calculator main menu 40 (roles 33 x1, 39 x26, 49, 35 x6, 45 x4, 50 x2; 11 menu-family nodes SHOWING), Calculator mode menu 25, Files main menu 48, Files View Options 32; a new role 33 menu child named after the button is SHOWING; root pixel md5 changes and returns on close. First differing read: Calculator main 226/231/250/261 ms, mode 230/233/246/247 ms, Files main 160/176/179/184 ms, View Options 157/175/176/331 ms (2 sessions x 2 cycles each, so 4 values per target). Idle trees hold 0 menu-family nodes, so "any menu node present" is a clean predicate here. Close by repeating DoAction: PRESSED, EXPANDED and EXPANDABLE removed, the same nodes gone, first differing read Calculator 215/219/229/233 ms, mode 191/193/200/204 ms, Files main 204/208/212/216 ms, View Options 186/188/204/210 ms; the only residue is FOCUSED on the toggle. The X11 channel is unreliable: one override-redirect _NET_WM_WINDOW_TYPE_MENU window (IsViewable) is created on the first open of a session and reused, so later opens add 0 windows CONTRADICTS 3.11: the L4-20 and L14-14 "unchanged" readings were taken before the popover reaches the registry (about 160-330 ms after the call returns). Predicate for wait --menu on GTK4: the control's PRESSED (inner role 62) or EXPANDED (outer role 43), corroborated by a new menu (role 33) child with SHOWING; closed is the reverse. Poll cadence must be below 100 ms; do not read once right after the action. L14-14 and L14-8 should be amended when the ledger is next edited Closed in 3.11 (L33-36, L33-37).
L18-2 Latency of GTK4 popover appearance and disappearance against the settle budget dbus app §3.11 scope: "action-driven changes arrive in bimodal bursts (about 1 ms, 50 ms and 254 ms after the call), so a post-action settle budgets at least 300 ms (L7-5)" Popover appears in the tree 157-331 ms after the action returned and leaves 186-233 ms after the close action (values in L18-1, 16 open and 16 close observations over 8 cycles per target group). A dialog opened from the menu closes in 255-271 ms (Calculator About 259.3-262.2, Files About 259.0-260.1, Keyboard Shortcuts 255.6-258.2, Text Editor Keyboard Shortcuts 268.4-271.0 ms, L18-12 and L18-13). Counting the read length, the largest first-differing read started at 331 ms CONFIRMS 3.11: the 300 ms floor holds as a minimum only (one open at 331 ms); budget the menu wait by deadline and poll every 50-100 ms rather than a fixed 300 ms Closed in 3.11 (L33-9).
L18-3 GTK3 menu bar item, Terminal Edit and Terminal (role 33 menu, action click), menu bar hidden as shipped (3 sessions, 2 cycles each) dbus app none; dossier D8 hypothesis: "Whether an OPEN GTK3 menu gets SHOWING and real extents is UNMEASURED" DoAction returned true; the only change is SELECTED on the menu node (and SELECTED on one of its items: Paste for Edit, Read-Only for Terminal); 2 to 5 state changes in total, 0 new nodes, 0 new X11 windows, root pixel md5 unchanged. Menu bar items are VISIBLE without SHOWING; 34 menu-family nodes exist at idle with 0 SHOWING. A second DoAction on the same node changes nothing (cycle 2 state_changed: 0) NEW-EDGE 3.11: with the menu bar hidden, activating a menu does not open anything and SELECTED is a false open signal. Never use SELECTED or tree presence as "menu open" Closed in 3.11 (L33-39).
L18-4 GTK3 menu bar item with the menu bar shown (made visible by DoAction on View > Show Menubar, which moved Edit to SHOWING within the wait; 1 session, 2 cycles per menu, plus the second Terminal session terminal-bar-1) dbus app none; dossier D8 DoAction on Edit: SELECTED+FOCUSED on the menu, 12 menu-family nodes become SHOWING (Copy, Copy as HTML, Paste, Select All, separators), first read (0 ms), one new override-redirect X11 window of type _NET_WM_WINDOW_TYPE_POPUP_MENU (225x137), pixel md5 changes. Terminal menu: 14 nodes SHOWING, popup window 154x191, pixels change. Close: repeating DoAction changed nothing in 4 of 4 attempts (items stay SHOWING, popup window stays); Escape closed Terminal (tree restored to baseline in 2 of 2) and Edit (difference to baseline only FOCUSED/SELECTED toggles, no SHOWING residue, 2 of 2). The popup window is created on the first open and kept (0 new windows on the second open) NEW-EDGE 3.11: GTK3 menu bar predicate = at least one item of that menu SHOWING (closed: none). It opens synchronously (first read). DoAction cannot close it: wait --menu-closed needs a key path (3.8) or the user. Prerequisite for the open signal is a visible menu bar Closed in 3.11 (L33-39).
L18-5 GTK3 header bar popover, Terminal Menu toggle (role 62, action click; 3 sessions, 6 cycles) dbus app none DoAction: toggle gains CHECKED; 27-28 state changes in the same read (first read, 0 ms): the role 39 container with MODAL and its descendants gain SHOWING (and VISIBLE on the container: Zoom Out, 100%, Zoom In, New Window, Full Screen buttons become SHOWING); new nodes 0 (the popover subtree is in the tree while closed); X11 new windows 0; pixel md5 changes and returns after close. Close by repeating DoAction: CHECKED and every SHOWING removed, first read (0 ms), baseline restored in 6 of 6 NEW-EDGE 3.11: GTK3 popover predicate = toggle CHECKED and its role 39 container SHOWING; this one closes with the same action. The X11 window list gives no signal for it Closed in 3.11 (L33-38).
L18-6 Qt6 menu bar item File (role 35, action ShowMenu, the repo's live Qt script; 2 sessions x 2 cycles) dbus app none DoAction (ShowMenu) at the first read (0 ms): the item gains FOCUSED; its child popup menu (role 41) gains ACTIVE+SHOWING+VISIBLE; the popup's item Open gains SHOWING+VISIBLE; 0 new nodes (popup subtree present while closed); one override-redirect X11 window (_NET_WM_WINDOW_TYPE_DROPDOWN_MENU, POPUP_MENU, 120x26) IsViewable, becoming IsUnMapped after close (kept, not destroyed); pixel md5 changes. At idle menuish_showing is 2 (the menu bar and the File item are SHOWING), so "any menu item showing" is constant-true on Qt; only the role 41 popup reads SHOWING 0 closed and 1 open. Close by repeating DoAction (ShowMenu): the popup returns to ENABLED, RESIZABLE, SENSITIVE and Open loses SHOWING, first read (0 ms), pixels restored, 4 of 4 NEW-EDGE 3.11: Qt predicate = a role 41 menu node with SHOWING; closes with the same action. The idle-true trap (menu bar items SHOWING) must be excluded by role Closed in 3.11 (L33-40).
L18-7 Chromium menu: Chrome toolbar Chrome menu button (role 43, HAS_POPUP, actions open and showContextMenu; 2 sessions x 2 cycles) dbus app none DoAction (open) at the first read: the button gains CHECKABLE+CHECKED; a new top-level frame (role 23, ACTIVE, empty name) appears under the application root (frame children 3 to 4) holding a menu bar (role 34) > menu (role 33, HAS_POPUP, 26 children) with 24 menu item (role 35) nodes all SHOWING; 36 new nodes; one new X11 window; pixel md5 changes. Repeating DoAction does not close it (close_first_change_ms: null in 4 of 4). Escape closes it: menu-family SHOWING 0 and frame children back to 3 in 4 of 4. The browser UI tree (Views) is populated 0.2 s after launch NEW-EDGE 3.11: Chromium menu predicate = a new top-level frame under the application with a menu (role 33) descendant and SHOWING menu items (equivalently the button CHECKED); closed = frame gone. wait --menu-closed cannot be driven by DoAction Closed in 3.11 (L33-41, L33-5).
L18-8 Chromium menu in VS Code (Electron): File menu dbus app none VS Code registered with one frame of 18 nodes (title-bar buttons only) in the first sample, then 0 frames from the 3.4 s sample on until the end of a 30 s series; X11 shows a 767x200 window. The File menu node was not found in 4 runs (target_appeared_secs: null after a 50 s wait, 2 runs; discovery 2 runs). The same binary reached 237-288 nodes in L16-9 DEFERRED needs: a VS Code launch that keeps its frame registered long enough to expose the web-content menu (cause not isolated here: the frame disappears after about 3 s in this private session); closure: 3.12
L18-9 Menu predicate summary across toolkits (rows L18-1 to L18-7) dbus app none; dossier D8: "Menu predicate: compound, never 'menu items exist'" Toolkit: open signal / closed signal / DoAction closes? GTK4: PRESSED or EXPANDED on the button plus new role 33 menu with SHOWING / reverse / yes. GTK3 menu bar: items of the menu SHOWING (only when the menu bar itself is shown) / none SHOWING / no (Escape). GTK3 popover: CHECKED + role 39 SHOWING / reverse / yes. Qt: role 41 menu SHOWING / reverse / yes. Chromium: new top-level frame with role 33 menu and SHOWING items, button CHECKED / frame gone / no (Escape). No toolkit was left without an observable signal; the only no-signal case is a GTK3 menu bar that is hidden, where the action does not open a menu at all (L18-3). Constant-true traps seen: Qt menu bar items SHOWING at idle; GTK3 34 menu-family nodes present at idle; Chromium HAS_POPUP on 12 idle nodes CONFIRMS 3.11: dossier D8 is right that the predicate must be compound; implement one predicate per observed pattern: (a) a menu-role (33 or 41) node, or a descendant role 35/45/8 item of one, that is SHOWING and was not SHOWING at baseline; (b) the opener control PRESSED/EXPANDED/CHECKED. Rule (a) alone is satisfied by all five families; exclude menu bar items by checking the node is not an ancestor-visible bar item at baseline Closed in 3.11 (L33-36, L33-38, L33-39, L33-40, L33-41).
L18-10 Which toolkits close with the same DoAction dbus app none Closed by repeating DoAction: GTK4 popover 16 of 16 cycles, GTK3 popover 6 of 6, Qt 4 of 4. Not closed: GTK3 menu bar 4 of 4, Chromium menu 4 of 4; Escape (xdotool, private display) closed both, GTK3 menu bar 4 of 4, Chromium 4 of 4. No cancel-class action name exists on any of these controls (GTK3 menu click; Qt ShowMenu; Chrome open, showContextMenu; GTK4 click) NEW-EDGE 3.8 and 3.11: a deterministic --menu-closed test needs a keyboard path for GTK3 menu bars and Chromium; the AT-SPI-only path covers GTK4, GTK3 popover and Qt Closed in 3.11 (L33-39, L33-41).
L18-11 Dialog opener 1: GNOME Terminal Help > About, GTK3 (DoAction on the Help menu node, then on the About GNOME Terminal menu item found by name; 2 sessions x 8 openings) dbus app §3.11 exit: "an AE6-analog e2e passes — an unnamed dialog is discovered purely by baseline diff" and dossier Q2 "Which opener produces an AE6-analog dialog?" A new child of the application root appears: role 16 dialog, name About GNOME Terminal, states ACTIVE, ENABLED, SENSITIVE, SHOWING, VISIBLE (no MODAL), 18 nodes, application frames 1 to 2, 79 new X11 windows of which 16 are larger than 1 px. Time from the DoAction call to the root GetChildren listing it, min/median/max of 7 after one warm-up: 9.0/10.8/11.1 ms and 10.5/11.2/12.6 ms (polled every 10 ms). The Close button inside it (DoAction) removes it from the root children in 1.7-1.9 ms NEW-EDGE 3.11: this is the AE6-analog opener, reachable by AT-SPI actions only. It is a named dialog, so use the baseline diff on window identity, not the name. Dialog appears within one poll; wait --event window-opened is satisfied with the shared window list rather than a new application Closed in 3.11 (L33-4).
L18-12 Dialog opener 2: About in GTK4 apps, Calculator and Files (Main Menu toggle DoAction, then DoAction on the last new role 35 item; item names are blank, identity confirmed by the resulting dialog name; 2 sessions x 8 openings each) dbus app same as L18-11 New child of the application root: role 23 frame, name About, states ACTIVE, MODAL, SENSITIVE, SHOWING, VISIBLE, 64 nodes (Calculator) and 76 (Files), application frames 1 to 2. Appearance min/median/max of 7 after warm-up: Calculator 27.1/28.0/28.8 and 27.0/27.9/29.6 ms, Files 28.6/29.6/31.0 and 28.1/29.6/34.3 ms. The item appears in the popover after 379-713 ms (item_wait_ms, first opening 524-713). Close through the Close button: removed from the root children after 259.0-262.2 ms (all 28 closings) NEW-EDGE 3.11: second opener, also a top-level child but role 23 and MODAL. A window filter that accepts role 16 only would miss it (L18-13). Menu item names are blank (L3-30), so a live test must pick the item by tree order and verify by the resulting dialog name Closed in 3.11 (L33-2).
L18-13 Dialog opener 3: Keyboard Shortcuts window in GTK4 apps (third-from-last popover item; Calculator, Files, Text Editor; 2 sessions each) dbus app same as L18-11 New child of the application root with role 39 (panel), empty name, states MODAL, SENSITIVE, SHOWING, VISIBLE (no ACTIVE), 190 nodes (Calculator), 211 (Files), 233 (Text Editor). Appearance min/median/max of 7: Calculator 10.5/10.9/11.6 and 8.5/10.8/12.2 ms, Files 12.6/13.2/14.0 and 10.8/13.3/63.1 ms, Text Editor 37.1/38.1/39.4 and 37.6/39.7/41.4 ms; closing via its close control 255.6-271.0 ms NEW-EDGE 3.11: a surface can arrive as a role 39 top-level child; window-opened and surface-appeared must key on "new child of the application root with a showing subtree", not on roles 16, 23 or 69. Role 39 children of the application root at idle: 0 Closed in 3.11 (L33-26).
L18-14 Dialog opener 4: Text Editor last popover item (11 new role 35 items; item identity not verified, names blank; 2 sessions x 8 openings) dbus app same as L18-11 The surface does NOT appear as an application-root child: the application keeps 1 frame. A new role 16 dialog node appears inside the existing window's tree, empty name, states SENSITIVE, SHOWING, VISIBLE (no MODAL, no ACTIVE), 69 nodes, found only by the whole-tree diff 236/291/450.7 ms and 221.7/425.7/506.7 ms (min/median/max of 7) after the call. After the Close control it was still present in the tree (subtree_dialog_gone_after_close: false in 14 of 14) NEW-EDGE 3.11: in-window dialogs exist and are invisible to a poll of the application root's children. surface-appeared for GTK4/libadwaita needs a bounded subtree diff for a new role 16 node; whether it is gone after dismissal (it stayed listed) needs a state check, not node absence. Identity of this item (probably the About dialog) was not verified Closed in 3.11 (L33-2, L33-17).
L18-15 Dialog opener that failed: Terminal Edit > Preferences (DoAction returns true; waits 8 s; 2 sessions) dbus app dossier Q2: "L14-8 reached NO dialog in any stock app (Terminal Preferences DoAction returned true, 0 new frames)" Item found (1 candidate), DoAction true, root GetChildren unchanged for 8 s, app_frames_now: 1, no role 16/23/69 or MODAL node anywhere in the tree for 8 s; 81 new X11 window ids of which 17 are over 1 px (noise from the app, same count seen with About) NEW-EDGE 3.12: Preferences is not an opener; use Help > About (L18-11). L14-8's zero-frame result reproduces with a proper wait, so it is not a timing artefact
L18-16 Chromium Click capability: action names and doDefault (page with 2 buttons, a link, a checkbox, a div with an onclick handler, plain text and a span, plus Chrome toolbar; handlers write a marker into the title; effect read from the title and the states; 5 sessions, 2 repeats per action; 3 sessions for the page elements, 2 for the toolbar) dbus api-contract L16-12 and the Click capability: doDefault excluded; coordinator question: can Linux semantic click on Chromium use doDefault? GetActions returns blank names for every Chromium action; the real names come from GetName(i). Controls: button Alpha and Beta (role 43) NActions 2: press, showContextMenu; link Gamma link (role 88): jump, showContextMenu; checkbox Delta check (role 7): check, showContextMenu; div with onclick Epsilon div (role 116): clickAncestor, showContextMenu; toolbar New Tab (role 43): press, showContextMenu, Reload: press, Home/Tab search: click, Tab search button: open. DoAction on press/jump/check/clickAncestor returned true and the page handler ran: marker changed in 5-31 ms (30 of 30 attempts incl. the first and second repeat of each, 5 elements x 2 repeats x 3 sessions), checkbox CHECKED toggled each time, FOCUSED gained on first press; New Tab press added a tab (4 of 4, 2 sessions). Non-actionable nodes: plain text Zeta plain text and Eta span (role 116) and 209 of 251 page nodes (96 role 39 panels, 47 role 101, 3 role 23 frames, etc.) advertise doDefault; DoAction on doDefault of plain text returned true with no effect in 12 of 12 attempts. The toolbar Back button, not ENABLED, advertises doDefault. doDefault was NOT observed on any enabled interactive control in this page or the toolbar, so doDefault performing a click on a real control was not measured (it is absent there, not failing) CONFIRMS 3.7: keep doDefault out of the Click capability (supports L16-12). Chromium click = first action named press, click, jump, check, activate, open or clickAncestor read through GetName(i), never the blank GetActions name; clickAncestor marks a generic node whose ancestor owns the handler. showContextMenu is not a click
L18-17 Private-session display trap: GNOME Terminal activated through D-Bus uses the launching environment (2 runs affected, then repaired and re-measured) tool box none In a private session started from an environment that carries another display, gnome-terminal (client of a D-Bus-activated server) registered on the private AT-SPI bus with SHOWING states while the private screen's pixel md5 equalled the empty-screen md5 (31b791ecfc, 3 of 3) and no X11 window larger than 100 px existed. After org.freedesktop.DBus.UpdateActivationEnvironment with the private DISPLAY and XAUTHORITY, the window maps on the private display (window 824x586, pixel md5 differs, 3 of 3). Apps started directly (Calculator, Files, Qt, Chrome) were not affected NEW-EDGE 3.12: a live test that starts a D-Bus-activated app (Terminal) in a private session must push DISPLAY and XAUTHORITY into the bus activation environment first; SHOWING in the tree does not prove the window is on the intended display

Area L17 — destroyed objects, path stability and Chromium wake (probe for sub-phase 3.5)

id probe stack scope phases.md expectation observed verdict action
L17-1 Qt 6 destroyed-object error names: close a dialog (3 per run), remove a list row (2 per run), remove a tab page (1 per run), two runs, reads on the last path dbus app §3.5: "distinguishing 'object no longer on the bus' (D-Bus UnknownObject/UnknownMethod errors) from a genuine timeout" s1_dialog[*].target.errors, s2_row_removal[*].target.errors, s4_tab_close.target.errors, 18 destroyed objects: 11 reads UnknownObject (GetRole, GetRoleName, GetState, GetInterfaces, GetChildren, GetAttributes, GetIndexInParent, GetChildAtIndex, Component.GetExtents, Action.GetName, Text.GetText), 9 reads UnknownInterface (Properties.GetAll, Properties.Get of Name, Description, AccessibleId, ChildCount, Parent, Action.NActions, Value, Text.CharacterCount), 0 successes, max_ms 0.9. Destroyed objects were gone from the walk at once (dialog_gone_from_walk: true 6 of 6) CONTRADICTS 3.5: Qt's gone answer for property reads is UnknownInterface, which the roadmap's two-name list omits; the classifier must treat UnknownInterface from Properties.* as the same family as UnknownObject, and only after the corroboration read (L17-11) fails the same way
L17-2 The same error names from LIVE Qt 6, GTK4 and GTK3 objects for interfaces they do not implement (reads of Value, Text, Action, Component on nodes that do not advertise them) dbus app §3.5 as L17-1; plan KD5: "Qt returns that name for an unimplemented method" live_read_coverage_first120 (own-qt, 48 nodes): Text.GetText UnknownObject on 46, Action.GetName(0) UnknownObject on 8, Properties.Get(Value.CurrentValue) UnknownInterface on 48, Text.Get(CharacterCount) UnknownInterface on 46. own-gtk4 (87 nodes): Text.GetText UnknownMethod on 51, Action.GetName(0) UnknownMethod on 3, Component.GetExtents UnknownMethod on 1, Properties.Get of Value InvalidArgs on 85, of Text on 51, of Action on 3. own-gtk3 (77 nodes): Properties.Get of Value Failed on 75, of Text Failed on 43, of Action Failed on 73; Text.GetText and Action.GetName UnknownMethod on 43 and 73. The same family of names that mean "gone" in L17-1, L17-4 and L17-7 therefore also mean "this interface is not implemented" CONTRADICTS 3.5: a single UnknownObject, UnknownMethod or UnknownInterface is never evidence of destruction; classify absence only from a failed Accessible.GetRole corroboration (L17-11) plus the parent's child list (L17-12), and map an error on an interface the node never advertised to "not implemented" (absence.rs input: whether the interface was advertised)
L17-3 Properties.GetAll(org.a11y.atspi.Accessible) on live Qt 6 objects dbus app §3.4: "Properties.GetAll returns the Accessible property group in one call (L2-6). Each node is read with GetAll plus GetRole ..." own-qt live_read_coverage_first120["Properties.GetAll(Accessible)"]: ok: 0, nonadv_err: {UnknownInterface: 48} on 48 of 48 live nodes, in both runs, while Properties.Get(Name), Description, AccessibleId, ChildCount, Parent answered on 48 of 48. GTK3 77 of 77, GTK4 87 of 87, Chromium 150 of 150 (two runs) answered GetAll CONTRADICTS 3.5: any Qt read that uses GetAll must fall back to the individual Gets, and GetAll failing on Qt is not an absence signal; check that 3.3/3.4 already do so (not read in this probe)
L17-4 GTK4 destroyed-object error names: dialog (3 per run), list row (2 per run), two runs; and GNOME Files "New Folder" dialog closed with Escape, two runs (top and a leaf of the vanished subtree) dbus app §3.5: "D-Bus UnknownObject/UnknownMethod errors" own app 16 objects and GNOME Files 4 objects: UnknownMethod on 20 of 20 reads, including Accessible.GetRole, Properties.GetAll, Properties.Get(Name), Component.GetExtents; 0 successes; first error 0.2 to 0.3 ms. Live GTK4 nodes never fail a universal read: GetRole, GetState, GetInterfaces, GetChildren, GetAttributes, GetIndexInParent, Get(Name), Get(AccessibleId), Get(ChildCount), Get(Parent) ok on 87 of 87 CONFIRMS 3.5: on GTK4 UnknownMethod on a universal read (L17-11) is the gone signal; on a non-universal read it is L17-2's not-implemented signal
L17-5 GTK4 hidden tab page: switch the notebook page and read an object of the now-hidden page by its stored path dbus app §3.5 resolver: refs resolved from stored path evidence hidden.gtk4.runs[0..1]: in_walk_while_hidden: false (the whole hidden page leaves the tree: 83 nodes become 13 and return to 83, s3_churn_stepwise.switch_tab), but a read of the stored path answers every universal read, states_while_hidden: [SENSITIVE, SHOWING, VISIBLE] (stale: unchanged from before), extents_while_hidden: [0, 0, 494, 19]; back on the page: in_walk_after_return: true, same_identity_after_return: true, same object path (2 of 2). GTK3 and Qt keep hidden-page nodes in the walk (in_walk_while_hidden: true); GTK3 drops SHOWING and sets extents x,y to -2147483648; Qt keeps SHOWING and VISIBLE with real-looking extents on the row (2 of 2) NEW-EDGE 3.5: on GTK4 a ref inside a background tab is absent from the tree yet its object still answers; an object-path read would resolve it while a descent would not, so a ref in a hidden page must resolve through the descent (positional evidence) and be reported as not found, never "found by direct path"; 3.6 owns hidden/visible semantics and must not trust SHOWING of GTK4 hidden pages
L17-6 GTK3 destroyed objects keep answering: poll GetRole once a second after a dialog window (own app and GNOME Terminal tab) or list row is destroyed dbus api-contract §3.5: "object no longer on the bus (UnknownObject/UnknownMethod)" own GTK3 zombie_poll_target.first_error.t_s: 16.0, 17.0, 17.0, 16.0 (first run) and 16.0 ×4 (second run); GNOME Terminal tab zombie_poll_top.first_error.t_s: 16.0 ×4 over two captures. Before that every sample answered (getrole_ok: true, defunct: false on all samples) and the 17 reads of the object's real interfaces succeeded with the old values (target.errors only the 3 unimplemented-interface reads). The parent's child list never contained the destroyed object (live_ancestor.child_list_still_has_destroyed_top: false: 18 of 18 GTK3 own-app targets, 4 of 4 Terminal) CONTRADICTS 3.5: on GTK3 a successful read of a stored path proves nothing for about 16 s after destruction; presence is decided by the parent's child list or the descent, and a read-after-descent that lands on the object is the only positive evidence. Replace the §3.5 sentence per section 3
L17-7 GTK3 after the delayed teardown: full read table dbus api-contract §3.5 as L17-6 own GTK3 zombie_poll_target.first_error.reads_after and GNOME Terminal zombie_poll_top.first_error.reads_after, 4 of 4: UnknownObject on all 20 reads, including Properties.GetAll and Properties.Get; live nodes never fail a universal read (77 of 77) CONFIRMS 3.5: after the teardown window UnknownObject on a universal read is the GTK3 gone signal; the classifier is uniform across Accessible, Properties, Component once the object is really gone
L17-8 Chromium (Chrome 154 page): remove a DOM list item through an in-page button (DoAction), replace the whole body, then read the removed objects dbus app §3.5 as L17-6 chromium{,2,3}.runs[*].removals[0].zombie_poll.first_error.t_s: 17.0, 16.0 (each of 3 captures, 6 measurements), reads_after: UnknownObject on 20 of 20. Body replacement: navigation.zombie_poll_old_button.first_error.t_s 17.0 and 16.0 (2 captures, 4 measurements), same UnknownObject. During the window the removed item answered all reads with its old values (every second and third removal, polled to a 4 s horizon, still answered); DoAction returned true for the removing button in every removal (24 of 24 across four captures) and the item left the walk each time (gone_from_walk: true). The document web object persisted through the body replacement: its path was the same before and after (old_document_web_path == new_document_web_paths[0], 6 of 6) and it kept answering CONFIRMS 3.5: Chromium behaves as GTK3 (L17-6, L17-7): about 16 s of stale answers, then UnknownObject; the parent's child list is the authority in the window (child_list_still_has_destroyed_top: false for 8 of 8 removal and body-replacement targets in 17-chromium3.json)
L17-9 Application gone: SIGKILL and clean quit, then every read of a stored path, on GTK3, GTK4, Qt (own apps, 2 runs each), GNOME Terminal, Files, Calculator and Chrome (SIGKILL, 2 runs each) dbus api-contract §3.5: "object no longer on the bus (UnknownObject/UnknownMethod)"; §3.1: "ServiceUnknown or NameHasNoOwner means AT-SPI is not installed or not visible" s6_quit.target.errors, sigkill.target.errors, sigkill_target.errors: org.freedesktop.DBus.Error.ServiceUnknown on 20 of 20 reads for 6 clean quits and 14 kills, first answer 0.1 to 0.2 ms; s6_quit.unique_name_pid_lookup: org.freedesktop.DBus.Error.NameHasNoOwner ("no such name") 6 of 6; bus_left_registry: true (the registry stopped listing the application within the 15 s deadline) 20 of 20. Neither UnknownObject nor UnknownMethod occurred CONTRADICTS 3.5: an exited application is ServiceUnknown (on the call) and NameHasNoOwner (on a bus-daemon query), not UnknownObject; the classifier maps these to the settled STALE_REF with kind app-exited, separately from a destroyed object, and never to PLATFORM_NOT_SUPPORTED once a snapshot existed
L17-10 Stopped application: SIGSTOP, then reads with a 2000 ms call limit and one 12 s GetChildren; then SIGCONT dbus api-contract §3.5: "from a genuine timeout" own GTK3, GTK4, Qt (2 runs each) and GNOME Terminal, Files, Calculator, Chrome (2 runs each): every one of 20 reads per target returned local:g-io-error-quark:24 (TIMED_OUT) after target_elapsed_ms_per_read: [2000] (2000.2 to 2001.8 ms); getchildren_12s_timeout.ms 12003.5 to 12012.2 (6 of 6): the bus daemon returned no error during 12 s; registry_children_ms 0.4 to 1.3 while registry_still_lists_app: true (14 of 14); after SIGCONT after_sigcont_getrole ok in 1.1 to 3.0 ms and after_sigcont_getrole ok 14 of 14 CONFIRMS 3.5: a timeout is a local client timeout with no D-Bus error name; it is TIMEOUT (retryable) and says nothing about the object; the registry still lists a stopped application, so registry presence is no liveness evidence
L17-11 Which read answers on every live accessible of all four toolkits (corroboration call) dbus api-contract plan KTD9: "a call every toolkit implements on a live accessible, chosen from U1's table" Live nodes, ok counts: Accessible.GetRole, GetRoleName, GetState, GetInterfaces, GetChildren, GetAttributes, GetIndexInParent, Properties.Get of Name, Description, AccessibleId, ChildCount, Parent: GTK3 77 of 77, GTK4 87 of 87, Qt 48 of 48, Chromium 150 of 150 in both of 2 runs. Not universal: GetChildAtIndex(0) fails on GTK4 childless nodes (org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code13 39 of 87), Properties.GetAll(Accessible) fails on Qt 48 of 48 (L17-3), Component.GetExtents fails on 1 node each of GTK3 and GTK4 NEW-EDGE 3.5: corroborate with Accessible.GetRole (a plain method on the Accessible interface, never unimplemented on a live node, cheapest); do not corroborate with GetAll or GetChildAtIndex
L17-12 The parent's child list as the independent presence read dbus api-contract plan KTD9: corroboration read on the parent After a destruction the nearest live ancestor's GetChildren read succeeded and no longer contained the destroyed top in every case: GTK3 own app 18 of 18, GTK4 own app 16 of 16, Qt own app 18 of 18, GNOME Files 4 of 4, GNOME Terminal 4 of 4, Chromium 8 of 8 (live_ancestor.child_list_still_has_destroyed_top: false; the two further Chromium entries are the document web object itself, which stayed alive). On GTK3 and Chromium this holds during the 16 to 17 s window in which the object itself still answers (L17-6, L17-8) CONFIRMS 3.5: the parent's child list (or the descent from the verified frame) is the presence authority; use it, not the destroyed object's own reads, to decide gone
L17-13 Object-path stability under UI changes that destroy nothing (scroll, expand, collapse, tab switch, list re-sort, row insertion), per step against the previous walk, two runs per application dbus app §3.5: fingerprint and path evidence; plan KTD13: an object-path tier needs paths to survive churn on all four toolkits s3_churn_stepwise, objects with a unique role+name identity before and after, same_object_path of survivors_by_unique_identity: GTK3 scroll 36/36, re-sort 36/36, tab switch 36/36 twice, expand 36/36, collapse 36/36, insertion 36/36 and 37/37; GTK4 40/40, 40/40, 8/8 twice (the hidden page leaves the tree, L17-5), 39/39, 39/39, 40/40, 41/41; Qt scroll 39/39, tab switch 38/38 twice, collapse 39/39, insertion 39/39 and 40/40, but re-sort 11/39 and first expand 37/39; Chromium (DOM removal of the first list item, three times; insertion at the top twice) 50/50, 49/49, 49/50 and 48/48, 49/49 across both runs. The same application showed the same numbers in both runs. Real applications with no input: GNOME Files 45/45, Terminal 54/54, Calculator 60/60 over two consecutive walks NEW-EDGE 3.5: object paths survive insertion, removal, scroll, expand and tab switch on GTK3, GTK4 and Chromium, and survive everything except re-sort and first expand on Qt (11 of 39 after a sort); the "holds on all four" precondition of KTD13 therefore fails, so no object-path tier is built; Qt re-sort is the failing direction
L17-14 Child-index-path stability for the same churn dbus app §3.5: "fingerprint of role, name and path"; plan KTD3: stored-path tier then search index_path_lands_same of survivors_by_unique_identity with index_path_lands_other in brackets: GTK3 re-sort 8/36 (28), insertion 36/36 and 37/37 (appended at the end); GTK4 re-sort 12/40 (28), insertion at position 0 under an active sort function 40/40 and 41/41; Qt re-sort 11/39 (28), insertion at position 0 11/39 (28) and 11/40 (29), expand 39/39; every other step lands on the same node (100 percent). Chromium removal of the first item: 47 of 50, 47 of 49, 48 of 50 (2, 2 and 1 siblings shifted), insertion at the top 47 of 48 and 47 of 49; GNOME Files dialog open and close 45/45 and 47/47; GNOME Terminal tab open 50 of 53 (3 other), close 51 of 55 (4 landing on no node, the closed tab's subtree) NEW-EDGE 3.5: the index path survives scroll, expand, tab switch and appends, and fails for exactly the siblings after an insert, removal or re-sort (a list of 30 rows loses 28 of 36 to 40 identities), so those refs depend on the bounded search; the share that fails is the sibling set behind a changed position, not the whole tree
L17-15 A destroyed path later handed to a different object (the retained-identity bug shape) dbus api-contract plan KTD13: the second fact an object-path tier needs Own app destroyed paths tracked then objects recreated (3 more dialogs, a new tab, a new row): GTK3 dead_paths_tracked: 11, reappeared_total: 0; GTK4 10, 0; Qt 10, 1, and that one came back with the same role and name (reused_same_identity: 1, reused_different_identity: [], both runs). GNOME Files dialog reopened 3 times per run and GNOME Terminal tab reopened 3 times per run: reopen_dead_path_reused_for_different_identity_counts: [0, 0, 0] in all 4 sequences. Chromium: dead_path_reuse: [] for 3 removed items and the replaced body, 6 of 6 sequences. Path shapes: GTK3 monotonic integers (dialog button 78, 80, 82), Qt increasing integers (3697, 3700, 3703), GTK4 random UUID segments CONFIRMS 3.5: no destroyed-then-recreated path went to a different identity in any measured sequence, so the second KTD13 fact holds on all four toolkits; the first fails (L17-13), so nothing is built
L17-16 Chromium path shift across settle and across a body replacement; late second document web dbus app §3.4 / plan KTD14: chrome-versus-document path shift; L3-22 After the tree is populated (L17-17) three walks 1 s apart: settle 52 of 52 identities, same object path 52, same index path 52 (both runs, 3 of 3 samples); one document web at object path /org/a11y/atspi/accessible/153, index path [0, 0, 0, 5, 2, 1, 3], before and after removals, insertions and body replacement (6 of 6 runs). The browser's own New Tab control (DoAction returned true 2 of 2, control_found: true) produced no second document web within 30 s (new_tab.second_doc_after_s: null, 2 of 2 runs in 17-chromium4.json), and xdotool ctrl+t, ctrl+1, ctrl+w to the verified-active Chrome window changed neither the window title nor the tree over 20 s each (17-chrdbg.json active_title_before/after, 1 sequence; the two earlier chrdbg sequences also showed an unchanged tree); closed in 3.5: VS Code with a throwaway profile, a second file opened through its own command line (--reuse-window): the tree grew from 129 to 139 refs, 82 refs unique by role, name and identifier were shared before and after, 0 changed their child-index path, and 128 of 129 old refs still resolved (chromium_live_opening_a_second_file_shifts_no_web_content_path) NEW-EDGE 3.5: no leading-chrome path repair is added, none was measured to be needed; the second document web of the earlier probe still did not occur
L17-17 Chromium exposes no children until a read other than GetChildren dbus app §3.4: "Linux Chromium additionally respects ACCESSIBILITY_ENABLED=1" and web content appears (L3-22) Fresh Chrome page, accessibility bus enabled: thin_nodes_before_wake: 4 (application plus 3 frames, every frame with 0 children). Reading the first frame with GetRole, GetRoleName, GetState, GetInterfaces (2 s wait after each) left GetChildren empty; the next read, Accessible.GetAttributes, was followed by children (wake_trigger_read: Accessible.GetAttributes, 2 of 2 in 17-chromium4.json, 2 of 2 in each of 17-chromium{,2,3}.json, 2 of 2 17-chrdbg.json sequences); the tree then had 241 to 257 nodes. Polling GetChildren alone for 40 s (L16 cold_series) never populated it; two Chrome runs that issued no other read stayed at 4 nodes through 11 samples (17-chrshift-chrome.json) NEW-EDGE 3.5: a descent that lands on an empty child list of a Chromium frame has not shown absence: the first non-GetChildren read (GetAttributes) wakes the tree, so the resolver must issue the full node read at each level (the walk already does) and treat a childless Chromium frame as unread, not as a missing object
L17-18 Unique bus name behavior across restart and after exit dbus api-contract plan KTD11: unique names are not reused within a bus lifetime Per application the first process had one unique name and its replacement in the same bus another: GTK3 :1.2 then :1.5, GTK4 :1.3 then :1.6, Qt :1.4 then :1.10 (from s6_quit.unique_name_pid_lookup messages). After exit a call to the old unique name was ServiceUnknown (20 of 20 reads, L17-9) and GetConnectionUnixProcessID was NameHasNoOwner (6 of 6); 0 of 6 old names ever answered for another process CONFIRMS 3.5: no process-token check on live reads is needed for the reads measured; limitation: only one restart per toolkit per bus was observed
L17-19 Component extents: window move, resize, scroll, expand dbus app §3.6 / plan KTD10: extents for bounds; bounds hash 17-bounds2.json: GTK3 main-btn [391, 196, 498, 34] becomes [302, 260, 498, 34] after windowmove and [302, 260, 418, 34] after windowsize (2 of 2 runs; all four named controls moved and resized, object paths unchanged 8 of 8); Qt [401, 197, 478, 26] becomes [311, 239, 478, 26] then [311, 239, 398, 26] (2 of 2); GTK4 the same control stays [0, 0, 498, 34] after the move and becomes [0, 0, 418, 34] after the resize: x and y are 0 for every GTK4 node at the screen coordinate type; GTK3 exp-head height 19 becomes 38 on expand while main-btn did not change; GTK3 scrolled-out row [-2147483648, -2147483648, 494, 19]; Qt scrolled-out row keeps real-looking coordinates ([402, 150, 462, 18]). Control exp-head on GTK4 and Qt resolved to a different node of the same name after expansion in both runs (name collision, not measured further) NEW-EDGE 3.5: a bounds hash that includes x and y goes stale on every window move on GTK3 and Qt and is degenerate (always origin 0,0) on GTK4, so it can only decline a path landing, never confirm one; treat the INT32_MIN pair as unknown bounds; 3.6 owns visible and offscreen
L17-20 SHOWING, VISIBLE and extents of non-current tab content dbus app plan KTD12: "hidden is derived from SHOWING and nothing else" showing_visible (2 of 2 runs per toolkit): GTK3 content of the non-current tab [ENABLED, SENSITIVE, VISIBLE] (no SHOWING) with extents x,y -2147483648, after switching [ENABLED, SENSITIVE, SHOWING, VISIBLE] and [1, 38, 498, 461], same object path; Qt [ENABLED, SENSITIVE] (neither SHOWING nor VISIBLE) with extents [0, 0, 0, 0], after [ENABLED, SENSITIVE, SHOWING, VISIBLE] and [2, 30, 496, 468], same path; GTK4 absent (L17-5) CONFIRMS 3.5: SHOWING absent while readable means hidden on GTK3 and Qt tab pages, which is KTD12's rule; the exception is a Qt list row inside a hidden page, which kept SHOWING (hidden.qt.runs[*].states_while_hidden 2 of 2)
L17-21 Text.GetText(0,-1) on a password field dbus app plan KTD10: "confirm withholding is not cosmetic" GTK3 Entry with visibility off (role 40): get_text nine bullets, char_count: 9; Qt LineEdit in password mode: nine bullets, char_count: 9 (2 of 2 runs each); GTK4 PasswordEntry (role 40): get_text: "" with char_count: 9, but the GTK4 plain Entry also returned get_text: "" with char_count: 10, so the empty reply does not show masking. Chrome password input not measured NEW-EDGE 3.5: GTK3 and Qt mask the value at the source (bullets), GTK4 GetText(0,-1) returns empty for any entry, so the adapter's explicit withholding for PASSWORD_TEXT stays the only guarantee; retest GTK4 with an explicit end offset before claiming anything about GTK4 masking
L17-22 Cache.GetItems on the measured applications dbus app §3.4: "Cache.GetItems is not used: it answers on GTK4 only"; L2-7 GTK3 own app (2 of 2) and GNOME Terminal (2 of 2): cache_getitems.err: org.freedesktop.DBus.Error.UnknownMethod; Chrome: UnknownMethod (2 of 2 in 17-real2-chrome.json); GTK4 own app: ok: true, items: 87 (2 of 2); Qt 6.11: ok: true, items: 0 (2 of 2): the call is answered and empty CONFIRMS 3.5: confirms L2-7 on GTK3, GTK4, Chromium and adds Qt: an empty successful Cache.GetItems is not evidence that an app has no objects, another reason the cache is not a presence read
L17-23 Baseline costs for the perf rows dbus box plan U1 item 10: one GetChildren, one node read, one walk Min, median, max of 7 after a discarded warm-up, ms: GNOME Files (194 nodes) GetChildren of the busiest node (11 children) 0.28/0.31/0.39 and 0.29/0.34/0.67, leaf 0.16/0.16/0.17, a 20-read node pass 3.53/3.63/4.44 and 3.54/3.62/4.27; a serial three-call-per-node walk of Files 0.11 s twice; GNOME Terminal (90 nodes) busiest GetChildren (9 children) 0.21/0.22/0.24, 20-read pass 2.85/3.01/3.54, walk 0.04 s; Chrome page (241 to 254 nodes) busiest GetChildren (28 children) 0.40/0.44/0.53 and 0.42/0.48/0.60, 20-read pass 2.79/2.91/3.32 NEW-EDGE 3.5: one node read costs about 3 ms and one GetChildren about 0.2 to 0.6 ms on a private bus; a path-tier hit of depth d costs d GetChildren plus one node read; a full-tree search of a 200-node app is bounded by the walk, about 0.1 s serial. VS Code was not measured (L17-24)
L17-24 VS Code as the second Chromium target dbus app plan U1: Chromium (VS Code, Chrome) Launched three times with a throwaway profile under the private session (--no-sandbox --disable-gpu, with and without ACCESSIBILITY_ENABLED=1): the root appeared with 1 to 286 nodes, then in each capture collapsed to a root with no frame and every GetChildren timed out (a walk of one node took 9.0 s, samples[*].walk_s, 2 of 2 runs of an earlier capture); two full probe runs reached the 1500 s limit before producing a capture; closed in 3.5: with --password-store=basic (L19-4) VS Code stays responsive under the private session: 129 refs and a settled tree of over 200 nodes in every live run (find, resolve, live reads, perf), a ref resolved 128 of 128 verifiable refs, and a hydrated find --role button returned 43 buttons CONFIRMS 3.5: the collapse was the keyring prompt of L19-4, not Chromium; the live tests launch VS Code with --password-store=basic
L17-25 Share of ref-bearing nodes that are unverifiable (no id, no stable text, no positive-area rect) dbus app plan KTD14 not measured: the ref-bearing set and the identity evidence come from the 3.3/3.4 projection, which this probe does not run; closed in 3.5 over the 3.4 projection with a rectangle stored: unverifiable refs (no id, no stable text, no positive-area rect) are 0 of 60 in Files, 1 of 34 in Calculator (the zero-height listbox), 0 of 36 in Settings, 0 of 11 in Text Editor, 1 of 51 in Terminal (a tab at the off-screen sentinel), 1 of 13 in the Qt window (a zero-area listbox) and 1 of 129 in VS Code (a zero-height group); the counts are identical with and without --include-bounds; a default-mode snapshot -i over three apps drove from the shipped skill alone handed out 1 such ref of 127 (Calculator 1 of 34, Settings 0 of 36, Files 0 of 57) and get on it answered STALE_REF, which a fresh snapshot cannot repair NEW-EDGE 3.5: the share is at most 2 percent; fixed, a ref with a stored path and no evidence resolves only to the node at that path when that node has the stored role and is as bare as the ref (no name, description, identifier or area), is refused as STALE_REF otherwise and is never searched, and a ref with neither evidence nor a path is refused before any read; tests a_bare_ref_resolves_at_its_stored_path_when_the_node_there_is_still_bare and a_bare_ref_is_refused_when_the_path_lands_on_a_node_that_is_no_longer_bare, inverted; find still hydrates such a match because the locator anchor does not refuse it
L17-26 Dbus-activated applications inherit the bus daemon's environment, not the probe's tool box none GNOME Terminal is started through its server by D-Bus activation; in a private session whose bus daemon was started from the outer shell the server's DISPLAY was the live display and no window existed on the private display (dbgterm: server_DISPLAY differs from my_DISPLAY, wins: []). After pushing DISPLAY and XAUTHORITY into the bus activation environment, server_DISPLAY == my_DISPLAY and the window existed with the active window verified (5 of 5 runs). Terminal runs made before that fix put windows on the live display for a few seconds each (stopped by pid at the end of each run) NEW-EDGE 3.5: any live test that launches a D-Bus-activated application (Terminal, Files helpers, portals) inside a private session must push DISPLAY into the activation environment before launching, as the private-session script does

Area L20 — release binary on real apps (sub-phase 3.4 verification)

id probe stack scope phases.md expectation observed verdict action
L20-1 Qt application on the registry: two connections for one process dbus app §3.4: list_apps lists each application once; --app selects it The Qt test window registers two bus connections from one pid, one with no children (root Name the interpreter) and one that owns the window (root Name the script); the registry listed the process twice (background and foreground, same pid and process instance) and list-surfaces --app python3.12 answered AMBIGUOUS_TARGET naming the same pid twice. 2 of 2 sessions, stable for 6 s. After collapsing entries that share pid and process instance the process lists once as foreground NEW-EDGE 3.4: fixed in app_ops.rs with unit tests; every process lists once
L20-2 NO_AT_BRIDGE=1 as the way to make a GTK app invisible to the registry dbus app §3.4 exit criteria: a bus-less app reports the no-connection diagnostic (L12-5) A GTK3 zenity started with NO_AT_BRIDGE=1 in the private session still registered and listed its window (2 of 2 runs). A plain copied sleep binary running off the bus gives the diagnostic: snapshot --app answers APP_NOT_FOUND with details.kind no_accessibility_connection, 2 of 2, list-windows --app answers an empty list, and a name nothing matches answers APP_NOT_FOUND without that detail NEW-EDGE 3.4: tests and the dogfood make a bus-less process from a process that never talks to the bus, not from NO_AT_BRIDGE
L20-3 find through the release binary: counts, no match, and matches dbus app §3.4 scope: snapshot and find without a surface flag succeed find --count and a search with no match succeed on Calculator, Files, Terminal, Qt, VS Code and Firefox (8 of 8 each). Any find that returns a match (--first, or the default listing) answers PLATFORM_NOT_SUPPORTED with resolve_locator_anchor is not supported on this platform, 8 of 8 on Calculator, because core hydrates every returned match through that adapter method CONTRADICTS 3.5: resolve_locator_anchor is built there; §3.4 now states that find answers counts and empty results and returns matches with 3.5. Fixed in 3.5: find returns matches with refs that resolve back to their nodes on Calculator, Files, Settings, Text Editor, Terminal, Qt and VS Code (count equals the listing, 7 of 7 apps); test find_live_returns_matches_and_refs_that_resolve_back_to_their_nodes, invert (anchor stubbed to not supported) fails on 7 of 7 apps
L20-4 Release binary on the real app set: refs and completeness on the first call dbus + tool app §3.4 exit criteria: the VS Code 50-ref check and the Electron sheet check are re-assigned to the live-session run Private session with openbox, --password-store=basic (L19-4), snap Firefox started from its inner binary: VS Code snapshot 402 nodes, 129 refs, complete (8 of 8); Firefox 931 nodes, 512 refs, complete (8 of 8); Calculator 98 nodes 34 refs; Files 331 nodes 60 refs; Terminal 89 nodes 51 refs; Qt window 20 nodes 15 refs. A cold VS Code at the default timeout returned complete: false with 287 nodes and 82 refs, the same launch at 30000 ms returned the settled 402 nodes and 129 refs (2 of 2); a cold Firefox returned complete: false with 924 nodes at the default timeout and 931 settled at 30000 ms. Password field value absent, slider value 37, Text Editor text read, GTK3 zenity --modal listed as window and sheet under one id and snapshot --surface sheet of it succeeded, a window whose process was killed answered WINDOW_NOT_FOUND, two Files windows titled Home listed with distinct ids and each snapshot returned its own, three RandR monitors listed with the flagged one first CONTRADICTS 3.4: the 50-ref check is met in the private session (129 refs) and the exit criteria state it; the Electron modal stays unmeasured (L16-17)
L20-5 Cost of the release binary, 7 timed runs after a discarded warm-up, wall time of the whole process tool app §3.4 Perf: no unexplained latency (min of seven, median and max beside it) ms min/median/max: list-apps 9/11/12, list-windows 10/12/14, list-displays 3/4/5, list-surfaces 6/7/8 (Terminal) to 13/15/16 (Files); snapshot Calculator 70/71/82, Files 171/177/188, Terminal 23/25/26, Qt 16/18/19, VS Code 642/651/670, Firefox 867/890/991; find --count within 5 ms of the snapshot of the same app. The raw 3.2 walk in a release build in the same session: Calculator 53/55/64, Files 150/152/173, Terminal 19/28/42, Qt 5/7/12, VS Code 77/80/108. The gap is 10 to 25 ms of process start, projection and refmap write for the native apps, and for the web trees three equal walks with two 200 ms gaps (3 x 80 + 400 = 640 against 642 measured for VS Code) CONFIRMS 3.4: the settle wait is the whole difference; no latency is left unexplained
L20-6 Fresh Google Chrome window, first successful snapshot dbus app L17-17: a childless Chromium frame is unread, not empty 8 of 8 launches (3 polled through list-apps, 5 polled by snapshot itself every 50 ms from launch): the first call that succeeded returned 225 nodes, 71 refs, complete: true; calls before the window existed failed rather than returning an empty tree. A frame under the 32-node shell ceiling is never accepted as settled, so a childless frame waits for its children CONFIRMS 3.4: no change; the settle rule already treats a thin web tree as unread
L20-7 cargo test -p agent-desktop outside a private session while the owner's AT-SPI bus is down tool box none cli_process batch_session_ended_skip_is_defeated_by_following_event_wait_same_session and _cross_session fail: the batch hard-stops at preflight with PERM_DENIED (accessibility permission) because the wait entry needs the bus; inside a private session the same two pass (13 of 13). list_apps_inventory_matches_the_platform asserted PLATFORM_NOT_SUPPORTED for Linux and failed in both settings (fixed here) NEW-EDGE 3.15: the batch process tests do not depend on a live accessibility bus

Area L22 — FFI, npm and release (sub-phase 3.13)

Rows L22-1 to L22-15 are the pre-code probes of the sub-phase, measured on the 3.4 branch Linux crate. Rows L22-16 onward are measured on the 3.13 branch. Probe scripts and captures stay outside the repository.

id probe stack scope phases.md expectation observed verdict action
L22-1 Q1: ELF, dependency closure and size of the box-built CLI and cdylib tool box §3.13: "minimum glibc (2.35, Ubuntu 22.04 baseline) documented" CLI: ELF 64-bit LSB pie, x86-64, interpreter /lib64/ld-linux-x86-64.so.2, NEEDED = libgcc_s.so.1, libc.so.6, no RPATH/RUNPATH, 4337576 bytes stripped. cdylib libagent_desktop_ffi.so (release-ffi): NEEDED = libgcc_s.so.1, libm.so.6, libc.so.6, ld-linux-x86-64.so.2, 4102712 bytes, no SONAME. Highest symbol versions: GLIBC_2.34 (11-12 refs) and GLIBC_2.39 (3 refs: pidfd_getpid, pidfd_spawnp); nothing else above 2.34. ldd in a clean env resolves all four libraries NEW-EDGE 3.13: both artifacts are far under the 15 MB cap and depend on only libgcc_s, libm and libc; no libdbus, X11 or xcb shared object is linked, so the "libdbus-1-dev" build requirement in the Release checklist has no basis (pure-Rust zbus/x11rb)
L22-2 Q1: run the box-built artifacts on a real Ubuntu 22.04 glibc 2.35 userland tool api-contract §3.13: "minimum glibc (2.35, Ubuntu 22.04 baseline)" jammy libc6 2.35-0ubuntu3.15 and libgcc-s1 12.3.0-1ubuntu1~22.04.3 fetched over http, InRelease verified with gpgv (Ubuntu archive key), Packages.gz and both debs matched the index sha256, extracted unprivileged and used through ld-linux --library-path. CLI: libc.so.6: version 'GLIBC_2.39' not found, exit 1; ld.so --list of the cdylib resolves all libraries but loading fails with the same GLIBC_2.39 not found. The verneed entry is Flags: none (not weak), so it is a hard requirement NEW-EDGE 3.13: a binary built on a glibc 2.39 host cannot meet the 2.35 floor, so the Linux CLI legs of release.yml and release-dry-run.yml must build on ubuntu-22.04 / ubuntu-22.04-arm like the FFI legs, and both workflows must gate on readelf --version-info max GLIBC_ <= 2.35 for the CLI and the cdylib. The 2.39 references are std process-spawn symbols bound to the build host's libc; a 22.04-built artifact is expected to top out at 2.34 (the highest non-2.39 version above), but that was not built or run here, so the 2.35 claim stays unproven until a 22.04-hosted build is inspected
L22-3 Q1/Q2 on aarch64 tool box §3.13: "FFI real-adapter path validated on Linux ... for both x86_64 and aarch64" uname -m = x86_64; rustup target list --installed = x86_64-unknown-linux-gnu only; no qemu-aarch64, no aarch64-linux-gnu-gcc; binfmt_misc has no aarch64 handler DEFERRED needs: a native Ubuntu 22.04 arm64 host (the ubuntu-22.04-arm runner) running 22-q1-loader.sh, 22-q1b-jammy.sh (swap the jammy debs for arm64) and 22-consumer.c / 22-q3.py inside a private session with Calculator; closure: 3.13
L22-4 Q2: real C consumer, release-ffi cdylib, header from the repo tool box §3.13: "FFI real-adapter path validated on Linux (non-stub tests)" C program compiled against agent_desktop.h, linked -lagent_desktop_ffi: ad_abi_version()=5 equals AD_ABI_VERSION_MAJOR 5; ad_action_size=96, ad_action_result_size=56, ad_ref_entry_size=200, ad_exact_window_info_size=96 all equal the header macros; ad_init(5)=0; ad_adapter_create non-null; ad_check_permissions=0; ad_snapshot("gnome-calculator") rc 0, "ok":true, ref_count 34, button 7 at ref @s38vho4kwa3ok0:e4. Then ad_execute_by_ref_timeout(click @...:e4) returns rc -8 PLATFORM_NOT_SUPPORTED "resolve_element_strict is not supported on this platform" with disposition.delivery: not_delivered; the installed CLI returns the same for click NEW-EDGE 3.13: the observe half of the C round trip passes on x86_64 today; the one-action-with-independent-readback half cannot pass until the resolution and action sub-phases land (the Linux ActionOps and strict resolver are empty), so it is DEFERRED to those landings and the 3.13 test must be written to fail on PLATFORM_NOT_SUPPORTED as the 3.13 plan already requires
L22-5 Q2: can the display text be read back from the snapshot tool app §3.13 (Q2): "independently read the resulting display text" In the 3.4 Calculator snapshot the display is {"available_actions":["RightClick","SetValue"],"ref_id":"...:e2","role":"textfield","states":["focused","haspopup"]}: no name, no value, so the snapshot itself cannot prove a digit click NEW-EDGE 3.13: the consumer test needs an observer that does not go through ad_snapshot (a raw AT-SPI Text read of the display, or a value field once a sub-phase exposes it); owner of exposing text value is the semantic-actions sub-phase
L22-6 Q3: initialisation order from a hosted (ctypes) consumer, separate processes tool api-contract §3.13 (Q3): hosted initialisation create before ad_init: ad_init(5)=0, ad_init(4)=-10, ad_check_permissions=0, snapshot ok (64.0 ms, 34 refs). No ad_init at all: snapshot ok (64.4 ms). First bus read on a worker thread: ok (66.6 ms), main thread afterwards ok (67.5 ms) CONFIRMS 3.13: dossier 1.3 holds on Linux: ad_init is a version handshake only, the adapter needs no bootstrap call and no thread affinity, so the Linux factory arm needs no hosted-library bootstrap
L22-7 Q3: overlapping calls, destroy and recreate tool box §3.13 (Q3): connection lifetime 8 threads x 3 snapshots on one adapter: 24/24 ok:true, no failure; serial baseline 66.4 ms, wall 1215 ms for 24 calls, per-call min/median/max 166.4 / 396.3 / 479.2 ms, i.e. calls are serialised, not parallel. 20 create-snapshot-destroy cycles: all rc 0. ad_adapter_destroy while a snapshot is in flight: the call completes ok (63.0 ms); a call after destroy returns -10 "adapter handle is invalid or has already been destroyed" NEW-EDGE 3.13: multi-thread safety and destroy semantics hold; document that concurrent observations on one adapter serialise (median ~6x the single-call latency at 8-way overlap) so a foreign host should not expect parallel speed-up
L22-8 Q3: accessibility bus stopped and restarted under a live adapter dbus api-contract dossier §3.3: "Current permission mapping reports an unavailable bus as denied, while timeout/unexpected errors remain errors" private session: killed at-spi-bus-launcher, the a11y dbus-daemon and at-spi2-registryd (only session-owned pids) while a connected adapter existed: three snapshots on the same adapter returned rc -12 INTERNAL "The children of the accessible object could not be listed" in 0.2 / 0.1 / 0.0 ms; ad_check_permissions returned -12 (not -1 PERM_DENIED). After relaunching the target app (0.71 s to registered) the same adapter, not recreated, snapshotted ok again (83.9 ms) and a new adapter also ok NEW-EDGE 3.13 test: assert the adapter recovers without recreation. Owner 3.2 (bus/permissions): a connection lost after being established surfaces as INTERNAL, not the denied/unavailable mapping a cold-start failure gets (L1-7); decide whether that classification is intended and document it in the skill
L22-9 Q4: C ABI clipboard on Linux and ownership lifetime from a foreign host tool box §3.10 draft (via dossier §2.4): FFI hosts cannot own the X11 selection ad_set_clipboard, ad_get_clipboard, ad_clear_clipboard from Python: all rc -8 "...is not supported on this platform"; clipboard-set CLI: PLATFORM_NOT_SUPPORTED. Stand-in measurements in a private Xvfb with a foreign xclip -o reader: an owner living inside the host process (libX11 via ctypes) served host-marker while the host ran (served 1) and after host exit the read failed target STRING not available rc 1; an owner started by the host as a detached child (setsid, null stdio, xclip -i) still served helper-marker after the launching host exited NEW-EDGE 3.10 / 3.13: clipboard is unimplemented in the measured crate, as expected. Ownership dies with the owning process, so an in-library owner cannot satisfy a foreign host, but a detached helper does, which means the draft's "refuse from a foreign host" is a design choice, not a platform limit (the macOS and Windows precedent in dossier §2.4 already differs). 3.13 packaging must ship whatever helper 3.10 settles on in the CLI tarball, the FFI tarball and the npm contract together. Replacement-by-second-owner was not remeasured (the probe's stdin redirect swallowed the payload; L9-5 stands); clear was not measured because no implementation exists
L22-10 Q5: exact window identity through the C ABI across a target restart tool app dossier Q5 ad_list_windows_exact: AdExactWindowInfo version 2 size 96, id w-1.5-org-gnome-Calculator-a11y-..., process_instance 407b94b3:65331278, accessible 1; repeat read same id and same instance; ad_get_tree_exact(old) live rc 0 with 62 nodes. After SIGTERM of the owned target: rc -7 WINDOW_NOT_FOUND "The window is gone or its application left the accessibility bus". After starting a new Calculator: fresh id w-1.10-... and instance 407b94b3:65331443 both differ; ad_get_tree_exact(old) again rc -7, ad_get_tree_exact(fresh) rc 0 with 62 nodes. One earlier run saw an empty window list although list-apps already named the app (the next run found it on poll 0); not reproduced, so not a finding CONFIRMS 3.13: the old identity refuses after restart and never binds to the new process on this stack. XID recycling itself was not exercised (the id is not an XID, L8-4). Note the C probe's duplicated output is stdio buffering across fork, not a library fault
L22-11 Q6: npm pack then npm install -g from archives built by the release recipe (x86_64) tool box §3.13: "npm install -g works on Ubuntu" scratch prefix, linux-x64 released flipped to true in a scratch copy of platform.js, a PATH-first test curl mapping the hard-coded GitHub URL onto a local dir (the installer has no base-url override): postinstall requested the tarball and checksums.txt, Checksum verified, installed bin/agent-desktop-linux-x64 (byte-identical to the built CLI, one distinct sha256), global symlink replaced to point at the native binary. prefix/bin/agent-desktop version and node .../bin/agent-desktop.js version both {"ok":true,...,"os":"linux","target":"x86_64"} rc 0; snapshot --app nonexistent exit 1 propagates. Second run with the digest sidecar present: 0 downloads. Live in a private session, the installed command snapshots Calculator (ref_count 34), and click @...:e4 returns PLATFORM_NOT_SUPPORTED; AGENT_DESKTOP_BINARY_PATH alone made 0 curl calls CONFIRMS 3.13: the packaging contract (tarball with exactly agent-desktop, checksums.txt, wrapper, symlink) works unchanged for Linux x64. The aarch64 half is DEFERRED with L22-3. The independently-verified action cannot pass yet (L22-4). scripts/ci-npm-wrapper-smoke.sh exits "Unsupported smoke-test platform" on Linux and needs a Linux arm; tests/npm/postinstall.test.js tests that pin Linux as unreleased must change
L22-12 Q7: trash is absent on a stock Linux box tool api-contract §3.13: npm install works command -v trash = absent. A successful fresh install ends Could not move cleanup artifact to Trash; retained at .../bin/.extract-XXXX: trash command is unavailable: trash, exit 0, and the retained directory holds a 4.2 MB second copy of the executable (du: 4.2M). Three fresh installs into one tree each left one. With a trash on PATH the directory is removed and trash was called with the staging path NEW-EDGE 3.13 (npm unit): Windows already removes staging with rmSync; do the same on Linux (or fall back to rmSync when trash is missing) so a normal Linux install does not leave a duplicate executable and a stderr warning. Not a failure of the install itself
L22-13 Q7: installer failure modes (fresh package copy per case) tool box dossier Q7 corrupt gzip with matching checksum: exit 1, tar error text surfaced; checksum mismatch: exit 1 Checksum verification failed; missing checksum entry: exit 1 Checksum entry missing for ...; extra archive member (checksum matches): exit 1 unexpected entries: agent-desktop, extra; no curl: exit 1 spawnSync curl ENOENT; no tar: exit 1 spawnSync tar ENOENT after Checksum verified. In all six the bin/ dir held only agent-desktop.js afterwards (no tarball, checksums or staging left) and the manual-download fallback text printed. --ignore-scripts: the wrapper exits 1 with "Native binary not found for linux-x64 ... --ignore-scripts". Read-only global prefix: npm install -g fails rc 243 with a permissions error. npm 11.17 printed allow-scripts ... not yet covered for the package yet the postinstall ran (curl log shows both requests) CONFIRMS 3.13: every incomplete-install path fails explicitly and cleans up; the 3.13 npm tests can pin these messages. Wording for Linux: the install needs curl and tar on PATH, and a postinstall-allowed npm (the new allow-scripts warning is worth a line in the README)
L22-14 Q9: the served skill on Linux today tool api-contract §Phase 3 intro (F7, J6): "skills get platform ... on Linux it fails with INVALID_ARGS" installed CLI in a private session: skills get platform returns {"ok":false,"error":{"code":"INVALID_ARGS","message":"This build's operating system has no platform skill yet","suggestion":"Use agent-desktop skills get desktop ..."}} CONFIRMS owner O1 (core skill seam) still blocks the Linux skill; no Linux skill content was available to run verbatim, so the stranger-operator skill legs are DEFERRED (needs: the owner seam plus skills/agent-desktop-linux/; closure: 3.13)
L22-15 Q8: oldest desktop (Ubuntu 22.04 / GNOME 42) behaviour tool box dossier Q8 the box is Ubuntu 24.04.4 with GNOME 46 only; no container runtime, no root, no second desktop; the L22-2 jammy userland proves only glibc 2.35 symbol resolution, not GNOME 42 or its toolkits DEFERRED needs: an Ubuntu 22.04 GNOME session (VM or the arm64/x64 22.04 runners with a desktop package set); closure: 3.13 as an infrastructure owner item
L22-16 U1 floor: the release CLI, the release-ffi cdylib and the clipboard owner helper built on the 24.04 box, read with scripts/check-elf-glibc-floor.sh <file> 2.35 tool box §3.13: "minimum glibc (2.35, Ubuntu 22.04 baseline) documented"; L22-2 left the 22.04-hosted maximum unproven Re-measured after rebasing onto the validated core/harness base, using this branch's own release CLI (5829008 bytes), release-ffi library (6319136 bytes), and clipboard owner (574224 bytes). CLI and library fail the 2.35 floor on this native build with exactly pidfd_spawnp@GLIBC_2.39 and pidfd_getpid@GLIBC_2.39; the owner passes with maximum GLIBC_2.34. No helper is borrowed from another branch. The pinned Ubuntu 22.04 container artifacts remain unmeasured here (L22-19) CONFIRMS (L22-1, L22-2) 3.13: keep the finished-file floor gate and pinned 22.04 builds. Native x64 functional validation does not certify the 2.35 release floor
L22-17 U1 runner images: the published image manifests for the ubuntu-22.04 and ubuntu-22.04-arm labels and the retirement notice tool api-contract §3.13 and L22-2: the Linux release legs run on the ubuntu-22.04 and ubuntu-22.04-arm labels to hold the glibc floor Both labels have a current image (x64 image version 20261012.322.1, arm64 image version 20261012.156.1, both Ubuntu 22.04.5 LTS, Node.js 22.23.3, Python 3.10.12; the x64 manifest lists libc6-dev 2.35-0ubuntu3.15). The runner-images repository announces that both labels are deprecated from 2026-09-17 and fully unsupported from 2027-04-17, with brownout days (jobs fail on purpose) on 23 March, 30 March, 6 April and 13 April before retirement, and that ubuntu-latest moves to Ubuntu 26.04 in November 2026 NEW-EDGE 3.13 and owner: the floor-host strategy of the release workflows rests on a label with a retirement date. The release and dry-run legs work until then; before 2027-03-23 the Linux legs cannot use these labels. Decided: they run in a digest-pinned ubuntu:22.04 container on ubuntu-24.04 and ubuntu-24.04-arm runners, so the 2.35 floor outlives the labels; the glibc gate on the dry-run's finished files is the proof
L22-18 U1 package availability: the apt package set the consumer and npm legs install, read from the Ubuntu 22.04 archive indexes (main and universe; release, updates and security pockets) for amd64 and arm64 tool api-contract plan assumption: the 22.04 runners offer at-spi2-core, dbus-x11, xvfb, x11-utils, openbox, gnome-calculator, python3-gi, gir1.2-atspi-2.0 and gcc by apt All nine are in both indexes at the same versions on both architectures: at-spi2-core 2.44.0-3, gir1.2-atspi-2.0 2.44.0-3, dbus-x11 1.12.20-2ubuntu4.1, xvfb 2:21.1.4-2ubuntu1.7~22.04.16, x11-utils 7.7+5build2, openbox 3.6.1-10, gnome-calculator 1:41.1-2ubuntu2, python3-gi 3.42.1-0ubuntu1, gcc 4:11.2.0-1ubuntu1. gnome-shell 42.9-0ubuntu2.3, libgtk-4-1 4.6.9, libgtk-3-0 3.24.33, libadwaita-1-0 1.1.7 and wl-clipboard 2.0.0-1 are also present on both. Whether a hosted runner can run them (session start, Calculator registration, Atspi import) is not measured here (L22-19) CONFIRMS 3.13: the package set of the consumer job exists on both architectures. GNOME Calculator 41 and GTK 4.6 are the oldest toolkit generation the Linux skill and tests meet; the Calculator button names on 41 are unmeasured (L22-19)
L22-19 U1 hosted-runner capability: private session with AGENT_DESKTOP_WM_ROOT=/, Calculator registration on 22.04, Atspi import, rootless gnome-shell --x11, hosted ctypes order on aarch64, curl invocation on a runner tool box plan U1 items 1, 3, 4, 5, 6 and 7 Hosted Ubuntu 22.04 container and arm64 jobs were not dispatched; no branch was pushed. Native x64 private Openbox sessions run the consumer, helper discovery and npm install against this branch's own build. That evidence does not establish container startup, Calculator 41 labels, the 2.35 floor or arm64 ctypes behavior DEFERRED needs: both linux-consumer jobs through release-dry-run.yml when dispatch is authorized; closure: 3.13. The consumer image now explicitly installs the GTK 3 typelib and trash-cli, and stages its FFI discovery smoke from its extracted archive
L22-20 U1 npm: npm pack of the package, then npm install -g <tgz> --prefix <scratch> with a PATH-first curl double serving a CLI archive (agent-desktop and agent-desktop-linux-clipboard-owner, built from box binaries) and its checksums.txt tool box §3.13: "npm install -g works on Ubuntu"; L22-11, L22-12 Re-measured on the rebased native x64 build with this branch's own CLI and owner archive. npm pack and a global install through the curl double pass; the first install downloads the archive and checksums exactly once each, and the recorded-digest second install downloads nothing. Both global symlink and JS wrapper report Linux/x86_64. With PATH emptied, the installed CLI sets text, exits, a foreign GTK 3 reader receives the payload, and clear is independently observed. An installed snapshot of Calculator allocates refs, a real click changes its raw display to 7, and a missing app exits 1. No helper is borrowed. The library-adjacent smoke also passes; dropping its owner makes the smoke fail specifically for the missing helper CONFIRMS (L22-11, L22-12) 3.13: native x64 packaging, install and detached clipboard ownership are confirmed. Nine consumer legs, including clipboard, pass in each of two independent private sessions. Ubuntu 22.04 container artifacts and arm64 remain with L22-19
L22-21 U1 npm: the install with tar on PATH but no gzip, and with both present tool api-contract L22-13: the install needs curl and tar With a PATH holding a curl double and GNU tar but no gzip, tar -tzf fails with tar (child): gzip: Cannot exec: No such file or directory; the install exits 1, prints the manual download text and leaves only agent-desktop.js in bin/. With gzip on PATH the same archive installs (unit tests, both directions) NEW-EDGE 3.13: GNU tar needs gzip to read the archive, so the README install requirements name curl, tar and gzip; the failure is already explicit and clean

Area L23 — live harness probes (GTK4 pointer coordinates)

id probe stack scope phases.md expectation observed verdict action
L23-1 P1: launcher pid versus registry owner pid, five apps launched in a private session (23-p1) dbus app dossier P1; L2-19, L4-26, L11-2: launch ownership cannot use $! alone Calculator, Files, Settings, Text Editor: launcher_is_owner: true (registry pid equals the launched pid). Terminal: launcher exits launcher_rc: 0 in launcher_exit_s: 0.3, owner is gnome-terminal-server, ppid: 1, launcher_is_owner: false. Owner env_rt_private: true for 5 of 5 (runtime dir read from /proc/<pid>/environ) CONFIRMS 3.12: attribute a launch by registry diff plus runtime-dir membership, never by the spawned pid; Terminal needs the server pid
L23-2 P1: second launch of the same app while the first is alive dbus app dossier P1 Files, Terminal, Settings, Text Editor: second launcher exits rc 0 in 0.1 s and the owner is unchanged (registry_owner_pids one entry, launcher_pid_in_registry: false); Files and Terminal gain a second window (frames_grew: true), Settings and Text Editor do not (they raise the existing window). Calculator is NOT forwarded: registry_owner_pids: [2684824, 2685196], two processes NEW-EDGE 3.12: Calculator is multi-instance, so it is the natural duplicate-title target (L23-36); the harness must count owners per name, not assume one
L23-4 P1: relaunch after kill, and teardown dbus box dossier P1 After killing the owner, relaunch gives a new pid and start time for 5 of 5 (pid_differs, starttime_differs true, relaunch.env_rt_private: true). After each private session ended, no process referenced the removed runtime dir CONFIRMS 3.12: process generation = (pid, start time); the session wrapper leaves nothing behind on a normal exit (cancel paths: L23-34)
L23-14 P5: why L14-3 failed on the live session (23-p5, 23-p5c, 23-p5d, 23-grun --x11) tool box L5-6: held input grab as one cause; L14-3 Private gnome-shell --x11 (mutter): the new editor window is not focused (_NET_ACTIVE_WINDOW 0x0, frame states lack active, getwindowfocus is mutter's own window) and typed_ok: false; xdotool windowactivate alone changes nothing in 2 of 2 trials (also after a window move); a real click on the window makes it active and hello lands; once another window is active windowactivate works (L23-25, 3 of 3 activate scenarios under mutter). Openbox focuses on map NEW-EDGE 3.6 / 3.8 (X11 focus_window): under mutter a freshly mapped window needs a click or an already-active window before activation is honored; the cause of L14-3 is no focused window, not toolkit input rejection. Hypothesis about focus-stealing prevention NOT isolated
L23-29 P11b: seat and semantic actions on a healthy Wayland shell (23-p11b) dbus box §3.12: "Under it GTK4 windows never carry ACTIVE (L13-5)" No input device: wl-paste --list-types -> This seat has no keyboard; DoAction on Calculator "7" still works (display ["7"]); Calculator frame states [sensitive, showing, visible] (no active). After a RemoteDesktop session and a first key: the focused window carries active (calc_states with active); with two windows the later-launched editor is active, Calculator is not CONTRADICTS 3.12: replace "GTK4 windows never carry ACTIVE" with "without any input device GTK4 windows carry no ACTIVE state and semantic actions still work; once a seat keyboard exists (RemoteDesktop session plus a first key) the focused window carries ACTIVE, and the later-mapped window takes focus". Headed focus assertions can then read ACTIVE
L23-33 P12a: an owned app dies mid-scenario dbus box dossier P12: "contamination cannot produce green" SIGKILL of the Calculator owner: registry entry gone in 0.12 s; snapshot --app -> APP_NOT_FOUND; list-apps no longer lists it. A stale ref use is PLATFORM_NOT_SUPPORTED on this build (no resolver) CONFIRMS 3.12: a vanished target must fail the leg; re-check with STALE_REF/ELEMENT_NOT_FOUND once 3.5 lands
L23-36 P1/L8-7: window identity across restart and duplicates (23-p8id) tool app L8-7: "3.12 owns the field" / §3.4 window identity Restart: id w-1.3-... -> w-1.6-... (bus unique-name counter), pid and process_instance differ, titles equal, old id -> WINDOW_NOT_FOUND, new id snapshots with ref_count: 34. Two Calculator processes: 2 ids, 2 pids, same title Calculator, each snapshots; Text Editor Ctrl+N: 2 ids with the same pid, same title, list-windows returns both. snapshot --app gnome-calculator with two processes returns ok: true (no ambiguity error) CONFIRMS 3.12: duplicate-window targets = Calculator x2 (two processes) and Text Editor Ctrl+N (one process); the regression scenario is restart-then-stale-id. NEW: app-level --app with two processes silently picks one, so harness steps must pass --window-id
L23-37 P2/P7/P9 helper: GTK4 pointer coordinates dbus api-contract L6-6 / L13-6: GTK4 global geometry unreliable GetExtents(type 0) of GTK4 nodes is [0,0,w,h] for nearly all nodes; GetExtents(type 1) (window coords) is real (combo [329,285,558,54]). A click built from type 0 landed on the sidebar ("Recent Files" selected in Files), one built from type 1 plus the X window origin opened the combo NEW-EDGE 3.8: GTK4 pointer targeting = window-coordinate extents + the X11 window origin; screen extents are valid only on GTK3/Qt

Area L24 — hardening probes of the observation sub-phase

id probe stack scope phases.md expectation observed verdict action
L24-11 Xwayland display without XAUTHORITY (env -u XAUTHORITY, run twice) dbus box §3.4: list-displays answers the real cause detector says X11 (socket listens), reader fails: INTERNAL "monitor list could not be read", suggestion "Retry once the X session answers", disposition unknown/unknown. xdpyinfo says "Authorization required". A permanent auth failure reads as retryable NEW-EDGE 3.4 follow-up: fixed, a server that rejects this client is PLATFORM_NOT_SUPPORTED with display_unavailable: refused and the server's reason; test a_display_that_refuses_this_client_is_a_permanent_refusal_and_not_a_retry, inverted
L24-12 DISPLAY=unix:N (2 runs, xdpyinfo -display unix:1 works) dbus box §3.4: detector and reader agree on a display name detector's local_number accepts the unix prefix and reports X11; x11rb reader fails: list-displays INTERNAL both runs; :1 ok. Detector and reader disagree NEW-EDGE 3.4 follow-up: fixed, the detector hands readers :N; test a_display_written_with_the_unix_transport_prefix_is_handed_on_without_it, inverted
L24-13 non-local DISPLAY (host:0, 127.0.0.1:55) and a listener that never answers (env plus a python listener) dbus box §3.4: list-displays answers the real cause detector returns Connected without probing; list-displays INTERNAL (25 ms for the host form). Never-answering listener: INTERNAL after 5006 ms (bounded). All INTERNAL, none actionable NEW-EDGE 3.4 follow-up: fixed, an address nothing answers at is PLATFORM_NOT_SUPPORTED with display_unavailable: missing and the address, a silent server is TIMEOUT; test a_display_nothing_answers_at_names_the_address_and_a_silent_one_is_a_timeout, inverted
L24-19 two same-name processes (two Chrome with distinct user-data-dir, 2 repetitions) dbus app §3.4: a scoped window listing never hides a stopped application both answering: --app chrome lists 2, snapshot AMBIGUOUS_TARGET. One stopped: list-windows returns only the running one with code null and no marker (605 ms), snapshot ok (1.26 s vs 0.55 s). Both stopped: APP_UNRESPONSIVE NEW-EDGE 3.4 follow-up: fixed, a scoped listing in which a selected application is stopped answers APP_UNRESPONSIVE naming it; test a_stopped_twin_is_reported_even_when_its_same_name_twin_has_windows, inverted
L24-20 executable deleted or replaced while running (copy of gnome-calculator, rm while running, 2 binaries) tool box §3.4: an application keeps one listed name /proc exe becomes "...(deleted)", listed name becomes "ad-renamed-calc (deleted)" (instance unchanged, app answering), so a ref's stored source_app no longer equals the listed name. A package upgrade of a running app breaks identity. Old name still finds it by registry name NEW-EDGE 3.4 follow-up: fixed, the listed name and the query match strip the (deleted) marker; test an_executable_deleted_while_it_runs_keeps_its_name, inverted
L24-34 Detector matrix on the cut: 10 environment cases times 10 commands, two identical runs, release binary in a private openbox session; silent X11 TCP server and silent, refused and missing Wayland sockets count accepted connections as the oracle dbus + tool api-contract R3: one display detector routes every subsystem and the same cause gives the same code working and the unix: prefix: all ten commands ok in 3-867 ms. No display: PLATFORM_NOT_SUPPORTED with display_unavailable: not_configured for list-displays, both screenshots, clipboard set and get, mouse-move and drag; ACTION_FAILED with cause no_display for focus-window and headed press; type TIMEOUT at 5.0 s. X11 missing or refused: the same split, focus and press ACTION_FAILED with cause x11_unavailable, mouse-move and drag ACTION_FAILED, type TIMEOUT. Silent X11 (accepts, never answers): every command ends at 5.0-6.0 s; list-displays, both screenshots, clipboard and type TIMEOUT after 1-4 accepted connections; focus, press, mouse-move and drag time out or answer ACTION_FAILED at 6.0 s. Silent Wayland: list-displays and both screenshots PLATFORM_NOT_SUPPORTED, clipboard set and get TIMEOUT at 5.0 s after 2 and 1 connections to the silent socket, focus, press, mouse-move and drag ACTION_NOT_SUPPORTED with cause wayland_session, type ok in 51-60 ms. Silent Wayland beside a working DISPLAY with wl-copy and wl-paste on PATH still chooses Wayland: screenshots PLATFORM_NOT_SUPPORTED and clipboard TIMEOUT, no X11 fallback. Every pair of runs identical NEW-EDGE (measured) 3.15 U4: one routing table and one code per cause; focus and input stop answering ACTION_FAILED for a display that is not reachable; type stops answering TIMEOUT where the display cause is permanent; clipboard asks the detector. The silent-X11 returns fit the 5.0-6.3 s ceiling
L24-35 Reader leak on the cut: FFI host, release-ffi library, loopback TCP display that accepts and never answers, 10 timed-out ad_list_displays calls, two runs tool api-contract R2 and L24-29: a bounded read accumulates no threads or descriptors each call added one thread and two descriptors: 2 to 15 threads and 5 to 29 descriptors over 10 calls (the first call adds four extra descriptors), with 10 accepted connections; ad_adapter_destroy released none; result -9 (TIMEOUT). Both runs identical. Connection type: x11rb RustConnection<DefaultStream>; DefaultStream wraps the Unix or TCP stream and implements AsRawFd, RustConnection::stream() is public, and connect_to_stream takes a caller-built stream, so a duplicated descriptor can be shut down at the deadline CONFIRMS (L24-29) 3.15 U3: keep the descriptor and call shutdown at the deadline; the 50-call flat-resource check is U3 verification
L24-36 Stopped identity with a real ref action: Calculator, Files and desktop Chrome with its own profile, semantic click before and after SIGSTOP, two runs; oracles are the app's own state and the T process state dbus + tool app §3.9: a stopped app answers APP_UNRESPONSIVE with not_delivered and retry: safe, and an answering app's click succeeds Calculator: click on button "4" ok in 401-409 ms and the display changed; after SIGSTOP click APP_UNRESPONSIVE in 8 ms, not_delivered and safe; after SIGCONT ok in 410-421 ms. Chrome: click "probe-button" ok in 364-365 ms and the tab title changed from "start - Google Chrome" to "clicked - Google Chrome"; after SIGSTOP click APP_UNRESPONSIVE in 8 ms. Files: the first click on a freshly launched window ended TIMEOUT at 5008 ms in 2 of 2 runs (snapshot 209-406 ms), and the stopped click answered APP_UNRESPONSIVE in 7-8 ms. The semantic dispatcher exists on the cut NEW-EDGE (measured) 3.15 U6: the Files first-click TIMEOUT is the unconfirmed L24-32 observation, now confirmed twice; find the actionability race. Stopped identity is correct on all three apps
L24-37 Cursor overlay implementation probe: a GTK 3 override-redirect RGBA top-level at 150,150 driven by the agent pointer, openbox (2 runs) and the headless Wayland shell (2 runs); pixels decoded from xwd, teardown from xdotool and /proc tool box R9 and U1 item 4: an override-redirect ARGB window renders and tracks the agent pointer Openbox: the window is created, mapped at 96x96+150+150, found by xdotool and destroyed leaving 0 windows; the thread count stays 4 and descriptors go 13 to 15. No pixel ever appears: the draw signal never fired and the window and root read (0,0,0) before, during and after a pointer move to 500,500, with and without the RGBA visual and with a managed control window. GTK 3 does not paint this headless Xvfb path, and the box has no xcb or Xrender development headers, so a direct X11 prototype cannot be built here. Wayland: GDK offers no override-redirect call and the window stays at 0,0 after a move NEW-EDGE (measured) 3.15 U7 lane B: do not build the overlay on GTK; use xcb and Xrender and verify pixels on the box. Wayland reports unsupported. The draw path stays unprototyped on this box
L24-38 Headless Wayland shell monitor capabilities: DisplayConfig GetCurrentState and ApplyMonitorsConfig at scale 2 and both layout modes, two runs dbus box L29-30: logical layout and scale 2 are measured on the headless shell one virtual monitor Meta-0 (MetaVendor MetaVirtualMonitor) with one mode 1280x800@60 whose supported scale list is [1.0]; layout-mode property 2 (physical) and legacy-ui-scaling-factor 1. Every ApplyMonitorsConfig, including the 1.0 no-op, was refused: org.freedesktop.DBus.Error.InvalidArgs "Can't set layout mode". The state was unchanged afterwards. Both runs identical CONFIRMS (L29-30) 3.15 U8: the logical-layout and scale-2 leg stays an owner-run live leg; the headless shell cannot change layout mode and offers no scale 2
L24-39 A bus lost after connection in a long-lived FFI host: private session, ad_list_apps ok, the AT-SPI bus daemon killed by pid (found by its socket inode), then the same adapter, a fresh adapter and displays dbus api-contract L22-8 and decision 42: a bus lost after connection answers a code an agent can act on after the kill the same adapter answers -12 (INTERNAL) with "The children of the accessible object could not be listed", no suggestion and no details; a second call answers the same, so it does not recover. Displays stay ok because X11 is independent. A fresh adapter answers ok while the original adapter keeps failing. Both runs identical CONFIRMS (L22-8) 3.15 U6 lane B: map a bus lost after connection to the cold-start recovery text and keep retry honest; a new adapter recovers, the old one does not
L24-40 Firefox as the inner snap binary at /snap/firefox/current/usr/lib/firefox/firefox, private profile, private openbox session, MOZ_ACCESSIBILITY=1, product live read, two runs dbus + tool app L27-44 against L16-15: whether Firefox can run in a private session registered on the private bus in 2 of 2 runs as "firefox"; list-windows reported the 1280x800 frame "Mozilla Firefox" in 11-19 ms; snapshot -i answered complete: true with 519 and 520 refs in 2.25-2.72 s. The L16-15 claim about /usr/bin/firefox does not hold for the inner binary CONFIRMS (L27-44) 3.15 U2: the Gecko wording follows L27-44; the offscreen leg is the 3.6 owner-window leg, not a private-session block
L24-41 Non-English shell catalogue in user space: apt-get download and dpkg -x of language-pack-fr-base and language-pack-gnome-fr-base, then gettext reads tool box U1 item 9: a French catalogue can be extracted without root and read through a user-space locale path both packages downloaded and extracted without root into a user-space tree; 444 .mo files under usr/share/locale-langpack/fr/LC_MESSAGES, including gnome-shell.mo, mutter.mo and nautilus.mo. Python gettext from that tree translates gnome-shell "Activities" to "Activités" and nautilus "Files" to "Fichiers". The box has no fr locale (only C, C.utf8, en_US.utf8 and es_* variants) and the shell's catalogue path is system-wide NEW-EDGE (measured) 3.15 U8: the non-English shell leg stays owner-run; the catalogue is user-space extractable and readable, but the shell needs a generated fr locale or a locale path it honors, which needs the owner

Area L25 — resolution and live reads on real apps (sub-phase 3.5 verification)

id probe stack scope phases.md expectation observed verdict action
L25-1 find --role button on GNOME Terminal before extents core cannot store were dropped from the evidence dbus app §3.5: zero and -1 extents are values (L2-18) find answered INVALID_ARGS "Rectangle must contain finite bounded coordinates" because the menu items sit at the off-screen position INT32_MIN and find stores the observed rectangle on the ref it returns CONTRADICTS 3.5: fixed, a rectangle core refuses (negative size, INT32_MIN) is absent bounds evidence in the walk and the live bounds keep the raw extents; test zero_extents_are_known_bounds_rects_core_cannot_hold_are_absent_and_a_failed_read_is_unknown, inverted
L25-2 Hydrating one find match in VS Code dbus app §3.4: the settle rule waits for three equal polls inside 70 percent of the budget one hydrated match took 14.3 s (find --limit 1, 20 s budget): the element-rooted walk of a small subtree never exceeds the 32-node shell ceiling, so it waited out the budget; after reading an element root once the whole find --role button over 43 matches took 2.9 s CONTRADICTS 3.5: fixed, an element root is read once; test an_element_in_a_web_process_is_read_once_however_small_its_subtree_is, inverted
L25-3 find --role group and find --role tab on Terminal and VS Code dbus app §3.5: find returns matches and refs the whole find answers STALE_REF "Selected locator lacks a verifiable identity or geometry anchor" when one selected match has no name, no identifier and no rectangle (a Terminal tab at the sentinel, a VS Code zero-height group), although every other match is addressable NEW-EDGE owned by the owner: docs/phases.md Phase 3 core items, core's anchor_missing stops the whole command; this adapter cannot supply an anchor the node does not have
L25-4 GTK4 Gtk.Entry with visibility off dbus app §3.5: a secure field's value is withheld the node is role 61 (text) with no secure marker and Text.GetText returns the real text (hunter2); only Gtk.PasswordEntry reports role 40 (password text). GTK3 and Qt password fields report role 40 and are withheld NEW-EDGE accepted: the toolkit publishes the field as an ordinary text box, the adapter has nothing to tell it from one; test live_read_a_password_value_is_withheld_on_gtk3_gtk4_and_qt pins the measured exposure
L25-5 Held handle after its element is destroyed, GTK3 dbus app L17-6: a destroyed GTK3 object answers for 16 to 17 s a Python GTK3 button destroyed with destroy() still answered reads 25 s later (GTK4 and Qt answered gone at once, 1 ms and 0 ms); the stored ref was a complete miss in 13 ms NEW-EDGE accepted: presence comes from the parent's child list, not from a held handle; a wait that polls an element re-resolves each poll (3.11)
L25-6 A nameless GTK4 text area after the first text is typed dbus app §3.5: the stored size separates twins the Text Editor text area (no name, no identifier) changed height by one pixel (464 to 463) once text was typed; the ref taken before is a settled STALE_REF, and answered a retryable APP_UNRESPONSIVE until the verdict refuted a node whose size was read and differs NEW-EDGE 3.5: fixed the retryable answer (a size-only ref is refuted by a node whose size was read and differs); the refusal itself is accepted, a ref known only by size cannot survive a resize; test a_nameless_ref_whose_element_changed_size_is_a_settled_miss_and_not_a_retry, inverted
L25-7 Closing one Files window while the process lives dbus app plan U9: a closed window frame's wording the ref of the closed window answers STALE_REF with kind resolve_target_destroyed and the other window's refs still resolve CONFIRMS 3.5: the wording stands; test navigate_live_closing_one_files_window_leaves_its_refs_stale_and_the_other_window_resolving
L25-8 Replacing a Settings panel dbus app §3.5: a ref of panel A replayed after panel B is STALE_REF gnome-control-center sound on the running instance replaced Network; the Network panel's ref answered STALE_REF resolve_no_candidate, the sidebar row still resolved; Selection.SelectChild on the category list returned success and changed nothing CONFIRMS 3.5: test navigate_live_a_settings_panel_ref_is_stale_after_another_panel_replaces_it
L25-9 Cost of resolution and live reads, min/median/max of 7 after a discarded warm-up, ms tool box plan U9 Performance Files: path-tier hit 34.8/36.4/38.8, search 273.7/282.5/304.4 (snapshot walk 262.5/271.4/280.6), get_live_element 1.5/1.6/1.8, by-id gate 5.9/6.4/8.1 against resolve_window_strict 7.9/9.3/11.6, find --role button 698/721/740. Calculator: 24.0/24.7/26.2, 98.4/100.2/105.6 (walk 96.3/102.0/107.4), 1.5/1.7/1.9, gate 2.3/2.6/4.0 against 4.3/5.2/6.1, find 786/797/812. VS Code: 24.9/30.0/49.3, 354/360/365 (walk 341/355/363), 1.3/1.5/1.9, gate 1.4/1.4/2.0 against 3.3/3.9/4.9, find 43 buttons 2828/2910/2981. Whole-process snapshot against the 3.4 head, two alternating rounds: Files 166/175/180 and 183/192/202 before, 171/179/188 and 164/174/180 after; VS Code 649/662/726 and 646/650/690 before, 643/666/688 and 641/663/675 after; list-windows 8/8/24 and 7/8/9 before, 8/9/10 and 8/8/10 after NEW-EDGE 3.5: no single call exceeds one 4 s slice, the search costs one snapshot walk, the by-id gate is cheaper than the listing and does not list a stopped app away, and the node-read change moves no snapshot or listing figure beyond run noise; release binary 4.2 MiB
L25-10 Kill, stop and remove, per toolkit, through a ref and a held handle dbus app §3.5: R10, R11 a killed app: STALE_REF resolve_owning_process_exited in 4 to 15 ms for GTK3, GTK4, Qt and VS Code, held handle 0 ms; a stopped app: APP_UNRESPONSIVE after exactly the 2000 ms budget for ref and held handle on all three, resolving again after SIGCONT; a removed element: STALE_REF resolve_no_candidate in 13 to 30 ms; a GTK4 notebook page that leaves the tree is STALE_REF and resolves again at the same object path when it returns; a Qt process holds two registry entries for one pid (:1.1, :1.2) and every ref resolves through the window-owning one; Qt twins resolve to their own button after the window moves (187,109 to 508,291) by path, by stored size, and are AMBIGUOUS_TARGET with 2 candidates when nothing separates them; Qt list rows after a re-sort resolve to their own text CONFIRMS 3.5: the absence_live_*, qt_live_*, chromium_live_* tests, each inverted

Area L26 — stranger and insider verification of sub-phase 3.5

id probe stack scope phases.md expectation observed verdict action
L26-1 Files folder with two files, the first removed while the window stays open, then get on the second file's refs dbus app §3.5: a ref of an element that did not change keeps resolving every file gives two cell refs, an outer cell and a nested cell child with the same name and size; after the removal each ref of the surviving file answered AMBIGUOUS_TARGET with two candidates, because the stored child-index path no longer landed (every index after the removed row shifted) and the search found both cells; before the removal, and after adding a file instead, the refs resolved CONTRADICTS 3.5: fixed, when the path declines, the window-rooted ref's search read the whole tree and several candidates answer, the candidate whose depth below the frame equals the stored path length is the element; test nested_twins_resolve_by_the_depth_the_ref_was_taken_at_after_a_sibling_row_leaves, inverted, and the live case resolve_live_files_row_refs_survive_a_sibling_row_leaving
L26-2 Google Chrome started in a private session three ways, list-windows read after 40 s dbus app §3.4: with the a11y bus enabled neither ACCESSIBILITY_ENABLED=1 nor --force-renderer-accessibility is needed with ACCESSIBILITY_ENABLED=1 Chrome was on the bus and list-windows returned 0 windows after 40 s; with the variable plus IsEnabled and ScreenReaderEnabled set on the bus it was still 0; with --force-renderer-accessibility it returned 1 window CONTRADICTS 3.5: fixed, the missing-connection message names --force-renderer-accessibility for a Chromium browser, --no-sandbox for an Electron app whose chrome-sandbox is not setuid and QT_ACCESSIBILITY=1 for Qt, and §3.4 Scope (Chromium detection) states the measured behaviour; test a_running_process_off_the_bus_is_app_not_found_naming_the_connection, inverted; the skill carries the same advice in 3.13
L26-3 find --surface sheet --role button and --name Close on GTK4 Files About, GTK4 zenity --about and GTK3 Terminal About dbus app §3.5: find returns matches on every surface the window listing offers list-surfaces lists the sheet and snapshot --surface sheet works on the same window, but find with a role or name answered ELEMENT_NOT_FOUND "The window does not present a sheet surface" (find --surface sheet --count was ok): hydrating a match walks from the matched element, which carries the sheet surface in its ref, and the sheet predicate was applied to that element instead of the window; after the fix zenity --about answers both buttons with refs CONTRADICTS 3.5: fixed, the sheet predicate applies to window roots only; test an_element_inside_a_sheet_observes_though_the_element_is_not_itself_a_sheet, inverted
L26-4 Firefox (inner binary, private session, 30 to 40 s settle), get and is on the first ref of a snapshot, the window node itself, which stores no path (4 of 4 runs before the fix, 2 of 2 after); other refs of the same snapshot resolve in 6 to 10 ms dbus app §3.5: a ref of an element that did not change keeps resolving before: APP_UNRESPONSIVE "Strict resolution could not determine candidate identity" (resolution_identity_unknown, role window) in 165 to 175 ms while /proc showed the process running. A path-less ref goes to the whole-tree search; the snapshot tree holds background-tab documents (webarea) with no children, and a childless web document marks a region unread, so the lone matching candidate, the frame, was withheld as incomplete on every retry and waiting never changed it. After: get title = Mozilla Firefox, is visible = true, get role = window in 52 to 60 ms, equal to the oracle frame (name Mozilla Firefox, states showing and visible) CONTRADICTS 3.5: fixed, a ref with an empty stored path resolves to the verified window frame when the frame answers to the stored evidence, since exactly one node sits at depth zero and the gate has proved the process and window; test the_window_frame_resolves_though_a_background_tab_document_lists_no_children, inverted; a path-less element below the frame stays the retryable answer (a_pathless_element_stays_retried_while_a_web_document_lists_no_children)
L26-5 Two processes with the same application name (two Qt windows), one stopped with SIGSTOP and one running, both directions, list-windows --app and list-surfaces --app dbus app §3.4: a scoped listing never hides a stopped application list-windows --app answered APP_UNRESPONSIVE and list-surfaces --app answered AMBIGUOUS_TARGET: the name lookup that precedes list-surfaces (and snapshot) found two applications and core called the name ambiguous before any listing ran NEW-EDGE 3.5: fixed, a name that matches several applications while one of them is stopped answers APP_UNRESPONSIVE naming it, from the adapter's scoped application lookup, so every command that resolves the name agrees with the window listing; a single stopped match is still returned; test a_name_two_apps_share_is_unresponsive_when_one_of_them_is_stopped, inverted

Area L27 — actionability measurements (sub-phase 3.6)

id probe stack scope phases.md expectation observed verdict action
L27-1 GetAccessibleAtPoint at the centre of ref-able showing nodes, called on the window frame and repeated on each returned object until it returns itself or null (cap 50), in window coordinates (type 1) and screen coordinates (type 0), compared with the walked tree; 2 runs, identical counts dbus app §3.6: hit_test descends with GetAccessibleAtPoint and classifies the landing GTK 3.24.41 Terminal: 7 of 8 land on the node itself, 1 on an ancestor, same in both types. GTK 4.14.5: type 1 lands on the node or a descendant for Calculator 55 of 60 (5 on a node outside the walked map), Text Editor 5 of 13 (8 outside the map), Files 35 of 48 (13 outside the map); type 0 lands on an unrelated node or an ancestor for 121 of 121 samples and never on the node, because the screen position of every sampled node is 0,0 (L27-2). Qt 6.11.2: 9 of 11 on the node, 2 null, both types. Chromium (Google Chrome, Application.Version 1.0): type 1 35 of 50 on the node, 11 on a descendant, 1 outside the map, 3 elsewhere (the window-frame buttons); type 0 23 or 24 on the node, 11 on a descendant, 12 or 13 outside the map, 3 elsewhere. VS Code (Electron, same toolkit string): 0 of 60 related to the node in either type, every landing inside one subtree NEW-EDGE 3.6: trust table in toolkit_trust.rs: GTK3, Qt and Chromium descents are trusted in the coordinates pointer_bounds yields; GTK4 is trusted only in window coordinates and only after the origin calibration of L27-2; an Electron landing is never trusted (the cause of the 0 of 60 is not established) so its verdict is Unknown
L27-2 GTK4 and other toolkits: node extents in both coordinate types against the X client origin and size from xwininfo, and the overhang of every showing node of positive size beyond the frame rectangle in window coordinates; 3 runs dbus + tool app L6-6, L23-37: GTK4 screen extents are unreliable, window extents are real GTK4 screen position was 0,0 for 60 of 60 (Calculator), 13 of 13 (Text Editor) and 48 of 48 (Files) sampled nodes while the X client origins were 460,165, 290,140 and 195,125; the frame's window extents start at 0,0 and its size equals the X client size, so under this window manager there is no shadow offset. Overhang beyond the frame in window coordinates: GTK3 0 (19 nodes), Chromium 0 (87), Calculator 1 px (93), Text Editor 1 px (47), Files 8 px (170), Qt 503 px and VS Code 16777076 px, both from popup and hidden nodes outside any frame CONFIRMS 3.6: the edge slack EDGE_SLACK stays 24 px (above the 8 px seen here and the 17 px of L6-6); a GTK4 pointer position is window extents plus the X client origin and nothing else
L27-3 _NET_ACTIVE_WINDOW client message to a background window, source indication 0, 1 and 2 each with timestamp 0 and with a real server time, four toolkits (GTK4 Calculator, GTK4 Text Editor, GTK3 Terminal, Qt), the other window made active first, 2 runs, 48 trials, openbox tool box §3.6: focus_window activates through the window manager all 48 trials: the root _NET_ACTIVE_WINDOW equalled the target, the frame carried ACTIVE in AT-SPI and the window was last in _NET_CLIENT_LIST_STACKING, each within 2 to 4 ms of the send; no source or timestamp changed the outcome. gnome-shell --x11 and Wayland were not run: the private session helper starts only openbox NEW-EDGE 3.6: send source 2 with a real server timestamp, the form xdotool windowactivate uses, which mutter honoured once another window was active (L23-14, L23-25); the mutter leg of this table is not measured and the live suite owns it
L27-4 Value.CurrentValue write on the vertical scroll bar of a GTK3 ScrolledWindow of 300 rows and of the GTK4 Files grid of 300 files, then polling the target row for showing and inside the frame dbus app §3.6: scroll_into_view drives the scroll bar Value GTK3: the bar has Value with range 0 to 6600 and increment 40; a write of the maximum read back 6600 and the last row was on screen 0.53 s later (1 run); a write of the midpoint read back 3300 and left the last row off screen. GTK4 Files: the bar has Value with range 0 to 10419; a write of the maximum read back 9961 and the last file appeared on screen 0.77 s later (1 run, against 1.23 to 1.31 s in L23-24); the GTK4 tree has no scroll pane, one scroll bar CONFIRMS 3.6: rung two (the Value write) is a table entry for GTK3 and GTK4; the observation wait stays at least 2 s
L27-5 Component.ScrollTo (types 0 to 5) and ScrollToPoint (types 0 and 1) on a row or button that is off screen, GTK3 list, Qt QListWidget of 300 items, Chrome page of 300 buttons dbus app §3.6: scroll_into_view tries ScrollTo first GTK3: ScrollTo and ScrollToPoint return false for all 8 calls. Qt: every ScrollTo and ScrollToPoint call answers UnknownObject for the item path while GetExtents on the same path answers (the item is transient), the tree has no scroll bar node, the far item's window extents are 5383 px down against a 300 px frame; nothing moves Qt. Chromium: ScrollTo type 0 returned true and the button was on screen 0.73 s later (1 run); no scroll bar nodes NEW-EDGE 3.6: rung one is a table entry for Chromium only; GTK3 uses rung two; Qt returns ACTION_FAILED attempted and not delivered, and the wheel route is written into 3.8
L27-6 A button hidden by the application after 5 s, node read each second: GTK3 hide(), GTK4 set_visible(false), Qt hide() dbus app §3.6: hidden is true when VISIBLE and SHOWING are both absent GTK3: states drop from enabled showing visible to enabled, position becomes INT32_MIN, size unchanged. Qt: same state change, extents become 0,0,0,0. GTK4: the node leaves the tree CONFIRMS 3.6: the landed rule stands; a GTK4 hidden widget is absent, never a hidden node
L27-7 Cost of one GetAccessibleAtPoint call from a Python Gio client, 8 calls with the first discarded, ms dbus box §3.6 Performance: no unexplained latency min/median/max: GTK3 Terminal 0.23/0.25/0.26, GTK4 Calculator 0.25/0.29/0.35, Qt 0.19/0.21/0.35 NEW-EDGE 3.6: a 50-level descent is bounded by the deadline, not by this cost; the cost of the product's own X11 read is measured in the live suite
L27-8 Google Chrome started in a private session whose status property IsEnabled and ScreenReaderEnabled were set to true, with and without --force-renderer-accessibility, frame GetChildren read at 5, 15, 30, 45 and 60 s, 2 runs each dbus box L26-2: neither the variable nor the flag is needed without the flag the frame's only child stayed the null object for 60 s in 2 of 2 runs; with the flag it was a live object in 2 of 2 runs; the read-only probe registered for no events NEW-EDGE 3.6: the live tests launch Chrome and VS Code with the flag; the L26-2 statement concerns the product path and is not re-measured here
L27-10 focus_window product path (_NET_ACTIVE_WINDOW, source 2, a server time read from a property notification) on a private gnome-shell --x11 (mutter): a GTK3, a GTK4 and a Qt window, each launched with a GTK3 window beside it in a fresh session, nothing clicked yet, then the same window after a real click made another window active; 1 run per toolkit tool box §3.6: focus_window activates through the window manager; L23-14: a never-focused window ignores the request all three fresh sessions: neither window held focus after mapping and the request was refused with activation_not_granted after the 2 s grace (2.0 to 2.6 s for GTK3 and GTK4, 3.3 s for Qt, whose frame read is slow); _NET_ACTIVE_WINDOW stayed unset. After a click gave one window focus, the other window activated and listed as focused in 28 to 77 ms for all three toolkits. In a session where a window had held focus once, a later GTK4 and Qt window were focused on map (target_focused=true) and the request returned Ok in 10 and 39 ms CONFIRMS 3.6: the refusal is ACTION_FAILED details.cause activation_not_granted; the cause of the refusal is the open Activities Overview (L27-45), not a per-window property or a session with no focus history; the click fallback stays 3.9's
L27-11 focus_window product path under openbox in a private session, GTK3, GTK4 and Qt background windows, each activated and then the previous window activated again, 2 runs tool box §3.6: success only when the display server and the frame agree 12 of 12 activations returned Ok, 9 to 53 ms, and the window listed as focused (the frame carried ACTIVE and _NET_ACTIVE_WINDOW equalled the client); an already-active window returned Ok with nothing sent; openbox focuses a window on map, so the first request of each pair was for the window that had just lost focus to the newer one CONFIRMS 3.6: the two-measure success rule needs no slack on openbox; 25 ms polling is far above the observed 2 to 4 ms
L27-12 StackingSource::read on the lowest of three managed windows, compared with xprop -root _NET_CLIENT_LIST_STACKING from that window up; then a GTK3 POPUP (override-redirect) window at 50,50 sized 200x100; then the lowest window activated and the list re-read; openbox and mutter (three sessions) tool box §3.6: stacking and the covering windows come from X11 the read equalled the xprop tail in 4 of 4 sessions (3 entries, 1 to 2 ms, current desktop 0, all mapped); the popup read as an override-redirect rectangle [50,50,200,100] in 4 of 4; openbox's own 1x1 window at -100,-100 also reads as a mapped override-redirect output window (mutter has none), so a verdict must test containment of the point; after a granted activation the window was last in the list and the read from it held one entry; under mutter with nothing focused the activation was refused NEW-EDGE 3.6: override_redirect_above lists every mapped painting override-redirect root child above the target's frame and the hit test decides by containment; input-only root children are skipped
L27-20 Properties.GetAll(org.a11y.atspi.Application) against Get(ToolkitName) and Get(Version) on the registry root of live GTK3, Qt, GTK4, Chrome and VS Code dbus app §3.6: the registry reads the toolkit with one group read GetAll fails on live GTK3 (UnknownProperty) and Qt (UnknownInterface) while Get(ToolkitName) and Get(Version) answer (gtk 3.24.41, Qt 6.11.2, GTK4 GTK 4.14.5, Chrome and VS Code Chromium 1.0) NEW-EDGE 3.6 reads the toolkit per property
L27-21 Screen extents of the frame against the pointer rectangle (window extents plus X client origin) and xwininfo, GTK3, Qt and Chromium dbus + tool app §3.6: global-position toolkits report screen extents GTK3, Qt and Chromium frames have screen extents equal to window extents plus the X client origin, and xwininfo equals the pointer rectangle exactly CONFIRMS (L6-5) none
L27-22 Frame screen extents and the pointer rectangle against xwininfo for GTK4 Calculator and Files at window positions (60,60) and (380,190) dbus + tool app §3.6: GTK4 positions are window-coordinate plus the X client origin GTK4 Calculator and Files frames read screen extents [0,0,w,h] at both positions while the pointer rectangle (window extents plus client origin) equals xwininfo at both CONFIRMS (L23-37, L27-2) none
L27-23 Both directions of the cross-window leg on GTK3, Qt, GTK4 (both apps, both positions) and Chrome under openbox: an ordinary cover and an ABOVE cover, the target raised and the cover lowered dbus + tool app §3.6: a managed window above the target over the point intercepts it An ordinary cover gives intercepted until the target is raised; an ABOVE cover stays intercepted through a raise and clears once lowered CONFIRMS (L6-3, L23-25) none
L27-24 Hit test of a minimized window and of an application stopped with SIGSTOP, GTK3, Qt, GTK4 Calculator, GTK4 Files, Chrome and VS Code, 2 s budget dbus + tool app §3.6: Unknown on probe failure, never a false negative A minimized window gives Unknown on every toolkit tried, and a SIGSTOPped app gives APP_UNRESPONSIVE in about 2.0 s on a 2 s budget NEW-EDGE none
L27-25 Hit-test descent from the VS Code frame for every candidate point dbus app §3.6: the topmost element comes from descending GetAccessibleAtPoint The descent lands on an unrelated node for every candidate, so uncovered is Unknown while covers are still detected CONFIRMS (L27-1) none
L27-26 Zero-axis nodes of GNOME Files by window extents dbus app §3.6: a rectangle with one zero axis is Unknown Files has 17 zero-axis nodes by window extents; the first 5 asserted Unknown, as designed CONFIRMS (L23-8) none
L27-27 hit_test on an element from a bare walk_tree and on a resolved ref dbus api-contract §3.6: hit test is reached through resolved refs walk_tree elements carry no frame ancestry, so hit_test on one is Unknown; resolved refs carry it, and the product reaches hit_test only through resolved refs NEW-EDGE none
L27-29 Same-window landing rate at the centres of visible nodes, Chromium and Electron hosts dbus app §3.6: a landing on an unrelated node in the same window is interception Chromium is untrusted for same-window interception (Electron is indistinguishable by toolkit string, 0 of 60), while its cover and reaches legs hold NEW-EDGE same-window landings are trusted for GTK3 and Qt only
L27-30 Derived offscreen of every node against an independent oracle: GTK3 list, GTK3 Terminal, GTK4 list, Qt and Chrome dbus + tool app §3.6: offscreen is derived from extents against the frame and the scroll container 0 contradictions: GTK3 list 289 offscreen, 11 on screen, 0 unknown; GTK3 Terminal 43/6/2; GTK4 list 288/11/1; Qt 278/21/2; Chrome 269/46/56, 55 of them hidden CONFIRMS (L3-27, L6-9) none
L27-31 A GTK3 viewport and the row inside it after a scroll dbus app §3.6: the INT32_MIN sentinel is unknown bounds A GTK3 viewport reads the sentinel position after a scroll while the row inside reads a real rectangle, so a sentinel container is ignored and the frame decides NEW-EDGE a sentinel container does not decide offscreen
L27-32 GetAll(Application) and Get(ToolkitName) on a python-launched GTK3 app dbus app none A python-launched GTK3 app answers GetAll(Application) with "Property unavailable" while Get(ToolkitName) works NEW-EDGE see L27-20
L27-33 Scroll bars of a GTK3 scrolled window and the nearest ancestor with a bar of a row dbus app §3.6: the container is scrolled through its scroll bar The GTK3 scrolled window carries one scroll bar with orientation unknown and one marked VERTICAL; the row's nearest ancestor with a bar is the scroll pane, not the viewport NEW-EDGE the bar is searched beside the target
L27-34 Value.CurrentValue write on the bar to reach "Row 250" of a GTK3 list dbus app §3.6: scroll through the bar and verify by SHOWING The write realised in 182-389 ms; the page estimate was exact (delta times 34 px plus offset, 8500) CONFIRMS (L27-4) none
L27-35 Value.CurrentValue write on a GTK4 ScrolledWindow bar dbus app §3.6: scroll through the bar and verify by window-coordinate extents The write realised in 13 ms (y 8505 to 0) CONFIRMS (L27-4) none
L27-36 Component.ScrollTo on "Btn 299" of a Chrome page dbus app §3.6: ScrollTo is measured on Electron and Chromium ScrollTo realised "Btn 299" in 6-7 ms (y 6435 to 746) CONFIRMS (L27-5) none
L27-37 Qt list items outside the viewport: states, extents and ScrollTo dbus app §3.6: ScrollTo on Qt is measured here Items outside the viewport read with neither VISIBLE nor SHOWING (hidden) at positive rectangles far outside the window; ScrollTo returns UnknownObject and there is no container, so the answer is ACTION_NOT_SUPPORTED with no_scroll_container NEW-EDGE Qt scroll is refused, not attempted
L27-38 GNOME Files grid of 300 files, nodes reaching the offscreen call dbus app §3.6: a GTK4 grid virtualises its items The grid exposed no offscreen row in 62-66 nodes (virtualized; rows never reach the call) CONFIRMS (L14-7) none
L27-39 VS Code nodes reaching the offscreen call dbus app §3.6: Electron offscreen and scroll are measured VS Code exposed 129 nodes, none offscreen; its scroll rungs are unmeasured NEW-EDGE no positive case to test against
L27-40 GNOME Files (GTK4) node extents in screen and window coordinates for every positive-size node of the frame, at window positions (60,60) and (380,190), against the xwininfo client origin; 2 runs gi-atspi + tool app §3.6: a GTK4 node's screen extents may equal its window-coordinate extents, which would need one origin lookup per window 331 nodes read: screen position [0,0] for 303 of 314 sized nodes at both positions while window position differs (for example a pane at window [180,0]); the 11 equal ones sit at window [0,0]; client origins 60,60 and 380,190 matched xwininfo. Screen extents are not window extents, so a node position needs its own window-coordinate read CONFIRMS (L23-37, L27-2) 3.6: a node rectangle on a toolkit without global position is the window-coordinate rectangle moved to the client origin, read per placed node
L27-41 Derived offscreen of the GNOME Files Ubuntu path-bar item against an oracle that tested the frame only, in the full live suite (2 of 2 runs; 3 of 3 isolated runs show no such node) dbus app §3.6: offscreen is derived against the frame and the enclosing scroll container The item at window [137,9,93,28] sits inside the frame [0,0,890,550] but 54 px left of its scroll container [284,6,320,34], so it is offscreen; an oracle that tests the frame alone calls it on screen, and the path bar content depends on what ran before NEW-EDGE the survey oracle also tests the scroll container
L27-42 X11 ShapeGetRectangles (input kind) on every mapped override-redirect root child above a managed GTK3 window, with a GTK3 POPUP over the window at its origin (500x400 over a 400x300 client) and a headed click and hover driven through the release binary, openbox, private session; the click was also run with a 300x200 popup tool box §3.6: an override-redirect window over the point gives Unknown the popup's input region was one rectangle [0,0,500,400] and the openbox 1x1 windows at -100,-100 read [0,0,1,1], so an input region plus point containment tells a window that takes the pointer from one that does not; with the full popup all 5 candidate points were InterceptedBy and the headed click refused with receives_events occluded by window; with the 300x200 popup the click passed because core's candidate points include one outside it (401,177), which a physical click reaches NEW-EDGE override_redirect_receiving carries the input regions; a window whose region holds the point is CoveredBy, one whose region was not read or misses it stays OverrideRedirectOver
L27-43 Physical position of a GTK4 widget against its AT-SPI window-coordinate position, by an xwd capture of the root and the widget's saturated fill, on a plain python Gtk.ApplicationWindow (client at 440,258, three full-width 42 px buttons with flat red and green fills, openbox, decorated and undecorated) and on GNOME Calculator (libadwaita, client at 460,165; button 9 reported at 608,519 with a physical fill from x 612) tool app §3.6: a GTK4 node is placed at its window-coordinate rectangle moved to the X11 client origin on the plain window the red fill starts at the client origin (x 440, y 258) and Alpha spans 440..839 by 258..299, while AT-SPI reports Alpha at window [16,4,400,42] (a 400 px wide node that ends 16 px outside its 400 px frame [0,0,400,300]) and the adapter at 456,262; the offset is the same decorated and undecorated, _GTK_FRAME_EXTENTS is not set, _NET_FRAME_EXTENTS is 1,1,22,5 and 0,0,0,0; on Calculator the reported rectangle agrees with the fill within the corner rounding (4 px at most). GNOME Files and a private mutter session were not measured NEW-EDGE accepted: AT-SPI and X11 give no source for the offset, so the placement rule cannot correct it; a plain GTK4 window's node positions are 16 px right and 4 px low of the pixels, which the 24 px edge slack absorbs for offscreen and a pointer aimed at the reported centre of a node larger than twice the offset still lands on it
L27-44 Firefox started as the inner snap binary /snap/firefox/current/usr/lib/firefox/firefox (LD_LIBRARY_PATH over the Firefox, gnome-46-2404 and Firefox x86_64 snap library directories, GTK_A11Y=atspi, MOZ_ENABLE_WAYLAND=0, -no-remote, a private profile, a file:// page with a button at the top and one 4158 px down) in a private openbox session, the product's live state read on both buttons; 2 runs dbus + tool app §3.6: derived offscreen decides a Gecko node; L16-15: Firefox cannot run in a private session Firefox registered on the private bus in 2 of 2 runs. The button at y=133 (SHOWING) read states [] and is visible true; the button at y=4158 (not SHOWING) read states ["offscreen"] and is visible false; the page's own scroll position was 0. L16-15 holds for the /usr/bin/firefox snap wrapper only CONFIRMS (L3-27) 3.6: the Gecko offscreen leg is proved in a private session; only the live-session-bus re-run stays with the owner
L27-45 org.gnome.Shell property OverviewActive read on the session bus of a private gnome-shell --x11 (fresh start, after Escape, after Super, after Escape again), then the product's focus_window on a GTK3 window that never held focus (set_focus_on_map(False), _NET_ACTIVE_WINDOW unset) with the overview open and after it was closed, 2 runs; the interface listing shows the property as readwrite, and it was only read dbus box §3.6 and L27-10: a window that has never held focus is not granted, focus it once and retry the property read true on a fresh session, false after Escape, true after Super, false after Escape; with it true the request was refused (activation_not_granted, or activation_refused once another window had been active) and after Escape the same never-focused window was granted on the first request in 2 of 2 runs, so the cause is the open Activities Overview and not a per-window property; a raw click cannot be the fallback while the overview is open, it lands on the overview CONTRADICTS 3.6: the refusal carries details.cause overview_open with the suggestion to close the overview when OverviewActive reads true at the end of the grace; activation_not_granted stays for every other case with a suggestion that names no cause; the property is never written
L27-46 The release binary on a private headless gnome-shell --headless --wayland with GNOME Calculator started as a Wayland client (GDK_BACKEND=wayland, GTK_USE_PORTAL=0), list-windows, focus-window and a headed click @ref; 2 runs each tool app §3.6: a Wayland session gives no position, focus_window refuses with wayland_session, and no hit test claims a verdict list-windows carried no bounds key, so no false position; focus-window answered ACTION_FAILED with details.cause wayland_session and physical_delivery_started false; the headed click never claimed a hit test. A headed pointer action polls until its deadline and ends TIMEOUT, because core treats missing bounds as an unknown gap CONFIRMS (L13-17) 3.6: the Wayland arms of list-windows and focus_window are proved; the TIMEOUT is a core owner item
L30-1 GTK4 menu button, DoAction on outer and inner node, both directions, 2 rounds, 4 buttons (Text Editor Main menu and View, Calculator Main Menu, Files Main Menu and View Options; private Xvfb + openbox; states re-read with the client cache cleared so each read is a fresh GetState) gi-atspi app KTD9: Arm A default; Arm B if the node that takes the action shows pressed flipping both ways and nothing else moves; L3-25 pressed flips, L4-20 nothing changes outer push button (role 43): NActions 0, DoAction(0) fails atspi_error: No action with index 0 in 4 of 4 calls (Text Editor Main menu). Inner toggle button (role 62) child: NActions 1, name click, DoAction(0) returned true on 5 buttons x 2 rounds x 2 directions = 20 of 20 calls. Open: inner pressed and, new, outer expanded (first poll 0.5-0.66 s after the call, still set at 1.2 s); close: inner loses pressed and gains focused, outer loses expanded. Identical on all 5 buttons and in both rounds, no call failed to flip. Popover items are not under the app subtree, so no node-count channel. A root-window pixel hash changed on every call, but it also changes with caret blink and focus ring, so it is no oracle here CONTRADICTS L4-20 is a read-timing artefact (its 0.6 s read sits at the flip edge) and L3-25's "no node reads expanded" is wrong for the outer node: Arm B is selected. DoAction goes to the inner toggle child of a has-popup push button, never the outer; expand and collapse are safe from the opposite state with read-back, poll at least 1.5 s at 0.25 s steps; the outer node may report expanded itself, so U7 needs no extra child read for the state and only the verb node is the child (lane B still edits live_project.rs only if the projection does not already take expanded from the outer node)
L30-2 write error shapes against a destroyed widget: own GTK4 and GTK3 test apps remove or destroy every widget while the app stays alive; DoAction, SetTextContents, InsertText, Text.GetText, Properties.Set, SelectChild by a held (bus name, path) ref; raw D-Bus via python dbus dbus app KTD3 table: UnknownMethod and UnknownInterface arise on a destroyed widget with the app alive GTK4 (4.14.5), 1 run x 5 widgets x all five write methods: every call fails org.freedesktop.DBus.Error.UnknownMethod "Object does not exist at path ..." in 0.00 s, also GetState and Name. GTK3 (3.24.41), 2 runs: every call SUCCEEDS with no error on the destroyed widgets: DoAction true, SetTextContents true, InsertText true, Properties.Set returns none, SelectChild false (0); the app log shows no effect after the removal; GetState returns two zero words and Name is empty, Text.GetText is empty NEW-EDGE GTK4 destroyed object = UnknownMethod with text "Object does not exist": classify as not delivered, element gone (STALE_REF family). GTK3 gives a true with no effect on a destroyed widget (KD3 case): the post-write corroboration must read the node again, and an all-zero GetState word pair is the destroyed signal
L30-3 write error shapes against a SIGSTOPped app: DoAction, SetTextContents, InsertText, Properties.Set on Value, 3 s call timeout, then SIGCONT, 2 rounds each on GTK4 and GTK3, effect read from the app's own log file and a text/value re-read dbus app plan: record error name, elapsed, and whether the write landed after SIGCONT every call on a stopped app returned org.freedesktop.DBus.Error.NoReply ("Did not receive a reply") after exactly the caller's timeout (3.00-3.01 s on every call seen, both toolkits, both rounds). After SIGCONT every one of the calls had LANDED despite the NoReply: GTK3 round 1 and 2: log shows btn-clicked, ent='stopped1', spin=41.0, ent='istopped1' (4 of 4 each round); GTK4 round 1 and 2: btn-clicked in the log, text istopped1 and istopped2 (DoAction, SetTextContents and InsertText landed in both rounds; the GTK4 spin write was sent unsigned in that run and is not counted) NEW-EDGE a deadline spent on a write maps to delivery_uncertain and never to a retryable not-delivered: the call is queued by the bus and executes at SIGCONT (confirms KD3). Never re-send a write after a NoReply without reading the node first
L30-4 write error shape against a killed app (SIGKILL by own pid), DoAction, SetTextContents, Properties.Set, GetState with the held ref, 2 runs per toolkit on GTK4 and GTK3 dbus api-contract plan: ServiceUnknown arises when the whole app is closed by pid every call fails org.freedesktop.DBus.Error.ServiceUnknown "The name :1.N was not provided by any .service files" in 0.00 s (4 of 4 methods x 4 runs). A call in flight while the app dies returns org.freedesktop.DBus.Error.NoReply "Message recipient disconnected from message bus without replying" after 0.11 s CONFIRMS ServiceUnknown = app gone, not delivered; NoReply with the text "recipient disconnected" means the app died during the call: delivery unknown
L30-5 unmapped GLib code and out-of-range action index: GetName(99) and DoAction(99) on a button, DoAction(0) on a push button whose NActions is 0, GTK4 and GTK3 dbus api-contract L14-10: UnmappedGError ... Code13 only for a nonexistent action GTK4: GetName(99) and DoAction(99) fail org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code13 "Unknown action 99" (0.00 s), no effect in the log. DoAction(0) on the GTK4 outer menu push button (NActions 0) also failed through libatspi with "No action with index 0" (raw error name not captured). GTK3: DoAction(99) returns TRUE with no effect and GetName(99) returns the empty string, no error CONFIRMS L14-10 holds: Code13 means no such action index, and it is a not-delivered, not-supported outcome. Never pass an index that NActions and GetName(i) did not list; GTK3 answers true to a bad index, so the index must be validated by the adapter
L30-6 read-only text and Value write acceptance, GTK4 and GTK3 own apps: read-only entry (READ_ONLY / no EDITABLE), meter, progress bar, level bar; effect from the app log and a re-read dbus app plan: read-only Value (Settings meter) and read-only text GTK4 read-only entry (state read-only, no editable): SetTextContents, InsertText, DeleteText each return FALSE, text unchanged (3 of 3 methods). GTK3 read-only entry (neither editable nor read-only bit): SetTextContents, InsertText, DeleteText each return TRUE, text unchanged (3 of 3). GTK4 meter and progress bar: Properties.Set returns no error and no value change, no app event (2 of 2, 2 runs). GTK3 progress bar: no error, no change; GTK3 level bar: no error and the value IS stored (3.0 to 5.0) NEW-EDGE A read-only Value write is a silent OK with no effect: only the read-back can tell, so set-value must read back and report ACTION_NOT_SUPPORTED or a mismatch, never success. Editability is the editable bit, not the absence of read-only (GTK3). GTK4 refuses read-only text with false, GTK3 lies with true
L30-7 Value.CurrentValue write with the correct ssv variant signature, GTK4 and GTK3 own apps: spin button (step 1 and 0.5), slider; set 12, 12.5, 1000, 12 dbus api-contract KTD12: fractional commit, MinimumIncrement; L4-17, L23-27 Properties.Set returns no value on all; GTK4 and GTK3 spin step 1 (digits 0): 12 stored, 12.5 stored as 12.5 and the app fires spin=12.5 (not snapped), 1000 clamped to 100; slider 12.5 stored as 12.5, 1000 clamped to 100; the 0.5-step spin: 12 clamped to 10. MinimumIncrement: GTK4 reads 0.0 on spin, spin05 and slider (unreadable), GTK3 reads 1.0, 0.5 and 1.0. A call whose variant is sent with the wrong D-Bus signature (a bare double, not a variant) fails on GTK4 UnknownMethod "No such interface org.freedesktop.DBus.Properties" and on GTK3 was followed by the app disconnecting from the bus mid-call (NoReply "recipient disconnected" after 0.11 s; a level bar in one run and a destroyed spin button in another) NEW-EDGE the setter must send an ssv variant holding a double; a wrong signature is UnknownMethod on GTK4 and can crash a GTK3 app, so it is never a probe-by-trial. KTD12: GTK4 gives no MinimumIncrement (0.0), so a GTK4 spin has no whole-number refusal source and carries no verified; GTK3 does give it
L30-8 text writes and the password case, GTK4 and GTK3 own apps: SetTextContents, InsertText(1,'ZZ',2), DeleteText, caret and GetText on entry, invisible entry, PasswordEntry (GTK4), password entry (GTK3), text view dbus app KTD11: rung two kept only if a toolkit rejects rung one and accepts it; plan: secure signal per toolkit SetTextContents landed with a read-back on every editable text on both toolkits (GTK4 5 of 5, GTK3 4 of 4): rung two is NOT needed on GTK. InsertText lands and does not advance the caret to the end of the inserted text: GTK4 entry caret stays 0 and the text view caret 10 to 4 (follows the buffer), GTK3 entry 0 to 3. GTK4 password signal: none. PasswordEntry and an Entry with visibility off both have role text box, states editable focusable sensitive showing, no password role, the attribute map holds only toolkit; GetText returns the plain text for the invisible entry (secret2, a leak) and "" for the empty PasswordEntry. GTK3 password signal: role password text (role 40 name), GetText returns bullets (•••••••), SetTextContents('X1') lands as two bullets NEW-EDGE GTK4 has no reliable secure signal, so a GTK4 text-field write is reported with no read-back and no verified and a GTK4 GetText of a text box may carry a secret (never copy it into an envelope for a field whose GetText is not known plain). GTK3 is secure by role password text. Rung two is not needed on GTK3 or GTK4
L30-9 Qt DoAction effects, own PyQt6 app started as the repo live tests start it (qtvenv python, QT_ACCESSIBILITY=1, QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1, xcb): push button, check box, radio button, each action index twice, effect from the app's own signal log and a fresh GetState dbus app plan probe 2: Press, Toggle, SetFocus on Qt push button actions Press, SetFocus; Press returned true and fired the clicked signal 4 of 4 (2 buttons x 2 rounds x 2 runs), no state bit moves. Check box actions Toggle, Press, SetFocus: Toggle flips CHECKED on then off with the toggled signal each time (2 runs x 2), Press also flips it both ways (2 runs x 2); the box starts without FOCUSED and Press adds it. Radio button actions Toggle, SetFocus (no Press): Toggle flips CHECKED on then off (a lone radio unchecks, 2 runs x 2). SetFocus returned true on all and added FOCUSED on the radio and the victim button, but on the check box it left or dropped FOCUSED (before FOCUSED, after not, in both runs), so the state is not a reliable proof of focus on Qt. Slider actions SetFocus, Increase, Decrease; scroll bar Increase, Decrease only; spin box SetFocus, Increase, Decrease; all nodes also carry an Action interface with SetFocus and the frame has an empty action list NEW-EDGE Qt keeps Press for push buttons, Toggle for check and radio (name Press on a check box also toggles, so the verb must come from the role and not from the first name), both verified by checked read-back. A Qt SetFocus result must be corroborated by a fresh focused read and may not be reported as verified from one read
L30-10 Qt write error shapes, own PyQt6 app, 2 runs: a button destroyed by deleteLater while the app stays alive (DoAction, GetState, GetRole, SetTextContents, InsertText, Properties.Set on Value), and the app stopped by SIGSTOP (DoAction, SetTextContents, Properties.Set on Value; 3 s call timeout, then SIGCONT, 2 rounds per run) dbus app plan probe 3: destroyed widget on Qt; SIGSTOP landed or not destroyed widget: every call except one fails org.freedesktop.DBus.Error.UnknownObject "No such object path" (DoAction, GetState, GetRole, SetTextContents, InsertText; 5 of 5 in both runs, no effect in the app log). Properties.Set on the Value interface of the destroyed path fails org.freedesktop.DBus.Error.UnknownInterface "Interface org.a11y.atspi.Value was not found in object" in both runs (the same path, a different name from the other calls). The app prints qt.accessibility.atspi: Could not find accessible on path on stderr for each lookup. SIGSTOP: every call returned org.freedesktop.DBus.Error.NoReply after 3.0 s (3 of 3 calls x 2 rounds x 2 runs) and after SIGCONT every one had LANDED (log: btn-clicked, plain=stopN, slider=4N; 12 of 12) CONFIRMS Qt destroyed = UnknownObject (new name, not seen on GTK: GTK4 gave UnknownMethod, GTK3 gave true), and UnknownInterface can come from a destroyed path as well as a missing interface, so KTD3's classifier must map UnknownObject, UnknownMethod and UnknownInterface all to not-delivered, element gone, never to "interface unsupported". NoReply after the full timeout = delivery uncertain, as on GTK (L30-3)
L30-11 Qt text writes, read-only and password, own PyQt6 app, 2 runs: plain QLineEdit, QLineEdit with EchoMode.Password, QLineEdit setReadOnly(true); SetTextContents, InsertText(0,'ZZ',2), DeleteText(0,1) each twice, effect from the app's textChanged log and a fresh GetText, caret from CaretOffset dbus app plan probes 3 and 4: Qt password and read-only all three entries have EditableText and state EDITABLE. Plain: SetTextContents, InsertText, DeleteText each land and read back (3 x 2 rounds x 2 runs), the caret after the sequence reads 3 and follows the text. Password: role number 40 (password text), states identical to the plain entry (no extra bit), attributes empty; GetText returns bullets of the true length (••••••• for 7 characters); SetTextContents of X1 really lands in the app (log pw=X1) while a re-read shows two bullets, InsertText and DeleteText land likewise. Read-only: state EDITABLE AND READ_ONLY both set; SetTextContents, InsertText and DeleteText all return true AND LAND in the app (log ro=X1, ro=ZZX1, ro=ZX1; 6 of 6 per run), GetText shows the new text NEW-EDGE Qt is secure by role 40, as GTK3. Qt does NOT enforce READ_ONLY on the AT-SPI write path: the adapter must itself refuse a write on any node that carries READ_ONLY (a refusal before the call, not read-back), because nothing in the reply or the toolkit stops it. GetText on a password field returns bullets, so a read-back cannot confirm a secret write: the secure path reports delivered with no verified and checks only the character count
L30-12 Qt Value writes, own PyQt6 app, 2 runs: QSlider and QScrollBar (range 0 to 100, step 1); Properties.Set CurrentValue with 12, 12.5, 1000, 12; MinimumIncrement; effect from valueChanged log dbus app plan probe 5: scroll bar CurrentValue write on Qt slider and scroll bar: Set returns no error and lands: 12 stored; 12.5 stored as 13 (rounded to the integer step, app fires 13); 1000 clamped to 100; back to 12 (2 runs x 2 widgets x 4 writes, all equal). MinimumIncrement reads 1.0 on both. Slider actions Increase and Decrease also exist; scroll bar has Increase, Decrease and no SetFocus. The test app has no scrollable content, so whether a scroll bar write realises virtual content is not measured here. The QSpinBox was not found by role name spin box in my pick (role 52, interfaces Text, EditableText, Value) and its write is not measured NEW-EDGE Qt gives a real MinimumIncrement and snaps a fractional write to it (12.5 to 13), so a write that differs from the read-back by less than one increment is verified with a snap note, not a failure; a scroll bar accepts Properties.Set on Qt, so the table needs no toolkit input for Qt scroll bars. Spin box and virtual-content realisation stay open
L30-13 Gecko DoAction effects, snap Firefox inner binary started directly (snap library path, GTK_A11Y=atspi, MOZ_ENABLE_WAYLAND=0, -no-remote, private profile with the welcome page prefs off), own page loaded from a file:// path (a data: URL on the command line opened about:newtab instead, 2 runs); button, check box, link; each action twice; effect = the page's own JavaScript log div read back through the document's Text interface, plus a fresh GetState dbus app plan probe 2: Gecko switch, check button actions ["press"]: DoAction true and the page's click handler ran 2 of 2 in each of 2 runs, then FOCUSED appears on the first call. Check box actions ["check"] only (no uncheck): the same single action toggled CHECKED on and then off, the page's change handler logged chk=true then chk=false (2 of 2 per run, 2 runs). Link actions ["jump"]: DoAction true, the click handler ran 2 of 2 per run. A <label> for the box carries action click; an <img> in a link carries clickAncestor; the range slider carries no action, an entry and a password input carry activate (focus only, the state gains FOCUSED). Gecko state sets also carry SELECTABLE_TEXT and OPAQUE on nearly every node CONFIRMS Gecko: press clicks a button, jump clicks a link, and the lone check TOGGLES (it is also the uncheck), so for Gecko the verb for a checkable node comes from the CHECKABLE state and the single name check serves toggle, check and uncheck alike, each verified by checked read-back. activate on text is focus, not a click
L30-14 Gecko text writes and password, same Firefox and page, 2 runs: text input and type=password input (initial values plain and hunter2, also empty in an earlier run); SetTextContents and InsertText(0,'ZZ',2) twice each, once before and once after a DoAction activate focus; effect = the page's setInterval mirror div (the input's JavaScript value), GetText, CharacterCount, caret; positive control = real keystrokes (xdotool type abc into the focused input) which did land (mirror abcplain, GetText abcplain, caret 3) dbus app plan probe 4: Gecko text writes, EditableText against EDITABLE (L3-17), password role SetTextContents and InsertText BOTH RETURN TRUE and have NO EFFECT, on the plain and the password input, focused and unfocused, empty and non-empty (every call 2 runs x 2 rounds x 2 inputs, plus 2 after-typing calls): the page value, GetText and CharacterCount never change and no input event fires. EditableText is present on the entry and on nearly every other Gecko node (section, landmark, heading, link; the check box and slider lack it), so interface presence is no sign of a working write. Password input: role number 40 (password text), states the same as the plain entry minus SUPPORTS_AUTOCOMPLETION, attribute text-input-type = password (the plain input has no such attribute, only explicit-name); GetText returns bullets of the true length (••••••• for hunter2, 10 bullets for abchunter2), CharacterCount is the true length, CaretOffset -1 before focus and 0 after NEW-EDGE Gecko text writes through EditableText are a silent true with no effect, so a Gecko text type and set-value must NOT trust the return value: the post-write read-back mismatch has to produce a failure or a keyboard fallback, never ok. The secure signal on Gecko is role 40 and the text-input-type=password attribute, as on GTK3 and Qt; GetText is bullets, so the read-back cannot confirm a secret and the character count is the only check
L30-15 Chromium text writes, password and Value, google-chrome with ACCESSIBILITY_ENABLED=1 and --force-renderer-accessibility (repo note: the env var alone gave no windows), --no-sandbox, private --user-data-dir, own page from a data: URL, 2 runs; GetText, SetTextContents, InsertText on text and password inputs; Properties.Set on a type=range input; page-side oracle = the page's own JavaScript log div and input-value mirror read back through Text dbus app plan probes 4 and 5: Chromium password role, state, GetText; Chromium text writes; Chromium scroll bar Chromium text and password inputs have NO EditableText interface (interfaces Accessible, Action, Component, Text, Collection, Document, Hyperlink): SetTextContents and InsertText fail org.freedesktop.DBus.Error.UnknownMethod ("Method SetTextContents with signature s on interface org.a11y.atspi.EditableText doesn't exist"; 2 rounds x 2 inputs x 2 runs), page value unchanged. Password input: role 40 (password text), states equal to the plain entry (EDITABLE ENABLED FOCUSABLE SENSITIVE SHOWING SINGLE_LINE VISIBLE SELECTABLE_TEXT), attribute text-input-type = password (plain input: text); GetText returns bullets of the true length (7 for hunter2) and CharacterCount is 7; the plain input GetText is plain. The type=range input (role 51 slider, interfaces include Value): Properties.Set lands: 12 stored, 12.5 stored as 13 (snapped to the page step 1), 1000 clamped to 100, and the page logged rng=12, rng=13, rng=100, rng=12 (2 runs); MinimumIncrement reads 0.0; the slider also lists decrement and increment actions. A scrollable div exposes no scroll bar node (0 nodes in 2 runs; its actions are scrollUp, scrollDown, scrollLeft, scrollRight, scrollForward, scrollBackward), so a scroll bar CurrentValue write on Chromium web content has no target NEW-EDGE Chromium has no write path through EditableText at all, so a Chromium text field is written only by focus plus keystrokes or by Text-only fallback; the adapter must check the interface list before it offers a write verb. The secure signal on Chromium is role 40 and text-input-type=password. Value writes work and snap; MinimumIncrement 0.0 on Chromium is unreadable, as on GTK4. The scroll bar toolkit input is not needed for Chromium web content (scrolling is scroll* actions on the container); a Chromium scroll bar write is not measurable here
L30-16 Gecko Value write on a type=range input, same Firefox and page, 2 runs: Properties.Set CurrentValue 12, 12.5, 1000, 12 and MinimumIncrement; effect from the page's input event log dbus app plan probe 5: Value on Gecko 12 stored, 12.5 stored as 13 (snapped to the page step), 1000 NOT stored: the read-back stays at 13 and the page logs no event, with no error (2 of 2 runs); then 12 stored again. MinimumIncrement reads 1.0 (the page step). No scroll bar node on Gecko web content (0 nodes in 2 runs) NEW-EDGE Gecko ignores an out-of-range Value write silently (no clamp, no error), unlike Qt, Chromium and GTK which clamp: only the read-back shows it, so set-value must compare the read-back to the request and report out of range, never ok. Gecko gives a real MinimumIncrement
L30-17 GTK4 secure-signal follow-up, own python gi app (GTK 4.14.5, libadwaita 1.5.0, 2 runs): Gtk.PasswordEntry (with and without the peek icon), Gtk.Entry with visibility off, the same with InputPurpose.PASSWORD, InputPurpose.PIN, Adw.PasswordEntryRow, Adw.EntryRow, plain Gtk.Entry, Gtk.TextView; raw GetRole NUMBER, GetRoleName, GetLocalizedRoleName, GetState, GetAttributes, GetInterfaces, AccessibleId, GetRelationSet for each node, its parent and its ancestors up to the application; GetText with end offset -1 and with end offset CharacterCount dbus app L30-8: GTK4 PasswordEntry is a plain text box with no password state Gtk.PasswordEntry has raw role number 40 (password text) although GetRoleName and GetLocalizedRoleName both say text box; every other GTK4 entry here has role 61 (text): invisible Entry, Entry with InputPurpose.PASSWORD, PIN entry, Adw.PasswordEntryRow inner node, Adw.EntryRow inner node, plain entry. States, interfaces (Text, EditableText, Action) and attributes (toolkit=GTK only, on the node and on every ancestor) are identical across all of them; AccessibleId is empty; the PasswordEntry parent is a role 39 generic box, and its ancestors are role 39 and the frame (role 23), nothing carries a password hint. GetText(0,-1) over raw D-Bus returns the empty string on the Gtk.Entry and Gtk.PasswordEntry nodes (the TextView and the inner nodes of the libadwaita rows answer it correctly) and only GetText(0,CharacterCount) returns text there; with the true count the PasswordEntry returns the PLAIN secret (hunter2, peekme), as do the invisible entry (invis1), the purpose-PASSWORD entry (purpose1) and the Adw.PasswordEntryRow inner node (rowsecret); the Adw.PasswordEntryRow parent is a list item (role 32) with Text and EditableText whose own GetText is the same secret, and the row holds a sibling button named Show Password. Peek PasswordEntry has an image child named Show Text; the non-peek one has no child NEW-EDGE The only GTK4 secure signal is the raw role number 40, on Gtk.PasswordEntry alone, and the adapter must read the role number, not the name: the name says text box. It misses the invisible Entry, InputPurpose.PASSWORD and Adw.PasswordEntryRow, which have no signal on the node, the parent or any ancestor (a weak, localised heuristic exists only for the libadwaita row: a sibling button named Show Password). So a GTK4 text-box that is not role 40 may still hold a secret, and GetText with a true count leaks it: the earlier rule stands (no copy of a GTK4 GetText into an envelope, no verified), narrowed so that role 40 is a certain secret and role 61 is unknown. Also, never read a Gtk.Entry node with end offset -1 over raw D-Bus: it gives an empty string that looks like an empty field (read CharacterCount first). The libadwaita result comes from an own libadwaita 1.5.0 app; no stock app with a password row was driven
L30-18 select structure, own GTK3 (3.24.41) and PyQt6 apps, 1 run, structure and actions only (no select was fired): combo box, list box, notebook / tab widget; role number, filtered states, interfaces, GetName(i) per node, NSelectedChildren dbus app plan probe 6 (second half): GTK3 combo or notebook structure for select; Qt combo and list GTK3 ComboBoxText: combo box (role 11, name = current text, action press, Selection nsel=1) holds a menu (role 33, Selection) holding menu item children (role 35, SELECTABLE, action click, one per choice, present while closed). GTK3 ListBox: list box (role 98, Selection, MANAGES_DESCENDANTS) with list item children (role 32, SELECTABLE, no actions, no interfaces; the text is in a label grandchild, the item name is empty). GTK3 Notebook: page tab list (role 38, Selection nsel=1) with page tab children (role 37, SELECTABLE, SELECTED on the active one, no action). Qt QComboBox: combo box (role 11, EXPANDABLE, actions ShowMenu, Press, no Selection) holds a list (role 31, Selection, Table, nsel=1) of list item (role 32, SELECTABLE, SELECTED on the current, action Toggle). Qt QListWidget: list (role 31, Selection, Table, nsel=0) of list item with action Toggle. Qt QTabWidget: page tab list (role 38, Selection) with page tab children (role 37, action Press) next to two Scroll Left and Scroll Right buttons NEW-EDGE The GTK3 combo is a real select target: its choices are menu item nodes with click, readable while closed, so select-by-display-value needs no pointer open (verify the effect by the combo name). Qt combo and list choices carry Toggle; the tab choices carry Press (Qt) or only Selection.SelectChild on the parent (GTK3), so a select over a page tab takes the parent selection route on GTK3. This measures structure only: the effect of each verb, the multi-select rule (L4-7) and ClearSelection are not measured here. The Files tree-view disclosure target was not driven in this run
L30-19 reconcile L30-8 and L30-17 with the shipped live test live_read_a_password_value_is_withheld_on_gtk3_gtk4_and_qt (GTK4 expects exactly 1 exposed field): which GTK4 node carries which raw role number, and whether an inner text child is reachable (source read plus the L30-17 tree dumps, 2 runs; no new box run) dbus app live test: PasswordEntry found SECURE (role 40), only the set_visibility(False) entry exposed The GTK4 accessible tree has NO inner GtkText child under Gtk.PasswordEntry or under Gtk.Entry: the outer widget node is the only text node (interfaces Text, EditableText, Action, no children). The PasswordEntry has a child only when the peek icon is on, and that child is an image named Show Text. So the outer Gtk.PasswordEntry node has raw role 40 and the test reads that same node, and L30-8 recorded the role NAME text box, which GTK returns for role 40 too. The Gtk.Entry with visibility off is role 61, its parent is a role 39 box, and no node, state, attribute or interface differs from a plain entry: it has no signal at all, which is the 1 exposed field the test expects. The same holds for InputPurpose.PASSWORD and the inner node of Adw.PasswordEntryRow (role 61, GetText returns the plain secret; its parent list item, role 32, reads the same secret) CONFIRMS L30-8's "no password signal on GTK4" is wrong for Gtk.PasswordEntry (role 40, name hides it) and right for the invisible Entry, InputPurpose.PASSWORD entries and libadwaita password rows. No inner child leaks: the leak is the role 61 nodes above, where GetText with the true count returns the plain text. The shipped withholding is correct for role 40; the invisible Entry and the libadwaita password row remain an unfixable leak by role and need a heuristic or a documented limit
L30-20 GTK4 Gtk.CheckButton action list, own python gi app (GTK 4.14), GetActions and a headless toggle through the release path dbus app §3.7: toggle and check act through an advertised verb the check button answers GetActions with an empty list (no Action entry at all), while the toggle state itself changes by the pointer; Toggle therefore resolves no verb: ACTION_NOT_SUPPORTED with semantic_verb: absent and nothing written, and a Click on it goes to the physical seam with physical_delivery_started: false NEW-EDGE a GTK4 check button is reachable only by the pointer or the keyboard; the semantic tier refuses it by name and the input tier owns it
L30-21 Qt DoAction with an index the node does not have (index 99) on a live check box, own PyQt6 app dbus app §3.7: an out-of-range action index falls to the next rung the call fails org.freedesktop.DBus.Error.UnknownObject on a node that still answers GetRole; the write classifier therefore reads the node once more, finds it alive and reports the affordance absent (Absent), where a destroyed node gives the same error name and is STALE_REF NEW-EDGE a single UnknownObject is never enough to call a node gone: the corroborating GetRole decides
L30-22 A widget destroyed while its application stays alive, DoAction and the release-path click, GTK3, GTK4 and Qt own apps dbus app L30-10; §3.7: a destroyed widget is STALE_REF GTK3: DoAction answers true, the object keeps answering GetRole but its GetState is two zero words and its Parent is the null path (L30-2), so the node read answers STALE_REF, not_delivered before any write; GTK4: UnknownMethod; Qt: UnknownObject; for GTK4 and Qt the corroborating GetRole also fails and the answer is STALE_REF, not_delivered, retry: safe, in 0 to 1 ms CONFIRMS GTK3 is the one toolkit where only the read-back can tell, and it does: no success is reported
L30-23 Where a Qt application's accessible objects live, own PyQt6 app, GetChildren on the registry root against the bus names that own the windows dbus app §3.7: the target's bus-owner pid check a Qt process shows more than one bus connection under the registry; only the connection that owns the window answers for its nodes, so a lookup by process id alone can land on the other one and find no window NEW-EDGE window lookup picks the connection whose owner pid matches and whose root has a child
L30-24 A killed application, DoAction after SIGKILL, GTK3, GTK4 and Qt own apps, 3 s call timeout dbus app §3.7: an application that left is STALE_REF the call fails org.freedesktop.DBus.Error.ServiceUnknown ("The name was not provided by any .service files") in 0 to 1 ms; one earlier run saw NoReply about 3 ms before the name vanished from the bus NEW-EDGE ServiceUnknown and NameHasNoOwner at send are STALE_REF, not_delivered, retry: safe; a NoReply is never read as gone without the daemon's answer
L30-25 Select by display value on a GTK3 ComboBoxText (click on the closed menu item against Selection.SelectChild on the combo) and on a Qt QComboBox and QListWidget, effect from the app's own signal and the AT-SPI name and SELECTED dbus app L30-18; §3.7 R11 GTK3: click on the menu item of the closed combo answers true and the combo stays on its old value; SelectChild(index) on the combo box itself sets it (status signal combo:beta, name beta); Qt QComboBox: Toggle on the list item of the closed popup answers true and nothing moves, SelectChild on its list the same; Qt QListWidget: SelectChild on the list selects the item (SELECTED set, selection signal fires) NEW-EDGE select on a combo box sends SelectChild to the combo with the item's index; a Qt popup takes no semantic selection: also after Press opened it, SelectChild on the list and Toggle on the item answered true and the combo stayed on alpha, so the answer is ACTION_FAILED, not_delivered, write_ignored
L30-26 Click, check and uncheck on a page in Google Chrome and in Firefox, both through the release path, the page's own document.title as the oracle read from the window Name dbus app L30-13; §3.7: web checkbox and button verbs Chrome: the button takes click and the title becomes TAG:clicked; the check box takes check and uncheck and the title and the CHECKED state follow. Firefox: the same page; the check box advertises the single name check, which flips the state in both directions, so uncheck through it lands and is verified by the CHECKED read-back CONFIRMS uncheck and toggle accept the lone check name after the named verbs
L30-27 The Calculator Main Menu button after expand, release path, snapshot before and after dbus app §3.7: expand and collapse a popup button through its inner toggle the push button has one child (the inner toggle) while closed and two once the popover is open; with a one-child rule only, collapse after expand lost its Collapse token and was refused ACTION_NOT_SUPPORTED; with the second child allowed while EXPANDED is set, both directions run and the EXPANDED state read from AT-SPI follows each NEW-EDGE a popup button keeps Expand and Collapse while it has the inner toggle plus the open popover
L30-28 A top-level QWidget without a QMainWindow, own PyQt6 app, list-windows and snapshot --app through the release path dbus app §3.7: a Qt window is a ref target raw GetRole of the child of the application root: a QMainWindow is role 23 (frame), a plain QWidget is role 20 (filler); both carry Component, Action, and states ACTIVE ENABLED SENSITIVE SHOWING VISIBLE plus bit 21; the lister read only the frame role, so list-windows returned no plain QWidget and snapshot answered WINDOW_NOT_FOUND; the same widgets inside a QMainWindow listed and acted normally (click, toggle, select, set-value and headed focus all verified by an AT-SPI read) NEW-EDGE a filler child of an application root that is SHOWING and VISIBLE and has Component is a top-level window; both kinds are listed by a live test
L30-29 Settings sidebar select and Files cell click through the release path dbus app L4-9; §3.7: no success without proof Settings: SelectChild on the categories list answers true and the read-back shows the old row still selected, so the result is ACTION_FAILED, not_delivered, write_ignored; Files: the grid cells carry no action, so click is refused POLICY_DENIED (direct semantic delivery unavailable, physical delivery needs --headed) and select on the table is verified by the cell's SELECTED state CONFIRMS a navigation row that does nothing is reported as unproven, never as done
L30-30 scroll-to on Btn 250 of a 300-button Chrome page, release path, SHOWING read from AT-SPI before and after dbus app L27-36; §3.7: ScrollTo wraps 3.6's ladder before: SHOWING false; after: true, delivered_verified; on a node already on screen the result is satisfied_without_delivery and the ladder is not called CONFIRMS scroll-to is an action, no longer a not-supported stub
L30-31 Chrome <input readonly>, <input disabled>, release snapshot, state bits read through AT-SPI gi-atspi app §3.3: canonical disabled is a node with neither ENABLED nor SENSITIVE Chromium sets neither bit on a read-only input that is enabled (it carries read-only and focusable), and on a disabled input (no focusable, no read-only), so the 3.3 rule reported ["disabled","readonly"]; after the fix the read-only input reports ["readonly"] and the disabled one ["disabled"] CONTRADICTS a node with READ_ONLY set is never disabled (§3.3 states bullet corrected in place)
L30-32 Files grid, select on the table for dirB then f1.txt, release path, selected children read through AT-SPI dbus app §3.7: select picks the item the table is not MULTISELECTABLE yet accepts SelectChild as an addition: both rows stayed selected (NSelectedChildren 2); ClearSelection, DeselectChild and DeselectSelectedChild all answer true on GTK4; after the fix the second select leaves f1.txt alone selected (NSelectedChildren 1) and a third select of dirA leaves only dirA CONTRADICTS select replaces the selection: clear and reselect when more than one child is selected, verified only when exactly one remains
L30-33 Chrome button, select with a one-character value and with its own name, release path dbus app §3.7: a select with no route is ACTION_NOT_SUPPORTED a node with inner nodes and no Selection interface answered ELEMENT_NOT_FOUND with the length of the value in the text; after the fix both calls answer ACTION_NOT_SUPPORTED, selection_route: absent, and no select error text carries a length CONTRADICTS the search tracks whether any inspected node was selectable; a non-selectable target is refused as unsupported
L30-34 Settings Mouse Acceleration switch (role 7, one toggle action), click through the release path, checked read from AT-SPI before and after, twice dbus app §3.7: click tries the click verbs; a node with none goes to the physical seam before the fix click answered POLICY_DENIED (supported_action failed: the node carried only the Toggle capability); after it click answers delivered_verified and checked flips off then on across two calls CONTRADICTS a toggle-only switch carries Click and click runs the toggle path (§3.7 verbs bullet)
L30-35 disabled Chrome <button disabled> and disabled Calculator button, click through the release path gi-atspi app §3.4: capability tokens come from the advertised action names the disabled Chrome button advertises only doDefault, which maps to no capability, so the preflight failed supported_action and enabled together and answered POLICY_DENIED; the disabled Calculator button keeps click and answered TIMEOUT with enabled failing; after the fix the Chrome button answers TIMEOUT with enabled the only failing check and supported_action passing CONTRADICTS a disabled pressable node carries Click, so a disabled element answers the same on every toolkit
L30-36 Chrome <select> with three options, select for Two then Three through the release path, selected read from the menu items through AT-SPI gi-atspi app §3.7: select goes through SelectChild or the item verb the menu answers SelectChild with false and the menu items carry select; the combo Text is a lone object replacement character U+FFFC; before the fix the chain ended All chain steps exhausted with only the label list, and once the verb ran the combo text read as a mismatch and the select failed write_ignored although the item was selected; after the fix the rung Selection.SelectChild is skipped, Action.DoAction succeeds, delivered_verified, and only the chosen item reads selected CONTRADICTS the item verb is the second rung; an unreadable combo text is no evidence; exhaustion carries details.rungs
L30-37 zenity --forms --add-combo (GTK4 GtkDropDown), tree measured closed and open, then select for Beta and Gamma through the release path with the toggle label read through AT-SPI gi-atspi app §3.7: select goes through the item verb or SelectChild; L14-10: a combo exposes no choices closed: a combo box with has-popup, no actions, no Selection, and one toggle child whose subtree shows only the current value; open: a list box with the action default.activate holding a list with Selection and one list item per choice (listitem.scroll-to only); SelectChild on the list marks the row selected and leaves the toggle label unchanged; DoAction default.activate on the list box then sets the label and closes the popup (expanded false); after the fix select answers delivered_verified, the label reads Beta then Gamma, an unknown value answers ELEMENT_NOT_FOUND with the popup closed CONTRADICTS the drop down is selected through open, SelectChild and the popover default action, judged by the toggle label
L30-38 GTK 3, GTK 4 and Qt 6 line edits, EditableText.InsertText(0, text, length) for é, 😀, e plus U+0301 and a mixed string with the length in UTF-8 bytes, in code points and in UTF-16 units, text read back through Text.GetText gi-atspi app ATK: InsertText length is in bytes (§3.7 text writes) GTK 3 inserts the whole text only with the byte length (a code-point or UTF-16 length truncates: é gives empty, 😀 gives empty); GTK 4 inserts the whole text with any of the three; Qt inserts it only with the UTF-16 length: the byte length leaves garbage after the text (é gives é plus a stray character, 😀 gives 😀 plus two stray characters) and the code-point length truncates 😀; through the release binary type of é, 😀 and e plus U+0301 into the Qt line edit now reads back exactly CONTRADICTS the InsertText length is UTF-16 units on Qt and bytes elsewhere; the live type test reads back exact text on GTK 3, GTK 4 and Qt
L30-39 Firefox 158 (snap) page with a text input and a password input, set-value, type and clear through the release path, before and after the refusal gi-atspi app L30-14: Gecko EditableText writes have no effect before the fix set-value on the password input answered ok: true, delivered_unverified although L30-14 measured that Gecko applies neither SetTextContents nor InsertText; the application root of Firefox reads ToolkitName Gecko; after the fix set-value, type and clear on both inputs answer ACTION_NOT_SUPPORTED, not_delivered, cause toolkit_ignores_editable_text CONTRADICTS a Gecko text write is refused before the call, detected by the toolkit name of the application root, so 3.8 physical typing takes over
L30-40 GTK 3 ComboBoxText named combo through set_name, select for beta, gamma, alpha, gamma on one snapshot, the application state file written from get_active_text() every 100 ms as the oracle, and Selection reads on the combo gi-atspi app §3.7: a select is judged by the combo value or the item selected state the combo carries Selection; no menu item ever reads selected; the combo name is the label, not the value; GetSelectedChild(0) and IsChildSelected(i) on the combo follow the application (alpha, gamma, beta after each SelectChild); before the fix the name mismatch outranked everything and 4 of 4 selects that landed answered ACTION_FAILED write_ignored, retry: safe; after the fix 4 of 4 answer delivered_verified and the state file moves with each call; the Settings sidebar still answers write_ignored because the container read is used for a combo only CONTRADICTS a combo is verified by its own selection read; its name never counts against the wanted value
L30-41 Chrome page with <select aria-label=sel> and an unlabelled <select>, select through the release path, page title and selected items as the oracle gi-atspi app L30-40: a combo name is never evidence against the wanted value where it can be a label the labelled combo is named by its aria-label, so the name sel mismatched two and three: the select landed (title and selected item changed, 4 of 4) but answered ACTION_FAILED write_ignored, retry: safe; after the fix both the labelled and the unlabelled combo answer delivered_verified for every option CONTRADICTS only Qt counts the combo name against a select; elsewhere the selected child decides
L30-42 GTK 4 apps in a private headless Wayland shell, live is visible, click, toggle and set-value, reported by the final E2E; the Linux half measured by unit tests only dbus app §3.6: offscreen needs a rectangle GTK 4 under Wayland reports no global position, so no rectangle can be proved and the live read left offscreen and hidden unknown; core then reports visible unknown and the semantic actions end TIMEOUT; the adapter now gives a node with VISIBLE and SHOWING on a mapped, non-iconified frame offscreen: false and hidden: false and invents no rectangle; core's visibility gate now passes visible without bounds when no geometry is required and offscreen is known false. In a headless Weston (kiosk shell, native Wayland GTK 4 fixture) the release binary lands click (app counter 0 to 1) and set-value (field reads hello); toggle first ended TIMEOUT (core asked bounds for visible and stable of every non-pointer semantic action) and lands once the core gates pass both for a known on-screen node with no bounds NEW-EDGE the Wayland claim rests on the toolkit flags only; the claim rests on the toolkit flags only
L30-43 Firefox 158 page with <select aria-label=sel> whose onchange and oninput write document.title and a 200 ms timer that writes the select value into the title; three routes through AT-SPI (Selection.SelectChild on the listbox, DoAction select on the item, combo open then item verb), 2 page loads; then select for a missing value 10 times on the release path gi-atspi app §3.7: a select is verified by the selected state SelectChild moves the select value (title shows V=three) and fires no change or input event (title keeps E=auto, the timer-written event log); the item verb answers true and changes nothing (item one stays selected, V=one); opening the combo first changes nothing; so no route fires change; the select now answers delivered_unverified with no verified; a missing value answered ELEMENT_NOT_FOUND in 10 of 10 runs in 0.03 s each, so the one earlier TIMEOUT did not recur and is put down to a page still building its tree CONTRADICTS a Gecko select is delivered_unverified; the page logic that listens for change does not run

Area L28 — input synthesis (sub-phase 3.8)

id probe stack scope phases.md expectation observed verdict action
L28-1 XTEST presence and key delivery, Xvfb + openbox and private gnome-shell --x11 (mutter), GTK 3.24, GTK 4.14, Qt 6.11 (PyQt6), each app logging its own key events tool api-contract §3.8 R1/R3: XTEST keys land on a window once its frame is active XQueryExtension("XTEST") true on both servers. After _NET_ACTIVE_WINDOW named the target, hello typed through XTestFakeKeyEvent read back hello then hellohello (run 1, run 2) on all three toolkits under openbox; under mutter ab read back ab on all three after the target was active. Failing direction: with a second GTK3 window active, zz reached only that window (decoy text zz, 2 key events) and the target logged 0 key events and empty text (3 of 3 toolkits, both mutter runs; openbox the same) CONFIRMS 3.8: the window_active gate is the right precondition; XTEST follows the active window on X11, not the target ref
L28-2 gnome-shell --x11 private session at start-up tool box §3.8 plan: Text Editor "never focused" cause is the window manager A fresh private mutter starts with the Overview open: _NET_ACTIVE_WINDOW is 0x0 after launching an app, wmctrl -a leaves it 0x0, a raw click and XTEST keys reach no app (target text empty, 0 key events). One XTEST Escape closes the Overview and _NET_ACTIVE_WINDOW becomes the newest window, after which keys land (L28-1). Seen on all three toolkits, 2 of 2 runs NEW-EDGE 3.8/3.12: a mutter harness must send Escape (or wait for the Overview to close) before any input check; a frame that never becomes active with no window manager decision behind it can be the shell's Overview, and the gate refusing is correct
L28-3 Raw XTEST click on a window that is not active, private mutter X11; the click was also sent onto a window mapped while the Activities Overview was open (a fresh private mutter starts with it open), then after one escape tool api-contract §3.8 U1 probe 7: does a raw click make the target active Target at x=700, decoy (active, _NET_ACTIVE_WINDOW = decoy) at x=100. XTestFakeMotionEvent onto the target entry then button 1 down/up: _NET_ACTIVE_WINDOW became the target in 2 of 2 runs on GTK3, GTK4 and Qt, and ab typed next landed in the target entry (target text ab, decoy key count unchanged). Qt logged the press at the expected root point (900,162). Failing direction: no click, keys went to the decoy (L28-1). With the Overview open, a raw click on a never-focused window left _NET_ACTIVE_WINDOW unchanged and the frame not ACTIVE, and the following type was refused and logged no key (L28-17) CONFIRMS 3.8: a physical click activates under mutter, so click-then-type works on X11 once the Overview is closed; a keyboard step must still re-read frame active after the click, never assume it. The refusal of a never-focused window under mutter comes from the open Overview, not from the window manager's focus policy
L28-4 Characters outside the layout through a spare keycode (XChangeKeyboardMapping, XTEST, restore), Xvfb + openbox tool api-contract §3.8 R2: type it by the route U1 shows works, or refuse Spare keycode 8 (all 7 columns written with the keysym; 0x1000000+cp for non-Latin1). é € 日 😀 ñ read back exactly on GTK3, GTK4 and Qt, 10 of 10 per toolkit when the restore came 50 ms after key-up (XSync then sleep) and in the earlier run with 0 ms and 50 ms lead delay before the press. Failing direction: restore issued immediately after key-up with no sync: GTK3 0/10, GTK4 1/10, Qt 3/10 (lost characters, never a wrong one: empty text) NEW-EDGE 3.8: the remap route works and need not refuse; keep the remapped keycode mapped until the event is consumed (sync, then a bounded 50 ms hold, restore after) and read the result as unverified; an immediate restore silently drops the character, so the step must not report success without that hold
L28-5 Held XTEST key and button when the holder dies, Xvfb (xinput query-state on the XTEST keyboard and pointer) tool api-contract §3.8 R5/KTD: no key or button left pressed; guard relies on the X connection A helper held key a (key[38]) and button 1, then was killed: after kill -9 both stayed down (2 of 2 trials), after SIGTERM (no handler) the same (2 of 2); while alive the same state showed and the app typed a. Failing direction: an explicit XTestFakeKeyEvent(...,0) and XTestFakeButtonEvent(...,0) from a new connection cleared both (down: []). The server does not release XTEST state on client disconnect CONTRADICTS 3.8: an in-process drop guard is the only automatic release; after a crash or kill -9 the key stays pressed. Journal what is held (state file keyed by pid) and release stale held input at the next invocation and in status; never rely on connection close
L28-6 Wheel clicks (button 4/5) per scroll step, list, text, tree and table widgets, Xvfb + openbox, pointer over the widget tool app §3.8 wheel mapping GTK3 and GTK4 scrolled list: 1 click = 51.2 px (page^(2/3) for a 366 px page; a 23 px row, so 2.2 rows), 2 = 102.3, 3 = 153.5, 5 = 255.8, identical in both trials (GTK4 first click 48.5 in trial 2). GTK3 tree and table 48.8 px per click (page 341), GTK4 list view 51.0. Qt list, tree, table: exactly 3 items per click (3, 6, 9, 15). Qt text edit 60 px, GTK text view 51.2 px per click. A step is page-size dependent on GTK, never one row NEW-EDGE 3.8: a wheel step cannot be converted to rows; one click moves 3 rows (Qt) or about 2 rows (GTK); scroll --amount must report clicks, not rows, and a one-row move needs a read-back loop. Terminal (VTE) and Chromium not measured
L28-7 Which widget roles move content on wheel tool app §3.8 wheel roles List, tree, table and multi-line text moved on every toolkit measured (GTK3, GTK4, Qt; values in L28-6), 20 opposite clicks (button 4) returned it. Terminal, Chromium document and the AT-SPI roles scroll-pane over a non-scrollable child not measured CONFIRMS 3.8: allow wheel for list, tree, table, document text; refuse other roles only on measurement
L28-8 Where XTEST keys go when frame active names window A but a GTK3 popup menu in app B holds the grab tool api-contract L5-6 analogue, §3.8 R3 App B opened a Gtk.Menu (popped: visible true, grab true). wmctrl -a A made _NET_ACTIVE_WINDOW = A (true) and the menu stayed open (no deactivate). zq through XTEST: every key went to B's menu (mkey events z z q q), A logged 0 key events and empty text. 2 of 2 trials, A = GTK3 and A = GTK4. Frame active is therefore not proof that keys reach the target CONFIRMS 3.8: the window_active check is necessary and not sufficient; add a post-send read-back where available and report verified: false honestly; a ref whose app is not the grab holder is refused or reported when the target does not respond. L5-6 reproduced without a shell dialog
L28-9 Mutter RemoteDesktop NotifyKeyboardKeycode into a Wayland-native GTK4 entry, private gnome-shell --headless --wayland, no seat keyboard before the first key; the app's own notify::is-active and an AT-SPI ACTIVE poll (250 ms) as oracles dbus box §3.8 R3: frame active appears only once a seat keyboard exists One clean run: 3 s after the app was up, neither AT-SPI nor the app reported active. Typing a b c (evdev 30, 48, 46) with no lead key read back bc (first key dropped, app keys logged [b, c]), and the app's active event (True) appeared only after that first key. Repeats failed: CreateSession timed out (20 s) in 5 of 5 later start-ups while other shells ran on the box (L13-3 unstable shell), so the lead-key and modifier-tap variants and the second sequence were NOT measured, and the first-key drop is a single observation here (L13-16 saw it twice with keysyms) CONFIRMS 3.8: the first key is lost and the seat keyboard (and the window's active state) appear only after it; send a throwaway modifier-free lead key or tap and re-read active before the real sequence, as L13-16 advised. Open: whether a Shift tap is an equal lead, and the Xwayland XTEST case (not measured)
L28-10 Starting a private headless Wayland shell while other shells and sessions run dbus box none org.gnome.Mutter.RemoteDesktop.CreateSession returned in one run and timed out at 20 s in 5 of 5 the next runs (a health gate of wl-paste, exit 1 "no keyboard", passed each time); the shell process stayed alive. Load average was 3-6 with other shells present NEW-EDGE 3.8/3.12: a Wayland input test needs a call timeout shorter than the plan's step budget and a restart loop; a timeout on CreateSession must map to a distinct error (unreachable input service), never to a typed result
L28-11 A client holding key a (key[38]) and button 1 through the XTEST worker was killed with kill -9; the next call from a new process, xinput query-state on the XTEST keyboard and pointer read before and after (live test, private Xvfb and openbox) tool api-contract §3.8: no key or button stays pressed after a crash Both stayed down after the kill (the server did not release them) and both read clear after the next call, which released them from the journal before it sent anything of its own CONFIRMS 3.8: held_journal is the release path after a crash; L28-5's contradiction is written into the plan and docs/phases.md §3.8
L28-12 type through the adapter into GTK3, GTK4 and Qt entries with h\u00e9llo \u65e5\u672c (remap route), read back from the application's own change log and from the AT-SPI value; the plan carries one 50 ms hold before the restore and the worker only flushes before a pause dbus + tool app §3.8 R2: characters outside the layout are typed through a spare keycode and the restore waits Read back exactly in every run made (at least 3 per toolkit) on all three toolkits, steps reported verified: false. The worker adds no hold of its own, so the hold is the plan's Pause alone CONFIRMS 3.8: one hold, in text_plan; the worker test fails if the Pause is not executed
L28-13 GNOME Text Editor (GTK4, libadwaita) typed h\u00e9llo \u65e5\u672c through the adapter with two remapped characters on one spare keycode, then on one spare keycode per distinct character dbus + tool app §3.8 R2: the remap route types any character One shared keycode read h\u00e9llo \u672c\u672c (1 of 1: the editor read the keymap after the second edit, so the first press became the second character); one keycode per distinct character read back exactly in every fresh session after the change (5 of 5). GTK3, GTK4 and Qt entries had passed with the shared keycode because they read the keymap sooner NEW-EDGE 3.8: fixed in text_plan (distinct spare keycodes, one hold before the restores, a keycode is reused only after a hold); named test distinct_remapped_characters_take_distinct_keycodes_and_share_one_hold, and the live Text Editor case
L28-14 Live adapter path on private Xvfb and openbox: a click at the centre of get_element_bounds on a GTK3, GTK4 and Qt button (the application's own click log), ctrl+a then a typed character and a backspace in GTK3, GTK4 and Qt entries, wheel of one click down and up on a GTK3 list, a GTK4 list, a Qt list and a GNOME Files grid (the row's AT-SPI bounds moved by more than 30 px and returned within 3 px), a 300 ms drag on a GTK3 event box (press and release root coordinates within 3 px, move events logged, xinput query-state clear) dbus + tool app §3.8 U8 cases 1 to 4 Every case held in every run made (at least 3). The GTK4 click landed through the window-coordinate extents plus client origin rule CONFIRMS 3.8: the legs are proved end to end through execute_action and InputOps
L28-15 GNOME Calculator typed 6*7= through the adapter into its display entry, read back from the AT-SPI value dbus + tool app §3.8 U8 case 1 The display read 42 in every run made (at least 3) CONFIRMS 3.8: shifted characters and = reach a libadwaita app by XTEST
L28-16 A Chromium page of 300 buttons (google-chrome --no-sandbox --force-renderer-accessibility --ozone-platform=x11 --disable-gpu, own profile) under Xvfb and openbox: a headed scroll of 1 click down and 1 up at the centre of a visible button, read back from the page's own scrollY in the window title. Without --password-store=basic the same run scrolled nothing dbus + tool app §3.8 wheel roles (L28-7 left Chromium unmeasured) Without the flag Chromium asked the keyring for its password store and a gcr-prompter dialog (770x223 at the top of the screen) became _NET_ACTIVE_WINDOW and held the grab, so the wheel, pagedown and a click reached no page (4 variants: 1, 3, 10 and 20 clicks, click first, pagedown). With --password-store=basic one click down read y120 in the title (y360 for three) and one click up returned it to y0 (3 of 3 runs). One click is 120 px on Chromium, and xdotool click 5 at the same point read y120 too, so the wheel matches the reference tool; a scrolled-out target aims at its new bounds, so the leg must aim at a target that stays in the viewport CONFIRMS 3.8: the wheel works on Chromium; a harness must start Chromium with --password-store=basic or the keyring prompt takes the input
L28-17 A GTK3 window mapped with set_focus_on_map(False) while a private gnome-shell --x11 showed the Overview: a raw click on its entry, a type, one escape, a wait of 2 s, a second raw click and a type; _NET_ACTIVE_WINDOW and the AT-SPI ACTIVE state read after each step dbus + tool app §3.8 U1 probe 7; the click that gives a never-focused window its first focus (L27-10) With the Overview open the click changed nothing (frame not ACTIVE, _NET_ACTIVE_WINDOW unchanged), the type was refused and no key was logged. After the escape _NET_ACTIVE_WINDOW was 0x0 and the frame still not ACTIVE for 2 s; the second click made the target active, and ok typed next landed (3 of 3 runs; a wait of 1 s after the escape was too short and the click then failed) CONFIRMS 3.8: the Overview, not the window manager, refuses input; after it closes a raw click gives a never-focused window its first focus, and the harness waits for the Overview animation before it clicks
L28-18 A Qt QListWidget of 300 items: headless scroll_into_view of Item 040, then a headed scroll of 13 clicks at Item 005 and a read of Item 040 dbus + tool app §3.8: Qt ends no_scroll_container until the wheel route lands (L27-5, L27-37) The headless call returned ACTION_NOT_SUPPORTED with cause no_scroll_container; the headed wheel brought Item 040 on screen (its y moved by more than 300 px) in every run made CONFIRMS 3.8: the wheel is the Qt route and stays headed-only; headless scroll_into_view keeps its refusal
L28-19 type through the adapter into a GTK3 entry whose window was not the active one (a second window mapped later), checked by the application logs of both windows dbus + tool app §3.8 R3: a frame that never reports ACTIVE refuses ACTION_FAILED with check: window_active and physical_delivery_started: false; neither window logged a key (every run made) CONFIRMS 3.8: the gate refuses before any key is sent
L28-20 A GTK3 popup menu open in application B (grab held), a GTK3 entry window A mapped and raised with wmctrl -a, then type into A through the adapter, then a global press of z (private Xvfb and openbox) dbus + tool app §3.8: the gate is necessary, not sufficient (L28-8) _NET_ACTIVE_WINDOW named A while the menu stayed open, and A's AT-SPI frame did not read ACTIVE: the element type was refused with window_active and nothing was sent (2 of 2 runs). The global press, which has no gate, delivered z to the menu (menukey logged, A's log empty) and its result carried verified: false on every step NEW-EDGE 3.8: the AT-SPI frame state is stricter than _NET_ACTIVE_WINDOW under a grab, so element keys refuse; a global press can still reach the grab holder, and the result never claims verification
L28-21 A headless gnome-shell --headless --wayland started by the test itself with a restart loop and a health gate of repeated RemoteDesktop sessions; keys sent through the adapter's Wayland route into a native GTK4 entry that held focus, read back through AT-SPI; the session bus negative control (RemoteDesktop absent from the accessibility bus) dbus app §3.8 R10: Wayland keys through RemoteDesktop with a lead key The Shift-tap lead made the first real key arrive and the typed ASCII read back exactly; the service answered on the session bus and not on the accessibility bus. 4 passing runs of the Wayland tests (wayland filter, 50 tests each, including the unit tests). A character outside printable ASCII is refused before any key with character_outside_layout CONFIRMS 3.8: the Wayland keyboard route works for ASCII; the refusal rule assumes a US layout and may refuse a character another keymap holds, which is safe
L28-22 cargo build --release -p agent-desktop on the reference box after touching every Rust file of the three crates, then stat of the binary tool box §3.8 R14: the release binary stays under 15 MiB with the in-process XTEST dependency The binary is 4784040 bytes (4.56 MiB), well under the 15 MiB limit (15728640 bytes) CONFIRMS 3.8: the xtest feature and the input code leave the size limit unthreatened; this is a size fact and no latency baseline was run
L28-23 The release mouse-wheel --headed --x 200 --y 200 with --dx 5, --dy 5, --dy -5, --dx -2 and no delta, in a private Xvfb with openbox, raw button presses read with xinput test-xi2 --root tool box §3.8 wheel mapping and the core skill's mouse-wheel text --dx 5 sent 5 presses of button 7 and no vertical press; --dy 5 sent 5 of button 4 (wheel up); --dy -5 sent 5 of button 5 and --dx -2 sent 2 of button 6; with no delta the call sent 3 of button 5. --dy -5 parses with a space, no = form is needed. The command's scrolled: true is returned whatever the page did, because the adapter returns no effect for a wheel NEW-EDGE 3.13: the Linux skill states the rule (positive dy is up, button 4; positive dx is button 7, which the CLI help calls left; negative dy down; default is 3 lines down only when --dx is absent) and that scrolled is not a read-back
L28-24 A drag of alpha.txt onto the dest folder row in GNOME Files (same device), private Xvfb with openbox: the release drag --headed with 500, 800 and 1200 ms drop delays, and xdotool press, ten moves, a dwell and release in six variants (no extra motion in the dwell, a single extra motion, repeated identical motion every 16 ms or 100 ms, a 1 px jitter), the file tree and the window titles read after each; raw pointer events read with xinput test-xi2 --root tool app §3.8 drag: pickup, travel, dwell and release Our events carried modifier state 0 and exactly one press and one release. Every dwell that repeated an identical pointer motion ended in a COPY (alpha.txt in both folders, a new inode), at every delay, and Files had opened dest by then (window title dest). The same drag with no pointer motion in the dwell ended in a MOVE (alpha.txt only in dest), which is what a user's slow drag does; with the pickup pause cut to 10 ms the drag did not start at all. Any motion after Files opens the folder lands in its empty view and copies NEW-EDGE 3.8: the dwell holds still with no pointer motion; the drag result still names no disposition because the drag command is built in core, owned by the core owner
L28-25 press f2 in GNOME Files on a folder holding alpha.txt, beta.txt and dest, with and without the alpha.txt row selected by a headed click first; raw key events with xinput test-xi2 --root, the window list with xdotool, the accessibility tree read with snapshot and with GI Atspi, and the files on disk tool app §3.8 key delivery: is F2 delivered, and is the rename entry exposed Key code 68 reached the X server in both runs. With alpha.txt selected the rename popover opened and the tree showed a statictext Rename File, a focused textfield New Filename holding alpha.txt (it takes a ref in snapshot -i) and a button Rename; the popover is part of the window tree and not a surface, so list-surfaces and the window list show nothing new. Typing renamed and return through press renamed the file to renamed.txt (the stem was selected, the extension kept). With no row selected the same press f2 opened nothing and the next keys started a type-ahead search CONFIRMS 3.13: the Linux skill says F2 renames the selected item, the entry is in the window tree as New Filename, and an item must be selected first; no adapter defect
L28-26 VS Code 1.x (Electron) in a private Xvfb with openbox, GNOME Calculator started over it so VS Code is not active, then the release --headed hover @ref on a VS Code ref, 6 rounds on an idle session and 12 rounds with 4 busy loops on the box; the wall time of each call, the frame ACTIVE state read with GI Atspi and _NET_ACTIVE_WINDOW read with xdotool tool app §3.8 R3 and the 3.6 focus_window wait: how long a frame takes to report ACTIVE once the window manager names it _NET_ACTIVE_WINDOW named VS Code at once in every round, and the frame reported active afterwards. Calls took 0.1 s in most rounds, 1.76 s in one idle round and 1.5 s, 2.0 s and 2.6 s under load; one run of the 3.6 wait refused with frame_not_active in the insider E2E on a busy box, where the 2 s grace had ended. With a longer wait for a frame the window manager already names, a call that took 4.7 s under load was delivered. A command palette and an open menu did not move ACTIVE off the frame in 3 rounds each NEW-EDGE 3.8: the wait for the frame's own report is 6 s once the window manager names the window, and is still 2 s when it does not; the cause is the application's late report, not a second frame
L28-27 The release --headed press of meta+d, meta+tab, alt+f2, ctrl+alt+t, ctrl+alt+forwarddelete, win, meta+shift+l, ctrl+q and ctrl+t, then --force on the first three, in a private Xvfb with openbox, raw key presses counted with xinput test-xi2 --root; the macOS and Windows blocked lists read from crates/macos/src/input/blocked_combo.rs and crates/windows/src/input/blocked_combo.rs tool box §3.8 R11 and KTD11: the blocked list against the other two platforms The first seven answered POLICY_DENIED with 0 key presses; ctrl+q and ctrl+t were sent (2 presses each); --force sent meta+d and alt+f2 (2 presses) and ctrl+alt+t (3). The full Linux list, with superset matching and any modifier order, is alt+f4, alt+tab, super+tab, alt+f2, super+l, super+d, ctrl+alt+l, ctrl+alt+t, ctrl+alt+delete and ctrl+alt+backspace (each by key name), ctrl+alt+f1 to ctrl+alt+f12, and the super key alone. It is reasoned from the Windows list's question (does the shortcut take the foreground away or change the session) and is not measured against the shell, since openbox has none of its bindings. ctrl+q, ctrl+t and ctrl+d are application shortcuts and stay unlisted, and win+x, win+e and ctrl+shift+esc have no default GNOME binding. The press combo parser answers Unknown modifier 'super', so super+l as a combo needs core to accept super and win as aliases of meta NEW-EDGE 3.13: the Linux skill lists these combos as blocked and says --force sends them; core owner: the combo parser (crates/core/src/commands/combo.rs) takes super and win as a modifier
L28-28 A private headless gnome-shell --headless --wayland started 6 times with Xwayland and 8 times with --no-x11, CreateSession polled for 40 s on each; then, with --no-x11, a GTK4 entry in the shell, a held RemoteDesktop session timed at 100 ms steps, the release press a ten times in one batch and ten times in separate processes, and the app's own key log tool box §3.8 R10 and L28-10: why session creation never answered, and how a Wayland key is sent from the CLI With Xwayland, 4 of 6 starts never answered CreateSession in 40 s (the name was owned and the call timed out) and the two that did answered within 1 s, so a restart is the only cure there; with --no-x11 all 8 starts answered within 1 s. A session belongs to the D-Bus connection that created it, so Start through a second connection fails with UnknownMethod (a one-shot gdbus call health check cannot work). A fresh shell opens the Overview and no window takes focus until Escape closes it; once it was closed, the app's window became active 8 ms after the first key of a session, and every a sent 100 ms later landed. Ten press a calls in one process took 3.7 s and 3 keys landed when each opened its own session with no wait after the lead (the keys outran the focus); with the lead followed by a 100 ms settle and one session kept open between the calls of a process, the ten calls took 1.7 s and all 10 landed NEW-EDGE 3.8: the live shell uses --no-x11, closes the Overview first, and scripts/private-wayland-shell.sh gives the E2E that recipe; a Wayland delivery waits 100 ms after its lead and reuses the process's session for 5 s
L28-29 The release drag --headed of alpha.txt onto the dest row of GNOME Files (same device) with --drop-delay 100, 150, 250, 500 and 800 (and the default), each run in a fresh Files window in a private Xvfb with openbox, the file tree read after each run (moved, copied, or stayed) tool app §3.8 drag: the default dwell against Files' spring-load threshold Moved: 100 ms 20 of 20; 150 ms 20 of 20; 250 ms 29 of 30 (10 of 10, then 19 of 20 with one copy); 500 ms 10 of 10 in one hour, 8 of 10 an hour later (two stayed) and 0 of 20 in the next batch (all copied or stayed), the insider E2E saw 6 of 7; 800 ms 10 of 10. The result at 500 ms moves with the load of the box, because the hold over the row is the dwell plus the end of the travel and Files opens a hovered folder at about that length; below 250 ms the folder is not opened at all NEW-EDGE 3.8: the Linux default dwell is 150 ms (it was 500 ms, as on macOS and Windows); a caller raises --drop-delay for a target that needs a longer hover
L28-30 10 rounds of 10 separate press processes (keys b to k) against a GTK4 entry in the private headless Wayland shell, the app's own key log as oracle (keys that landed, Shift_L events, the status of each call), before and after the command-line binary stopped the keyboard session it kept when the process ended tool app §3.8 R10: Wayland keys from separate processes Before: a process ended with its session still open and the compositor tore it down on the disconnect, late enough to overlap the next process's session; of 100 calls 96 answered ok and 33 keys landed (1 to 6 per round), and one round showed a stray Shift_L. After: 96 calls answered ok and 96 keys landed, in 8 rounds of 10 and in two rounds that had 4 calls refused; no Shift_L reached the app; the 4 refused calls answered TIMEOUT (session creation did not answer in time), a stated refusal with nothing sent. A one-call process could not tell which shape it had, so the session is stopped by the binary before it exits and by an idle timer in a library host NEW-EDGE 3.8: end_input_session runs before the binary returns; a Wayland press from a process answers delivered_unverified and no longer loses its key while answering ok
L28-31 VS Code (~/.local/ad-tools/vscode/app/code --no-sandbox --password-store=basic --user-data-dir D --extensions-dir E --disable-extensions --disable-gpu --new-window, ACCESSIBILITY_ENABLED=1) in a private Xvfb with openbox, 30 s after launch, GNOME Calculator started over it so VS Code was inactive, then the release --headed hover on a VS Code ref; the same after one libatspi client had touched the bus (Atspi.get_desktop(0)), after a bare RegisterEvent call on the registry (window:activate, object:state-changed:active, and an empty name), and after the adapter registered itself tool app §3.8 D5: why a headed VS Code gesture answered frame_not_active Without a listener the window manager named VS Code active but its frame never read active (hover refused 3 of 3 rounds in 2.1 to 2.5 s and 12 of 12 in a longer run). After any one client had registered an event with the registry, even a busctl call that exits at once, the frame read active at once and hover succeeded 3 of 3 in 0.2 to 0.6 s, in four separate variants, and the effect outlived the client. Atspi.get_desktop(0) alone did the same: libatspi registers a listener. Chromium reports the active window only once the registry has said a listener exists, so the adapter now calls RegisterEvent(window:activate) when it opens the accessibility bus connection. The registration also changes GTK3: its bridge drops a destroyed object from the bus when a listener exists, so a held handle to a removed GTK3 element is gone within a millisecond where it answered for 8 s before. With the registration, 2 runs of 4 rounds each (Calculator stealing focus before each) gave 16 of 16 hovers and 16 of 16 double-clicks in about 0.33 s NEW-EDGE 3.8: the adapter announces an event listener on its bus connection; the 6 s frame wait stays as a margin for a slow report; a side effect is that a destroyed GTK3 object, which kept answering while no client listened (L25-5), now stops answering at once
L28-32 The first headless click on a PyQt6 QPushButton (one QMainWindow) after the app's launch, at settles of 7, 12 and 20 s, 10 to 20 fresh launches per cell, in a private Xvfb with openbox, with the frozen binaries before (91f52180) and after (e1dc7d87) the adapter registered a listener; the wall time of the click after a snapshot tool app §3.8 D5 side effect: does the listener registration slow a Qt app's cold start Clicks ok: 7 s 20 of 20 on both; 12 s 10 of 10 on both; 20 s 19 of 20 before (one 5 s TIMEOUT) and 20 of 20 after. Clicks above 1 s: before 3 of 50 (0.84 s and 1.4 s, and the timeout), after 6 of 50 (1.57, 2.3, 2.35, 2.44, 2.8 and 1.5 s); the other 44 and 47 took under 0.25 s. A Qt app is intermittently slow to answer its first accessibility calls after launch on both builds, with no pattern by settle length, and the registration does not make it fail; it may make the slow ones slightly longer, which 50 runs cannot separate NEW-EDGE 3.8: not a regression; a cold-start limit of Qt, in both builds, to be told to a caller as a possible 5 s TIMEOUT on the first call after launch
L28-33 GNOME Calculator (GTK4) under a private gnome-shell --x11 (mutter) on its own Xvfb and under openbox: _GTK_FRAME_EXTENTS, xwininfo, list-windows and ref bounds, then the release --headed click on the buttons 7, 8 and 9 with the window at two places, the pointer read with xdotool getmouselocation and the display read through the accessibility tree; the same with the build before the fix (a3690a92) tool app §3.8 R6 and the 3.6 GTK4 position rule: where a ref's bounds sit when the toolkit draws its own shadow Under mutter _GTK_FRAME_EXTENTS was 61, 61, 55, 67 and xwininfo gave (37,79) 482x626 for the client, while GTK4's window-coordinate rectangles start inside the shadow: the old bounds of 7 were (53,370), 61 px left of and 55 px above the button, and the click landed there (display (, three times, at both window places). With the left and top extents added to the client origin, 7 is at (114,425)+ and the same clicks centre on the buttons (pointer (146,450), (214,450), (282,450)) and the display reads 789, then 789789 after the window moved to (300,200). Under openbox, which sets no _GTK_FRAME_EXTENTS, the rule adds zero and 9 clicks at three places read 789789789. list-windows bounds follow the same rule ((98,119) 360x504 where the client is (37,64)); Text Editor under mutter clicked at its body centre and took mutter ok; a PyQt6 button (a global-position toolkit, rule untouched) clicked 4 of 4 under mutter NEW-EDGE 3.8: the pointer origin of a toolkit with no global position is the X11 client origin plus the left and top of _GTK_FRAME_EXTENTS; the hit test uses the same origin

Area L29 — capture and clipboard measurements (sub-phase 3.10)

id probe stack scope phases.md expectation observed verdict action
L29-1 Lease descriptor inheritance after spawn, both directions tool box plan U1 leg 6 / D7 Host took flock on two files, spawned two children with posix_spawn. File A made inheritable: children list it in /proc/<pid>/fd (/…/lease-A), and after the host closed its copy a second process got busy. File B left close-on-exec (default): absent from the child's fds, second process got acquired. Only fds 0, 1, 2 and the deliberately inheritable memfd reached the child CONFIRMS 3.10: the lease fd must stay close-on-exec in the parent and be handed on by an explicit dup that clears the flag only for the one spawn; a second lease is then takeable while the owner lives only if the owner itself holds an inheritable copy, so the owner must hold the lease, not the CLI
L29-2 Owner survival after kill of the host's process group; setsid vs process_group tool box plan U1 leg 6 / D7 Host run under its own session (setsid python3), killed with kill -KILL -- -<host pgid>. Child that called setsid() itself: ALIVE, ppid 1. Control child with no setsid in the host's group: DEAD in the same kill. Child spawned with setpgroup=0 (own pgroup, host's session): ALIVE after the kill, but its own setsid() failed EPERM (group leader), sid_after stayed the host's session. Repeated in a second run: same three outcomes CONFIRMS 3.10: the helper calls setsid itself as its first act and the spawner must not use process_group; a failed setsid must be treated as an error, since the child then still shares the host's session
L29-3 Finding the helper and the owner again from /proc tool box plan U1 leg 6 / D7 A library loaded by absolute path, by bare name through LD_LIBRARY_PATH, and by ./relative path after chdir: /proc/self/maps shows the absolute resolved path in all three (…/libdir/libadprobe.so). /proc/<pid>/cmdline of a spawned owner holds its full argv and is readable by the same uid; /proc/<pid>/exe resolves to the interpreter (/usr/bin/python3.12) for a script child CONFIRMS 3.10: the maps lookup finds the helper beside the library for every load form; to re-find a running owner scan /proc/*/cmdline for a marker argument and check the uid, never assume exe names the helper for a script stand-in (a native helper would)
L29-4 pidfd_open and memfd_create tool box plan U1 leg 6 / D7 syscall(319, "ad-lease", 0) returned fd 3 (errno 0), shown in the child as /memfd:ad-lease (deleted) once marked inheritable. syscall(434, pid, 0) returned a pidfd (errno 0); poll on a live child returned [] CONFIRMS 3.10: both syscalls are available here; rustix pidfd/memfd are usable on this kernel. The CI image was not measured
L29-5 Transfer size versus the max request, INCR tool box plan U1 leg 7 / D8 Xvfb: XMaxRequestSize 262140 bytes, XExtendedMaxRequestSize 16777212 (BIG-REQUESTS present). An application/octet-stream owner served 1000, 200000, 262144 and 600000 bytes in one property (type unchanged, 0 chunks), and 1 MiB, 5 MiB, 20 MiB as INCR (2, 6, 21 chunks). Byte-for-byte equal by a raw ctypes reader and by xclip -o at every size CONFIRMS 3.10: INCR is mandatory for a reader above the single-request limit; an owner may answer in one property up to the extended limit only when BIG-REQUESTS is enabled on its connection, so a conservative owner switches to INCR above 262140 minus the request header. Test INCR at 1 MiB and above. Chunk about 1 MiB
L29-6 The selection after the owner is killed, no clipboard manager (openbox) tool box plan KTD / L9-3 Owner killed, confirmed dead by poll(); GetSelectionOwner 0, TARGETS and a text read answered refused. Passing direction: while alive, owner window nonzero and read of 17 bytes succeeded. (A first run without -quiet was invalid: xclip forks, the killed pid was the dead parent, and the child kept serving; this is L9-1 again) CONFIRMS 3.10: without a manager the content dies with the owner, so the owner process must outlive the CLI (D7)
L29-7 Does gnome-shell take over the selection when the owner exits (gnome-shell --x11, private) tool box L9-3 Owner killed after 0.7 s, two repetitions each. Taken over (new owner window 0x400004, not the dead xclip; read equal, xclip -o equal, GTK3 wait_for_text/wait_is_image_available agree): text/plain (GTK sees text/plain, STRING, TARGETS, TIMESTAMP), UTF8_STRING, image/png (GTK image available true). NOT taken over, selection ownerless, every reader empty: x-special/gnome-copied-files, application/octet-stream. A 5 MiB text/plain was taken over but truncated: GTK read 4194304 characters, raw read not equal to the source NEW-EDGE 3.10: the manager keeps only text and PNG and caps text at 4 MiB, so a file copy (x-special/gnome-copied-files, text/uri-list) and custom targets still need the surviving owner process; do not rely on the shell, other sessions have no manager (L29-6); tests must not assert that text vanishes on this box. The owner itself is not identified by pid (XRes returned no id); it is the only other client of that server
L29-8 GNOME Files (Nautilus 46, private session, openbox) pasting each target tool app plan U1 leg 7 Real key press ctrl+v after activating the window and clicking its view; destination folder empty beforehand. x-special/gnome-copied-files content copy\nfile://<path>: file appeared in the destination, twice; source kept. Same with first line cut: file appeared, source removed, and the clipboard owner (xclip) exited, so Files took the selection. text/uri-list alone (file://…\r\n): file appeared. text/plain holding a file:// path: nothing pasted NEW-EDGE 3.10: Files accepts x-special/gnome-copied-files and also a bare text/uri-list; serve both for a file copy; copy and cut first lines both work; a plain-text path is not a file paste
L29-9 image/png-only owner and unlisted targets tool box plan U1 leg 7 Owner offered image/png only: TARGETS answered TARGETS, image/png (ids decoded; first run had a 4-byte read bug in my reader, fixed), a PNG request returned the 108 bytes. A UTF8_STRING request to that xclip owner got a reply (no refusal) rather than None, which is xclip behaviour, not the protocol rule CONFIRMS 3.10: the stand-in advertises exactly the targets it holds; our owner must answer None (refuse) for any target not in TARGETS, and a test must not use xclip to judge refusal
L29-10 Covered window on openbox: plain grab, RedirectWindow plus NameWindowPixmap tool box plan U1 leg 2 / D2, D3 _NET_WM_CM_S0 has no owner on openbox. Red 300x300 window fully covered by a blue 500x500 one (root grab: blue at the red window's centre, checked with xwd -root as oracle). XGetImage on the covered red window directly: 000000 (not red, no error). After XCompositeRedirectWindow(automatic) and XCompositeNameWindowPixmap: pixmap pixel ff0000 immediately, after a clear, after unmap, map and re-cover, in both runs; the root grab still blue. A window redirected before its map: pixmap 00ff00. Naming the pixmap of an unmapped window: an X protocol error (the error code was not decoded) in both runs CONFIRMS 3.10: Composite redirect is the only way to grab a covered window on a manager without a compositor, and it works; ship composite.rs. Redirect only for the grab, then unredirect; name the pixmap after the window is mapped and map-check first (unmapped gives an X error: handle it as a non-capturable window)
L29-11 Does the named pixmap hold the window's own paint, or is it blank until a repaint (real GTK3 window, covered by an override-redirect window, openbox) tool app plan U1 leg 2 / D3 Uncovered grab 00ffff; covered direct grab 000000; after redirect plus name, pixmap read immediately: 00ffff in run 1 and 000000 in run 2; at +0.3 s and +1.5 s 00ffff in both NEW-EDGE 3.10: a pixmap read right after RedirectWindow can be blank; after redirect wait for the toolkit's repaint (poll the pixmap for non-blank, bounded about 1 s, or send an expose by a no-op map-state toggle) and report ACTION_FAILED with a retryable suggestion, never return the blank image
L29-12 Compositing overlay window grab tool box plan U1 leg 2 / D2 Openbox (no compositor): XCompositeGetOverlayWindow returned a window (id 63) without error; GetImage on it equals the root grab (blue where windows are, 000000 elsewhere), so it adds nothing. Under gnome-shell --x11 (own owner of _NET_WM_CM_S0): see L29-13 CONFIRMS 3.10: no use for the overlay grab on a non-compositing manager; do not take the overlay window at all there (it must be released if taken)
L29-13 Root and overlay grab under gnome-shell --x11, with application windows present tool box plan U1 leg 4 / D5 Override-redirect painters drawn with FillRectangle (red, blue), and separately a real GTK3 window at known coordinates. Root and overlay grabs were identical to each other and contained only the shell's stage (background gradient 222222/023c88, top bar 131313); at the painters' and the GTK window's coordinates the grab was 222222 or 023c88, not ff0000, 0000ff or 00ffff, in repeated samples over 8 s and in 2 of 2 runs per variant. xwd -root matched. Per-window redirected pixmaps were correct: red ff0000, blue 0000ff, GTK window 00ffff, and red stayed red in the region another window covers. The shell's own Screenshot D-Bus method answered AccessDenied (no oracle from there) NEW-EDGE 3.10: under a compositing manager the root/overlay grab does not show the applications on this box, so screenshot full-screen on X11 must either compose from per-window redirected pixmaps in _NET_CLIENT_LIST_STACKING order, or answer PLATFORM_NOT_SUPPORTED; a root grab under a compositor must not be returned as the screen. Scope: Xvfb with software rendering; a hardware X session was not measured
L29-14 The screen area no X window owns tool box plan U1 leg 4 / D5 Under openbox: the area outside windows is the root's own pixels (000000), grab is honest. Under gnome-shell: the wallpaper, the top bar and every shell-drawn surface (overview, popups, notifications) belong to the stage, not to an X window; no X call returns them truthfully (L29-13). Unowned area under the compositor therefore cannot be stated NEW-EDGE 3.10: a composed full-screen image under gnome-shell would have unknown pixels in the unowned area (shell chrome, wallpaper); do not silently fill with black. Recommend: full-screen under a compositor is refused with PLATFORM_NOT_SUPPORTED naming the cause, per-window capture stays supported
L29-15 Window unit on openbox dbus + tool app plan KTD4 GTK3: AT-SPI [489,236,302,327]; client [490,258,300,300] (ratios 0.0066 w, 0.0826 h: FAILS); frame [489,236,302,327] (0.0, 0.0: passes), extents 1,1,22,5. GTK4 Files: AT-SPI [0,0,890,550] (no global origin); client 890x550 and its parent frame 890x550 with extents 0,0,0,0 (client-side decoration); both 0.0. Chromium: AT-SPI [10,22,1050,773] equals the client (0.0, 0.0); frame [9,0,1052,800] ratios 0.0019 w, 0.0349 h: FAILS both thresholds CONFIRMS 3.10: the rule "frame if it passes 0.01, else client if it passes" picks the right unit for all three here (GTK3 frame, GTK4 client, Chromium client); the 0.02 check alone would accept no wrong unit. Note the GTK4 origin is 0,0: size only is usable
L29-16 Window unit on gnome-shell --x11 dbus + tool app plan KTD4 GTK3: the toolkit's own AT-SPI window [0,32,300,337] (origin not global) and the mutter-x11-frames helper [0,0,300,337]; client [0,69,300,300] (height ratio 0.1098: FAILS); mutter frame window [-14,20,328,366] (0.0933 w, 0.0861 h: FAILS: it includes the shadow); extents 0,0,37,0. Chromium: AT-SPI [0,69,1280,731], client [0,69,1280,731] (0.0, 0.0 passes); frame [0,32,1280,768] (h 0.0506: FAILS). GTK4 Files: AT-SPI 890x550, client [133,49,1012,672] (0.137 w, 0.222 h: FAILS: the client includes the CSD shadow), no frame parent. (My script's first AT-SPI entry was the helper app for these rows; the ratios above are recomputed against the toolkit's own entry.) CONTRADICTS 3.10: under mutter, GTK3 and GTK4 have no unit that passes either check, Chromium passes on the client. So for GTK on gnome-shell screenshot_window_frame is ACTION_FAILED and screenshot returns the frame image, as KTD4's last branch says; the rule needs no change but the expected-pass table must say GTK3/GTK4 pass on openbox only. The mutter frame is bigger than the AT-SPI bounds by the shadow
L29-17 Qt window unit dbus + tool app plan KTD4 Not measured: with QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 the PyQt6 stand-in window was not found in AT-SPI (empty result) in the openbox and gnome runs. L16-2 recorded Qt frame [0,69,200,100] with extents 0,0,37,0 under mutter NEW-EDGE 3.10: Qt is unmeasured here; do not claim Qt in the expected-pass table; U1 leg 3 needs a re-run with a working Qt bridge
L29-18 Xwayland to wl-paste bridge and wl-copy persistence in a private headless gnome-shell --wayland --virtual-monitor 1280x800 whose seat has a keyboard (a RemoteDesktop session held open that sent Shift, a pointer motion and one left click) tool box plan U1 legs 7 and 9 / L13-12 The shell logs Using public X11 display :N, and its Xauthority file is .mutter-Xwaylandauth.* in the runtime directory; xdpyinfo on that display with that file answers. wl-copy (forked, left running) then xclip -selection clipboard -o on the Xwayland display returned the exact text; wl-paste on the Wayland socket returned it too. xclip -i on the Xwayland display then wl-paste --no-newline returned that text, and wl-paste --list-types showed text/plain;charset=utf-8, UTF8_STRING and TARGETS. Without the pointer click wl-paste hangs and the bridge is empty (L13-11 again) CONFIRMS 3.10: an X11 client of the session reads and writes the Wayland clipboard in both directions once the seat has a keyboard and focus, so a Wayland session without wl-clipboard but with DISPLAY set uses the X11 route. The owner-killed case was not re-run
L29-19 Portal Screenshot v2 and ScreenCast, display-to-pixel mapping in a private headless shell with pipewire and wireplumber running (the portal legs are rows L29-24 to L29-28) dbus + tool box plan KTD13 / L13-21 Measured in L29-24 to L29-28: Screenshot v2 returns the whole desktop as a PNG after a person allows a shell dialog; ScreenCast Start shows a dialog too and was not driven; Mutter's own ScreenCast reads a monitor frame through pipewiresrc with no dialog. wl-copy forks by default and stays running after the call returns (L29-18) NEW-EDGE 3.10: U12 ships the Screenshot route for the whole screen; a display or window target stays PLATFORM_NOT_SUPPORTED; the ScreenCast route is not built
L29-20 Covered GTK3 window read through RedirectWindow plus NameWindowPixmap: what the pixmap holds at the first read, and what makes it right (openbox, private session, red GTK3 window under a blue override-redirect window, the release screenshot path and the live test) tool app plan KTD3 / L29-11 Reading 2 to 5 ms after naming the pixmap: the cover's blue, not the window's red, in 2 of 6 runs, 3 of 20 and 6 of 20 in the next two batches; a wait for the redirect's own first DamageNotify (0.2 to 0.4 ms) alone still gave blue in 1 of 14. A second DamageNotify, the client's repaint after DamageSubtract, arrived about 5 ms after the first in 13 of 14 runs; waiting for it and then reading gave red in 14 of 14 and 20 of 20. In the one run with no second report in 1.5 s the content was already red NEW-EDGE 3.10: the redirect read waits for the redirect's report and then the client's repaint report (bounded 100 ms and 300 ms) before it reads, and reads as it stands when none arrives; a pixmap that is not blank is not proof it holds the window's paint (L29-11 measured only blank). Scope: one toolkit (GTK3) on openbox; a window that never repaints and whose first pixmap holds screen content is unmeasured
L29-21 Qt window capture (PyQt6 6.11 from the user-space tools tree, QT_ACCESSIBILITY=1, red central widget): plain, and covered by a blue override-redirect window tool app plan KTD4 / L29-17 Listed through AT-SPI by pid on openbox and under gnome-shell --x11. Plain screenshot: the centre 200x120 is all red. Covered: no blue pixel, the same size as the plain image (320x200 under gnome-shell, where the compositor keeps the pixels and the plain path is used), the centre all red; on openbox the covered read goes through the redirect CONFIRMS 3.10: Qt is captured like GTK3 on both managers; the window-unit table for Qt (frame versus client) is still not measured, so no Qt row is claimed in it
L29-22 A covered GTK3 window stopped with SIGSTOP before the redirect (openbox; the capture called with the window and its X11 id fixed, because a stopped client also stalls the AT-SPI re-resolve, which answers WINDOW_NOT_FOUND) tool app plan KTD3 / L29-20 The redirect gave the frame decoration (the window manager repaints it) but the client area as the screen showed it, the cover's blue, 64000 of 64000 client pixels in 4 of 4 runs, with no second DamageNotify in 300 ms. Comparing the whole pixmap with the screen did not catch it, because the decoration differs; comparing only the largest child of the drawable (the client) did: TIMEOUT after about 330 ms in 3 of 3 runs, and 20 of 20 healthy covered captures still returned red NEW-EDGE 3.10: a redirected read with no repaint report whose client area equals the screen under it is refused with TIMEOUT, never returned; a healthy window that never repaints and is wholly uncovered would be refused the same way (unmeasured). A stopped app also makes the AT-SPI resolve answer WINDOW_NOT_FOUND ("no longer open"), which is misleading and belongs to the resolver
L29-23 Release binary size and supply chain with the capture and clipboard additions (cargo build --release --locked, the workspace release profile, on the box; cargo deny check over the workspace lock) tool box plan R19 / KTD6: the release binary stays under 15 MiB and cargo deny check passes agent-desktop is 4,886,440 bytes (4.66 MiB, about 31% of the cap) and agent-desktop-linux-clipboard-owner is 574,224 bytes. cargo deny is not installed on the box; it ran on the development machine (cargo-deny 0.19.6, this repository's deny.toml, the committed lock, all targets) and reported advisories ok, bans ok, licenses ok, sources ok, with one license-not-encountered warning for the MPL-2.0 allowance. No performance baseline was run for this sub-phase, by the owner's rule CONFIRMS none
L29-24 Why a private headless gnome-shell showed no portal sources: xdg-desktop-portal and xdg-desktop-portal-gnome started by D-Bus activation, then started by hand with -v dbus box plan KTD13 / L9-15 Activated services carry no WAYLAND_DISPLAY, so the backend logged Non-compatible display server, exposing settings only. and the frontend logged No such interface org.freedesktop.impl.portal.Screenshot and ...ScreenCast: AvailableSourceTypes 0, AvailableCursorModes 0, every request answered Response 2 in 0.1 s. With XDG_SESSION_TYPE=wayland in the backend's environment (and WAYLAND_DISPLAY and GDK_BACKEND=wayland) the same call gave AvailableSourceTypes 7 and AvailableCursorModes 7, ScreenCast CreateSession and SelectSources answered Response 0 in 0.1 s, and Screenshot raised a dialog NEW-EDGE 3.10: a private session must give the backend XDG_SESSION_TYPE=wayland and the bus activation environment WAYLAND_DISPLAY; on a real desktop session both are set by the login session
L29-25 Portal Screenshot v2 with interactive: false from a plain (non-sandboxed) client, private headless shell, one painter window of known colour, the dialog read from a frame of Mutter's ScreenCast and answered through the RemoteDesktop keyboard dbus + tool box plan KTD13 / L9-13 The shell draws Allow Applications to Take Screenshots? with Deny focused and Allow; the shell is not on the accessibility bus. Return (Deny) gave Response 2; Tab then Return (Allow) gave Response 0 with uri file://<home>/Screenshot.png (later Screenshot-N.png), a 1280x800 PNG, mode 0664, owned by the caller, written under the home directory and not under the runtime directory; the 400x300 painter window in it was exactly (0,0,255) in 120000 pixels. The Overview shown at start-up must be closed first (Escape twice through RemoteDesktop) or the image shows it NEW-EDGE 3.10: consent is a shell dialog a person answers, Response 1 and 2 are both a refusal, and the result file is in the user's home, so the file check allows the temp, runtime and home directories and the call removes the file
L29-26 Portal Screenshot when nobody answers, and a second request while a dialog is open dbus box plan KTD13 / L9-13 With no key sent the request had no Response for the full wait; after Request.Close at the deadline the next request answered Response 2 at once, which is the Already showing a system access dialog shape of L9-13 (the dialog stays until a person dismisses it) NEW-EDGE 3.10: a timeout is TIMEOUT whose suggestion names the dialog; a person must dismiss it, and the next call may be refused with PERM_DENIED until then
L29-27 Two virtual monitors (--virtual-monitor 1280x800 --virtual-monitor 800x600): the Screenshot image size, Mutter's logical monitors and what Screen(n) crops dbus + tool box plan KTD13 / U1 leg 8 GetCurrentState listed logical monitors Meta-0 at (0,0) and Meta-1 at (1280,0), scale 1.0, layout mode 2; the portal image was one 2080x800 PNG, the union of both. Cropping the image to each monitor's rectangle gave 1280x800 with the 400x300 window drawn in it and 800x600 with none; one monitor gave 1280x800 CONFIRMS 3.10: Screen(n) and Display on Wayland crop the whole-desktop image to the monitor's rectangle from list_wayland_displays, and only when the image size confirms the mapping (L29-30)
L29-28 Other routes to a frame in the same headless shell: Mutter org.gnome.Mutter.ScreenCast RecordMonitor read through gst-launch-1.0 pipewiresrc ! videoconvert ! pngenc, org.gnome.Shell.Screenshot, and the portal ScreenCast Start dbus + tool box plan KTD13 / L13-21 Mutter's ScreenCast (version 4) gave a PipeWire node for Meta-0 and a 1280x800 PNG with no dialog and no permission step. org.gnome.Shell.Screenshot.Screenshot answered AccessDenied: Screenshot is not allowed. The portal ScreenCast Start raised a dialog that had no answer in 15 s and was not driven NEW-EDGE 3.10: the Mutter route needs no consent, so it is not used (R7: no path bypasses the portal's consent); the portal ScreenCast route is not built because the Screenshot route already gives the screen
L29-29 Does consent repeat? Three Screenshot calls (interactive: false) from one host process with no app id, through the shipped call, in a private headless shell; the screenshot table of org.freedesktop.impl.portal.PermissionStore read before and after each; then the same with Deny dbus + tool box plan KTD13 / L9-13 / L9-16 Before the first call the store had no table. After one Allow it held table screenshot, id screenshot, app id empty (the host process), grant yes; calls 2 and 3 returned the image in 50 to 65 ms with no dialog, and the grant was unchanged. After one Deny the store held no under the same key and the second call was refused (Response 2) in 2 ms with no dialog. Two runs each, 3 for Deny, the same every time. A call made after an 8 s idle wait did not answer, for the shell reason in L29-31 CONFIRMS 3.10: consent is asked once per user and per app id, and the answer is remembered in both directions; a host process has the empty app id, so a refusal blocks it until the user resets it in the desktop's privacy settings or the store entry is deleted
L29-30 Scale above 1 in the headless shell: ApplyMonitorsConfig (temporary) with a scale of 2, one and two monitors, then the Screenshot image dbus + tool box plan KTD13 / U1 leg 8 A 1280x800 virtual monitor lists only scale 1.0 and the shell refused 2 (Scale 2 not valid for resolution 1280x800). A 2560x1600 monitor lists 1.0, 2.0 and 3.0 and accepted 2: its logical monitor became 1280x800 at scale 2.0, the image was 2560x1600 and the 400x300 window was 800x600 pixels in it, so image pixels equal logical pixels times the scale. With a second 800x600 monitor at scale 1.0 beside it (positions in physical units, layout mode 2) the image was 3360x1600, the physical union. Setting the layout mode to 1 (logical, the usual layout on a real GNOME desktop) was refused (Can't set layout mode), as was a layout whose monitors are not adjacent NEW-EDGE 3.10: a display's rectangle is taken in image pixels when the reported rectangles are already in image pixels, or times one common scale, and whichever the image size confirms; logical layout mode with mixed scales cannot be produced here and is refused as unproven
L29-31 Why a second request after an Allow was once answered and once never: five rounds of Allow then a second call straight away, five with an 8 s wait, PermissionStore read each time, then the shell's own calls after idle dbus + tool box plan KTD13 / L9-13 Immediate second call: answered in 50 to 75 ms every time (5 of 5); the store held screenshot yes after the Allow and after the call. Second call after an 8 s wait: no answer within 15 s every time (5 of 5), with the store still yes. The cause is the headless shell, not consent: with no screenshot at all, the first call into Mutter after about 8 s idle (a RemoteDesktop pointer motion) blocked 17 to 22 s, then every call answered at once (GetCurrentState 0.02 s, Screenshot 0.23 s with the stored grant); Peer.Ping always answered. gnome-shell is in poll at 0 percent CPU during the stall NEW-EDGE 3.10: in a headless shell a request that arrives after a few idle seconds can take about 20 s whatever the grant, which is longer than the usual deadline and reads as TIMEOUT naming the dialog; a desktop that is in use does not idle this way
L29-32 Xwayland clipboard owner killed: an xclip -quiet owner killed by pid with a Wayland reader, and a wl-copy --foreground owner killed with an X11 reader, in the headless shell with a keyboard seat tool box plan U1 leg 7 / L13-12 After the X11 owner was killed, wl-paste and xclip -o still returned the text, and wl-paste --list-types showed only text/plain;charset=utf-8 (the owner's UTF8_STRING and TARGETS were gone). After the Wayland owner was killed, xclip -o and wl-paste still returned the text CONFIRMS 3.10: GNOME's shell keeps a text selection after its owner dies, on both sides of the bridge, so a text clipboard set through wl-copy or an Xwayland owner outlives that process, and no other target is kept
L29-33 Portal Screenshot when nobody answers, waited out: one request with a 45 s wait and no key (private headless shell, xdg-desktop-portal -v), then Tab and Return 4 s after the end; the same with a 6 s wait and Request.Close, the Close call timed with a 40 s limit, three runs; a second request while the first dialog shows dbus + tool box plan KTD13 / L29-26 With no answer the portal sent Response 2 at 25.03 s by itself and its log shows the access dialog call ending; a Tab and Return after that wrote no file and stored no grant. With the 6 s wait the Close call returned only at 25.0 s after the request (19.03 s after it was sent, three of three), the dialog stayed live meanwhile, and a Tab and Return in that window wrote ~/Screenshot.png and stored screenshot={"": ["yes"]}. The second request answered Response 2 in 4 ms (Already showing a system access dialog in the portal log), not a remembered refusal: the permission store held no entry NEW-EDGE 3.10: the wait for a person is 30 s so the CLI outlives the portal's 25 s; Response 2 after 20 s is TIMEOUT; the instant Response 2 hint names the open dialog first
L29-34 gnome-terminal captured by window id under mutter on X11 (gnome-shell --x11 on Xvfb, private session): launched plain and with a fixed command, Activities Overview open and closed, polled every 0.4 s for 16 s, with the current build and with the 66494f2e build; the client list read with xprop tool app plan R1 / U5 Every poll gave one window (pid and title equal on both sides, bounds 206,72 866x629 from the accessibility tree) and a PNG of 814x577 (current build, inside the shadow) or 866x629 (66494f2e). The refusal seen by the E2E run (bounds 0,0 824x586, No X11 window of the window manager matches this window) did not occur in any of the polls NEW-EDGE 3.10: not reproduced, accepted: the mapping is by process id and title and refuses when no client has both, and nothing is guessed (R1); the E2E window was a tenth window of a long session whose title or position was not the one the client list held

Area L31 — system lifecycle (sub-phase 3.9)

id probe stack scope phases.md expectation observed verdict action
L31-1 F1, private mutter gnome-shell --x11 with the Overview closed (Escape, 2.2 s wait, _NET_ACTIVE_WINDOW then read): a window that never held focus (GTK3 set_focus_on_map(False), Qt 6 WA_ShowWithoutActivating; both map with a second window active and _NET_WM_STATE_FOCUSED absent), one method per fresh window, 6 windows per method and toolkit: _NET_ACTIVE_WINDOW source 2 with the server time (the product's request), the same with timestamp 0, a raw XTEST click on the title band, a raw click on the client area; GTK4 has no such API and its window took focus on map in 3 of 3 tool api-contract §3.9 KTD10 and L27-45: _NET_ACTIVE_WINDOW succeeds on the first request for a never-focused window with the Overview closed; the click fallback exists only if a residual refusal is found Real server time: GTK3 took effect in 6 of 6 (8 to 25 ms; an earlier sequence gave 3 of 3 and a third sequence 0 of 2), Qt refused in 6 of 6 (an earlier run of 3 refused 3 of 3, another took 1 of 2), so across all sequences GTK3 9 of 11 and Qt 1 of 11 took effect within 1.5 to 2 s. Timestamp 0 (source 2): 6 of 6 GTK3 and 6 of 6 Qt took effect (plus 8 of 8 in later sequences). Title-band click: 0 of 6 GTK3 and 0 of 6 Qt (the window stayed inactive; 0 of 4 more in earlier sequences). Client-area click: 6 of 6 GTK3 and 6 of 6 Qt. A refused window carried _NET_WM_STATE_DEMANDS_ATTENTION in only some cases (1 of 6 GTK3 band, 0 of 6 Qt), so it is no reliable signal. AT-SPI frame ACTIVE agreed with the X11 readback in every run CONTRADICTS 3.9: L27-45 (2 of 2) does not hold for Qt or for all sequences: a residual activation_not_granted exists under mutter with the Overview closed. The remedy found is not a click: the same message with timestamp 0 took effect 20 of 20 and sends no pointer event, and the title-band click fails 16 of 16 here, so no click fallback is evidenced; whether focus_window may send timestamp 0 after a refusal (it bypasses the manager's focus-stealing check) is the owner's policy decision under KTD10; until then the pin test (one message, no pointer event, activation_not_granted) stands
L31-2 F1 under openbox 3.6 (same cases as L31-1): never-focused GTK3 and Qt 6 window, a second window active, one method per fresh window, 6 windows per method and toolkit: _NET_ACTIVE_WINDOW source 2 with the server time, with timestamp 0, a raw click on the title band, a raw click on the client area tool api-contract §3.9 KTD10: under openbox the message alone is enough (L27-3) All four methods took effect in 6 of 6 per toolkit (48 of 48 windows); the message alone took 2 to 5 ms, and an earlier sequence with 3 windows per toolkit gave 3 of 3 for GTK3 and Qt. The covered, other-workspace and stopped cases are L31-3, L31-4 and L31-6; minimized is L31-5. AT-SPI frame ACTIVE true in every run CONFIRMS 3.9: under openbox no click fallback and no timestamp variant is needed; the single message plus the grace of 2 s (measured need 5 ms) is the whole contract
L31-3 F1 modal case: _NET_ACTIVE_WINDOW (source 2, server time) sent for a GTK3, GTK4 and Qt 6 (PyQt6) window that a modal transient dialog covers, a second window active first; private mutter gnome-shell --x11 (Overview closed: Escape, 2.2 s wait) and openbox; read back with _NET_ACTIVE_WINDOW, _NET_WM_STATE, AT-SPI frame states tool api-contract §3.9 R14/KTD10: focus_window is Ok only when _NET_ACTIVE_WINDOW reads back as the target and the frame is ACTIVE The window manager made the modal DIALOG (type _NET_WM_WINDOW_TYPE_DIALOG, WM_TRANSIENT_FOR = target, _NET_WM_STATE_MODAL; Qt adds _NET_WM_WINDOW_TYPE_NORMAL) active, never the covered parent: 6 of 6 per manager (3 toolkits x 2 runs), active window = dialog, AT-SPI frames [parent ACTIVE false, dialog ACTIVE true]. The request was not refused, it was redirected, and nothing was wrong with the timestamp NEW-EDGE 3.9: a readback that wants active == target fails on this case forever and would report activation_not_granted; focus_window must treat an active window that is a transient (or _NET_WM_STATE_MODAL) child of the target as the answer blocked_by_modal_dialog (not a refusal, no click fallback) and name the dialog window in details; the same dialog is what close_app reads as a pending prompt (L31-8)
L31-4 F1 other-workspace case: window moved to desktop 1 by _NET_WM_DESKTOP (source 2), current desktop 0, another window active; _NET_ACTIVE_WINDOW (source 2, server time) then, in a second step, _NET_CURRENT_DESKTOP to the window's desktop followed by the same activation; private mutter X11 (3 desktops) and openbox (4), GTK3, GTK4, Qt, 2 runs each tool api-contract §3.9 R14/KTD10: activation reaches any window that list_windows shows Activation alone was refused by both managers in 12 of 12 runs (active window unchanged for the 2 s grace, _NET_CURRENT_DESKTOP stayed 0, window desktop stayed 1; mutter also left the old window active). After _NET_CURRENT_DESKTOP = the window's _NET_WM_DESKTOP (workspace switch settled before the next send) the same activation took effect in 12 of 12 runs, 3 to 17 ms, AT-SPI frame ACTIVE true. Mutter needed no dynamic-workspace change: desktop 1 existed NEW-EDGE 3.9: a window whose _NET_WM_DESKTOP is neither the current desktop nor 0xFFFFFFFF is a residual refusal with the Overview closed; the lift step reads _NET_WM_DESKTOP and _NET_CURRENT_DESKTOP, sends one _NET_CURRENT_DESKTOP message, then activates; no pointer event is needed. Switching desktops changes the owner's view, so it is a policy decision for the owner, not a silent fallback
L31-5 F1 minimized window and _NET_ACTIVE_WINDOW: GTK3, GTK4, Qt iconified by WM_CHANGE_STATE, then (a) source 2 with the server time after delays of 0, 0.6 and 2 s with and without another window active (3 runs per cell, GTK3 and GTK4), (b) per method with another window active and 1 s delay (3 runs each): timestamp 0 with source 2, 1 and 0, XMapWindow on the client, WM_CHANGE_STATE to NormalState, _NET_WM_STATE remove HIDDEN; private mutter X11 and openbox; read back _NET_WM_STATE HIDDEN and _NET_ACTIVE_WINDOW tool api-contract §3.9 R13/KTD9/KTD10: un-minimize by _NET_ACTIVE_WINDOW; the minimized path of focus_window (L27-45 covered only mapped windows) Openbox: server-time activation un-minimized 36 of 36 in every cell (2 to 20 ms); every other method un-minimized too (3 of 3 each); WM_CHANGE_STATE Normal and _NET_WM_STATE remove did so without making the window active. Mutter, server time: GTK3 alone 9 of 9, GTK3 with another window active 3 of 3 at 0 s, 1 of 3 at 0.6 s, 0 of 3 at 2 s; GTK4 0 of 18 (a second server-time request 0 of 18, a source 1 request 1 of 18); Qt 0 of 3. Mutter, timestamp 0: source 2, 1 and 0 un-minimized and activated GTK3 3 of 3 each, GTK4 3 of 3 each, Qt 3 of 3 for source 2 (the Qt source 1 and 0 cells and the remaining Qt methods did not complete inside the session limit and are not claimed). Mutter ignored XMapWindow, WM_CHANGE_STATE Normal and _NET_WM_STATE remove HIDDEN (0 of 3 per toolkit, GTK3 and GTK4) CONTRADICTS 3.9: the minimized path of KTD9 works under openbox with the plain message; under mutter the plain server-time message is refused for most minimized windows once any other window is active, so the lift needs the timestamp-0 form, the same owner decision as L31-1; no other route (map, state, WM_CHANGE_STATE) is available on mutter; a window still HIDDEN after the attempt keeps its window_hidden cause
L31-6 F1 stopped-then-resumed case: SIGSTOP of a GTK3, GTK4 and Qt app (own child pid), another window active, _NET_ACTIVE_WINDOW (source 2, server time); AT-SPI frame state read through a 3 s bounded child; then SIGCONT, 1 s, AT-SPI read, a second activation; private mutter X11 and openbox, 2 runs per toolkit tool api-contract §3.9 R14/R15: focus_window Ok needs frame ACTIVE; a stopped target is Unresponsive While stopped (/proc state T) the window manager made the stopped app's window active in 3 to 5 ms (12 of 12 runs, both managers), so the X11 half of the contract passes. The AT-SPI frame read of the stopped app timed out at the 3 s bound in 12 of 12 runs, so the ACTIVE half cannot be read. After SIGCONT the frame read ACTIVE true in 12 of 12 runs, and a second activation made it active again in 3 to 5 ms NEW-EDGE 3.9: for a target whose pid is stopped (process_facts state T) focus_window must not wait on the frame state: it refuses before any send with APP_UNRESPONSIVE, because an Ok built on X11 alone would be a false success and a frame read blocks until its bound; after resume the normal contract holds with no extra step
L31-7 Close request routes on windows with no pending prompt: _NET_CLOSE_WINDOW (source 2), WM_DELETE_WINDOW client message to the client window, SIGTERM to the pid; GTK3, GTK4, Qt 6 stubs, Calculator (GTK4/libadwaita), Terminal (running child), Files, Chrome 154 (--password-store=basic, X11); private mutter X11 and openbox, 2 runs each tool api-contract §3.9 R1-R4/KTD4: graceful close is _NET_CLOSE_WINDOW, the exit wait polls liveness All three routes ended the window and the process, in 0 to 63 ms on both managers, with no failure (GTK3, GTK4 and Qt stubs, Calculator, Terminal and Chrome, each x 3 routes x 2 runs x 2 managers; Files is L31-9): _NET_CLOSE_WINDOW and WM_DELETE_WINDOW were indistinguishable in effect and in time (GTK3 5-13 ms, GTK4 4-19 ms, Qt 5-11 ms, Calculator 6-52 ms, Chrome 21-50 ms, Terminal 8-63 ms). The three stubs and Calculator list WM_DELETE_WINDOW in WM_PROTOCOLS, which is consistent with the managers forwarding _NET_CLOSE_WINDOW as it CONFIRMS 3.9: send _NET_CLOSE_WINDOW to the root (the manager can refuse a frozen client by its own ping rule); keep the direct WM_DELETE_WINDOW as the route only when no manager answers; a 25 ms exit poll sees every case here inside 100 ms
L31-8 Close request with a save prompt pending: GTK3 (delete-event handler with a modal MessageDialog), GTK4 (close-request with AlertDialog), Qt 6 (closeEvent with QMessageBox) and the real Text Editor 46 with typed unsaved text; the three routes of L31-7; private mutter X11 and openbox, 2 runs each tool api-contract §3.9 KTD6: a graceful close that times out re-reads the pid's top-levels and reports dialogs (type dialog or transient) and windows_remaining; unsaved-document leg by this row _NET_CLOSE_WINDOW and WM_DELETE_WINDOW: window and process stayed in 16 of 16 runs (4 apps x 2 routes x 2 runs x 2 managers), and one new top-level appeared in every run: _NET_WM_WINDOW_TYPE_DIALOG (Qt: _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL), WM_TRANSIENT_FOR = the closed window, _NET_WM_STATE_MODAL, and the process state S. SIGTERM: process gone in 0 to 23 ms in 16 of 16 runs, no prompt, including Text Editor with unsaved text. Failing direction for the dialog signal: a plain window of the same toolkit closed with no extra top-level (L31-7) NEW-EDGE 3.9: the dialog signal is a new top-level of the pid with WM_TRANSIENT_FOR set (type DIALOG is present in all four, so either test works; use transient-for as the primary one); a graceful close that leaves the window plus such a window is TIMEOUT with delivered_unverified and dialogs; SIGTERM discards unsaved work with no prompt, so the escalation to it belongs to --force only, never to the default path
L31-9 Residency after the last window closes: Files (nautilus, window by --new-window), Terminal (gnome-terminal, window owned by gnome-terminal-server), Calculator; _NET_CLOSE_WINDOW and WM_DELETE_WINDOW, process state read from /proc 0.5 s later; private mutter X11 and openbox, 2 runs each tool api-contract §3.9 KTD6: an app that stays resident after its last window closes needs --force when windows_remaining is zero Files: window gone in 18 to 52 ms (one run 394 ms under mutter) and the process stayed alive in 8 of 8 runs (state S, no window). Terminal: the window closed in 8 to 63 ms and gnome-terminal-server exited within 0.5 s in 12 of 12 runs (3 routes x 2 x 2 managers), the running child (sleep) was killed with no prompt. Calculator exited with its window in 8 of 8 runs. Files SIGTERM exited it in 0 to 21 ms NEW-EDGE 3.9: close_app for Files ends with window gone and the process alive: that is TIMEOUT/delivered_unverified with windows_remaining 0 and the --force suggestion, not success; the pid that owns Terminal windows is the server, never the gnome-terminal client the user typed
L31-10 Move gravity and frame extents: _NET_MOVERESIZE_WINDOW for x,y = 300,200 with gravity 10 (static), 1 (north west) and 0 (the window's WM_NORMAL_HINTS gravity), source 2; client rectangle in root coordinates read with xwininfo (absolute upper-left); GTK3 (Terminal-like stub), GTK4 stub, Qt 6, Calculator (CSD, _GTK_FRAME_EXTENTS 61,61,55,67 under mutter, _NET_FRAME_EXTENTS 0,0,0,0 under openbox); private mutter X11 and openbox, 2 runs each tool api-contract §3.9 KTD8: static gravity makes x and y the client rectangle on both managers Gravity 10: the client rectangle landed exactly on the request in 8 of 8 runs per manager (delta 0,0). Gravity 1 and 0: the frame went to x,y and the client rectangle moved by the frame extents: openbox delta (1,22) (_NET_FRAME_EXTENTS 1,1,22,5), mutter delta (0,37) (extents 0,0,37,0) for GTK3 and GTK4; Qt, whose hints say static, was exact at gravity 0 and offset at 1. Calculator under mutter: delta 0 for every gravity, but the X window includes the CSD shadow, so the visible window sits at +61,+55 inside it (xwininfo rectangle is the X window) CONFIRMS 3.9: always send gravity 10; the plan's contract holds on both managers for framed and CSD windows; the rectangle the verdict compares is the X window rectangle, so a CSD window's visible rectangle needs _GTK_FRAME_EXTENTS subtracted if a caller ever wants the visible one
L31-11 Move/resize flags, settle, tolerance and clamping: partial-flag _NET_MOVERESIZE_WINDOW (x only, size only, both), minimum size 40x40, bottom-right edge 1250,780, off-screen -5000,-5000, 5000x5000, on a 1280x800 root; settle read by a 10 ms poll of xwininfo; GTK3, GTK4, Qt, Calculator; private mutter X11 and openbox, 2 runs each tool api-contract §3.9 KTD8: only changed fields flagged; tolerance and settle budget are U1 data Unflagged fields were kept exactly in 16 of 16 runs per manager (4 apps x 2 runs x size-only and x-only) (size-only kept x,y; x-only kept y and size). Settle to the exact rectangle: openbox 2 to 16 ms, mutter 2 to 11 ms (max over 24 runs). Tolerance needed on a framed window: 0 px with gravity 10. Clamping: minimum size from WM_NORMAL_HINTS (GTK3 168 wide, Qt 43, Calculator 356x502 openbox / 468 wide mutter; GTK4 stub none, 40x40 accepted); width/height of Calculator never matched the request on either manager (settle never reached, height is content-driven). Openbox keeps at least 39 px of the window on screen (1250 became 1241, -5000 became -360) and does not clamp 5000x5000 for GTK3 and Qt (GTK4 stub got 1280x800); mutter pulls a plain window wholly inside the work area (1250,780 became 880,500; -5000 became 0,69 below the 32 px panel and 37 px frame; 5000x5000 became 1280x731) NEW-EDGE 3.9: settle budget 250 ms (about 15x the maximum, capped by the lease); tolerance 0 for a framed window; a request outside the work area or below the hinted minimum is Mismatch by design and the error must carry the achieved rectangle; Calculator resize is Mismatch on both managers, so the verdict must compare only requested fields and may never retry
L31-12 Maximize and restore: _NET_WM_STATE add then remove of _NET_WM_STATE_MAXIMIZED_VERT and _NET_WM_STATE_MAXIMIZED_HORZ in one message (source 2); rectangle and _NET_WM_STATE read back; GTK3, GTK4, Qt, Calculator; private mutter X11 and openbox, 3 runs each tool api-contract §3.9 KTD8: maximize and restore-from-maximized are _NET_WM_STATE of both atoms Maximize: both flags present and the rectangle filled the work area in 24 of 24 runs (openbox 0,21,1280,779 framed or 0,0,1280,800 for the undecorated Calculator; mutter 0,69,1280,731 framed, 0,32,1280,768 Calculator), settle openbox 2 to 14 ms, mutter 6 to 42 ms. Restore: flags cleared in 24 of 24 runs; the original rectangle returned exactly in 9 of 9 stub runs on mutter and in 7 of 9 on openbox, the two misses being the first GTK3 and GTK4 restores, where the window sat at +1,+22 from where static gravity had put it (openbox restores the frame position; Qt is exact because its hint is static); Calculator came back 12 px taller under both managers (adaptive layout) NEW-EDGE 3.9: Restore compares the maximized flags only (never the saved rectangle); the restore settle budget is the move budget (250 ms); a caller needing a rectangle after restore sends an explicit move with gravity 10
L31-13 Minimize and un-minimize routes: iconify by WM_CHANGE_STATE (IconicState) and by _NET_WM_STATE add of _NET_WM_STATE_HIDDEN; un-minimize by _NET_ACTIVE_WINDOW and by _NET_WM_STATE remove of HIDDEN; GTK3, GTK4, Qt, Calculator; private mutter X11 and openbox, 3 runs each; readback _NET_WM_STATE, WM_STATE, map state, AT-SPI iconified tool api-contract §3.9 KTD8: Minimize is WM_CHANGE_STATE to iconic (L11-20, L11-21) WM_CHANGE_STATE: HIDDEN set and WM_STATE Iconic in 12 of 12 runs on both managers (openbox also unmaps the window, mutter keeps it IsViewable). _NET_WM_STATE add HIDDEN: honoured by openbox (12 of 12), ignored by mutter in 9 of 12 (the 3 hits were windows still iconified from the previous step). Un-minimize by _NET_WM_STATE remove HIDDEN: openbox 24 of 24 (2 to 21 ms), mutter 0 of 8. Un-minimize by _NET_ACTIVE_WINDOW (server time): openbox 24 of 24 (2 to 20 ms), mutter 8 of 15 (L31-5) NEW-EDGE 3.9: Minimize is WM_CHANGE_STATE only, never the _NET_WM_STATE HIDDEN route; the _NET_WM_STATE remove route is not a lift route on mutter; un-minimize is _NET_ACTIVE_WINDOW on openbox (L31-5 for mutter)
L31-14 Finding the new window of a launched app: child pid against _NET_WM_PID of the new top-level and the AT-SPI registry pid for Calculator, Text Editor, Files, Settings, Yelp, Terminal by direct exec, and Calculator by gio launch of its .desktop file; before-and-after diff of _NET_CLIENT_LIST; private mutter X11 and openbox, 2 runs each tool api-contract §3.9 KTD11/KTD13: launch finds the new window by pid (_NET_WM_PID) and registry owner Direct exec: the new window's _NET_WM_PID equals the child pid and the registry pid in 4 of 4 launches each of Calculator, Text Editor and Files and 2 of 2 each of Settings and Yelp (both managers); window arrival 362 to 1521 ms (cold first Calculator 1244 and 1521 ms). Terminal: the client exits 0 and the window belongs to gnome-terminal-server (a different pid; registry name gnome-terminal-server, comm cut to gnome-terminal-, executable gnome-terminal-server), 4 of 4, in 204 to 483 ms. gio launch of Calculator: the gio child exits 0 and the window's pid is another process (the D-Bus-activated app), 4 of 4 with a different pid, window at 362 to 494 ms, GIO_LAUNCHED_DESKTOP_FILE absent from the app's environment. Registry names seen: gnome-calculator, gnome-text-editor, org.gnome.Nautilus (executable nautilus), gnome-control-center, yelp CONFIRMS 3.9: the child pid is a hint only; the owner is found as the new top-level whose _NET_WM_PID is a registry entry not present before the spawn, with the key table (desktop id, Exec basename, StartupWMClass, comm cut at 15, executable basename) matching it to the target; the Files case shows the registry name is not the executable name
L31-15 Single-instance and second launches: second Text Editor launch with a file argument, second Files launch with --new-window, second Terminal, second Settings, second Yelp, second Calculator while the first lives; child exit, new top-levels, owner pid; private mutter X11 and openbox, 2 runs each tool api-contract §3.9 KTD13: attach versus spawn from the registry; a second Calculator is a second process Text Editor with a file: the forwarding child exited 0 and no new top-level appeared, 4 of 4 (the file was not read back, so opening in the existing window is inferred). Settings and Yelp second launches: child exit 0, no new top-level, 2 of 2 each. Files second launch: child exit 0 and one new top-level owned by the first pid, 4 of 4. Terminal second launch: child exit 0, one new window owned by the same server pid, 4 of 4. Calculator second launch: a new process and a new window with its own registry entry, 4 of 4 CONFIRMS 3.9: three outcomes the observer must tell apart by the registry, never by the exit code: new process (Calculator), new window of the existing owner (Files, Terminal), nothing new (Text Editor file, Settings, Yelp); launch of the last kind reports the existing owner with windows_added 0, as the plan says for attach_if_running
L31-16 Startup notification as a way to find the window: DESKTOP_STARTUP_ID=ad39-1_TIME1 in the spawn environment of Calculator (direct exec), _NET_STARTUP_ID read from the new top-level; also gio launch; private mutter X11 and openbox, 2 runs each tool api-contract §3.9 KTD11: how the new window is found: pid, startup notification, _NET_WM_PID _NET_STARTUP_ID was absent on the new window in every launch of every app, with and without the variable in the environment (Calculator direct exec 4 of 4 with it; 44 of 44 launches overall); _NET_WM_PID was present on every window CONTRADICTS 3.9: startup notification is not a usable route on GTK4/libadwaita; drop it from the observer and from the plan's list of ways to find the window; _NET_WM_PID plus the registry is the only route measured
L31-17 Cost of one process_state registry read: whole-registry pass (root GetChildren, then Name per app with a 300 ms bound, then pid of the bus name) against one scoped Name read, 5 to 11 apps (Calculator, Text Editor, Files, GTK3 and GTK4 stubs), min of 6 after one discarded warm-up; private mutter X11, 4 cores, a second set under 6 busy processes tool box §3.9 R15/KTD15: the probe is a whole-registry read for one pid; 3.4 adds no per-pid lookup Whole pass: 5 apps min 2.4 ms (median 4.7, max 11.4); 8 apps min 2.7 (median 3.3, max 8.8); 11 apps min 7.8 (median 14.9, max 146); under 6 busy processes with 11 apps min 23.8 (median 32.4, max 52.5). One scoped Name read on a known bus name: min 0.2 ms (median 0.3, max 3.6), unchanged with 11 apps (min 0.3, median 0.4); pid of a bus name 0.1 ms. A pass that includes a stopped or blocked app costs 308 to 333 ms because that app's Name read waits out its whole 300 ms slice CONFIRMS 3.9: the whole-registry read is cheap enough for one process_state call (under 60 ms healthy, 330 ms with one stuck app, inside the 400 ms probe slice); a per-pid scoped read is not needed; a caller that polls must not call it in a tight loop while any app is stopped
L31-18 Blocked main loop against load: GTK3 app whose main thread sleeps 120 s after 3 s; /proc state and the Name read of its registry root with the 300 ms bound; two consecutive reads; healthy apps (10 of them) under 6 and under 12 busy processes (4 cores), 30 and 40 passes; plus a SIGSTOPped Calculator; private mutter X11 tool api-contract §3.9 KTD15: two consecutive timeouts mark Unresponsive only if a blocked-main-loop app reads S and a healthy app under load never times out twice Blocked app: /proc state S (wchan hrtimer_nanosleep), the read unanswered in 2 of 2 consecutive passes (333 ms each). Healthy apps: 0 unanswered of 330 reads under 6 busy processes and 0 single timeouts, 0 consecutive pairs in 40 passes under 12 busy processes (3 per core). SIGSTOPped app: state T, the read unanswered in 5 of 5 passes (301 ms scoped read) CONFIRMS 3.9: enable the blocked-loop arm (Alive with two consecutive timeouts is Unresponsive); a single timeout stays Running; the T state rule is independent and needs no second probe; the caveat is the load ceiling measured (12 busy processes on 4 cores) not a guarantee
L31-19 Wayland, Xwayland client inside a headless private gnome-shell --headless --wayland --virtual-monitor 1280x800 (GNOME 46): a GTK3 stub on GDK_BACKEND=x11 driven from the Xwayland display with _NET_ACTIVE_WINDOW, _NET_MOVERESIZE_WINDOW, _NET_WM_STATE maximize, WM_CHANGE_STATE and _NET_CLOSE_WINDOW; 2 runs tool api-contract §3.9 scope: window operations on an Xwayland client if a compositor route exists (L11-27, L13-24) The Xwayland root answered _NET_SUPPORTING_WM_CHECK and _NET_SUPPORTED (_NET_CLOSE_WINDOW, _NET_WM_STATE, maximize atoms, desktops). _NET_MOVERESIZE_WINDOW took effect exactly (2 of 2: 300,200,500x350). Maximize and un-maximize took effect (2 of 2: 0,69,1280x731 then back). WM_CHANGE_STATE iconified (HIDDEN, WM_STATE Iconic, AT-SPI frame iconified true, 2 of 2). _NET_CLOSE_WINDOW closed the app (1 of 1). _NET_ACTIVE_WINDOW was refused: the active window stayed 0x0 and the frame stayed not ACTIVE (2 of 2), and activation did not restore the iconified window (2 of 2) NEW-EDGE 3.9: on a Wayland session an Xwayland window can be moved, resized, maximized, minimized and closed with the X11 messages; focus and un-minimize stay ACTION_NOT_SUPPORTED with the measured reason (activation refused by the compositor); the Overview does not apply
L31-20 Wayland-native window in the same headless session: GTK4 Calculator on GDK_BACKEND=wayland; Xwayland client list, AT-SPI Component grab_focus, set_position, set_size, shell D-Bus org.gnome.Shell.Introspect.GetWindows, org.gnome.Shell.Eval, FocusApp, ShowApplications, SIGTERM tool api-contract §3.9 scope: window operations on a Wayland-native window if a compositor route exists (L11-27, L13-24) The native window is not in the Xwayland _NET_CLIENT_LIST. AT-SPI grab_focus, set_position and set_size each returned an AT-SPI error (not supported). Introspect.GetWindows, FocusApp and ShowApplications returned AccessDenied ('is not allowed') to an ordinary client; Eval returned (False, '') (disabled). SIGTERM ended the app in 52 ms. The probe could not list the compositor's Wayland globals (the globals tool printed nothing), so absence of a foreign-toplevel protocol is not claimed CONFIRMS 3.9: no ordinary-client route exists for move, resize, minimize, focus or close of a Wayland-native window on GNOME 46; those stay ACTION_NOT_SUPPORTED, close_app by signal is the only lifecycle route and is --force-class; closes L11-27 and L13-24 with this measurement
L31-21 process_state of a Calculator (GTK4) in a private session with openbox: five healthy reads, then SIGSTOP, then SIGCONT, then killed; the listed name and token read before and during the stop tool box 3.9 U3: healthy Running under 50 ms; stopped app Unresponsive inside the probe slice plus a margin; same listed name and token while stopped; Running after SIGCONT; Exited after the kill healthy reads 1.3-4.4 ms, 1.5-3.3 ms and 1.7-3.3 ms in three runs; stopped answered Unresponsive in 301 ms (one probe, decided by the kernel state T); the name and token were unchanged while stopped; Running after SIGCONT; Exited { code: None } after the kill CONFIRMS keep the stopped path at one probe: a first version probed twice and took 609 ms
L31-22 process_state of a GTK3 python app whose main loop sleeps 120 s in a GLib.timeout_add callback (registered and listed before it blocks); /proc/<pid>/stat read at the end tool box 3.9 U3 and L31-17/18: a blocked loop reads S and times out twice in a row, so two timeouts on a non-stopped process are Unresponsive Unresponsive in 604 ms (two 300 ms slices); /proc state was S, not T CONFIRMS BLOCKED_LOOP_RULE is on; a live test and an invert (rule off) cover it
L31-23 close_app graceful (no signal, _NET_CLOSE_WINDOW through lane B) of a GTK4 Calculator, a GTK3 python window, a GTK4 python window, a Qt 6 (PyQt6) window, a Chromium (google-chrome --no-sandbox --password-store=basic) window and a two-window GTK4 Text Editor; each started as an orphan so a zombie cannot hide; openbox tool box 3.9 U5: graceful close is Ok only when the process is gone, with /proc/<pid> removed and no window left Ok in 37 ms (Calculator), 37 ms (GTK3), 124 ms (GTK4), 40 ms (Qt), 200 ms (Chromium), 63 ms (Text Editor, two windows); /proc/<pid> gone each time and toplevels_of empty CONFIRMS none
L31-24 close_app graceful of a GTK4 Text Editor holding a file edited with xdotool type (unsaved), 4 s budget, then --force; the file read before and after tool box 3.9 U5: the save prompt keeps the app open; TIMEOUT with delivered_unverified, no signal, the dialog counted in details, the document unchanged; --force ends the app TIMEOUT/delivered_unverified (retry: unsafe); details dialogs: 1, windows_remaining: 2 before dialogs were taken out of the window count (now 1 and 1); the process stayed alive; the file still read original; --force returned Ok and the process was gone with the file unchanged CONFIRMS windows_remaining excludes dialogs
L31-25 close_app of a stopped Calculator: graceful, then --force; library path and CLI path (close-app gnome-calculator) tool box 3.9 U5: graceful on a stopped app is APP_UNRESPONSIVE with no signal; force kills it with SIGKILL and the app leaves the registry within about 0.12 s (L23-33) graceful APP_UNRESPONSIVE, process still stopped; force Ok, the app left the registry in 31 ms, gone from /proc; the CLI force close took 1255 ms end to end, and the CLI graceful close answered APP_UNRESPONSIVE CONFIRMS (the adapter; the 1255 ms sits in core) the 1255 ms is in core's close-app resolution before the adapter call (owner: core and 3.4 inventory); not changed here
L31-26 close_app --force of a child that runs trap '' TERM (signal mask read from /proc/<pid>/status first), and of a plain sleep tool box 3.9 U5: SIGTERM, a grace, then SIGKILL; a plain process ends on SIGTERM alone trap child ended after 2029 ms (grace 2000 ms plus polling); plain sleep ended in under the grace; a first run ended at 25 ms because the signal arrived before the shell had installed its trap, so the test now waits for the ignored-signal bit CONFIRMS TERM_GRACE stays 2000 ms: the probe rows give no SIGTERM grace number
L31-27 close_app against decoys (a copy of sleep named after each PROTECTED_NAMES entry), against the private session's openbox and dbus-daemon, and against a private gnome-shell --x11 --replace (comm checked as gnome-shell), graceful and force, with a benign listed name tool box 3.9 U5 and KTD16: a protected process is refused before any send or signal, matched on the listed name and on the pid's comm and executable name every case INVALID_ARGS/not_delivered, no process stopped, _NET_SUPPORTING_WM_CHECK still owned by the shell; the shell run passed in 0.27 s, so the window manager check was met very fast and full start-up was not confirmed CONFIRMS none; core reports a protected name with the same code (invalid_input_with_suggestion)
L31-28 liveness and signal::send on spawned children: a running sleep, an exited child nobody reaped (zombie), a SIGSTOPped child, a wrong token, an exited and reaped child tool box 3.9 U2: a zombie is Gone though kill -0 succeeds; T is Stopped; a wrong token is Replaced with nothing signalled; an exited process is AlreadyGone all as expected; the zombie still had a /proc/<pid> entry while reading Gone; a wrong-token SIGKILL left the child running after 100 ms CONFIRMS none
L31-29 CLI against a stopped Calculator (ref taken before the stop; listed as gnome-calculator) with the release binary in a private session, timed per command: click, snapshot --app, list-windows --app, focus-window --app, move-window --app, minimize --app, close-app, list-apps, with the name Calculator and with gnome-calculator, before and after the fix tool box §3.9 U3 and U5: a stopped app answers APP_UNRESPONSIVE at once, not STALE_REF, WINDOW_NOT_FOUND or a 25 s hang; after the kill APP_NOT_FOUND Before the fix: click APP_UNRESPONSIVE after 4018 ms, scoped snapshot, list-windows, focus-window and close-app after 607 ms, list-apps 305 ms (a stopped root costs its 300 ms probe slice in the registry pass and again in the window read); after the force close the app was gone and snapshot --app was APP_NOT_FOUND; --app Calculator was APP_NOT_FOUND until the alias table landed, then resolved like gnome-calculator for list-windows, snapshot, focus-window and close-app, running and stopped. After the fix: click 4 ms, scoped snapshot, list-windows, focus-window 5 ms, close-app 6 ms, list-apps 5 ms, all APP_UNRESPONSIVE (list-apps lists the app). move-window, resize-window, minimize, maximize and restore --app on a stopped app answered WINDOW_NOT_FOUND because core's find_window_for_process lists every window and filters by pid and a stopped app had none; after the second fix they answer APP_UNRESPONSIVE, not_delivered, in 7 to 16 ms, and so do snapshot --window-id and focus-window --window-id of its window NEW-EDGE fixed in c17b370b for the adapter: the resolver checks /proc before it reads or waits, the registry pass skips the probes of a stopped pid, a scoped listing checks the stopped state before it reads windows; named tests, each invert-verified: a_stopped_process_is_unresponsive_before_anything_is_read_or_waited_for, a_stopped_twin_is_reported_even_when_its_same_name_twin_has_windows (windows never read) and the live alias test with its 250 ms bound (301 ms without the registry skip); the window-operation family is fixed in the adapter without a core change: the unscoped window list takes a stopped app's windows from the display server's client list (not accessible, id w-<bus>-stopped-x<xid>), window_op and the window observation check the stopped state first; tests a_stopped_application_is_unresponsive_and_nothing_is_written_or_read, the stopped-windows unit tests, a_window_of_a_stopped_process_is_unresponsive_and_a_running_one_passes and the live stopped case (invert-verified); the visible change is that an unscoped list-windows now shows the stopped app's window with accessible false
L31-30 Restore of a minimized window by _NET_ACTIVE_WINDOW source 2 with timestamp 0, judged by _NET_WM_STATE_HIDDEN: 18 minimize-then-restore runs per toolkit, GTK3, GTK4 and Qt 6, through window_op Restore; private openbox and private gnome-shell --x11 (Overview closed first by Escape and a 2 s wait) tool api-contract §3.9 R13/KTD9: un-minimize is attempted and judged; a restore must work every time or refuse with a cause Openbox: 18 of 18 on each toolkit, 5 to 45 ms. Mutter: 18 of 18 on each toolkit, 5 to 64 ms in two runs and 22 to 43 ms in a third, with one outlier of 5004 ms (GTK3, first restore of that run) that still ended Ok (analysed in L31-53). The same request stamped with the server time got 0 of 18 on mutter GTK4 and Qt in a clean-window measurement, and on openbox failed in 5 of 18 earlier runs even with the request resent every 250 ms; L31-2 and L31-5 agree CONFIRMS 3.9: the single message with timestamp 0 is the restore route; the verdict is the hidden flag; the 5004 ms outlier is analysed in L31-53
L31-31 Other un-minimize routes on a clean window: XMapWindow on the client, WM_CHANGE_STATE to NormalState, _NET_WM_STATE remove HIDDEN, and the pairs map+activate and activate+map; 18 runs per cell on openbox, partial on mutter tool api-contract §3.9 KTD9: choose the route that gets 18 of 18 Openbox: every route 18 of 18 on all three toolkits (2 to 21 ms). Mutter: map, normal state and remove HIDDEN took 0 of 18 on GTK3; results for later windows were contaminated by a window left hidden by an earlier failing route, so the mutter numbers for those cells are not claimed; L31-13 measured remove HIDDEN at 0 of 8 on mutter NEW-EDGE 3.9: only _NET_ACTIVE_WINDOW with timestamp 0 is shipped; the other routes were removed from the product
L31-32 Move and resize gravity: _NET_MOVERESIZE_WINDOW with gravity 10 (static), 1 (north west) and 0 (the window's hint), read with xwininfo (client origin); GTK3, GTK4, Qt; openbox (_NET_FRAME_EXTENTS 1,1,22,5) and mutter (0,0,37,0) tool api-contract §3.9 KTD8: static gravity makes x and y the client rectangle Move with gravity 10: client landed exactly on the request (120,90) on all three toolkits on both managers. Move with gravity 0 or 1: the client landed at the request plus the frame extents (121,112 on openbox). Resize-only with gravity 10 moved GTK clients by (-1,-22) on openbox; with gravity 1 it moved Qt by (+1,+22); with gravity 0 the position held on all three toolkits on both managers CONFIRMS (L31-10) 3.9: a request that places the window uses gravity 10 and a resize-only request uses gravity 0
L31-33 Restore after maximize: _NET_WM_STATE remove of both maximized atoms; client rectangle read before the maximize and after the restore; GTK3, GTK4, Qt; openbox and mutter tool api-contract §3.9 R11: restore returns the window to where it was Mutter: exact (120,90) on all toolkits. Openbox: Qt exact; GTK3 and GTK4 ended at (121,112), displaced by the frame extents (1,22). A plain move back to (120,90) was skipped by openbox on GTK (window stayed at 121,112) after one send, after resends and after a 600 ms delay, because openbox treats the target as the current place; a move to another place and back worked NEW-EDGE 3.9: the client rectangle is saved in a private file before a maximize and restored with a static-gravity move; if the first move does not take, the window is moved 40 px away and back; result exact on all toolkits on both managers
L31-34 Window operation readback: resize, move, maximize, restore, minimize read back by xwininfo and xprop, tolerance 2 px, settle 250 ms; a destroyed window id and a bogus id; GTK3, GTK4, Qt; openbox and mutter tool api-contract §3.9 R11/R12: Ok only when the readback holds; a destroyed window is not success All operations read back within 2 px on both managers on all three toolkits. A write to a destroyed window id and to an unused id returned BadWindow (from the live probe in prepare; send_event itself raises no error for a dead window named in the message). A clamp or an ignored request is ACTION_FAILED with delivered_unverified carrying requested, observed and the RandR display bounds CONFIRMS (L11-18, L11-24) 3.9: the verdict is a pure function of the read-back; BadWindow comes from the checked probe before the send
L31-35 Session environment: a stale WAYLAND_DISPLAY pointing at a missing socket with a working DISPLAY, and DISPLAY unset, each in a child process of the test with its own environment; GTK3 on openbox tool api-contract §3.9 B1: the shared detector decides the route Stale WAYLAND_DISPLAY with a working DISPLAY: move proceeded on X11 and read back at (60,70). DISPLAY unset: ACTION_FAILED, not_delivered, no write CONFIRMS 3.9: no change
L31-36 L31-19 through the product: headless private gnome-shell --headless --wayland --virtual-monitor 1280x800 (GNOME 46) with its Xwayland (display read from the Xwayland argument list, authority from -auth; the Xwayland answers only about 8 s after the shell starts, an earlier xprop hangs); a GTK3 window on GDK_BACKEND=x11 and a GTK4 window on GDK_BACKEND=wayland driven through window_op tool api-contract §3.9 scope: window operations on Xwayland and Wayland-native windows Xwayland window: resize 500x380, move to (120,90), maximize, restore back to (120,90) and minimize all read back through X11 messages; restore of the minimized window was refused with cause wayland_session and the window stayed hidden; the native Wayland window was refused with cause wayland_session, not_delivered, before any send CONFIRMS (L31-19, L31-20) 3.9: on a Wayland session window_op uses DISPLAY for move, resize, maximize and minimize and refuses un-minimize and any window without an X11 client; the case runs in its own headless shell, bus and runtime directory, so it passes inside a session that already runs an X11 window manager (L31-55)
L31-37 Launch by command, desktop id, absolute path and entry Name for Calculator; Text Editor by id; Qt by path with options.env; Chrome with a private profile; Terminal; run through launch_app in a private session (--wm, openbox), _NET_WM_PID read with xprop, registry pid from app_inventory, token from /proc tool api-contract §3.9 KTD11-KTD13: direct exec reports the registry owner's pid and token; the child pid is only a hint 9 of 9 live tests pass (launch_live_tests, app_alias_live_tests). Calculator by all four identifiers: reported pid equals _NET_WM_PID of an X11 client and a registry pid, token equals /proc. Terminal: reported pid is gnome-terminal-server (comm gnome-terminal-), not the launcher. Chrome: renderer: chromium. Qt: DISPLAY, DBUS_SESSION_BUS_ADDRESS, XDG_RUNTIME_DIR and the added QT_* reach the app CONFIRMS none
L31-38 Second launches through the product: Calculator no args, with --mode=basic, --no-attach; Text Editor with a file and an env value; Terminal with --window; private session, one run each tool api-contract §3.9 KTD13 and L31-15: attach decided from the registry before the spawn Calculator no args: same pid, no spawn. --no-attach: ACTION_FAILED naming the pid. With --mode=basic: a second process reported as the new owner. Text Editor with a file: first pid reported, one editor process, file name in a window title of the first pid, result states the environment was not applied. Terminal --window: same server pid, window count rose. Settings and Yelp second launches not run CONFIRMS Settings and Yelp "nothing new" second launches are not driven; the attach decision is the same code path as the Calculator and Terminal cases, so the gap is accepted
L31-39 /proc/<pid>/environ read right after Command::spawn returns, under parallel test load tool api-contract the environment of a freshly spawned child is readable once spawn returns One full-suite run read an empty environment for a live child (the test then failed on DISPLAY); the same test alone passed. The environment is empty for a short window after the exec point, so a read must retry until it is non-empty CONTRADICTS Unit tests poll environ until non-empty (environ_of); any later probe that reads a child's environment right after spawn must do the same
L31-40 --app Terminal against the entry Name=Terminal, Exec=gnome-terminal while the process is gnome-terminal-server; built CLI snapshot --app Terminal, Calculator, gnome-calculator in a private session tool api-contract §3.9 R2a: the entry Name resolves to the running app By the Exec basename alone the alias missed the server process (the entry names the launcher, the app runs as the server). After adding the KEY_TABLE names to the alias index, snapshot --app Terminal resolves to gnome-terminal-server, and Calculator and gnome-calculator resolve to the same app CONTRADICTS (plan's alias rule) Fixed in 5d366e06 with a unit test; the plan's U8a approach should say the alias index also carries the launch key table
L31-41 Reading core's launch command (crates/core/src/commands/launch.rs) tool api-contract §3.9 KTD12/R5: what a handoff discarded is stated in LaunchResult.suggestion Core assigns launched.suggestion = launch_suggestion(...) after the adapter returns, so the adapter's suggestion (environment and working directory not applied; window not brought forward; not yet on the bus) never reaches the CLI output CONTRADICTS Owner item: core must keep the adapter's suggestion when it has one; not changed in this lane
L31-42 press_key_for_app live, GTK3 test apps logging their own key events, private session with openbox and with private gnome-shell --x11 (Overview closed first); active target under headless and headed policy tool api-contract §3.9 U10: a chord reaches a process only while it owns the active window, under either policy Active target: exactly one ctrl+n logged in the target, none in the other app, under headless and headed policy, openbox and mutter. Result delivered_unverified, step XTEST.press_key, verified: false CONFIRMS none
L31-43 press_key_for_app to a background target (another GTK3 app active), headless and focus-fallback policy tool api-contract §3.9 U10: a background target is refused with nothing sent Refused both ways before synthesis ("not in the background and focus changes are not allowed" for headless, "Focus did not reach the target application" for focus-fallback); no key logged in either app; openbox and mutter CONFIRMS none
L31-44 press_key_for_app while a GTK3 popup menu in another app holds the grab (menu.popup, state file visible=True), wmctrl -i -a makes _NET_ACTIVE_WINDOW name the target tool api-contract §3.9 U10, L28-8, L28-20: the frame check is stricter than _NET_ACTIVE_WINDOW under a grab Display names the target active, the target frame is not ACTIVE: refused with check: window_active, cause: frame_not_active, physical_delivery_started: false; no key in the target or in the menu; openbox and mutter. menu.popup_at_pointer(None) never popped the menu (visible=False); menu.popup(None, None, None, None, 0, Gtk.get_current_event_time()) did CONFIRMS none
L31-45 Overview state between scenarios, private mutter X11, focus_window on a never-focused window (a), a window that held focus (b), a never-focused window with nothing active (c), 3 runs each, Overview closed once at the start only tool api-contract §3.9 KTD10 F1: is there any refusal with the Overview closed Same conditions gave different outcomes: (a) refused 2 of 3 in the first batches, (b) refused in about half, (c) activation_not_granted in about half. With one Escape plus 2.5 s before each scenario: (a) 3 of 3 granted, (b) 3 of 3 granted, (c) 2 of 3 granted. The refusals followed the Overview not being closed at call time (no direct Overview oracle). _NET_WM_USER_TIME was unset on every window NEW-EDGE harnesses close the Overview before every scenario, not once per session; the mutter rule could not be named from user time
L31-46 focus_window after the timestamp-0 fallback, private mutter X11 and openbox, Overview closed before each scenario, conditions a, b, c and d (input just before), 3 runs each tool api-contract §3.9 L31-1: a request with source 2 and timestamp 0 takes effect where the stamped one is refused 12 of 12 granted on mutter, 12 of 12 on openbox, _NET_ACTIVE_WINDOW and the frame ACTIVE agreeing in every run. The test did not record which runs needed the fallback CONFIRMS the unit tests pin the order (stamped, then one unstamped, never more, none after frame_not_active or a failed send)
L31-47 focus_window on an app that owns a modal Gtk.Dialog (transient for its window) while a second window is active, mutter and openbox tool api-contract §3.9 L31-3: the dialog takes the activation Both managers: the dialog adl-dialog is the active window after the request (WM_NAME read from _NET_ACTIVE_WINDOW); result blocked_by_modal_dialog with dialog: adl-dialog, physical_delivery_started: false, never a success. The dialog is found as the active window whose WM_TRANSIENT_FOR is the target client CONFIRMS none
L31-48 focus_window on a window of another desktop: xdotool set_desktop away, then the request, mutter and openbox tool api-contract §3.9 L31-4: a window on another workspace needs _NET_CURRENT_DESKTOP first Openbox unmaps (or hides) windows of other desktops, so the not-mapped refusal fired before any send until the desktop check was moved ahead of it. After the fix both managers: desktop switched back to the window's desktop and the window active, 1 of 1 each NEW-EDGE a window the manager hides only because its desktop is not current is switched to, never lifted
L31-49 focus_window on a SIGSTOPped GTK3 app (own child, pid-targeted, SIGCONT after), a second app present tool api-contract §3.9 L31-6: refuse before any send APP_UNRESPONSIVE in under 500 ms; _NET_ACTIVE_WINDOW unchanged; mutter and openbox CONFIRMS none
L31-50 Minimize then focus_window, 3 runs, openbox and mutter, lane B's lift merged temporarily, 3 s pause after each step tool api-contract §3.9 U7: focusing a minimized window Both managers: left_hidden 3 of 3, ACTION_NOT_SUPPORTED naming the manager, window still _NET_WM_STATE_HIDDEN. With no pause on mutter the first run restored and active, the next two stayed hidden (timing against the minimize animation) CONFIRMS L11-22 stands; pinned per manager in the live test with the pause
L31-51 focus_window_live_stacking on openbox at base 41166ffb, then with 247e1d4b cherry-picked, 10 runs tool app 3.6 stacking test is stable Base: activation_refused in about half the runs, also with two GTK apps and no Qt; settle waits and one retry did not help. With 247e1d4b: 10 of 10 pass NEW-EDGE no test change; the rebase onto the final 3.6 chain brings the fix
L31-52 Shared remote target dir, concurrent lanes tool box a test run executes this lane's binary Another lane's build can replace the test binary between this lane's build and run (1078 tests listed, none of this lane's names); a stale fingerprint can also skip the rebuild unless sources are touched NEW-EDGE copy the built executable and check --list for this lane's test names before running; touch sources before every build
L31-53 Restore of a minimized window through window_op, 40 minimize-then-restore cycles per toolkit (GTK3, GTK4, Qt 6) in five fresh private gnome-shell --x11 sessions (Overview closed first), plus restore after a delay of 0, 0.5, 1, 2, 3 and 5 s with another window active (5 per delay, five sessions) and resend probes (up to four more requests, 270 ms apart) tool api-contract §3.9 R13: a restore works every time or refuses with a cause; L31-30 saw one 5004 ms outlier Request with timestamp 0: 120 of 120 per session on idle cycles, 5 to 109 ms, none over 400 ms in about 860 restores across sessions. The server-time stamp measured 0 of 18 on mutter GTK4 and Qt (L31-30, L31-5). After a delay the outcome depends on the time since the minimize: 0 and 0.5 s 5 of 5, 1 s 2 to 5 of 5, 2 s 0 to 4 of 5 (a refused request never cleared inside 8 s in 2 of 3 cases and cleared 1 s later in the third), 3 s 5 of 5 with latencies of 961, 1999 and 3544 ms in one session and 5 s with 479 to 707 ms; four resends over about 1.1 s were all ignored. The 5004 ms outlier equals the 5000 ms lease of that test, so a request or read the shell holds is bounded by the lease and not by the 250 ms settle NEW-EDGE accepted: mutter on this box ignores or delays an activation for a minimized window in a window about 1 to 2 s after the minimize and can hold a request for seconds; the product judges by the hidden flag, returns ACTION_NOT_SUPPORTED naming the manager with delivered_unverified, and every send and read is bounded by the lease; a caller that retries after a pause of at least 3 s succeeds in these measurements
L31-54 Minimize right after a restore: 20 cycles per gap on GTK3 and GTK4 under private gnome-shell --x11, the gap being the pause between minimize, restore and the next minimize; then a second minimize request 250 ms after the first settle tool api-contract §3.9 R11: a minimize reads back or is refused with the observed state Gap timeline, minimizes that took effect out of 20 (GTK3, two sessions): 0 ms 20 and 20; 100 ms 20 and 20; 250 ms 12 and 13; 500 ms 20 and 20; 1000 ms 20 and 20; GTK4 20 of 20 at every gap. A second minimize 250 ms after an ignored one was ignored as well (7 of 20 still failed). An ignored minimize leaves the window visible at its place; openbox 18 of 18 at every point NEW-EDGE accepted: the failure is an honest ACTION_FAILED with cause readback_mismatch, delivered_unverified, the requested and observed state in details; a retry in the product was tried and did not help, so none ships
L31-55 The Xwayland window operation case in a session that already runs gnome-shell --x11: its own headless gnome-shell --headless --wayland in a runtime directory, session bus and settings of its own; first version used the outer runtime directory and the inner bus inherited DISPLAY; plus an audit of every place that starts a session bus tool api-contract §3.9 scope: window operations on Xwayland and Wayland-native windows (L31-19, L31-20) The first version failed under a running X11 shell (the two shells fight for the shell bus name) and, once isolated by runtime directory alone, left every later test of the run failing with "never listed a window" in 2 of 2 runs: the inner bus activated at-spi-bus-launcher with the outer DISPLAY, and a launcher that inherits DISPLAY writes the AT_SPI_BUS property on that display's root window, here the outer private Xvfb. With DISPLAY, WAYLAND_DISPLAY, XAUTHORITY and AT_SPI_BUS_ADDRESS removed from the inner bus and shell environment the case passes alone and in sequence, 11 of 11 window_op_live tests under openbox and under mutter, and it refuses to start outside a private session. Audit: scripts/private-session.sh starts its bus with no display variable and pushes only its own Xvfb display into the activation environment before any app starts; this test is the only other place in the repository that starts a bus NEW-EDGE fixed in 099f8bcc; invert-verified by the first version of the test, which broke the following tests in 2 of 2 runs; no other bus starter can reach another display
L31-56 focus_window live cases under private gnome-shell --x11 with three workspaces after the lanes merged, repeated on one shell session per run: desktop-switch case 20 runs, F1 case 14 runs, modal-dialog case 14 and 10 runs, the whole focus_window group 3 runs, minimized-window case 3 runs, and ten fresh shells probed for workspace switching with no app open tool api-contract §3.9 R14: the focus tests pass on both managers Under openbox every focus, key dispatch, close, process state, launch, alias and window operation live test passes. Under mutter: desktop switch 19 of 20 before the harness retried the switch, 10 of 10 after; F1 13 of 14 (the one failure was the harness listing the new window before it was mapped), modal case 5 of 8 in one batch (window_not_mapped: the harness focused the window before it was mapped) and 14 of 14 and 10 of 10 after the harness waited for IsViewable; the group passed 3 of 3 after those fixes. Ten fresh shells switched workspaces in 3 to 110 ms in all 60 attempts, so a shell with no app is healthy. The minimized-window case ends restored_and_active or left_hidden in a session by the timing of L31-53. After a failed case the interaction lease timed out in the next case in some sessions: the lock is /tmp/agent-desktop-<uid>/, shared by every private session of the user on the box, so a concurrent run by another agent holds it NEW-EDGE fixed in the harness (focus_fallback_live_tests.rs, focus_lift_live_tests.rs): the desktop switch is retried and read back, the harness waits for the window to be mapped and listed (40 s), the F1 case accepts an honest activation_refused or activation_not_granted under mutter; the minimized-window case accepts exactly two outcomes under mutter, restored_and_active (no hidden flag and _NET_ACTIVE_WINDOW is the target) and a ACTION_NOT_SUPPORTED naming the manager with the flag still set, each checked against xprop; invert-verified (a lift that trusts the send and a focus that returns Ok after it made the case fail with "Ok with the window still hidden" and "Ok but not active"); accepted for the box: the shared lease lock and the mutter timing of L31-53
L31-57 Release binary through the CLI in a private session, once under openbox and once under gnome-shell --x11 (three workspaces, Overview closed, 3 s pauses around the minimize): launch gnome-calculator, move-window, resize-window, maximize, restore, minimize, restore, a second launch gnome-text-editor, focus-window --app gnome-calculator, launch of a missing name, close-app gnome-calculator, close-app gnome-text-editor --force; every effect read by xprop (_NET_CLIENT_LIST, _NET_WM_PID, _NET_WM_STATE, _NET_ACTIVE_WINDOW), xwininfo and /proc tool api-contract §3.9 exit criteria: lifecycle e2e (launch, interact, close) passes on the release binary Both managers: the reported pid owns an X11 client by _NET_WM_PID and has a /proc entry; move landed at (110,90) and resize at 520x560 (openbox) and 520x700 (mutter) by xwininfo; maximize set both atoms and restore cleared them with the rectangle given back; minimize set _NET_WM_STATE_HIDDEN and restore cleared it; focus-window made _NET_ACTIVE_WINDOW the Calculator while the Text Editor was active; the missing name was APP_NOT_FOUND with exit 1; graceful close-app left no process and no window and --force removed the editor. A resize below the Calculator's own minimum height (502 on openbox, 614 on mutter) ended ACTION_FAILED, delivered_unverified, retry: unsafe, with the held size in details.observed, matching xwininfo. The first mutter run used 520x560, below its minimum, and failed as it should CONFIRMS 3.9: none; the minimum height of a window is the application's and differs per manager, so a caller reads the held size from the error
L31-58 Review of the merged branch (eight reviewers and a cross-model pass) and the fixes that followed, each with a test that fails on the old code tool api-contract §3.9 R6 to R14, R17, R18: every Ok is an observed effect and every call is bounded by the lease Findings: an entry launch moved every option ahead of the operands and split --user-data-dir /tmp/p; a retried restore of an unmaximized window returned Ok without the kept place; control sends and the focus connect and round trips waited for the display server with no deadline, and the stamp-free fallback was sent after the lease was spent; a graceful close of a native Wayland app with Xwayland up said ACTION_FAILED "no open window"; a launch whose app registered and then exited before a window was reported as a success with a dead pid; an unreadable read-back was named a mismatch or a refusal by the manager; a size under half a pixel passed validation; a failed place write left a .tmp file; /proc/<pid>/stat was read and parsed in three places; the adapter had no test for its lifecycle overrides NEW-EDGE fixed, each in its own commit with a named test seen to fail without the fix: argument order (the_callers_arguments_keep_their_order_so_an_option_keeps_its_value), retried restore, within_deadline and the expired fallback (four tests), the Wayland close (unit test and the live Xwayland case), early exit (live_an_app_that_exits_after_registering_and_before_a_window_is_not_a_launch: a success with the pid of a dead process without the fix), the unreadable cause, the size bound, the pending-file sweep, one read_stat, and the_lifecycle_overrides_are_wired_to_the_adapter (each of the six overrides removed in turn failed it); accepted: the other residual risks of the review (protected names are GNOME and openbox centred, detached reader threads in a long-lived host, entry keys from a generic wrapper)
L31-59 Insider E2E of the frozen release binary, stopped apps: move-window, resize-window, minimize, maximize, restore, press, focus-window by --window-id (taken before the stop), --title and --app on GTK3, GTK4, Qt, Calculator and Files under openbox and mutter, two sessions each tool api-contract §3.9 U3 and U5: a stopped app answers APP_UNRESPONSIVE on every path The frozen binary answered WINDOW_NOT_FOUND for every window path and frame_not_active for press: the synthesised window had a new id, so an id taken before the stop never matched, and press checked the frame before the process state. After the fixes, the release binary answers APP_UNRESPONSIVE, not_delivered, in 10 to 70 ms for all ten commands on all five targets (GTK3, GTK4, Qt 6 stubs, Calculator, Files) NEW-EDGE fixed: window ids are remembered per X11 client and process instance in a private runtime directory and reused for the stopped app's window (window_ids.rs, a_window_listed_before_the_stop_keeps_the_id_it_had); press checks the stopped state in the key gate (a_stopped_target_is_unresponsive_and_nothing_is_synthesised); both seen to fail without the fix
L31-60 OpenBox, resize-window then move-window back to the old place, and a GTK4 resize to 5000x5000, on GTK3 and GTK4 with xwininfo as the oracle tool api-contract §3.9 R11: a resize holds the place and Ok means the size is held Before: a resize moved the client by the frame extents (300,200 became 301,222) and the move back was refused; GTK4 5000x5000 answered ok while the window was 1280x800 (3 of 3), because the first read showed the requested size before the toolkit clamped it. After: a resize leaves the client at 300,200 on both toolkits, a size that fits is read again after 120 ms, and the GTK4 request answers ACTION_FAILED, delivered_unverified, with the held size 1280x800 and the place given back; GTK3 really takes 5000x5000 and says ok NEW-EDGE fixed with a_resize_that_shifts_the_client_gives_the_place_back, a_size_that_fits_only_for_a_moment_is_not_a_success and a_clamped_resize_that_also_shifted_the_client_still_gives_the_place_back, each seen to fail without the fix; checked live with xwininfo
L31-61 --app Files with a Files (nautilus) running in another private session of the same user on the box tool api-contract §3.9 R2a: the entry-name alias resolves a process of this session The alias scan of /proc matched a nautilus of another session and printed its pid; list-windows --app Files returned an empty list instead of APP_NOT_FOUND. After the fix a process matches only when its environment names this session's bus (DBUS_SESSION_BUS_ADDRESS or DBUS_STARTER_ADDRESS) or runtime directory: with one foreign nautilus on the box, list-windows, snapshot, close-app, move-window and list-windows --app nautilus all answer APP_NOT_FOUND CONTRADICTS fixed in find_running, the only matcher of processes without a bus entry, which both callers use; a_process_of_another_session_is_never_found_by_name fails without the fix
L31-62 Repeated graceful close-app of a Text Editor with its save prompt open tool api-contract §3.9 R7: a prompt is reported and never answered The second call sent _NET_CLOSE_WINDOW to the dialog and closed the prompt (dialogs 1 became 0). Now any open dialog or transient top-level stops the request: ACTION_FAILED, cause dialog_pending, delivered_unverified, dialogs and windows_remaining in details, nothing sent; the dialog count is unchanged after the call NEW-EDGE fixed with an_open_dialog_is_reported_and_no_close_request_is_sent_to_anything and the live unsaved-document case, which fails without the check
L31-63 launch nautilus while the process is running with no window, and a forwarded launch (--arg=--new-window) of a running app tool api-contract §3.9 R3 to R5: the reported window is the one the launch produced A running app with no window was attached and reported with no window; a forwarded launch reported the old window. Now an attach that finds no window starts the launcher so that it forwards and opens one, and a launch into a running app prefers a window that was not listed before the spawn and falls back to the old one after 1.5 s NEW-EDGE fixed with live cases that fail without the change (live_a_running_app_with_no_window_is_started_again_and_a_window_is_reported, live_a_forwarded_launch_reports_the_new_window_not_the_old_one); a stock Files that stays resident after its last window closed could not be reproduced in a private session, so the resident app is a script that registers and closes its window
L31-64 focus-window latency when focus changes, and on a zenity dialog and a Wayland window tool api-contract §3.9 R14 Latency: 2.1 s in 4 of 6 calls under openbox with the instrumented binary; the stamped activation was ignored about every other time and the code waited the whole 2000 ms grace before the stamp-free resend. Now an unanswered stamped request is resent after 400 ms (a display that already names the window is still waited on for the whole grace): the resend case takes under 1.5 s in the unit test and a granted request still takes about 80 ms. A zenity dialog: _NET_ACTIVE_WINDOW and the X input focus name the dialog while its AT-SPI frame carries MODAL and no ACTIVE or FOCUSED, so the rule that the application confirms the focus refused it with frame_not_active. A native Wayland window: ACTION_FAILED where the other lifecycle commands answer ACTION_NOT_SUPPORTED NEW-EDGE latency and Wayland fixed (an_ignored_stamped_request_is_resent_after_the_first_look_not_after_the_whole_grace, the focus Wayland test); zenity fixed: a frame marked modal and not active is accepted when the display names its client active and the X input focus lies in it (a_modal_dialog_its_toolkit_never_reports_active_is_accepted_on_the_display_and_the_input_focus, the not-modal and focus-elsewhere cases keep the refusal, and the live zenity case passed twice under openbox and fails without the change)
L31-65 Stranger dogfood of the frozen binary: a graceful close on unsaved text, a repeated close, rejections of unknown targets and a window on another workspace tool api-contract §3.9 R7, R12: a prompt is reported when it appears; a refusal says nothing was sent; visible is true only for a mapped window The first close waited the whole 5 s budget and answered TIMEOUT although the save prompt was open after 0.1 s; a repeated close said no request was sent yet reported delivered_unverified and retry: unsafe; the adapter's refusal of an unknown application carried delivery and retry unknown; a window moved to desktop 1 while desktop 0 was shown listed visible: true with xwininfo reporting IsUnMapped. After the fixes: the first close answers ACTION_FAILED dialog_pending delivered_unverified in about 115 ms and names "Save Changes?"; the repeated close is not_delivered; the unknown application is not_delivered and safe; the same window lists visible: false on desktop 0 and true once desktop 1 is shown. visible on another Space is false on macOS (kCGWindowIsOnscreen) and a window on another virtual desktop is cloaked and left out of the inventory on Windows NEW-EDGE fixed with a_dialog_that_opens_after_the_request_ends_the_wait_at_once_with_its_title, an_open_dialog_is_reported_and_no_close_request_is_sent_to_anything, an_unknown_target_is_refused_before_anything_is_sent, a_window_on_another_desktop_is_not_visible and the live close case; the disposition of rejections that core builds, the unnamed target of unscoped window commands, close-app picking an instance and negative numbers are on the core list in docs/phases.md
L31-66 Final E2E of the frozen binary: launch of an app with no window, an oversize resize, a forwarded launch and a close on a Wayland session with no Xwayland tool api-contract §3.9 R2 to R5, R8, R11: a launch waits only as asked; Ok of a resize is the size held launch of a live app with no window waited the whole 30 s timeout and then answered with no window; an oversize resize that took (a GTK3 window 5000x5000 on a 1280x800 display) answered readback_mismatch because the place check compared a position the manager cannot hold for a window larger than the screen; a forwarded launch reported the old window in 1 of 14 tries after 1.5 s; a close on a Wayland session with no X11 route had no cause. After the fixes: the no-window launch answers in about 2 s (15 s before), a GTK3 oversize resize answers ok at 5000x5000 with xwininfo agreeing, a forwarded launch waits up to 5 s for a window absent before the spawn and otherwise answers with no window, and the close says wayland_session. The keys of press --window-id to a second window go to the active window of the process because the adapter receives the process, not the window NEW-EDGE fixed with live_a_launch_that_shows_no_window_does_not_wait_for_the_whole_timeout (15.0 s without the fix), a_resize_beyond_every_display_is_not_judged_by_the_place_the_manager_gave_it and a_wayland_session_with_no_xwayland_is_not_supported_with_its_cause, each seen to fail without the fix; fixed in core (owner-approved, fix(core) commit): a headless press --window-id naming another window of the active process is refused before the adapter is called, press_window_tests cases fail without the check, and live a GTK3 process with two windows refuses press y --window-id w2 while w1 is active (no key in either window) and --headed lands y in w2; after an oversize resize the app is busy repainting and list-windows omitted it for a while, accepted as the toolkit's
L31-67 GTK3 (gnome-terminal) and GTK4 (Calculator) client-side-decorated windows under a private gnome-shell --x11 (mutter) and an openbox session: _GTK_FRAME_EXTENTS, xwininfo, list-windows bounds, then move-window --x 300 --y 200, resize-window --width 420 --height 560, maximize and restore tool app §3.9: window operations act on the X11 client rectangle gnome-terminal extents 26,26,23,29: xwininfo 206,72 866x629, list-windows 206,72 866x629 before the fix and 232,95 814x577 after it. Calculator extents 61,61,55,67: client 482x626, list-windows size 360x460 from AT-SPI and unchanged after the client grew to 542x682. Before the conversion a move to 300,200 left the client at 300,200 and list-windows at 326,223. After it: terminal move reads 300,200 (client 274,177); Calculator move reads 300,200 (client 239,145) and a resize to 420x560 reads 420x560 (client 542x682); maximize then restore keeps both; the terminal resize reads 414x555 for 420x560 (cell-size hints); openbox, with no shadow, reads 300,200 and 420x560 as before NEW-EDGE fixed with a_gtk3_window_with_a_client_side_shadow_is_reported_without_the_shadow, a_gtk_window_with_a_shadow_has_the_size_of_its_client_less_the_shadow, a_move_of_a_shadowed_window_reads_back_where_it_was_asked, a_resize_of_a_shadowed_window_reads_back_the_size_it_was_asked, a_resize_the_manager_clamped_reports_the_visible_size_it_held and extents_without_the_client_side_shadow_select_the_shadowed_client, each seen to fail without the fix; the terminal's cell-size rounding is accepted as the toolkit's

Area L33 — signals and wait parity (sub-phase 3.11)

Private sessions with their own session and AT-SPI buses, Xvfb and Openbox; raw AT-SPI over Gio as the tree oracle, xdotool for keys, the release binary and release test binaries for timings. Rows are the pre-code probes of the sub-phase followed by the measurements of its four build lanes and the live legs. The box ran other sessions at the same time, so every latency is an upper bound.

id probe stack scope phases.md expectation observed verdict action
L33-1 App-root children at idle (U1 item 1): Calculator, Files, Text Editor (GTK 4), Terminal with menu bar and with header bar, PyGObject window (GTK 3), Qt window, Chrome, VS Code dbus app role-39 root children are 0 at idle on GTK 3, Qt, Chromium (KTD8) Role-39 root children: 0 on all eight. Root children at idle: GTK 4 one window-shaped child (numeric role application, ACTIVE SHOWING VISIBLE, Component+Action, no class); GTK 3 one frame; Qt one frame (path counter 2147483649); Chrome THREE frame children (BrowserRootView titled, plus two nameless RootView, all SHOWING); VS Code one frame (RootView, titled) CONFIRMS 3.11 U3: the SHOWING clause on the role-39 branch is not needed for idle; the two nameless RootView Chrome frames at idle are the existing is_bubble case
L33-2 GTK 4 popover and dialogs at the app root (U1 items 1, 4): Calculator Main Menu inner toggle (click), then the last menu item (6 showing items), 2 cycles; Text Editor Main menu then the last of 11 items, 2 cycles dbus app popover is never an app-root child (L18-1); About opener adds a root child (L18-12) Opening Main Menu leaves the root child list unchanged at 0.05, 0.4 and 1.5 s (1 child). The last item adds a root child application/About ACTIVE MODAL SHOWING VISIBLE, 1 child, path a fresh uuid each cycle; the main window loses ACTIVE; Escape removes it (child list back to 1 within 0.5 s, 2 of 2). Text Editor last item: no root child; a role-16 dialog node, empty name, SENSITIVE SHOWING VISIBLE (no MODAL, no ACTIVE), depth 6 under the window (application > application > generic x4), first seen by a whole-tree walk 0.675 and 1.488 s after the call (127 nodes before, 137 after); Escape removed it (no role-16 node afterwards, 2 of 2). Close/OK buttons do not exist in it CONFIRMS (refines L18-14) 3.11 U8: the in-window dialog is a depth-6 role-16 node, gone by node absence after Escape (L18-14 saw it stay after a Close control that this probe did not find); it needs a bounded subtree scan; whether to build it stays the U8 decision
L33-3 GTK 3 header-bar popover container (U1 item 1, Rule B): Terminal Menu toggle (click), 2 cycles dbus app the header popover's MODAL role-39 container is an app-root child, or not (decides Rule B) The MODAL role-39 panel is at depth 2 (application > frame > panel), NOT an app-root child, present while closed (ENABLED MODAL SENSITIVE, no SHOWING) and open (SHOWING VISIBLE added); root children stay 1 (frame, 3 children) at 0.05 s and 0.5 s after open and after close CONFIRMS 3.11 U6 Rule B stays: nothing in the window shape admits it, so opening the popover is not window-opened; the detector needs the toggle CHECKED + container SHOWING conjunct
L33-4 GTK 3 menu bar and About (U1 item 1): Terminal with headerbar=false, Help menu click, then About (2 cycles); PyGObject window dbus app L18-11 Bar File and Help are role menu nodes with click, SHOWING while idle; Help then About adds a root child role dialog About GNOME Terminal ACTIVE SHOWING VISIBLE (no MODAL), path counter 50 then 68; the frame loses ACTIVE; Close removes it within 0.6 s (2 of 2) CONFIRMS none
L33-5 Chromium menu frame (U1 item 3): Chrome alt+f then Escape, 2 cycles (the first alt+f of a session lost focus once and opened nothing; a retry opened it) dbus app does the menu frame pass is_bubble (class RootView, blank name) A fourth root child appears 0.05 s after the key: role frame, name blank, ACTIVE SHOWING VISIBLE, class MenuHostRootView (not RootView), 1 child. is_bubble compares the class with RootView exactly, so this frame is NOT excluded: it is listed as a window and takes ACTIVE from the browser frame. Escape removes it (root children back to 3 within 0.5 s, 2 of 2) CONTRADICTS (the frame is not a bubble) 3.11 U3: the window predicate must exclude MenuHostRootView (a class test on the frame, not a walked tree); without it every Chrome menu is window-opened and a focus candidate
L33-6 Object-path reuse (U1 item 2): 20 close-and-reopen cycles per toolkit, window shown 350 ms, closed, reopened 80 ms later, root children polled every 10 ms; GTK 3 and GTK 4 (PyGObject), Qt (PyQt6), Chrome menu frame (alt+f/Escape, 20 cycles, 0.5 s open, 0.1 s closed) dbus app a reopened window may reuse its path inside 200 ms (KTD4) 0 reuses in 80 of 80 reopenings: GTK 3 paths /accessible/1 to /20 (monotone counter), GTK 4 a fresh 12-hex uuid per window, Qt 2147483650 to 2147483669 (monotone), Chrome menu frame /accessible/4 to /22 (monotone). Chrome browser windows are out of scope CONFIRMS (no reuse) 3.11 U2/U4: no name hash on the id; the residual is a stated limit
L33-7 Pass cost with a stopped and a silent app (U1 items 8, 11): list-windows (release binary, min/median/max of 6 after one warm-up) with Calculator, Text Editor, Files and a PyGObject window whose button callback sleeps 40 s dbus app a stopped unrelated app costs nothing; an alive-but-silent app costs one ROOT_SLICE Baseline unscoped 35/44/52 ms, --app Calculator 23/34/42 ms. Text Editor SIGSTOPped: unscoped 19/44/62 ms, --app Calculator 15/23/40 ms, --app gnome-text-editor 9/17/29 ms with APP_UNRESPONSIVE. Silent alive app (blocked main loop): unscoped 614/620/626 ms (a ROOT_SLICE for the registry read plus a CHILDREN_SLICE for its frames), --app Calculator 322/326/347 ms (registry only), --app busy.py APP_NOT_FOUND after 329 ms (the registry name is not read, so the /proc name python3 is what the query meets) NEW-EDGE (a silent app costs two slices) 3.11 U2/U4: a silent alive app costs two slices unscoped and one for another app's name filter; read_registry_for removes the registry slice only for a process filter
L33-8 Stopped versus slow-but-alive (U1 item 11): Calculator held in SIGSTOP/SIGCONT cycles (30 list-windows --app Calculator per cycle), VS Code idle and under 8 CPU hogs (60 root Name reads each) dbus app a root that misses ROOT_SLICE while the process is not stopped is not an error (R8) Stop 20 ms / run 80 ms: 6 of 30 calls APP_UNRESPONSIVE, 24 ok; 100/100: 16 and 14; 400/100: 30 of 30. VS Code root Name read: idle 0.5/0.5/2.1 ms (min/median/max), under 8 CPU hogs 0.4/0.5/11.8 ms, 0 of 120 reads over 300 ms; --app code under load 15 of 15 ok, max 41 ms. The blocked PyGObject app (L33-7) missed the slice with state not T, and the pass returned ok CONFIRMS 3.11 U4/U5: stopped_target (state T) is the only error source; a flapping stop is reported when a read lands inside a stop and is not an error otherwise; no Electron slow case was reproducible
L33-9 Detector cost per toolkit (U1 item 5): the imported popups_of per window against popups_at on the application root, release test binary, 7 timed reads after one discarded, closed and with the menu open dbus app per-window loop and app-root anchor give the same answer; the cost of one poll Answers equal in every case (0 closed, 1 open; Terminal header popover 0 open, as L18-5 predicts). Per-window min/median/max ms (closed; open): Calculator 83/100/146; 119/169/345. Files 134/140/170; 201/235/246. Text Editor 38/58/67; 115/138/178. Terminal bar 19/20/21; 15/17/20. PyGObject GTK 3 3/3/4; 3/4/6. Qt 5/6/8; 5/8/14. Chrome 9/12/17; 30/33/41. VS Code 0.3 (web family, window not read). App-root anchor: Calculator 84/95/161; 155/193/244, Files 179/199/213; 228/258/443, Text Editor 61/73/85; 90/126/335, Terminal 20/23/42, GTK 3 3/4/6, Qt 6/7/9, Chrome 10/22/37; 19/26/58, VS Code 2.3/2.8/6.4. A debug build of the same test took 2 to 6 times as long on GTK 4 (Calculator closed 217/240/469) NEW-EDGE (measured) 3.11 U6/U7: anchor on the per-window loop (no gain at the root, and a slower closed read on Files); a poll costs 40 to 350 ms on GTK 4, so the 50 ms cadence is a pause after each poll and not a period
L33-10 Collection.GetMatches as the menu read (U1 item 5): interfaces of the application root and of each frame dbus app adopted only if it answers on all five toolkits GTK 4 (Calculator, Files, Text Editor): neither the root nor the frame implements Collection (Accessible, Application and Accessible, Component, Action). GTK 3, Qt and Chromium implement it on root and frame CONTRADICTS (no Collection on GTK 4) 3.11 U7: not adopted; the detector's pruned reads stay (KTD9)
L33-11 Closed-direction race (U1 item 6): Calculator, Files and Text Editor Main Menu toggle DoAction twice (open at t0, close 2.2 s later), detector polled continuously (release binary), 4 cycles each dbus app a --menu-closed poll right after a click reads closed until the popover shows (KTD15) Open first read as open after the action: Calculator 347 to 542 ms, Files 497 to 999 ms, Text Editor 356 to 728 ms. Closed first read after the closing action: Calculator 256 to 325 ms, Files 288 to 484 ms, Text Editor 268 to 435 ms. Each direction is one change (0 to 1, 1 to 0) with no flapping in 12 of 12 cycles CONFIRMS 3.11 U6/U7: an immediate --menu-closed is satisfied for the first 0.35 to 1.0 s after a GTK 4 opener; the dogfood must wait for the open first
L33-12 Error table on a dying app (U1 item 10): SIGKILL of GTK 3, GTK 4 (Calculator), Qt and Chrome, then root GetChildren, frame GetRole, Name, GetState, GetInterfaces, Component.GetExtents and the bus daemon's process-id lookup, polled every 20 ms dbus app which failures are "gone" against 3.5's L25 rows In all four toolkits the first poll after the kill (0 ms): every frame read is org.freedesktop.DBus.Error.ServiceUnknown and the process-id lookup is NameHasNoOwner (both are Failure::AppGone); the root GetChildren that was in flight at the kill returns org.freedesktop.DBus.Error.NoReply, then ServiceUnknown from the next poll (27 to 45 ms later). No call returned a suspect-family error (UnknownObject, UnknownMethod, UnknownInterface) NEW-EDGE 3.11 U2/U5: NoReply is not in failure_of_name's gone set, so list_children folds it into INTERNAL; the root read of an app that dies mid-capture is an INTERNAL-class error for about 30 to 45 ms, which the boundary narrows to TIMEOUT and the next poll sees the app gone
L33-13 Handoff (U1 item 9): gnome-text-editor --new-window against a running Text Editor, 3 invocations dbus app L4-26 Each invocation returns 0 in 0.11 to 0.13 s; the registry gains no application (same pid and bus name, xdg-desktop-portal-gtk unchanged); the application root gains one window-shaped child per invocation (child count 1, 2, 3, 4) with a fresh uuid path and the title New Document (Draft) - Text Editor; the previous frame loses ACTIVE and the new one gains it CONFIRMS 3.11 U4: a handoff is window-opened alone, never app-launched
L33-14 Focus evidence (U1 item 7): three apps (Calculator, Text Editor, PyGObject window) in a private X11 session with Openbox and without a window manager, 20 s of churn (alt+Tab, --new-window), all application-root frames read for ACTIVE every 40 ms dbus + tool box two ACTIVE frames occur in churn (U5) With Openbox: 1 ACTIVE frame in 334 of 336 polls and 2 in 2 of 336 (0.6 percent), _NET_ACTIVE_WINDOW present. Without a window manager: 1 ACTIVE frame in 342 of 342 polls and _NET_ACTIVE_WINDOW absent. After launching three apps with Openbox exactly one frame was ACTIVE and X11 named a window. Wayland before and after a first key was not re-measured (L23-29 stands) NEW-EDGE (measured) 3.11 U5: the two-ACTIVE state is real but rare and transient; an indeterminate focus is a short window and not a standing condition
L33-15 Hidden remnant of a closed modal window on Qt (the SHOWING clause question): PyQt6 QDialog shown, hide(), shown again, close(), root children and their full state sets polled dbus app GTK 3, GTK 4 and Chrome leave no hidden MODAL remnant; Qt not measured Shown: root child role dialog named qdlg, ACTIVE ENABLED RESIZABLE SENSITIVE SHOWING VISIBLE. After hide() and after close() (name then blank) the dialog stays a root child with ENABLED RESIZABLE SENSITIVE and neither SHOWING nor VISIBLE; it is a role-16 child, not role 39, so the window shape admits it and list-windows showed it as a second window. Its X11 client is unmapped and leaves _NET_CLIENT_LIST at the same moment NEW-EDGE (fixed) 3.11: the role-39 SHOWING clause is not needed. A window that neither shows nor is iconified is a husk and is left out of every window list, unless the display server shows it is the only claimant of a managed client (L33-56, L33-57)
L33-16 Scan of a window's tree for a showing dialog (U8), release test binary, scan_walk from the window element with a 1000-node and a 2000-node cap, min/median/max of 7 after one discarded, idle on every window of the apps below dbus app in-window dialog observable by a bounded scan (L18-14); idle gives none Nested dialogs found at idle: 0 on all eight apps. Nodes read and cost (1000 cap; the 2000 cap gave the same node counts and times within noise): Text Editor 63 nodes 49/52/60 ms (136 nodes 85/94/101 ms with the dialog open, 1 found, blank title, 39/44/46 ms after Escape with 0 found), Files 206 nodes 126/136/142, Calculator 98 nodes 71/77/89, Terminal bar 49 nodes 9/10/15, PyGObject GTK 3 8 nodes 2/3/4, Qt 9 nodes 4/4/5, Chrome 225 nodes 42/44/47, VS Code 399 nodes 77/82/94. No window was cut by either cap NEW-EDGE (measured) 3.11 U8: built with a 1000-node cap per window; a cut-short walk marks surfaces incomplete; cost per scoped poll is one window walk per window (3 to 140 ms here)
L33-17 Closed-direction race fix live (step 2): Calculator Main Menu toggle DoAction immediately after the wait started with an action mark, DoAction again 2.5 s later, 10 cycles, release test binary dbus app a closed wait started right after an opener action must not return before the menu was seen open 10 of 10 cycles returned Ok after 2766 to 3006 ms (the close was issued at 2500 ms), never early. The first runs used a clock held in one process; it is now persisted so a second invocation sees it (L33-56) CONFIRMS 3.11 U7: unit test pins it and fails when the hold is removed; the two-process case is covered by L33-56
L33-18 In-window dialog end to end (U8): Text Editor Main menu then the last item (DoAction), release agent-desktop built from the merged branch dbus app signal, list-surfaces and snapshot --surface sheet agree on one nested dialog wait --event surface-appeared --app gnome-text-editor started 1.5 s before the opener returned found: true, surface: sheet (elapsed 2533 ms). list-surfaces lists the window entry and one sheet entry on a different id (the dialog's own address) with the dialog open and only the window entry after Escape. snapshot --surface sheet --app gnome-text-editor -i returned ok with 10 refs rooted under the dialog (the window block names the editor window). A click on a ref under it was not run: the base has no semantic click CONFIRMS (click leg not run) 3.11 U8: the click leg waits on the sub-phase that brings click
L33-19 VS Code as the Electron target (step 5): code --no-sandbox --password-store=basic --user-data-dir --extensions-dir --disable-extensions --disable-gpu --new-window with ACCESSIBILITY_ENABLED=1, private session with Openbox dbus app a native Electron menu frame (MenuHostRootView) can be driven The recipe gives a titled RootView frame (Welcome - Visual Studio Code) about 13 s after launch (one frame, toolkit Chromium). alt+f and a right click in the window opened nothing at the application root in 2 of 2 cycles each: VS Code draws its menus in the page, so there is no popup frame. The Electron menu leg therefore has no live target; the Chrome rows and the unit tests are the evidence NEW-EDGE (not reproduced) 3.11 U3/U6: no Electron menu leg
L33-20 Registry read cost with one SIGSTOPped app: read_registry min-of-seven in a private session, Calculator stopped, 7 reads each dbus app KTD10: a stopped app pays no ROOT_SLICE because its name comes from /proc Before the change a stopped app paid one full ROOT_SLICE: min 302 ms, median 303, max 308 (name and toolkit were read under within_slice and both timed out). The plan's claim was false for the landed code CONTRADICTS Fixed in registry.rs: read_known skips the name and toolkit reads of a stopped process and lists it unanswered. After: min 0 ms, median 0, max 1. Test a_stopped_process_is_listed_unanswered_without_a_name_or_toolkit_read (invert-verified)
L33-21 Whole pass with live apps: read_registry plus run_pass over every app, min/median/max of seven, private session with Calculator only dbus app L8-1: full enumeration min 36.7 ms (19 apps) 5/5/7 ms with the private session's apps (fewer apps than the live bus). Process-scoped pass (read_registry_for plus run_pass by pid): 4/7/8 ms. Not comparable app-for-app to L8-1 CONFIRMS The per-app cost did not rise: one pass does the same reads as before. Re-measure on the live bus at integration
L33-22 run_pass with a stopped target: unscoped pass and pass selecting the stopped pid dbus app U1 item 8: a stopped target contributes no outcome and no windows; the pass is not slowed Unscoped: 3 ms, the stopped app absent from outcomes and windows. Selecting only the stopped pid: 2 ms, zero outcomes and zero windows (the stopped app is skipped before any frame read) CONFIRMS chosen_apps drops an unanswering stopped app. The scoped-stopped verdict stays stopped_target's
L33-23 Unanswering (slow-alive shape) root through read_frames directly: the stopped Calculator's root read with the stopped skip bypassed dbus app U1 item 11: an unanswering root is TimedOut, not an empty Read RootRead::TimedOut, no nodes, after 300 ms (CHILDREN_SLICE). A stopped process and a busy process look the same to the bus; only proc_stat tells them apart CONFIRMS TimedOut marks the root incomplete; only stopped_target turns it into an error. A genuinely busy Electron app is not on this box; item 11 stays with the integration probe
L33-24 Window id taken before SIGSTOP, then resolve_window_strict, Calculator dbus app U12: APP_UNRESPONSIVE, not WINDOW_NOT_FOUND APP_UNRESPONSIVE in 3 ms (302 ms before L33-20 was fixed). After SIGCONT the same id resolves again. After SIGKILL it is WINDOW_NOT_FOUND CONFIRMS verify takes a Liveness verdict; resolve_window_strict lists only the expected pid through read_registry_for and windows_of_process
L33-25 Chrome (private profile, --force-renderer-accessibility) root children at idle and with the main menu (Chrome push button, DoAction on its action child) open, 2 s; then list-windows through the CLI, with and without the menu-frame exclusion dbus app U1 item 3 / KTD8: the menu frame may pass is_bubble and read as window-opened Idle: 3 role-23 frames (BrowserRootView titled; two nameless RootView). Menu open: a fourth role-23 frame, name empty, class MenuHostRootView, states SHOWING VISIBLE ACTIVE ENABLED, Component; the browser frame loses nothing else. Closed by Escape: the fourth frame is gone, the browser frame is ACTIVE again. Without the exclusion list-windows listed a second window (id ends accessible-274, title empty, 397x705 at 652,95) while the menu was open; with it the list stays at one window in all three states CONFIRMS window_filter::is_menu_popup_frame (class MenuHostRootView, empty title) is applied in window_listing::listed. Tests: a_nameless_menu_host_frame_is_a_menu_popup_and_nothing_else_is, an_open_chrome_menu_frame_is_not_a_window (invert-verified, and the live listing is the invert in both directions)
L33-26 GTK 4 Calculator: Main Menu toggle DoAction, third-from-last menu item, then Escape; app-root children at idle, with the shortcuts window open, 1.5 s and 4.5 s after Escape dbus app U1 item 1 / KTD8: a hidden MODAL role-39 top-level may linger and justify a SHOWING clause Idle: one frame. Shortcuts open: a second child, role 39, name empty, states SHOWING VISIBLE MODAL, Component. After Escape: the child is gone from the root at 1.5 s and at 4.5 s; no hidden remnant. Menu items of the popover are not root children CONFIRMS (no gap) The SHOWING clause on the role-39 branch and on MODAL is not built: no case on GTK 3, GTK 4, Chrome or Qt (L33-15) needs it, and a window shape never needed SHOWING (a hidden dialog is a window with visible: false)
L33-27 App-root children census at idle on GTK 3 Terminal, GTK 4 Files and Text Editor, GTK 4 Calculator, Chrome dbus app U1 item 1: role-39 root children are 0 at idle GTK 3 Terminal: 1 frame. Files: 1 frame. Text Editor: 1 frame. Calculator: 1 frame. Chrome: 3 role-23 frames. Qt: 1 frame (L33-1). No role-39 root child in any of them CONFIRMS The shape rule is unchanged; Qt and VS Code are in L33-1 and L33-15
L33-28 VS Code (Electron) in a private session with --force-renderer-accessibility --no-sandbox --disable-gpu --new-window, waiting up to 60 s for an app-root child dbus app Lead's request: prove the MenuHostRootView exclusion on an Electron app The code app registered on the bus but listed no child frame within 60 s plus 8 s, so no menu could be opened and list-windows listed no window for it NEW-EDGE Superseded by L33-19: with that recipe VS Code lists a frame, but it draws its menus in the page, so no Electron menu frame exists to exclude. The proof for the exclusion is L33-25 and the unit tests
L33-29 wait --event window-opened --app gnome-calculator --timeout 20000 started 1.5 s before gnome-calculator launches, release binary, private session with Openbox, stubbed pass (lane A not merged) dbus app 3.8 dogfood: the call answered PLATFORM_NOT_SUPPORTED; the capture makes it work ok:true, found:true, event window_opened, title Calculator, window id w-1.3-org-gnome-Calculator-a11y-..., pid of the launched process; the waiter exited 2468 ms after the launch (elapsed_ms 3870 including the 1.5 s head start and the seed baseline) CONFIRMS none; 3.8 follow-up closed by U5
L33-30 Same session: kill -9 of the Calculator pid with two waiters running, --event window-closed and --event app-terminated, both --app gnome-calculator dbus app window-closed and app-terminated follow a SIGKILL Both found:true for the killed pid and the same window id; both waiters exited 165 ms and 167 ms after the kill CONFIRMS none
L33-31 Handoff: Text Editor running, waiters --event window-opened --app gnome-text-editor and --event app-launched --app gnome-text-editor --timeout 6000, then gnome-text-editor --new-window dbus app a new frame under a running pid is window-opened and never app-launched (L4-26) window-opened found for the running pid with the new frame id (title New Document (Draft) - Text Editor); app-launched ended TIMEOUT with baseline_counts apps 1, windows 1 CONFIRMS none
L33-32 A second app starting: --event app-launched --app gnome-calculator with Text Editor and Files already open, then gnome-calculator dbus app app-launched for an app that owns a window found:true, event app_launched, pid of the new process, no title or window id; 2022 ms elapsed including the 1.5 s head start. Files (nautilus --new-window) gave window-opened titled Home in 2460 ms the same way CONFIRMS none
L33-33 Stopped processes: Text Editor held in SIGSTOP. (a) unscoped wait --event window-opened --timeout 3000; (b) scoped --app gnome-text-editor --timeout 3000 dbus app (a) the capture finishes inside the deadline; (b) core stores APP_UNRESPONSIVE naming the app as last_error (a) Unscoped on the merged branch: TIMEOUT at 3.01 s, baseline_counts apps 1 and windows 1 (the stopped editor is skipped before any frame read; Calculator is counted), inside the deadline. (b) Scoped: TIMEOUT at 3009 ms with last_error APP_UNRESPONSIVE, details app, pid and process_instance of the stopped editor, baseline_counts null (no seed) CONFIRMS none; verified on the merged branch
L33-34 Batch seed: Calculator open, batch '[close-app gnome-calculator, wait --event window-closed --app gnome-calculator --timeout 8000]' dbus app the seed baseline is taken before the action, a healthy capture does not abort the batch Both entries ok:true; the wait found window_closed with elapsed_ms 0 (the baseline predates the close). 38 ms for the whole batch CONFIRMS none; the slow-but-alive seed (busy app, no abort) needs lane A's outcomes and stays a lane D leg
L33-35 Box inventory for the live legs dbus box GTK 3, GTK 4, Qt and an Electron app available All available: GTK 4 (Calculator, Text Editor, Files), GTK 3 (GNOME Terminal 3.52 and a PyGObject window), Qt 6 (PyQt6 in a tools venv), Chrome, and VS Code (Electron); xdotool, xprop and wmctrl sit in the tools root NEW-EDGE All live legs are runnable; they launch the tools from the tools root
L33-36 wait --menu / --menu-closed on Calculator (GTK4), release binary, private session with window manager, AT-SPI DoAction on the Main Menu control as opener dbus + tool app 3.8 dogfood: wait --menu --app gnome-calculator answers PLATFORM_NOT_SUPPORTED Closed: --menu-closed ok in 80-140 ms (resolution included), --menu TIMEOUT at the deadline with platform_detail "No menu opened before the deadline". Open: a pending --menu returns 360-470 ms after the action, --menu already open ok in 111-150 ms, --menu-closed TIMEOUT with "Menu did not close before the deadline". Close by repeating DoAction or by Escape (AT-SPI synthesized key): a pending --menu-closed returns 120-360 ms after the action; closed again ok. 2 closers x 2 runs CONFIRMS none; U7 live leg for GTK4
L33-37 Same legs on Files (GTK4 nautilus) dbus + tool app as L33-36 Same outcomes both directions with both closers. Pending --menu returns 620-800 ms after the action, pending --menu-closed 120-480 ms. The slower open comes from the cost of one read of Files (L33-44), not from the popover (L18-2: 157-331 ms) CONFIRMS none; read cost is L33-44
L33-38 Same legs on GNOME Terminal GTK3 header-bar popover (Menu toggle, menu bar hidden), closed by repeating DoAction and by Escape dbus + tool app L18-5: toggle CHECKED plus its role-39 MODAL container SHOWING; plan Rule B Rule B (Gtk3Popover) answers open: a pending --menu returns 86-172 ms after the action, --menu already open ok in 56-119 ms, --menu-closed TIMEOUT while open, a pending --menu-closed returns 49-106 ms after the close, both closers CONFIRMS Rule B stays; the container is inside the window tree (the in-window detector finds it), so U1 item 1 does not remove the rule
L33-39 GNOME Terminal GTK3 menu bar: hidden bar, then shown bar (Show Menubar menu item DoAction), File menu opened by DoAction and closed by Escape dbus + tool app KTD9: "A GTK3 menu bar that is hidden opens nothing; the wait then times out with the direction message" Hidden bar, File DoAction: --menu TIMEOUT after 2 s with "No menu opened before the deadline". Bar shown and idle: --menu-closed ok in 28 ms. File DoAction: pending --menu returns 21 ms after the action; already open ok in 29 ms; --menu-closed TIMEOUT with "Menu did not close before the deadline"; Escape: pending --menu-closed returns 33 ms later CONFIRMS none
L33-40 Qt 6 script window (QMenuBar File, DoAction to open, Escape to close), QT_ACCESSIBILITY=1 dbus + tool app KTD9 Qt row Idle --menu-closed ok in 11 ms; --menu TIMEOUT with the direction message; pending --menu returns 23 ms after the action; already open ok in 17 ms; --menu-closed TIMEOUT while open; Escape: pending --menu-closed returns 38 ms later. Process comm is python3.12, --app python3.12 selects it CONFIRMS none
L33-41 Chrome (user-data-dir in /tmp, about:blank, --force-renderer-accessibility), browser toolbar Chrome menu button DoAction, Escape to close dbus + tool app KTD9 Chromium row: the menu frame is a nameless top-level SHOWING frame, not a window Idle --menu-closed ok in 28 ms; --menu TIMEOUT with the direction message; pending --menu returns 52 ms after the action; already open ok in 33 ms; --menu-closed TIMEOUT while open; Escape: pending --menu-closed returns 108 ms later. Only the Chrome UI menu was driven, no web page CONFIRMS none
L33-42 Calculator killed with SIGKILL while a --menu wait is pending (20 s timeout) tool app R12: a dying target is STALE_REF, not Ok and not a 20 s wait STALE_REF "Target process instance is no longer running" 69 ms after the kill, details has pid and process_instance, disposition is not_delivered / safe. Core adds a recovery object with strategy refresh_snapshot_then_retry_original and requires_fresh_snapshot: true, which does not fit a process exit NEW-EDGE core owns the recovery text for STALE_REF; owner item for integration. The adapter's suggestion says to re-resolve with list-apps
L33-43 Calculator stopped with SIGSTOP, then wait --menu and --menu-closed with a 25 s timeout, then SIGCONT tool app KTD11: Stopped is APP_UNRESPONSIVE at once, no 25 s read Both directions return APP_UNRESPONSIVE after 610 ms (resolution included; the loop reads nothing). The first build named the app pid N; fixed to the executable name. After SIGCONT --menu-closed ok in 104 ms CONFIRMS fixed in menu_wait (app_label), test the_name_of_a_stopped_app_is_its_executable_then_its_comm_then_its_pid
L33-44 Cost of one wait --menu-closed (resolution plus one detector read), 8 runs per app, first dropped, in-binary elapsed_ms; list-windows --app wall time beside it tool app plan U1 item 5 min / median / max ms: Calculator 63 / 75 / 80; Terminal 33 / 43 / 61; Files 260 / 282 / 391; Qt script 14 / 23 / 31; Chrome 9 / 13 / 18. list-windows wall 6-23 ms for all. At the 50 ms cadence Files polls about every 330 ms NEW-EDGE The anchor stays on the per-window loop and the detector keeps its pruned budgets (L33-9 and L33-10); a Files poll takes about 140 ms in the release test binary
L33-45 A release binary in a shared build directory can be overwritten by another build tool box none A release binary built in this lane was replaced by another lane's build between runs; the other binary answered wait --menu with the stub TIMEOUT. Live runs must copy the binary right after the build NEW-EDGE live legs of lane D and the dogfood copy the binary to a private path after the build
L33-46 Registry entries of the Qt test window (private session, --wm, PyQt6 script from the live helper) dbus app none; plan says a Qt process may carry two registry entries GetConnectionUnixProcessID matched two registry children for the one pid; the first had 0 children and the second held frame (role 23, adq-live), menu bar (34), File (35, SHOWING), popup menu (41, not SHOWING), Open (35) CONFIRMS live oracle walks every root of a pid, never the first match
L33-47 Qt window whose main thread blocks in time.sleep from a QTimer slot (state of the process and a raw GetChildren on its root) dbus + tool app a slow-but-alive target is not a stopped one /proc/<pid>/stat state S; raw GetChildren returned no reply and failed after 15003 ms; this is a deterministic slow-but-alive target NEW-EDGE (measured) used by signal_live_slow_but_alive_target_is_incomplete_and_not_unresponsive
L33-48 Core press --app on Text Editor after Ctrl+N (two windows, same title New Document (Draft) - Text Editor) dbus + tool app 3.8 press reaches the frontmost window headless: ACTION_FAILED cause frame_not_active (neither window is_focused); headed: AMBIGUOUS_TARGET "Multiple windows matched the selected process instance"; headed with --window-id: ACTION_FAILED cause ambiguous_window "More than one display window matches this window" NEW-EDGE (measured) owned elsewhere: 3.8 window twins; the live tests close the newest frame through its own Close button over AT-SPI
L33-49 Calculator Keyboard Shortcuts window (unnamed role 39) under Openbox: press escape, ctrl+w, alt+F4, focus_window dbus + tool app closes like the About frame press (all three): "The target application is in the background and focus changes are not allowed"; focus_window: "The window is not mapped on the display" while _NET_CLIENT_LIST lists the window; the window's own Close button (role 43) closes it by DoAction in the same pass NEW-EDGE (measured) owned elsewhere: 3.8 focus of an unnamed role-39 window; live tests dismiss dialogs with Escape first, then the Close button
L33-50 Chrome with its toolbar menu open: press escape headless, headed, headed with --window-id; AT-SPI generate_keyboard_event Escape; frame states dbus + tool app Escape through press closes the menu (L18-7) headless: "in the background"; headed: AMBIGUOUS_TARGET (menu frame is a second window); headed with the main window id: "The window manager made the window active but the application does not report it active"; python gi Escape through AT-SPI closed the menu at once; Chrome lists 4 SHOWING frames at idle (one titled, three empty-named) and the open menu is a fifth SHOWING frame NEW-EDGE (measured) owned elsewhere: 3.8 press with a Chrome popup open; live tests close the Chrome menu with the AT-SPI key
L33-51 GTK4 popover: Calculator and Files Main Menu toggle DoAction, SHOWING role-33 count dbus app L18-1, L18-2 idle 0, open after 540 ms (Calculator) and 688 ms (Files), closed again by a second DoAction on the same node; the toggle is found by role 62 plus name Main Menu in Files and by the first toggle after the Main Menu button in Calculator; after the popover opens the name lookup fails, so the live helper keeps the node NEW-EDGE (measured) helper keeps the toggle node
L33-52 Files tree size with a large home folder dbus app none the default folder view lists the whole home directory, so a walk hit the 8000-node limit before the header bar; a scratch folder gives about 230 nodes NEW-EDGE (measured) Files tests open a scratch folder
L33-53 GTK3 Terminal: View > Show Menubar (role 8 check menu item), Edit open count, Escape, header Menu toggle, last window closed with Ctrl+Shift+W dbus app L18-3 to L18-5 Show Menubar is role 8, not 35; after it Edit goes SHOWING; Edit open raises SHOWING role-35 count above idle 0; Escape returns it to idle; Menu toggle (role 62) gains CHECKED and loses it on the second DoAction; after the last window closes the server stays alive with an app root and 0 frames CONFIRMS helper accepts roles 8 and 35
L33-54 Text Editor ctrl+w on the second window through AT-SPI key synthesis dbus + tool app closes the window the window stays (2 X11 clients after 3 s); the header Close button closes it NEW-EDGE (measured) live tests use the Close button of the newest frame
L33-55 Minimized and off-desktop windows (guard for the husk rule): Calculator, Text Editor (GTK 4), Terminal, PyGObject window (GTK 3), Chrome, PyQt6 window; xdotool windowminimize, then set_desktop_for_window to desktop 2, under Openbox dbus + tool app a live window always carries a state Minimized: GTK 4 keeps SHOWING VISIBLE (no ICONIFIED), GTK 3 and Terminal gain ICONIFIED and keep SHOWING, Chrome gains ICONIFIED and LOSES SHOWING, Qt keeps SHOWING VISIBLE; the X11 client is Iconic and _NET_WM_STATE_HIDDEN in every case. On another desktop every window keeps SHOWING VISIBLE CONFIRMS 3.11: the husk test is neither SHOWING nor ICONIFIED (a Chrome minimized window passes by ICONIFIED); no minimized or off-desktop window is lost
L33-56 Persisted action clock (the closed-wait hold across two invocations): Calculator Main Menu toggle opened by DoAction, an action record for the process written the way the tool writes it, then wait --menu-closed in a second process, 10 cycles with the record and 10 without (control); and click @ref --headed in one process followed by wait --menu-closed in another dbus + tool app a closed wait started right after an opener action must not return before the menu was seen open With the record the wait returned only after the close (3.26 to 3.43 s, the close issued at 3.0 s): held in 10 of 10. Without it (control) the wait returned at 0.07 to 0.09 s with ok, a false closed, in 10 of 10. click @ref --headed writes the process record and the session record (agent-desktop-actions under the runtime directory, mode 0700, files 0600, reused process id and entries past the window ignored) and the following wait --menu-closed in a second process returned after the close, 10 of 10; that click returns after the popover shows, so only the DoAction runs separate the two cases CONFIRMS 3.11: the clock is persisted; unit tests pin a reused process id, an expired entry, an unreadable entry and the file modes
L33-57 Husk of a closed Qt dialog in list-windows and wait --event window-closed, release binary: dialog shown, then close(); shown, then hide(); then reopened and cycled twice more dbus + tool app window-closed fires when a dialog closes and a reopened dialog is one window Before the fix the husk stayed in list-windows (titled qdlg after hide(), blank after close()), window-closed never fired and a reopened dialog listed twice. After: window-closed found for qdlg after close() and after hide(), the list returns to the main window alone, and the dialog reopened after the hide and after two more cycles is listed once. Breaking the husk filter fails 4 unit tests CONFIRMS 3.11: fixed in the window predicate with the display-server guard (L33-55)
L33-58 Live legs on the merged branch (27 ignored tests in a private session with Openbox) dbus + tool app the live legs pass 26 pass with the exception below. Three defects of the merged code were found and fixed: a single ACTIVE frame among same-titled windows was read as an undecided focus, which made the window class incomplete and hid every window-opened of a second Text Editor window (3 tests); an unscoped capture that skipped a stopped app read its windows as closed (1 test); the Wayland no-input test needs WAYLAND_DISPLAY and fails by design in an X11 session. One test read the direction message from the error text and not from platform_detail and was corrected NEW-EDGE 3.11: fixed in decide_focus (one ACTIVE frame with an ambiguous X11 match is believed) and in the capture (a selected app with no outcome marks windows and apps incomplete)
L33-59 Cost of one menu_anchor read (the wait loop's poll), release test binary, 7 timed reads after one discarded, menu closed and open dbus app one poll fits the 50 ms pause plus the read min/median/max ms (closed; open): Calculator 57/60/62; 90/104/139. Files 164/195/287; 163/195/215. Text Editor 39/46/50; 67/69/81. Terminal 15/16/18 to 21/28/30. PyGObject GTK 3 3/3/5; 4/5/7. Qt 6/7/9; 6/8/8. Chrome 7/11/12; 16/16/18. The Terminal rows of L33-9 re-run: closed 19/20/21 against 21/28/30, within noise NEW-EDGE (measured) 3.11: no change to the budgets
L33-60 Cost of one menu_open read after the top-level popup candidates are read once per poll and the web family is taken from the registry, release test binary, 7 timed reads after one discarded, menu closed and open dbus app one poll is cheaper than the per-window re-read of the same candidates min/median/max ms (closed; open): Calculator 72/76/79; 78/81/102. Files 110/112/132; 132/135/146. Text Editor 40/41/48; 68/72/80. Terminal 16/17/18; 16/17/22. Files fell from 164/195/287 and 163/195/215 (L33-59); Calculator closed rose from 57/60/62 on a busier box, its open read fell from 90/104/139. Same answers as before in every case NEW-EDGE (measured) 3.11: kept
L33-61 A closed wait against an open menu with the read cut by a short deadline: Calculator Main Menu open, wait --menu-closed --app gnome-calculator --timeout at 20, 40, 60, 80, 100, 150, 200 and 300 ms, 6 runs each; also Files in a scratch folder and in a library folder (370 nodes) with the menu closed dbus + tool app an empty or cut-short read must not read as closed 0 of 48 runs returned found: true with the menu open, every one TIMEOUT; the same 0 of 48 with the completeness rule removed from the build, so a deadline cut before the first node leaves no tree to read and fails as a timeout, and a walk cut part way was not reproduced on this box. Files windows are not cut by the 2000-node cap here (215 and 370 nodes) and the closed wait returned ok in 0.21 and 0.34 s NEW-EDGE (measured) 3.11: the rule is pinned by unit tests (a closed answer needs a whole read, a cut-short menu candidate may hide a menu, a stopped read marks the poll unknown); no live case produces a cut walk
L33-62 Menu waits in windows with many children (GTK 4 PyGObject window, header-bar MenuButton popover at depth 7): a ListBox of 3000 rows (6022 nodes, rows at depth 5), a plain Box of 3000 labels (3022 nodes), a plain Box of 60 buttons (142 nodes), and Files on a folder of 2000 files (356 nodes) dbus + tool app a large list must not keep --menu-closed from succeeding Before pruning, with the walk cap at 2000 nodes the 3000 rows exhausted the budget before depth 7: on the ListBox --menu-closed with the menu closed, --menu with it open and --menu-closed after the close all timed out with no poll reading the state. After limiting only a list, table, tree or tree table to 48 children and counting that cut as read: the ListBox closes correctly (closed 0.13 s, open found 0.12 s, closed wait pending 4 s while open, closed after the close 0.17 s) and the plain Box of 60 buttons does the same (0.26, 0.17, pending 4 s, 0.19 s). The plain Box of 3000 labels is still cut short by the node cap: --menu-closed and --menu both time out with no poll reading the state. Files virtualizes its grid (356 nodes for 2000 files), so it is never cut NEW-EDGE (measured) 3.11: menu walks read at most 48 children of a list, table or tree and every child of any other node within the node cap; a popover among the later rows of a list is not seen, and only a non-list container with thousands of children leaves the menu waits unable to answer
L33-63 A Qt QMenu.exec context popup (PyQt6, QT_ACCESSIBILITY=1, QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1, xcb): the registry roots and the app's whole tree read through pyatspi while the menu sat open dbus + gi-atspi app a Qt context popup exposes an accessible node the menu detector or the window class can see Nothing is exposed. The roots stay python and QtApp, the QtApp tree grows no menu/popup menu node, and no object event carries one; the popup is override-redirect, so X11 shows it in the tree but never in _NET_CLIENT_LIST — no client id, no _NET_WM_PID. A stopped Qt app was measured alongside: both roots answer name='' and error on children while WM_CLASS = ("-c", "QtApp") and _NET_WM_PID survive on the client NEW-EDGE (measured) 3.11: a QMenu.exec popup is unobservable and the limit is named in §3.11; a stopped app's identity is recovered from X11 and the runtime store, never from AT-SPI

Area L32 — menus and shell surfaces (sub-phase 3.14)

Pre-code probes for menus first, then notifications (L32-1 to L32-16), then the lane and integration runs of the built branch (L32-17 onward). Method: private sessions (own session and AT-SPI buses, own Xvfb, Openbox for the menu rows, gnome-shell --x11 on the session Xvfb for the shell rows), raw AT-SPI over Gio as the tree oracle, xwininfo, xprop, xdotool, a screen read and a second D-Bus client as the window-system and signal oracles.

id probe stack scope phases.md expectation observed verdict action
L32-1 Popup placement, GTK 4: Calculator Main Menu, Text Editor Main menu and right-click Context menu, Files View Options and right-click menu (2 cycles each) dbus app plan probe 1: "a popup that is a descendant of the window lets U14 walk from the window" The popup root is a role 33 menu (named after the opener: Main Menu, Main menu, View Options, Context menu; Files context menu name empty) at depth 15 to 22 inside the frame subtree, under a chain of role 39 panels; the application root keeps one child (children_of_root 1 before, during, after). Root states SENSITIVE SHOWING VERTICAL VISIBLE (no ACTIVE). The subtree is created on open (40, 63, 60, 32, 31 new nodes) and destroyed on close (0 of N nodes present after close; node count back to the baseline in 9 of 10 runs; one Files run differed by page churn, not menu nodes). The object path is reused on re-open for Calculator and Text Editor main menus and differs for Files context menus CONFIRMS 3.14 U14: GTK 4 popups are read from the window walk; the closed state is "no menu nodes", not "menu nodes with SHOWING false" (L32-9). Detect by new menu role 33 subtree with SHOWING under the frame
L32-2 Popup placement, GTK 3 context menus: GNOME Terminal right-click, PyGObject GtkEntry right-click (2 cycles each) dbus app plan probe 1; 3.4 window listing (role 69 is a window role) The popup is a new top-level child of the application root: role 69 window, empty name, states ACTIVE ENABLED SENSITIVE SHOWING VISIBLE, depth 1, holding role 33 menu > role 35 items (+ role 8 check items, role 50 separators; 13 nodes for Terminal, 9 for the entry menu). It is destroyed on close (0 of 13 and 0 of 9 present afterwards) and its object path differs on each open (path-same false in cycle 2 for both). While it is open the frame loses ACTIVE in AT-SPI: the popup window holds it NEW-EDGE 3.14 U14: the root finder must read application-root children (as 3.11 menu_read does) for GTK 3; the nameless role 69 popup is a top-level window to 3.4's listing for as long as it is open, so window listings must exclude a role 69 whose only subtree is a menu (an owner-visible 3.4 behaviour, not changed here)
L32-3 Popup placement, GTK 3 menu bar: PyGObject File menu with a submenu, click on the bar item (2 cycles) dbus app plan probe 1; L18-3/L18-4 The items (Open, Save, separator, Check me, More) are descendants of the frame: frame > role 20 (filler) > role 34 menu bar > role 33 File > role 35 items, depth 5. Opening changes no node count: 5 items gain SHOWING; a role 69 popup window does not appear. Items carry ENABLED SELECTABLE SENSITIVE SHOWING VISIBLE CONFIRMS 3.14 U14: the GTK 3 menu bar case is a state flip, the opposite of L32-2. The same toolkit therefore has both placements: the detector keys on state change and on new top-level windows, never on toolkit
L32-4 Popup placement, Qt 6: menu bar File (role 35, action ShowMenu, DoAction) with Open, Save, separator, check item, submenu More dbus app plan probe 1; L18-6 The popup is a role 41 popup menu (name = application name, qt.py here) that is a child of the File item, depth 4 inside the frame; states ACTIVE ENABLED RESIZABLE SENSITIVE SHOWING VISIBLE; the six popup nodes gain SHOWING with no new node. DoAction returns true and the popup is observable at the first read (14.5 ms including the read). Xdotool Escape did not close it in this run: close time null, 6 of 6 nodes still SHOWING and the X window still IsViewable, so cycle 2 started with the menu already open. Qt also registers two application roots for one process on the AT-SPI registry (one with 0 children named after the interpreter, one with the tree) NEW-EDGE 3.14 U14: Qt menu-bar popups are descendants (no application-root read is needed for them); the application resolver must pick the registry root that has children when two share a pid; a close test for Qt must use the second DoAction (L18-10: 4 of 4), not Escape
L32-5 Popup placement, Qt 6 widget context menu: right-click in a QLineEdit (standard context menu; 2 cycles plus a third diagnostic run with a 1 s and a 3 s re-read) dbus app plan probe 1: "a family whose popup cannot be told from its opener in the tree is listed unobservable in KTD18" The X11 popup exists (override-redirect, IsViewable, 258x186, types POPUP_MENU, NORMAL, transient for the frame) but the application's AT-SPI tree is unchanged: 13 nodes before, 13 after at 1 s and at 3 s, no SHOWING gain, no new node under either registry root of the process, no role 41 or 33 node anywhere. Escape closed the X window NEW-EDGE 3.14 KTD18: a Qt standard line-edit context menu is unobservable through AT-SPI; list it as unobservable (surfaces cannot name it, snapshot --surface menu returns an honest not-found), never as an empty menu. A QMenu attached to a menu bar (L32-4) is observable
L32-6 Popup placement, Chromium: page right-click context menu (data URL page; 2 cycles) dbus app plan probe 1; L18-7 (toolbar menu) A new top-level frame is added under the application root (children 3 to 4): role 23, empty name, states ACTIVE ENABLED SENSITIVE SHOWING VISIBLE, depth 1, holding role 34 menu bar > role 33 menu > 12 role 35 items plus role 50 separators; 22 nodes. It is destroyed on close (0 of 22 present, root children back to 3) and its path differs per open. Item names include the accelerator text (Reload Ctrl+R, Save as… Ctrl+S, Forward Alt+Right Arrow) CONFIRMS 3.14 U14: Chromium page and toolbar menus are the same shape (extends L18-7): a new nameless top-level frame is the popup. Names carry accelerator suffixes, so a name match on a menu item needs a prefix or normalised match
L32-7 Menu item names (plan probe 2): which field carries the label dbus api-contract plan probe 2: "GTK 4 items are nameless; decide ordinal-first refs or a label source" GTK 4: every item has Name "" and Description "", role 35 (role 45 for check items) with action click; its only child is a nameless role 39 panel with no Text. The label is on the node that the item's LABELLED_BY relation (type 2) points at: a separate node with Name "", interfaces Accessible Component Text Action, and Text.GetText(0,-1) equal to the visible label (New Window, Number format, Automatic), 3 of 3 items read in two cycles. Attributes are {toolkit: GTK} only. GTK 3 (Terminal, PyGObject), Qt and Chromium: Name is the label (Copy as HTML, Paste, Read-Only, Open, Save, Check me, More), 6 of 6 and 12 of 12 named, LABELLED_BY absent. Text Editor, Calculator, Files main menus: 0 of 11, 0 of 6, 0 of 6 items named NEW-EDGE 3.14 KTD19: ordinal-first refs are not needed for GTK 4: read GetRelationSet, follow type 2, read Text.GetText of the target (2 extra D-Bus calls per item), and fall back to the ordinal only when the target is missing. Items stay nameless in Accessible.Name, so find --name over a GTK 4 menu needs this label read
L32-8 Menu timing (plan probe 3): action to observable in AT-SPI dbus app plan probe 3: "157 to 331 ms (L18-2) may force a bounded poll" GTK 4 DoAction (no pointer, polled by one GetState plus a parent child-count read, 2 ms steps): 259.5, 276.3 (Calculator), 266.6 (Text Editor), 266.8 (Files View Options) ms; GTK 4 right-click: 264.4 (Text Editor), 277.3 (Files) ms measured from before a 150 ms pointer settle that the probe itself adds, so about 115 and 127 ms after the click was sent. GTK 3 (Terminal, entry, menu bar): 369 to 402, 279 to 285 and 261 to 269 ms with the same 150 ms settle included, so about 110 to 250 ms net (poll step was a 7 to 60 ms tree walk). Qt DoAction: 14.5 ms. Chromium right-click: 504 and 527 ms including the 150 ms settle and a 250 ms poll step, so at most about 350 ms. First-cycle GTK 4 reads that used the slow poll (a 400 ms walk on the loaded box) saw 540 to 1,051 ms, which shows poll cost, not menu latency CONFIRMS 3.14 U15: data.surfaces right after an action cannot list a GTK 4 popover; a bounded settle of about 300 ms (L18-2) is needed for GTK 4, none for Qt, and up to 350 ms for Chromium and GTK 3 context menus. Use the cheap predicate (opener-parent child count, or popup-root SHOWING), not a tree walk, inside the settle
L32-9 Closed-menu nodes (plan probe 4, owner item O10): do they stay with SHOWING false? dbus app plan probe 4: "if the nine unnamed menuitem nodes of the 3.7 dogfood have showing false while closed" GTK 4 (4 apps, 10 runs): closed popover subtree is absent (0 menu-family nodes at idle, menuish_total 0 for Calculator; 0 of N present after close). GTK 3 context menus and Chromium: absent after close. GTK 3 menu bar: present, SHOWING cleared (0 of 5), VISIBLE kept (5 of 5). Qt menu bar: present, and in this run still SHOWING because Escape did not close it (L32-4); L18-6 measured it kept after the second DoAction. The nine unnamed items of the 3.7 dogfood therefore are not closed-menu nodes of a Calculator idle window: an idle Calculator window has 0 menu-family nodes CONTRADICTS 3.14 O10: the premise is false for GTK 4; dropping by state would change nothing on GTK 4 and only affects GTK 3 menu bars and Qt (VISIBLE true, SHOWING false). The nine nodes in the dogfood came from an open popup; re-check which state that window was in before the owner decides
L32-10 X11 window type and pointer bounds for popups (plan probe 5) dbus app plan probe 5: "an override-redirect X11 popup may fail 3.6 hit_test or the 3.8 aim" Every popup is an override-redirect X11 window, IsViewable while open and IsUnMapped after close (kept and reused for GTK 4 and Qt, new id for GTK 3 context menus and Chromium): GTK 4 _NET_WM_WINDOW_TYPE_MENU (no transient-for), GTK 3 context menu POPUP_MENU (plus a 10x10 window at -100,-100), Qt DROPDOWN_MENU, POPUP_MENU (the context menu POPUP_MENU, NORMAL), Chromium MENU without WM_CLASS. GTK 3, Qt and Chromium: AT-SPI screen extents equal the X window geometry exactly (641,401 / 430,325 / 436,321 / 535,37) and a pointer move to an item centre focused that item (GTK 3: 5 of 5 enabled items; Qt: 3 of 3; Chromium: 2 of 2 enabled items); disabled items (Copy as HTML, Paste, Forward) never take focus, so they are not usable as hit evidence CONFIRMS 3.6 and 3.8: GTK 3, Qt and Chromium popups aim and hit-test with plain screen extents. GTK 4 is the exception (L32-11). Choose the verdict with a hover readback on an enabled item, not on a disabled one
L32-11 GTK 4 popup extents (plan probe 5, item 16) dbus app plan probe 5 and L21-21 Screen-coordinate extents (GetExtents type 0) return origin 0,0 for every GTK 4 popup node (root [0,0,274,418], every item [0,0,214,32]). Window-coordinate extents (type 1) are not frame-relative either: Calculator popup root [196,6] while the X window sits at 541,189 with the frame client at 460,165 (offset 81,24); Text Editor [536,6] against X offset 432,24. Three pointer mappings were tried on 3 items per scenario in cycle 1: screen extents (unusable, constant 0,0 origin); frame client origin + window extents hit 0 of 15; popup X-window origin + (item window extents minus popup-root window extents) hit 9 of 15 (Files View Options 3 of 3, Calculator 2 of 3, Text Editor main 2 of 3, Files context 2 of 3, Text Editor context 0 of 3 with focus stuck on one item). The misses had no focus change within 250 ms, so they are inconclusive, not proven wrong NEW-EDGE 3.6 hit_test and 3.8 aim: menu items of GTK 4 popovers cannot use AT-SPI screen extents. Candidate rule: X popup window origin + item offset inside the popup (9 of 15 here); keep GTK 4 menu click semantic (click action, L18-1) and do not advertise headed pointer aim for GTK 4 popups until a rule reaches 15 of 15
L32-12 Focus resolution for an app-less --surface menu (plan probe 6, owner item O8) dbus app plan probe 6: "if the focused-window resolution misses a popup that holds the grab" While a popup is open, _NET_ACTIVE_WINDOW and the X input focus stay on the owner's main window for GTK 4, GTK 3 menu bar, Qt and Chromium (focus window class equals the owner's, pid equals the owner's). AT-SPI ACTIVE stays on the frame for GTK 4, GTK 3 menu bar and Qt, and moves to the popup top-level (role 69 for GTK 3, role 23 for Chromium) of the same process for GTK 3 and Chromium context menus. In every case the pid owning the active window equals the pid owning the open menu: 14 of 14 runs. Wayland and GNOME Shell sessions were not measured (Openbox on Xvfb only) CONFIRMS O8: on X11 the frontmost-process resolution that Sheet, Popover and Alert use finds the menu owner without a Menu route; the owner item stays open for the Wayland tier, which this row does not cover
L32-13 Detector pass cost (plan probe 3 and item 15, partial) dbus app plan item 15: cost of the pruned read on idle windows One light tree read (role, name, states per node; 3 D-Bus calls per node), min of seven with the warm-up discarded, on a loaded box: PyGObject window (12 nodes) 6.6 to 21.6 ms, Calculator (99) 68 to 84 ms, Text Editor (64) 47 to 158 ms, Terminal (90) 50 to 51 ms, Files (235 to 279) 165 to 211 ms, Chromium (243) 140 ms; medians 7 to 300 ms and maxima to 477 ms. The 3.11 pruned read itself was not run (no build, per the box rule), so the cost of its rules A and B is not measured NEW-EDGE U1 item 15 stays open: the 3.11 predicate cost and its false positives need the built binary. The cheap predicate of L32-8 (one GetState plus one child count) costs under 5 ms per poll and is the settle-loop candidate
L32-14 Notifications, X11 pointer on the shell (plan item 2): gnome-shell --x11 on the session Xvfb, XTEST pointer dbus box L21-22: X11 pointer delivery on the shell was not exercised Boot healthy on the first attempt (3 answers in a row). Date menu centre read from the tree [569,0,142,32], click point (640,16). Pointer readback after each of 4 moves equals the target (X=640 Y=16, 639,71, 495,172, 640,16). The click at the date menu opened the list (SHOWING state, 3 entries), the click on the first unnamed header button expanded the entry and the named Run B button got valid extents [289,150,412,45], a click at its centre delivered the action, and the click at the date menu closed the list (open false, 1 entry left). The clicks reproduce the Wayland results (L21-11, L21-12) CONFIRMS 3.8 and U6: the shell aim at extents' centres works on X11 with the XTEST sink, as on Wayland. Scale 2 was not measured (the Xvfb has one scale), so L21-22 stays open for HiDPI
L32-15 Notifications, missed ActionInvoked (P2, plan item 8): can the id and the actions be recovered after the signal is missed? dbus api-contract plan probe 7/8: "if a second client's rule does not receive ActionInvoked the weaker evidence is the only evidence" A second client's match rule (added before the click, in a different process from the sender) received ActionInvoked [2, "act-b"] and NotificationClosed [2, 2] 328 ms after the click (both at the same instant), and the sender's own subscription saw the same pair, so the signal is delivered to a bystander that listens before the click. A rule added after the click received 0 replayed signals in 2 s (0 of 1 runs; no replay mechanism exists). The daemon object exposes CloseNotification, GetCapabilities, GetServerInformation, Notify plus Get, GetAll, Set, Introspect, Ping, GetMachineId and the signals ActionInvoked, ActivationToken, NotificationClosed: no list or id lookup method. The tree node of the action button has no attributes beyond toolkit, empty description, no relations, 0 actions; no non-label field of any node in the entry contains the oracle id; the entry shows the action label (Run A) but never the action key (act-a). Notify with replaces_id of the known id returned the same id. The gdbus monitor log stayed empty (it was killed before flush), so the sender subscription is the independent oracle, not the monitor CONFIRMS 3.14 R20 and U7: subscribe before the click and treat the signal as the only delivery proof; after a miss there is nothing to recover, so a missed signal ends as delivered_unverified with the entry-gone tree read as the weaker evidence. Action keys are not recoverable, so the action is chosen by label text and list index, never by key. L21-7 and L21-8 are re-confirmed for the id
L32-16 Plan items 1, 3, 6 to 11 and 13 to 16 not run in this time box tool box plan U1 items 1, 3 to 11, 13 to 16 Not measured in the pre-code time box and still unmeasured after the build: the Wayland RemoteDesktop refusal shape on a non-private session, HiDPI and scale-2 pointer calibration, the QuickSettings and StartMenu kinds beyond the system button, tray corner cases (NeedsAttention, ItemIsMenu, a missing or nonexistent Menu, a submenu filled only by AboutToShow, a revision change between read and pick), recall of detection rules A and B, Gecko menus, VS Code, a Calculator context menu on the display, and the GTK 3 header-bar popover (DoAction returned true, but the compound predicate watches menu-family roles only, so a role 39 popover was not seen; L18-5 stands). Measured by the build since: shell refs through the whole contract (L32-34 to L32-38), virtual tray nodes against core identity (L32-34), strict re-resolve of a menu item in a second process (L32-39), the opener table for click and right-click on a ref (L32-39) DEFERRED needs: the Wayland refusal shape, a scale-2 mode, the tray corner cases, a Gecko and a VS Code menu and the GTK 3 header-bar popover on the live session; closure: 3.15
L32-17 Tray corner cases and virtual tray node fit against core's identity and actionability contracts (plan U1 items 7 and 11), measured with the built adapter and a private StatusNotifierWatcher plus KDE-style and Ayatana-style receivers dbus api-contract plan U1 item 7: virtual menu children may not satisfy core's identity or actionability contract; L32-16 left tray corner cases open Identity: IdentifierKind has no menu variant, so a tray item is persisted with value tray:v1:item|owner|path and a menu entry with tray:v1:entry|owner|path|menu|id|label/path, under the typed kind RuntimeId (kind Unknown is dropped by core's ref validation, L32-34). Roles menubutton, menuitem and separator are canonical, an item and an enabled entry are ref-able, a disabled entry and a separator advertise no Click. The layout revision is not part of the identity: it moves on any change in the menu (the checkable toggle moved it 1 to 2), and an identity that carried it would stale every ref after an unrelated change. Resolution walks the label path, so a repeated label at one level is AMBIGUOUS_TARGET, a missing label or a label now carrying another id is STALE_REF. Actionability, read from core gates.rs and confirmed through the CLI against a real shell (L32-36): a node with no bounds blocks visibility as unknown, so a bound item reports the extents of the shell panel node whose title is unique on both sides, and a menu entry reports its item's panel extents with the offscreen state unknown; an unpaired item and the entries under it report no bounds and offscreen true, which core refuses. Headed mode reaches the pointer path through a tray branch in hit_test (reaches when the point is inside the panel node's extents on a display, otherwise unknown). Live (6 receiver-log tests, oracle: the receiver's own log): listing parses all three registration forms and drops an exited item; Passive comes from Status while the node keeps valid extents; a headless Click on an item listing Activate is delivered (log Activate 0 0), a right click with ContextMenu likewise; an item listing only SecondaryActivate and XAyatanaSecondaryActivate is refused ACTION_NOT_SUPPORTED with physical_delivery_started: false, the log gains no line and Secondary appears 0 times; an enabled entry delivers Event(id,"clicked"), a disabled entry and a separator are refused with no event, a checkable pick is verified by toggle-state flipping, a submenu parent sends AboutToShow and no click; an item restarted under the same well-known name is a STALE_REF for the old ref because the ref binds the unique name (binding the well-known name made the restart test fail). Not measured: ItemIsMenu and NeedsAttention in the real shell NEW-EDGE 3.14 U8 and U9: persist the unique owner, never a well-known name; report real panel extents or none, with offscreen unknown for an entry under a shown item and true when unobserved; the headed pointer route has its tray branch in hit_test
L32-18 GTK 4 popover item depth and opener timing: Calculator Main Menu toggle, DoAction, tree read at 20, 100, 200, 300, 450 ms dbus app L32-1: popover root is a role 33 menu in the frame subtree; items are its children Items are not direct children. Path is menu > panel > scroll pane > panel > panel > ... > role 35 item (about 5 levels of wrappers). Opener toggle gains PRESSED at about 200 ms. Its HAS_POPUP parent button gains EXPANDED at about 250 to 300 ms and its child count goes 1 to 2 at about 200 ms (the popover is a child of the button). The menu node is present by about 250 to 300 ms. Label of an item: LABELLED_BY target Text.GetText(0,-1) (New Window), target Name empty NEW-EDGE Item counting and the open-menu rule descend through wrappers (bounded depth 12), stopping at a nested menu. An opener state is not available right after the action, so the settle polls for the popup itself
L32-19 GTK 3 context popup window is also a listed window: right-click in a PyGObject GtkEntry, list_surfaces dbus app L32-2: the nameless role 69 popup is a top-level window to the 3.4 listing while open The popup window is listed as a window of the process, and the real frame loses ACTIVE. A per-window scan that reads the popup window as an owner finds its own menu inside the window walk and lists the menu on the popup's id NEW-EDGE A frame that is itself a top-level popup window lists nothing from its own walk. A top-level popup is listed once on the first window of the process that sees it, never gated by focus (focus moves to the popup)
L32-20 Chromium right-click timing at window start: Chrome 154, data URL page, xdotool right-click as soon as the title shows dbus app L32-6: right-click opens a new nameless role 23 frame A right-click sent when the title first shows did not open a menu within 40 s; with a retry loop (Escape, right-click again, 3 s wait) the menu opened. Popup shape confirmed: frame > menu bar > panel (3 children) > panel > menu > 12 items; disabled items lack ENABLED but keep SHOWING; names carry accelerators NEW-EDGE Live test retries the open step. The popup frame has panel wrappers between the menu bar and the menu, so the menu-only-content rule allows role 39
L32-21 CLI actions at the 3.14 base: click on the Calculator Main Menu switch tool box menu refs act through 3.7 execute_action is not supported on this platform (PLATFORM_NOT_SUPPORTED, not_delivered); 3.7 is not at this base. get, snapshot and list-surfaces work DEFERRED needs: the semantic click of 3.7 on the merged branch, then the ref-to-action leg of the menu live tests re-run through the CLI click (L32-39); closure: 3.15
L32-22 Shell landmarks by structure: which ancestor is the container for the message list, the system menu popup and the tray panel (private gnome-shell --x11 --replace in Xvfb, user session mode, raw AT-SPI light reads) dbus box plan KTD4: find containers by guided descent from the content window, skipping the overview The message list container is 2 levels above the push button named Clear all notifications. The system menu popup is 6 levels above the push button Power Off Menu. The tray panel is 2 levels above the System menu button (the right box of the top bar). The date menu is the unnamed menu nearest the horizontal middle of the top bar. A copy of every landmark sits under the panel named Overview with sentinel extents and is skipped. Closed popups keep their nodes with sentinel extents and SHOWING false; the anchor's SHOWING is the open state. A stock shell has no real dock: the only Show Apps button is inside the overview CONFIRMS The container rules live in system/shell/container.rs; the dock kind (Taskbar) is not advertised because no stock shell shows a dock and its ascent is unmeasured. English labels only
L32-23 The System menu button advertises no accessibility action (same shell; nactions read for the node) dbus box repo ref rule: a node that advertises a primary action gets a ref whatever its role System is role menu with nactions: 0, so core allocates no ref. Giving the node the Click capability in the tray decoration makes the ref exist; a headed click on it opened the system menu (a fresh quick-settings snapshot went from no bounds to bounds on "Dark Style") NEW-EDGE Shipped: tray_decorator.rs gives the System node Click. Other pointer-only shell controls with an interactive role already get refs
L32-24 X11 pointer click and window resolution for shell refs through the release binary (private gnome-shell --x11) tool box plan U4/U6: shell ref survives resolve, preflight and a headed click snapshot --surface quick-settings gave 47 refs; wait --element in a new process resolved in 4 to 12 ms; click <ref> --headed on "Dark Style" returned delivered_unverified and a fresh snapshot showed it checked. Before the fix the click failed with WINDOW_NOT_FOUND from resolve_window_strict, which listed only ordinary windows. wait --predicate actionable --headed returns POLICY_DENIED (owner item already recorded) NEW-EDGE Shipped: shell branch in system/window/window_resolve.rs
L32-25 Wayland RemoteDesktop pointer click on a shell control (private gnome-shell --headless --wayland --virtual-monitor 1280x800, health-gated) dbus box L21-21 and plan KTD8: shell pointer route works on Wayland Clamp, step, click through NotifyPointerMotionRelative and NotifyPointerButton at the date menu centre (640,16) opened and closed the message list, read back from the Clear-all button's SHOWING state. Four combinations of clamp (4 x -4000 at 10 ms, 6 x -700 at 30 ms) and a 300 ms pause before Stop (with and without) each passed 5 of 5 runs, so neither the clamp change nor the pause is needed. A click on Activities and a click at the screen centre did not change the Overview in this session (SHOWING and Show Apps placement both unchanged over 3 plain clicks); the cause is not known CONFIRMS Date-menu route proven; Activities-on-Wayland stays open as an unexplained edge. Scale 2 unmeasured
L32-26 Private gnome-shell start health on X11 (gnome-shell --x11 --replace, health = _NET_SUPPORTING_WM_CHECK plus three GetServerInformation answers) tool box L21-34: a private shell needs a health gate and retries The shell was healthy on the first start in every run of this lane (about 20 starts); the headless Wayland shell needed the stale-socket cleanup before a start was seen as new, and then started healthy. One run lost the shell's content window from the registry for a moment (find_root failed once) CONFIRMS The live helpers keep the health gate and a restart loop
L32-27 Notifications, time label inside a list entry (U5, plan item 4): is there a structural marker that separates the time label from app, title and body? dbus box plan U1 item 4 (KTD5): "the time label separated structurally from the header panel"; L32-16 deferred this re-measure Measured live on GNOME Shell 46 (L32-33): the second label of an open-list entry is an empty-named statictext at once and 70 s later, so no time text reached the reader and the heuristic was not exercised. The reader (extract.rs) keeps position (second of three or more labels) plus text shape (Just now, N unit ago, Yesterday, H:MM with optional am/pm) for a shell that fills it in; a two-label entry keeps a time-shaped title; a body or title that is itself time-shaped in second place of three or more is dropped wrongly. Unit tests cover both shapes with fakes NEW-EDGE Accepted: a blank label is dropped like any blank label and the heuristic stays the documented limit for a shell that fills the time in; no structural marker was found in the entry header
L32-28 Notifications, ids versus signals (U7, R19, R20): how can a daemon signal be matched to the clicked entry when no id is held? dbus api-contract R19: "no notification daemon id leaves or enters the adapter"; U7: "an ActionInvoked for a different notification id than the clicked entry's is ignored because no id is held" The two statements cannot both hold: without an id, a foreign signal cannot be told from the entry's own. Shipped rule (verify.rs evidence): ActionInvoked is named as evidence only when exactly one ActionInvoked arrived in the window opened before the click and the list copy shows the entry gone; a second one ends the claim; NotificationClosed alone is never action evidence. Ids are read inside signals.rs only to parse the signal and never stored, returned or put in errors. A lone foreign ActionInvoked while the clicked entry also vanishes is indistinguishable and is accepted. Live (private gnome-shell): a subscription made before a close receives NotificationClosed, one made after receives nothing NEW-EDGE Stated in the plan (R19, U7): the evidence rule and its residual limit replace "ignored because no id is held". The result is always delivered_unverified. Live: ActionInvoked seen for the clicked entry through a pre-click match rule (L32-31)
L32-29 Notifications, app filter semantics (U5): exact or substring? tool box plan U5: "app exact-case-insensitive as Windows does" The plan sentence contradicts the cited code: crates/windows/src/notifications/list.rs matches by case-insensitive substring (contains). Linux follows the Windows code for cross-platform parity: --app mail matches Thunderbird Mail. Identity checks for mutations stay exact (NotificationIdentity::matches) NEW-EDGE 3.14: the plan sentence is replaced in place by "case-insensitive substring, as the Windows reader does"; identity checks for mutations stay exact
L32-30 Notifications, control lookup by structure and name (U7): where are the close, expand, action and clear-all buttons? dbus app L21-11, L21-12, L21-13: entry header has two unnamed push buttons (expand, close); named push button is the action; clear-all is a named push button below the entries Confirmed live (L32-31): close is the second unnamed push button in the entry subtree, expand the first, actions are named push buttons whose extents are a sentinel until the entry is expanded (is_laid_out decides whether to click expand first, so an expanded entry is never collapsed); the clear-all button is the last push button outside every entry and is not found by its name, so it holds in any language; labels inside a push button are not read as entry text. The empty list keeps the clear-all button, disabled, with no placeholder text NEW-EDGE 3.14 fixed here: the clear-all lookup is structural (test the_clear_all_button_is_found_without_its_english_name)
L32-31 Notifications through the release binary on a private gnome-shell --x11: list, action, dismiss, dismiss-all, a gone id, across three fresh shells dbus app §3.14 Notification Management: list by tree order, dismiss by CloseNotification, clear all by a coordinate click list-notifications equals the sender's own record (2 entries, newest first, Run A on the second). notification-action --headed delivered Run B, evidence action_invoked, and an independent dbus-monitor on the Notifications interface recorded ActionInvoked [1, "act-b"] then NotificationClosed [1, 2] from the sender :1.2, which is not the owner of the well-known name (:1.16): gdbus monitor --dest org.freedesktop.Notifications recorded no signal at all, so the oracle is dbus-monitor on the interface. dismiss-notification removed only the targeted entry and left the other app's; dismiss-all-notifications returned dismissed_count 1 and the next list was empty; a closed id answered NOTIFICATION_NOT_FOUND. An empty list shows Do Not Disturb, its switch and a disabled Clear all notifications push button, and no No Notifications text; the first read of a freshly opened list returned an entry whose labels were not filled in yet (no readable title) once in four fresh shells NEW-EDGE 3.14 fixed here: the empty list is told by the footer push button outside every entry (landmark text kept as a second signal), the clear-all button is the last push button outside the entries and not an English name, an entry with unfilled labels is read again for up to 1.2 s; tests a_footer_button_without_entries_is_an_empty_list_in_any_language, the_clear_all_button_is_found_without_its_english_name, an_entry_whose_labels_have_not_filled_in_yet_is_read_again fail with the fix removed
L32-32 Notifications, a headed open of the message list after the list emptied dbus app §3.14 U7: every mutation opens the list, clicks, and closes it A headed dismiss-notification, notification-action or dismiss-all-notifications issued when the list holds no entry, right after a previous command emptied it, never saw the list flip to showing: TIMEOUT after 5.0 s with list_restore adopted (4 of 4 runs), while the same open succeeds on a pristine shell (0.4 s) and whenever an entry exists (every dismissal, 12 of 12). The cause of the missing flip was not isolated: the click at the date menu centre was delivered and the clock node kept valid extents NEW-EDGE 3.14 fixed here for the cases that need no click: each mutation reads the closed list first and answers NOTIFICATION_NOT_FOUND for a missing entry and an empty result for an empty list without opening; tests an_entry_that_has_gone_is_not_found_without_opening_the_list and an_empty_list_is_cleared_without_opening_it. Accepted for the remaining case, a list that empties between the read and the open: the command returns TIMEOUT with list_restore, and a retry succeeds
L32-33 Notifications, the time label of an open-list entry dbus app plan U1 item 6: the label structure that separates the time label On GNOME Shell 46 the second label of every entry is a statictext whose name is empty, at once and 70 s after the notification, so the entry reads app, title and body only; the age text (now, 5 min ago, a clock time) never appeared in the tree in 4 runs NEW-EDGE Accepted: the position-and-shape rule separate_time stays for a shell that fills the label in, and a blank label is dropped like any blank label; no test depends on a time text appearing
L32-34 Tray refs through core: snapshot --surface system-tray -i with two receivers (KDE-style Activate, Ayatana-style) under the AppIndicator extension dbus api-contract plan U1 item 7 and U8: a virtual node with native_id kind Unknown fits core identity Items and menu entries carried native_id tray:v1:... and their actions, and ref_count was 3, all of them shell buttons: no item and no entry received a ref. Core's validate_ref_entry rejects any native_id of kind Unknown, so every tray ref was dropped silently at allocation (SkippedInvalidEntry); the adapter-level live tests had built their RefEntry by hand and never met the gate. With kind RuntimeId, 15 refs were allocated and a stored ref resolved in a second process. Oracle: the ref_id and ref_count fields of the CLI's own JSON for the same snapshot before and after the change, and a get on a stored ref from a second process NEW-EDGE 3.14 fixed here: tray identifiers use RuntimeId; test the_tray_identifier_has_a_kind_core_accepts_for_a_ref. The plan text that named kind Unknown is corrected in place
L32-35 Tray, live reads of a bound item dbus app plan U8: a bound item reports the extents of the panel node that shows it The snapshot showed Dropbox at [1108,0,48,32] while get --property bounds on its ref returned null and the live state was offscreen, so core refused every click with visible (live offscreen state is true): the live lookup compared the names of the direct children of the tray panel, which are nameless groups, while the item buttons are menu nodes two levels down. Walking to depth 4 and not descending into menus found the node ([1156,0,48,32] live); 0 of 2 items bound before, 2 of 2 after. Oracle: the bounds of the same node in snapshot --include-bounds against get --property bounds on its ref NEW-EDGE 3.14 fixed here: LiveWorld::panel_read walks the panel to depth 4 and prunes at menu nodes; no unit test reaches the live walk, the live legs below cover it
L32-36 Tray CLI path against the receiver's own log: headless click on an item and on a menu entry, a disabled entry, an item without Activate dbus app §3.14 System Tray and plan U9: a headless click on an item that lists Activate is delivered, an entry pick sends Event(id,"clicked"), a disabled entry and an item without Activate are refused Headless click on Dropbox (lists Activate): ok, step sni-method, receiver log item KdeItem method Activate 0 0. Headless click on the entry Open L32: ok, step dbusmenu-event, log menu AyaItem Event 1 clicked. Before the fix the same pick failed visible (live offscreen state is true) because a menu entry reported offscreen and no rectangle. A tray entry now reports its item's panel extents with the offscreen state unknown, the shape core's visible gate accepts for a headless semantic delivery (closed-menu items on macOS); an entry under an item with no panel node stays offscreen. The disabled entry (it advertises Click with its disabled state, so core's enabled check answers it): TIMEOUT after 5.0 s with the failing enabled check and no --headed hint in both modes, and no Event 3 in the log (before the change headless gave POLICY_DENIED suggesting --headed, which cannot help); the item that lists no Activate (Slack): POLICY_DENIED, no call in the log NEW-EDGE 3.14 fixed here: tests an_entry_under_a_shown_item_is_not_marked_offscreen, an_entry_under_an_item_with_no_panel_node_is_offscreen, a_disabled_entry_keeps_its_disabled_state_when_shown
L32-37 Tray, headed pointer click on an item and the shell popup dbus app plan U9: the real pointer click path opens the menu click --headed on Slack (lists no Activate): step panel-pointer (physical_synthetic), and the receiver log shows menu AyaItem AboutToShow 0 then menu AyaItem Event 0 opened, so the shell opened the item's popup. The popup is not an application menu surface: snapshot --surface menu answers WINDOW_NOT_FOUND with and without --app gnome-shell, list-surfaces --app gnome-shell lists none, and the shell tree showed no popup node under the item in 2 s. A headed click on an item that lists Activate sends Activate and no pointer (log Activate twice for the headless and headed click) NEW-EDGE 3.14 accepted: the shell's tray popup is read through the dbusmenu entries under the item, which snapshot --surface system-tray lists and click picks; observing the shell's own popup widget is not supported
L32-38 System button through the release binary: open by ref, close by a second click tool app plan U1 item 13 and lane B's measurement: a second click showed no close within 1.2 s Pixel oracle (xwd-class screen read of the top right 580x660 region against the closed baseline, 0 differing pixels at rest): 8 alternating click --headed on the System ref, each observed within 0.07 to 0.18 s (open after clicks 1, 3, 5, 7; closed after 2, 4, 6, 8; the open state differed by 51,311 pixels). The earlier miss does not reproduce through the CLI CONFIRMS 3.14: a second click on the System ref closes the menu it opened; the miss lane B saw came from its own oracle
L32-39 Menu surfaces through the release binary: Calculator, Text Editor, a GTK 3 entry context menu, a GTK 3 menu bar, a Qt menu bar and Chrome dbus + tool app §3.14 Menu surfaces: listed after the action that opened it, rooted by snapshot --surface menu, refs resolve Six of six: the opening click or right-click on a ref returned surfaces [window, menu] (Chrome, opened by xdotool right-click, listed [window, window, menu]); list-surfaces listed one menu entry with item_count 10, 12, 7, 2, 2 and 12; snapshot --surface menu -i allocated refs; a menu item ref resolved in a second process (get live). A click on a menu item ref cannot be delivered on this branch: headless is refused for lack of a semantic dispatcher, and a click on a GTK 4 popup item is refused at once in 0.1 s with ACTION_FAILED "no usable screen position" and retryable false (live bounds null because the placement rule finds no client window for the popup, L32-11; before the change it waited 5 s and timed out on bounds unavailable). A headed right-click on a Chrome ref failed ACTION_FAILED: the window manager made the window active but the application did not report it active (L28-19) NEW-EDGE (formerly deferred) Original deferral: needs the semantic click of 3.7 on the merged branch and the Chrome frame-active report under a real window manager; original closure: 3.15. Closed in 3.14 after integration: frozen source 443db3d5 picked Calculator About by menu ref in two private Openbox sessions (F5); independent AT-SPI observed a new About dialog each time. Two private Chrome sessions observed the inactive main frame and same-PID ACTIVE popup while X11 still named the exact client; headed right-click used XTEST, independent XQueryPointer lay inside the fresh target bounds, the original popup closed, and the main frame became ACTIVE. This proves the native pointer effect, not that a new menu opened at the second target. The two original relocation-only oracle failures are retained. Focus and dispatch regressions and their targeted inversions pass; full evidence and test names are in docs/dogfood-reports/2026-10-20-005-feat-linux-3-14-shell-notifications-dogfood.md
L32-40 Shell landmarks on a non-English shell tool box plan R1 and KTD4: the message list is found by its clear-all button or its empty landmark The shell container finder compares English names (Clear all notifications, System, Overview, Power Off Menu, Show Apps). A non-English shell could not be measured: the box has no gnome-shell translation catalogue and no de_DE locale, and installing them needs root DEFERRED needs: a shell session in a non-English locale (the translation catalogue and locale installed); closure: 3.15
L32-41 find through the release binary: find --surface system-tray and find --surface menu without --count dbus api-contract skill: find --surface instead of a full dump Before: find --surface system-tray --name Check failed 4 of 4 with INVALID_ARGS invalid_native_handle (the hydration observed a tray handle through the AT-SPI path), and a menu match failed hydration because the anchor resolver rooted the path at the window and the Menu surface was rejected for an element root. After: --name Check, --role menubutton and --name Dropbox on the tray returned 2, 2 and 1 matches, and on Calculator's open Main Menu --name About returned 1 and --role menuitem 10. Oracle: the same refs from snapshot, and the receiver and tree counts. Disabling the tray branch brings the 4 failures back NEW-EDGE 3.14 fixed here: tray::observe, the menu branch of resolve_locator_anchor and the element-root rule of observe_decorated; tests a_live_tray_node_becomes_complete_evidence_for_hydration, an_element_inside_a_menu_observes_from_its_own_root, a_ref_taken_on_the_menu_surface_is_a_menu_entry_and_a_window_ref_is_not
L32-42 Empty message list: what the headed open that times out is, with the closed read disabled dbus box L32-32: the cause of the missing flip was not isolated The headed open of a list just emptied by a clear returned TIMEOUT after 5.0 s with list_restore adopted in 2 of 3 rounds with the closed read disabled and the close on its own deadline, and APP_NOT_FOUND after more than 7 s in the third. The cause is the open-state read of L32-44 (the clear-all button hidden on an empty list) for the timeouts, and the shell window outage of L32-45 for the APP_NOT_FOUND; the lease deadline was never the cause. Oracle: the command's error and elapsed time against pixel diffs of the same shell NEW-EDGE Closed by L32-44 for the timeouts; the outage is answered quickly and owned by 3.15 (L32-45)
L32-43 GTK 4 popup item through click: why the headed click waits, and what it answers now dbus app L32-11 Live bounds of the item are null: the placement rule moves a GTK 4 node's window rectangle by the X11 client origin of its frame, and a popup is not a client window, so no position is read; the toolkit's own extents sit at the screen origin. Before: headed and headless click waited 5.01 s and answered TIMEOUT Target did not become actionable. After: both answer ACTION_FAILED "no usable screen position" in 0.1 s with physical_delivery_started false and retryable false. Oracle: the command's elapsed time and the receiver's absence of any effect (the About dialog never opened) NEW-EDGE Initial 3.14 disposition: no_position (crates/linux/src/tree/menu/menu_resolve.rs), now raised by resolve_menu only for a popup nothing places (PopupPosition::Unplaceable in crates/linux/src/tree/placement/popup_position.rs) while a popup that no viewable window answers for is STALE_REF menu_closed, test an_unplaced_popup_item_is_refused_at_once_before_any_event; until the popup-origin read was built, the refusal stood. 3.14 finish: 1dc87834 reads the unique owning override-redirect popup origin for observation and hit-testing; 6ff73be4 uses it for live bounds without a managed-frame fallback. Frozen 443db3d5 matched live item bounds [676,400,92,30] to independent X11 popup bounds [655,380,110,76] plus the item-minus-root WINDOW offset in two fresh private sessions. A raw click at [722,415] emitted exactly one receiver ITEM_ACTIVATED, closed the menu and left the app button present in each run. The separate two F5 ref picks opened a new About dialog. Unit regressions and targeted origin/fallback inversions pass; evidence and test names are in docs/dogfood-reports/2026-10-20-005-feat-linux-3-14-shell-notifications-dogfood.md
L32-44 The message list through the release binary, empty and non-empty, by pixel diff of the top right 1030x660 region (0 differing pixels at rest): open of an empty list, adopt of an open empty list, restore after a clear, restore after the last dismissal, two rounds each, old binary then fixed dbus + tool box L32-32: the cause of the failed open of an emptied list; E2E rows 8a and 3i Cause: the open state was read from the Clear all notifications button, which is not SHOWING while the list is empty even when the list is open (its container, two levels up, shows in both states). Old binary: restore after a clear and after the last dismissal left the list open in 4 of 4 runs (333,563 px differing) while the call said list_restore closed; opening an empty list answered APP_NOT_FOUND after 5.0 s in round 2. Fixed binary: restore closed the list in 4 of 4 (0 px), open of an empty list opened it in 2 of 2 (0.24 s and 0.18 s), adopt of an open empty list answered at once in 2 of 2 (0.11 s and 0.12 s). The list does not close itself when its last entry goes NEW-EDGE 3.14 fixed here: showing_of reads the container for the message list; tests an_empty_open_message_list_is_showing_though_its_clear_all_button_is_hidden and a_closed_message_list_is_not_showing_though_its_anchor_claims_to; the first fails when the anchor is read
L32-45 The shell application's content window across a message list change, sampled through the AT-SPI client every 200 ms gi-atspi box E2E D2: the window drops out of the registry for 1.5 to 2 s The shell application keeps its process and loses its name and its only child, the content window, for a variable time after notifications are posted and the list is opened: after 1.4 s with one entry, after 3.6 s on a second notification with no toggle, after 19.3 s with two entries and the list open, and not at all in 16 s with one entry and the list closed or with an empty list. Once gone it had not come back 20 s later in the longest run, though later commands saw the window again. Closing the list did not bring it back at once. The cause inside the shell was not isolated NEW-EDGE Closed by L32-48: direct protocol reads time out while the same shell stays registered; the blank cached name and negative child count do not establish removal of the window. The adapter preserves the read error instead of turning it into window_missing. A genuinely readable app without a window retains its bounded APP_NOT_FOUND refusal; an unresponsive shell service remains an accepted external limit
L32-46 Wayland tier through the release binary: private gnome-shell --headless --wayland --virtual-monitor 1280x800, gated on the shell's AT-SPI tree, with WAYLAND_DISPLAY set for the client dbus + gi-atspi box plan R13 and U11: the shell pointer route works on Wayland Start: gnome-shell --headless --wayland --virtual-monitor 1280x800 gated on the shell's AT-SPI tree (a status that lists system-tray); the tree appeared on attempt 1 in 2 of 5 runs, on attempt 2 in 2 and on attempt 3 in 1, and the Notifications interface answered within 3 s in every start that was read. Cause of the failed list clicks: relative motion does not reach the shell modal that holds a pointer grab while the list is open. Relative motion (clamp to a corner, then steps) opens the list and works on the top bar (System button open and close, 2 of 2, AT-SPI SHOWING), but a click inside the open message list never registered: dismiss answered ACTION_FAILED (entry still listed) with no NotificationClosed, and the click that closes the list did not close it, with valid AT-SPI extents; eight variants (settle 600 ms, motion pause 60 ms, press 300 ms, all three, a 1 px jiggle, a clamp of 12 motions, a clamp of -20000) changed nothing. The buttons in the list expose no accessibility action (nactions 0 for the close, expand, Run and Clear all buttons), so there is no semantic fallback. Absolute motion on a screen-cast stream of the monitor under the point, linked to the RemoteDesktop session (NotifyPointerMotionAbsolute, PipeWire running in the session), landed: dismiss closed the entry (NotificationClosed reason 2 on the sender's monitor, 1.0 s), dismiss-all emptied the list (count 0, 0.9 s), and the System button opened and closed (2 of 2). Without PipeWire the stream cannot start (Couldn't connect pipewire context): a click on the top bar still goes with relative motion (System button open and close, 2 of 2), and a click inside a popup answers ACTION_FAILED with cause no_screencast_stream, physical_delivery_started false, after 2.2 s and 1.1 s, with the entry still listed and no event sent. "Just now" is a real time label on Wayland NEW-EDGE 3.14 fixed here: run_pointer_absolute links a stream of the monitor that holds the point (monitor_under, by Mutter's connector and the point in that monitor's own coordinates), starts it, moves absolutely and presses; a click on the top bar falls back to relative motion, a click below the top bar (in_modal) is refused before any event; tests a_linked_stream_aims_the_click_with_one_absolute_motion_and_no_relative_travel, a_click_inside_a_popup_without_a_stream_is_refused_before_any_event (fails when the refusal is removed), a_click_on_the_top_bar_without_a_stream_goes_on_with_relative_motion, a_stream_that_will_not_start_in_a_popup_is_refused_with_nothing_sent, the_monitor_that_holds_the_point_is_chosen_and_the_point_made_local_to_it. Stated limit: a Wayland session without PipeWire cannot click inside a popup. Two virtual monitors (--virtual-monitor twice: Meta-0 1280x800 at 0,0 primary and Meta-1 1024x768 at 1280,0) are accepted. The stream of Meta-1 maps correctly: in 5 sessions a GTK client fullscreen on Meta-1 received enter at exactly the monitor-local point sent (501,301; 200,150; 300,300; 501,301; 200,150), and in the 2 warm cases motion, press and release arrived at the same coordinates plus one pixel (201,151 and 401,401); a client on Meta-0 received motion 101,201 and press 101,201 for 100,200 on the Meta-0 stream. In the cold first session after a shell start the press that follows the first move onto Meta-1 was lost in 3 of 3 runs, whether the sequence was the adapter's (move, 150 ms, press) or a slower one, while the shell's own controls on Meta-0 took their first press in every command-line run, so the loss is the receiving client's pointer focus and not the connector or the coordinate space; no shell control can be reached on Meta-1 to test the adapter path itself. DisplayConfig did not answer in some starts of the two-monitor shell, so the start also gates on GetCurrentState. The headless virtual monitor offers supported scales [1.0] only, so a scale-2 configuration cannot be made there
L32-47 Lost accessibility connection on an owned real D-Bus daemon, with a live registry protocol fixture and a stopped Calculator control dbus + tool api-contract Decision 42: post-connect loss has cold-start recovery and honest retry semantics The fixture first serves a role and empty child list, then a method refusal; the refusal is INTERNAL, not bus loss. Killing and waiting for the owned daemon is the independent exit oracle. The retained connection returns PLATFORM_NOT_SUPPORTED twice with the cold-start recovery suggestion, including caller/adapter recreation, retryable: false, and unknown delivery. Node reads cannot return a partial tree after loss. The required shell-role read also preserves transport failure, so loss after a successful children reply cannot masquerade as a destroyed sibling; a real missing object still returns no role. A separately stopped Calculator is confirmed by /proc and returns APP_UNRESPONSIVE, not_delivered, while the registry still answers NEW-EDGE Fixed here: transport errors survive field projection and classify like an unreachable accessibility bus, without inventing delivery evidence. Live tests bus_live_loss_keeps_cold_start_recovery_without_claiming_delivery, bus_live_stopped_app_is_unresponsive_while_the_bus_still_answers and shell_live_lost_role_connection_is_not_a_destroyed_node; mutations and byte-exact restoration in probes/linux/shell-hardening-inverts.py
L32-48 Shell outage after raw-window readiness: 200 samples per run at nominal 200 ms, actual timestamps retained, two private X11 shells and two private headless Wayland shells; notification posts, message-list toggles, raw D-Bus and libatspi before/after cache clearing dbus + gi-atspi box L32-45: determine whether the adapter loses a live shell window All four runs had exactly two samples where direct reads of the still-registered shell root and its last healthy address timed out at the 2 s call limit. Every successful raw read found a role-69 content window. PID and /proc start token stayed unchanged, process states were R/S, and the message-list control was observed showing in 89 samples per run. Libatspi read an empty name and child count -1 during stalls; clearing its cache did not make the initial stalled read answer. A field-level follow-up (one more run per tier, 200 samples each) issued Name and GetChildren concurrently: both timed out together in exactly two samples per run, with no name-only or children-only failure; one registered shell root remained at :1.0. This is an unanswering shell service, not proof of an empty child list. The old adapter discarded the read error and reported a missing window. A real D-Bus fixture now acknowledges entry into an abortable wait gate: its read deadline remains TIMEOUT; a successful empty child list remains absent and never substitutes the app as a window NEW-EDGE Fixed here: content_window and find_root preserve read errors and skip only a destroyed sibling, rather than fabricating window_missing. Live owner: bus_live_loss_keeps_cold_start_recovery_without_claiming_delivery; healthy actual-shell owner: shell_live_window_matches_direct_bus_reads_across_notification_posts, passing on X11 and Wayland. Accepted limit: the adapter cannot read an unanswering GNOME AT-SPI service; the internal shell reason for the stall is not isolated. It returns the read failure and never reconstructs a shell window from unrelated evidence. Reproducer: probes/linux/shell-outage.py
L32-49 Owned private shell SIGSTOP/SIGCONT on X11 and Wayland, independent session-bus owner PID, runtime ownership and /proc stopped-state checks dbus + tool api-contract A really stopped process is APP_UNRESPONSIVE, not a transient missing window Both tiers first matched the adapter root against a separate raw D-Bus connection. After SIGSTOP, /proc confirmed T and find_root returned APP_UNRESPONSIVE with not_delivered; after SIGCONT, the direct window and adapter root matched again. Three independently sent notifications also preserved the raw/adapter window identity in both tiers NEW-EDGE Fixed here: the shell resolver checks the verified shell process's stopped state before reading its tree. Tests shell_live_stopped_process_is_unresponsive_instead_of_a_window_outage and shell_live_window_matches_direct_bus_reads_across_notification_posts; the inverse removes the stopped guard or substitutes the application root for the window

Area L34 — live harness entry probes (sub-phase 3.12)

id probe stack scope phases.md expectation observed verdict action
L34-1 Entry gate on the rebased core-delivery base 64ccca5a, through the release CLI and the harness private sessions tool api-contract plan U1: measure current command support and name missing surfaces Openbox real legs now exercise snapshot/ref resolution, semantic text/value/toggle operations, physical pointer delivery, window focus/move/resize/minimize/maximize/restore, launch attribution, new-window launch, Terminal owner attribution, aliases and recovery strategy. All six X11 clipboard legs pass, including image/HTML and owner lifetime. Screenshot returns PNG; Calculator menu waits and app/window event waits answer. The former blanket PLATFORM_NOT_SUPPORTED list no longer describes this base. CLI popover/menu openers and shell/tray/notification surfaces remain outside this branch DEFERRED needs: menu/popover and shell/tray/notification surfaces; closure: 3.14. Only those surfaces remain outstanding. Invalid stock-app and environment-dependent checks are removed under the owner validation rule and are never counted as live passes
L34-2 Landed decisions read from the code and one CLI call each: Wayland focus_window, mutter never-focused window, modal-blocked ref action, select on a libadwaita combo, the Calculator history listbox ref, the window-and-sheet pair of list-surfaces tool api-contract plan U1 item 2: the leg records the landed outcome focus_window decides wayland_session before anything is sent and ends a refused X11 activation as activation_not_granted, overview_open, activation_refused or frame_not_active (system/focus_cause.rs). focus-window answered ok on both openbox and private mutter for a mapped Calculator and Files window, twice each. The Calculator history listbox gets a ref with Scroll in an interactive snapshot. A Files Properties window is listed as one window and one sheet under the same id. select on the Settings Screen Blank combo answers ACTION_NOT_SUPPORTED (Select or Click is not available), headless and headed, with idle-delay unchanged. A headless click on the Calculator Main Menu menubutton answers POLICY_DENIED (no semantic action), the headed click is ok NEW-EDGE 3.12: lanes B and D assert these outcomes; the headed Wayland refusal and the mutter never-focused refusal are read again at the rebased head
L34-3 Bus-activated Terminal and Files under private-session.sh -- private-mutter-shell.sh, window display read with xdotool on :100 and :150, without and with dbus-update-activation-environment DISPLAY from the payload tool box L18-17: a bus-activated app maps on the outer Xvfb unless the activation environment is pushed Without the push the Terminal server (owner environment DISPLAY=:100) mapped its window on :100 while Calculator and Files, started as plain processes, mapped on :150. With the push of DISPLAY=:150 before the first launch the Terminal server owner carried DISPLAY=:150 and its window mapped on :150; nothing mapped on :100 CONFIRMS 3.12: the mutter tier pushes its own DISPLAY into the activation environment before any app starts; the runner reads each launched window's display back
L34-4 Shell tier recipe: Notifications and StatusNotifierWatcher names under private-mutter-shell.sh, [email protected] enabled at run time through gsettings set org.gnome.shell enabled-extensions against the keyfile backend, 10 consecutive starts tool box plan U1 item 3: the mutter wrapper may own Notifications and show the tray with the extensions 10 of 10 starts reached a healthy payload in 13 to 14 s. org.freedesktop.Notifications answered GetServerInformation (gnome-shell, 46.0) at the first read on every start, and org.kde.StatusNotifierWatcher appeared 0.3 s after the keyfile write on every start. The Extensions interface listed the appindicator extension as enabled. [email protected] was enabled in the same write and was not listed as enabled in the one run that read it. scripts/notification-live.sh is not on this base, so the comparison against it is not made NEW-EDGE 3.12: the mutter wrapper alone gives the shell tier, so the launchers collapse into it once notification-live.sh is compared at the rebased head; the dock leg asserts the landed supported_surfaces
L34-5 Headless Wayland tier: 10 consecutive starts of private-session.sh -- private-wayland-shell.sh, then GetServerInformation on Notifications twice 3 s apart, wl-paste --list-types, and the shell names tool box plan U1 item 9: 3.14 saw 6 of 6 gated starts leave the Notifications interface unanswered 10 of 10 starts reached a healthy payload in 10 to 11 s and the shell answered GetServerInformation at the first read and 3 s later on every start; org.gnome.Mutter.RemoteDesktop and org.gnome.Mutter.ScreenCast were present. wl-paste --list-types answered This seat has no keyboard (exit 1) on all 10, so the seat check is a separate outcome from the shell check CONTRADICTS 3.12: Wayland notification legs are possible on this wrapper (--no-x11); the owner item that records them as unanswered is withdrawn once the legs run at the rebased head
L34-6 VS Code launched with --no-sandbox --password-store=basic --user-data-dir --extensions-dir --disable-extensions --disable-gpu --ozone-platform=x11 --new-window and ACCESSIBILITY_ENABLED=1 in a private openbox session at 1920x1080, 5 runs of 32 s sampled each second through list-windows, then a snapshot and a raw menu-bar read gi-atspi + tool app L18-8: the frame disappears after about 3 s in a private session The frame registered 1 to 2 s after launch and stayed registered for all 32 of 32 samples in 5 of 5 runs; the snapshot read 121 nodes, 114 refs and complete: true every time. A raw read found a showing menu bar with File, Edit, Selection, View, Go and More before any key; alt+f and alt through xdotool left the node count unchanged (no dropdown seen, 1 run). snapshot --surface menu answered PLATFORM_NOT_SUPPORTED on this base CONFIRMS 3.12: lane B launches VS Code with these flags and the accessibility variable; the dropdown leg opens the menu with a click and reads it after the rebase; the frame was not lost with these flags, and the cause of the earlier loss is not isolated
L34-7 Qt window recipe: a PyQt6 window with a menu bar, a button and a line edit under qtvenv python with QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORM=xcb, each activation logged to a file in the runtime directory gi-atspi + tool app plan U1 item 6: the activation log is the effect oracle The window registered 1 s after start with 5 interactive refs and complete: true. The registry owner is named after the script file while list-apps names the process python3.12, so a raw oracle addresses the app by script name and the product by --window-id. A headless click logged one activation and a headed click one; double-click logged 2 and triple-click 3. scroll on the text field answers ACTION_NOT_SUPPORTED (the Scroll action is not available). click File headless is POLICY_DENIED, headed is ok; wait --menu is unsupported on this base NEW-EDGE 3.12: lane B drives the window by id and reads its log; the no_scroll_container refusal and the menu waits are read at the rebased head
L34-8 Headed pointer gestures on GTK4 Calculator at two window positions under openbox: click, hover, drag, mouse-move, mouse-click, double-click, triple-click, right-click, scroll, mouse-wheel; pointer by xdotool getmouselocation, effect by raw AT-SPI, expected point from window extents plus the X client origin gi-atspi + tool app R32: each gesture lands and is read by pointer, effect and extents plus origin Every gesture answered ok at both positions and the pointer matched the expected point to the pixel for click, hover, drag (end on the second button), mouse-move; mouse-click at the expected point raised the display from 7 to 77; double-click selected one word (11 to 16, then 6 to 10 by position) and triple-click selected 0 to 16 of the display text; right-click left 8 showing menu items; scroll and mouse-wheel answered ok CONFIRMS 3.12: lane C asserts these effects on openbox; the double-click word depends on the pointer column, so the leg reads the selection against the text under the raw point
L34-9 The same gestures on GTK4 Calculator under private mutter at two positions, with _GTK_FRAME_EXTENTS read from the window gi-atspi + tool app KD10: a GTK4 geometry error hides under openbox and shows under mutter _GTK_FRAME_EXTENTS read 61, 61, 55, 67. Every ref gesture landed 61 px right and 55 px down of the window extents plus the X client origin and the effects held (click read 7); mouse-move to explicit coordinates landed exactly, and mouse-click at the point without the frame offset left the display unchanged. So the product aims inside the shadow and an oracle that omits the left and top frame extents fails under mutter. GTK3 Terminal and Qt landed with a zero delta at both positions CONFIRMS 3.12: lane C takes the expected GTK4 point as X client origin plus the left and top _GTK_FRAME_EXTENTS plus window extents; confirms L28-33
L34-10 GTK3 Terminal New Tab and Qt Press me under both WMs with the gestures above, effect read as the page-tab count and the activation log gi-atspi + tool app R32: GTK3 and Qt gestures land and show their effect Qt: click 1, double-click 2 and triple-click 3 activations at both positions on both WMs. GTK3: tab count rose by 1, 2 and 3 for the same gestures; right-click and hover added none. The Terminal tab bar appears with the second tab and moves New Tab by 87 px on openbox and 41 px on mutter, so an expected point read before a gesture is stale after the next one NEW-EDGE 3.12: lane C re-reads raw extents before every gesture and closes extra tabs with the keyboard, read back
L34-11 Mutter and openbox lifecycle outcomes through xdotool and wmctrl (the product window operations are absent from this base): 20 cycles each of a focus lift between Calculator and Files, minimise then reactivate, and a desktop switch, Overview read back and closed before each cycle tool box R33, KTD15: fix the outcome sets Openbox: 20 of 20 for all three, each within one poll. Mutter: lift 19 of 20 (one cycle left the target not active after 2.5 s), minimise 20 of 20 (hidden within 0.06 s, active within 0.01 s after reactivation), desktop switch 20 of 20 at 0.05 to 0.06 s with four workspaces set through the keyfile and dynamic workspaces off. One xdotool windowminimize of a covered, non-active Calculator under mutter left it unhidden in the capture probe NEW-EDGE 3.12: lane C accepts the lift outcome set {target active, target not active after the grace} on mutter, never retries, and re-measures through the product window operations at the rebased head
L34-12 CLI modal openers and Files list view on the rebased release under private openbox tool app plan U1 item 8; L23-17, L23-18 Calculator About is absent from the window snapshot after opening Main Menu; Terminal has no assumed hamburger menubutton ref in that window tree. Those CLI opener legs remain outstanding for menu/popover discovery on 3.14. Files has no unambiguous expandable folder row or treeitem in this fixture. The attempted Properties leg did not establish a selected file and did not produce a sheet, so it proves no product failure. Raw About item-order and Preferences late-service fixtures are removed rather than tuned DEFERRED needs: CLI menu/popover openers; closure: 3.14. Keep the two CLI modal openers and two batch opener legs outstanding. Delete the invalid Files/disclosure and raw dialog fixtures; retain deterministic disclosure, signal and surface identity tests
L34-13 Product capture on the rebased release, compared with independent XWD pixels in private X11 sessions tool box R22, plan U1 item 10: capture per WM Openbox returns a 700 by 520 window PNG on a 1280 by 800 display. A minimised window is refused with INVALID_ARGS because it is not viewable; a covered window is refused with ACTION_FAILED and a covered reason. The old oracle incorrectly treated TrueColor color records as palette entries and decoded RGB pixels as black. A synthetic TrueColor XWD test fails with that decoder and passes when channel masks are used. The corrected window-pixel comparison passes through the harness runner under openbox. Mutter returns a 700 by 520 PNG while its raw XWD is 822 by 642: the independent oracle must crop the GTK client shadows (61 left/right, 55 top, 67 bottom); a synthetic crop test fails before this correction, and the corrected Mutter window-pixel comparison passes on its one rerun CONFIRMS Preserve product refusal evidence. Do not infer a screenshot failure from the old decoder or require captures of unmapped or covered windows
L34-14 A StatusNotifierItem sender written for the harness (Python, Gio) on the private mutter tier with the appindicator extension enabled dbus + gi-atspi app plan U1 item 11: the sender registers and its call log is the oracle RegisterStatusNotifierItem succeeded and the watcher listed the item. Activate(3,4), SecondaryActivate(1,2) and the menu Event(1,clicked) sent by busctl from another process each reached the sender and were logged. The shell tree held one showing menu node named by the item title. The dbusmenu GetLayout answers the layout with an enabled and a disabled entry once the child variants are built as (ia{sv}av) values. A call made from inside the sender's own process deadlocks its main loop NEW-EDGE 3.12: lane D writes apps/sni_item.py in this shape (object export on the shared connection, calls only from other processes)
L34-15 Delivery reports and core aliases through the rebased release in private sessions tool api-contract R37: delivered and undelivered evidence agrees with independent observations Openbox delivered mouse-click, drag and mouse-wheel --dy -3 report delivered_unverified/unsafe, with 3, 22 and 7 events respectively, nonempty steps and independent pointer readback/restoration. Window focus/move/resize/minimize/maximize/restore and operation-report legs pass. close-app succeeds and the process disappears; its redundant leg was removed because it incorrectly demanded restoration of that exited process. Launch attribution, Terminal owner attribution, new Text Editor window, list-apps aliases and launch recovery/suggestion legs pass. Bare Super/Win is correctly policy-denied and its success-expecting leg was removed. Negative pointer coordinates initially tested CLI parsing; the corrected probes attach negative values to their flags and require screen dimensions in the refusal CONFIRMS No plain delivered claim is accepted. All three corrected negative-coordinate probes pass under openbox and report screen dimensions; parser errors cannot satisfy this contract. The same three corrected negative-coordinate probes pass under mutter
L34-16 Delayed enable on Calculator Undo through the product: a raw DoAction on 7 2.0 s after the first read, click Undo with the default, 1000 ms and 0 timeouts, and a permanently disabled Undo gi-atspi + tool app R9, AE1: the wait succeeds and dispatches exactly once; the short timeout fails; zero is one immediate check With one 7 press the click answered ok after 2.7 s and the display read empty; with two 7 presses one product click left 7, so exactly-once is read with two presses (one dispatch 7, two dispatches empty). A disabled Undo answered TIMEOUT with details.kind actionability_timeout at 1004 ms for a 1000 ms limit and at 5004 ms by default; a zero timeout answered ACTION_FAILED at 21 ms with no details.kind, not TIMEOUT NEW-EDGE 3.12: lane B presses 7 twice for the exactly-once read and asserts ACTION_FAILED for the zero-timeout check
L34-17 Files 300-file folder through the product: tree size, headless scroll on the scroll area, the scroll bar ref and a set-value write, polled for the last file gi-atspi + tool app R12, L23-24: the last item is reached through the product's scroll route The tree held 32 cell nodes (16 files) at the start. Headless scroll answered POLICY_DENIED (physical pointer input is disabled). The scroll bar ref carries SetValue and read 0; set-value of 100000 answered ACTION_FAILED (post-action state does not match the requested change) while file299.txt appeared in the tree 0.2 s after the write NEW-EDGE 3.12: lane B writes a value inside the bar range and polls for the last file for at least 2 s; the clamped-write answer is reported as a finding
L34-18 Text Editor Replace All through the product: press ctrl+h headed, then type and set-value into each text field, both modes, raw text read back gi-atspi + tool app R9, L23-13: Replace All enables on typed search text press ctrl+h was ok and the replace bar showed Replace All disabled. type and set-value into the second unnamed text field answered ok in both modes, yet all three raw text nodes stayed empty and Replace All stayed disabled; type into the first and the Replace field answered ACTION_FAILED NEW-EDGE 3.12: lane C re-measures with the window focus established by the product and reads the raw search entry; an ok with no raw change is reported as a finding
L34-19 Terminal Copy enable and disable with a text selection through the rebased release CLI in a private openbox session tool + gi-atspi app R9, L14-2 Two runs on the rebased core-delivery base: raw Copy SENSITIVE false before a headed triple-click on the Terminal document, true after it, and false after raw selection removal. Both clicks answered ok; Text.GetNSelections read 1 in both runs. The hidden menu item is observed directly, without attempting an offscreen product click CONFIRMS Measured 2 of 2. The state-only live leg separately checks selection-driven enabled/disabled behavior; no menu-surface dependency remains for this measurement
L34-20 Two same-title GTK4 windows of one process (Text Editor, Files) in a private openbox session: AT-SPI frame states and extents against the X11 clients tool + gi-atspi app §3.4 Window mapping: a same-title tie stays ambiguous (L8-5, L16-21) Two Text Editor windows of one pid, both New Document (Draft) - Text Editor, 700x520, X11 positions (290,140) and (0,0): both AT-SPI frames read screen extents [0,0,700,520], and still [0,0,640,480] for both after wmctrl moved and resized them to (200,100) and (640,320) and after xdotool windowmove. Only the second frame carried ACTIVE, and _NET_ACTIVE_WINDOW named its client. AT-SPI child order and _NET_CLIENT_LIST order agreed. Each X window carried its own _GTK_WINDOW_OBJECT_PATH (/org/gnome/TextEditor/window/1 and /2), which no AT-SPI field repeats (L8-4). Before the correction every ref action in either window ended TIMEOUT after 5 s with visible (bounds unavailable) and list-windows reported bounds: null for both. With the active frame paired to the active client and the other frame to the other client, headless type, headed type and headed hover on a ref in each window took 175-215 ms and the text appeared in that window's own X11 title (H1h1, H2h2). The same pairing held on a private Mutter X11 session: focus-window, move-window, resize-window, minimize, restore and a headed click on New tab each acted on the right window, read from wmctrl -lG, _NET_ACTIVE_WINDOW, _NET_WM_STATE_HIDDEN and each window's own tab count. Two same-title GTK3 windows, whose AT-SPI extents are screen coordinates, were told apart by those extents and needed no proof. Three same-title windows, or two with another application active, left the inactive windows tied CONTRADICTS §3.4 Window mapping: break a same-title tie by the active frame and the manager's active client when exactly two windows are tied; every other tie stays ambiguous, and a request that needs no pointer position acts without one
L34-21 Three tabs in one Text Editor window: AT-SPI states and extents of the three tab pages tool + gi-atspi app none All three text nodes read editable, focusable, focused, multi-line, sensitive, showing, visible and has-popup at the identical window extents (0,86,690,424); the three page tab nodes are focusable, sensitive, showing, visible with no selection bit and a single labelled-by relation to a label panel (no controller-for or controlled-by relation exists anywhere in the window, and neither page tab list answers a Selection interface). Each text view sits under a page panel named by its document title (New Document three times for three empty documents) at sibling indexes 0, 1 and 2; the three page panels and every ancestor above them read sensitive, showing and visible alike, so no page state, tab selection or relation says which page is selected, and only the sibling index and a differing document title tell the pages apart. A ref to any of the three resolved AMBIGUOUS_TARGET with candidate_count 3 (resolve_ambiguous, complete: true) and get failed the same way, in 97 to 107 ms CONFIRMS Identical controls inside one window are twins whatever page they sit on; no evidence in the tree says which page is selected

Area L40 — popovers, list boxes and combo rows (disclosure and select fixes)

id probe stack scope phases.md expectation observed verdict action
L40-1 Menu button whose popover holds only a label: expand, expand again, collapse, collapse again through the release CLI on the Settings Mouse "More Information" button and on an own GTK4 fixture (a label popover, a button popover, a menu popover and two buttons that open nothing), with the raw AT-SPI tree, the raw expanded state and the fixture's own popover log as oracles, before and after the change, in an Openbox and in a Mutter X11 private session gi-atspi + tool app §3.7 Menu button and the popup observation paragraph: an opener is verified by a popup observed beneath it Closed, the menu button has one child, its inner toggle. Open, it has two: the toggle with pressed, and a showing panel with the action default.activate that holds a panel and the label; the button's name becomes its own name plus the popover text. Before the change expand on the label popover answered ACTION_FAILED, kind popup_not_observed, delivered_unverified, with popup_present false and postcondition_satisfied true, after 2.1 s on the fixture and 2.7 s on Settings in Openbox and after 2.0 s and 3.0 s in Mutter, while the raw expanded state, the label node and the fixture log showed the popover open; a second expand on the open button answered ACTION_FAILED, popup_not_observed, not_delivered, after 1.7 s and 2.4 s in Openbox and 1.7 s and 2.3 s in Mutter, and collapse and its repeat were delivered_verified and a no-op; the button popover and the menu popover verified in 0.5 s to 0.7 s. After the change the label popover answers expand in 0.5 s delivered_verified, a second expand in 0.2 s ok with not_delivered and a skipped step, collapse in 0.6 s delivered_verified and a second collapse ok as a no-op on the fixture in Openbox, and the same four calls in 0.9 s, 0.5 s, 0.8 s and 0.5 s on Settings; in Mutter the fixture answers in 0.5 s, 0.2 s, 0.4 s and 0.2 s and Settings in 1.2 s, 0.5 s, 0.7 s and 0.5 s; the two buttons that open nothing still answer popup_not_observed after 3.2 s NEW-EDGE 3.12: the popup rule accepted only a popover that holds a showing button, so a label popover was never a popup; it is now the one showing panel child of an expanded button whose inner toggle is pressed, and the menu surface listing is unchanged
L40-2 Selection indices of a GTK4 GtkListBox: an own fixture with a plain list of five rows and lists with hidden rows, and the Settings category list, IsChildSelected read for every index until it was refused, SelectChild for every index, the fixture's own row-selected log and the raw selected states as oracles, read against the GTK 4.14.5 source gi-atspi app §3.7 Select: GTK4 indexed list selection is refused because accessible children filter non-presented widgets while SelectChild can index native rows The plain list has 5 presented rows and 5 native rows, and SelectChild(k) selects row k. A list of 7 native rows with 2 hidden has 5 presented children: SelectChild(2) selected the hidden row, no presented row read selected, SelectChild(3) selected the presented third row. The Settings category list has 23 accessible children, 19 rows and 4 separators listed after them, and 27 native rows; the selected row has native index 5 and presented rank 0; SelectChild(3) left NSelectedChildren 1 with no readable selected child, SelectChild(8) selected "Displays", and the page did not change either time. The source confirms it: SelectChild and IsChildSelected of a list box take gtk_list_box_get_row_at_index, the accessible child list skips what gtk_accessible_should_present refuses NEW-EDGE 3.12: the refusal stands for list boxes, and a selection write that cannot be proven moves the selection to a hidden row, so no headless route exists for such a list
L40-3 select through the release CLI on a GTK4 list box, headless and --headed, before and after the change, on the own fixture (a plain list, a list with hidden rows) and on the Settings category list, with the fixture's own row-selected log, the raw selected states and the page labels as oracles gi-atspi + tool app L40-2: a headless select has no safe route; the documented way is a headed click on the row Before the change every select that matched a row, headless or --headed, answered ACTION_NOT_SUPPORTED, kind selection_index_unproven, not_delivered, in 0.2 s to 0.8 s, and nothing changed (the fixture logs read Alpha and One, Settings stayed on Network). After the change a headless select answers the same refusal in 0.1 s on the plain list, 0.1 s on the list with hidden rows and 0.3 s on Settings, and nothing changes. --headed select clicks the row: plain list "Gamma" in 0.5 s delivered_verified, with the steps Selection.SelectChild skipped and XTEST.click succeeded and verified, and the fixture log reads Gamma; the same call again 0.1 s ok with not_delivered and both steps skipped; the list with hidden rows "Three" in 0.2 s, log Three; "Ghost1", the hidden row, ELEMENT_NOT_FOUND and the log still Three; an absent name ELEMENT_NOT_FOUND. On Settings "Sound" answers delivered_verified in 0.9 s, the row reads selected and the page labels change to the Sound page; again ok with not_delivered in 0.5 s; "No Such Panel" ELEMENT_NOT_FOUND; "Network" delivered_verified in 0.9 s and the Network page comes back NEW-EDGE 3.12: a headed select clicks the matched row after the refusal and judges by the row's selected state, a headless select keeps the refusal
L40-4 The libadwaita combo row of Settings Power "Screen Blank" and of an own libadwaita 1.5 fixture, closed and after a headed click, raw AT-SPI tree, actions, states and IsChildSelected of the lists gi-atspi + tool app L14-10: libadwaita combo rows expose no choices and no action Closed, the combo box has states focusable, selectable, sensitive, showing and visible, no has-popup, no action and one child; below it a title panel with two labels and a list with Selection and one item whose label is the current value. After a headed click a showing panel with the action default.activate appears 4 levels below the row and holds a scroll pane and a second Selection list, 8 levels below the row, with one item per choice (4 in the fixture, 10 in Settings), the selected choice read by GetSelectedChild; the first choice label sits 11 levels below the combo, so a search from the combo stops at its depth limit of 8 while a search from the popup list finds them. Without a pointer the choices are absent, as L14-10 measured NEW-EDGE 3.12: the choices of the row are enumerable once a pointer has opened it, and the popup commits through its list and its default action
L40-5 select through the release CLI on the libadwaita combo row, before and after the change, headless and --headed, on the Settings Power "Screen Blank" row and on the own fixture, with the fixture's own notify::selected log, the first label of the row's current list, the number of selection lists below the row and gsettings idle-delay as oracles gi-atspi + tool app L40-4: a headless select cannot open the row, and its choices appear after a pointer click Before the change the row advertised no Select and select answered ACTION_NOT_SUPPORTED, "Target is not actionable: supported_action (Select or Click is not available)", not_delivered, in 0.2 s for a valid choice and 0.2 s for an absent one on Settings. After the change the snapshot gives the row Select. Headless select answers POLICY_DENIED, kind pointer_required, not_delivered, in 0.1 s on the fixture and 0.2 s on Settings, and the value stays (fixture log 5 minutes, idle-delay 300). --headed select "Never" answers delivered_verified in 0.4 s on the fixture and 0.5 s on Settings with the steps XTEST.click (physical) and Action.DoAction (semantic, verified): the row shows Never, the fixture log reads Never, idle-delay reads 0, and one selection list is left below the row, so the popup had closed. The same call again answers ok with not_delivered in 0.1 s and a skipped click. "NoSuchChoice" answers ELEMENT_NOT_FOUND in 0.3 s on the fixture and 0.4 s on Settings, the popup is closed, and the value stays; "1 minute" on the fixture and "5 minutes" on Settings (idle-delay back to 300) answer delivered_verified in 0.6 s and 0.4 s. A first build that clicked the choice in the popup answered STALE_REF, kind pointer_target_not_visible, for every choice that needed a click, because the placement of the popup window is not known to the pointer check, while the click on the combo itself opened the popup each time NEW-EDGE 3.12: a headed select opens the row with the pointer and commits through the list of the popup and its default action, because a pointer click on a choice of the popup is refused
L40-6 The popup list of the libadwaita fixture combo opened by a headed click: IsChildSelected for every index, SelectChild, the default action of the popover, read against the GTK 4.14.5 list view source gi-atspi app L30-37: the popup list is committed by SelectChild and the popover default action The list of 4 choices answered IsChildSelected for 0 to 3 ([false, false, true, false]) and refused index 4 with InvalidArgs "No child". SelectChild(3) answered true and moved only the selection of the popup list (the combo still showed the old value and the fixture log did not change); the default action of the popover then set the value "Never", the log read Never and the popup closed. The source shows why the index is safe here: a list view takes SelectChild and IsChildSelected as the index among its item widgets, resolves the model position of that widget itself and counts the same widgets that the accessible child list presents unless one is not presented. A list box with hidden rows fails the same count (L40-2: 7 against 5, Settings 27 against 23) NEW-EDGE 3.12: the index of an open popup list is proven by the call about the last presented child answering and the call about the next index refusing, and no other list takes the counted write
L40-7 select through the release CLI on a GTK4 drop down (a Gtk.DropDown of "Alpha", "Beta" and "Gamma" in the window of the combo row fixture), headless and --headed, before and after the change, with the fixture's own notify::selected log as oracle gi-atspi + tool app L30-37: the popup list of a drop down is committed by SelectChild and the popover default action; L40-6: the index of that list is provable Before the change a headless select of "Gamma" answered ACTION_NOT_SUPPORTED, kind selection_index_unproven, not_delivered, in 0.8 s, the same call again answered the same in 0.7 s, "Nothing" answered ELEMENT_NOT_FOUND in 0.6 s and --headed select of "Beta" answered selection_index_unproven in 0.7 s; the fixture log never moved. After the change a headless select of "Gamma" answers delivered_verified in 0.5 s with one step, Action.DoAction (semantic, verified), and the fixture log reads Gamma; the same call again answers ok with not_delivered and a skipped verified step in 0.1 s; "Nothing" answers ELEMENT_NOT_FOUND in 0.7 s and the log stays Gamma; --headed select of "Beta" answers delivered_verified in 0.6 s and the log reads Beta NEW-EDGE 3.12: the counted index proof lets a drop down select without a pointer, and a drop down that already shows the wanted value is a no-op
L40-8 select through the release CLI on a GTK4 list box (a plain list and one with hidden rows), the libadwaita combo row and a GTK4 drop down, headless and --headed, in a private Wayland shell session on the own fixtures, before and after core refuses a headed select in a session without pointer input, with the fixtures' own row-selected and notify::selected logs and the number of selection lists below the combo row as oracles gi-atspi + tool app L40-3 and L40-5: the pointer routes need X11, and the CLI's Wayland pointer gate refuses pointer commands at once Before the change every headed select on Wayland answered TIMEOUT, kind actionability_timeout, not_delivered, after 5.0 s, for the list row, the hidden-rows list, the combo row (a valid and an absent choice) and the drop down, and nothing changed. After the change each answers ACTION_NOT_SUPPORTED, cause wayland_session, not_delivered, in 6 ms, before any target is resolved; the logs keep their values (Alpha, One, 5 minutes, Gamma) and no popup list is added below the combo row. Headless select on Wayland is unchanged: the list answers selection_index_unproven in 0.1 s, the combo row POLICY_DENIED, kind pointer_required, in 0.1 s, and the drop down delivered_verified in 0.4 s through the semantic route. On X11 the same headed calls still deliver (list "Gamma" and "Three" and combo row "Never" delivered_verified, "NoSuchChoice" ELEMENT_NOT_FOUND) NEW-EDGE 3.12: core asks the adapter whether the session has pointer input before a headed select resolves its target, as the pointer commands already do, so a session without it answers at once instead of after the 5 s wait

Area L41 — top-level surfaces and snapshot visibility across toolkits

id probe stack scope phases.md expectation observed verdict action
L41-1 Top-level census: every direct child of every application root (role, role name, states, interfaces, name, extents) with the X11 managed clients and viewable override-redirect windows of the same pid, after opening each surface with xdotool; XFCE container (Mousepad Save As, Thunar Create New Folder, Qt main window, bare QWidget, QMessageBox, non-native QFileDialog, top-level QPushButton, Text Editor Open) and the GNOME machine (Text Editor Open and Keyboard Shortcuts, Files New Folder, Calculator Keyboard Shortcuts, Terminal) dbus + tool api-contract §3.4 window enumeration by role frame/dialog/window (L8-2) Every real top-level window is a root child that implements Component and matches an X11 managed client of its pid. Roles seen: 23 frame (GTK3, Qt QMainWindow), 23 application (GTK4), 69 window, 16 dialog (GTK3 dialog, GTK4 Open File without MODAL, Qt QFileDialog), 19 file chooser (GTK3 Save As: ACTIVE MODAL SHOWING VISIBLE, X11 _NET_WM_WINDOW_TYPE_DIALOG), 2 alert (Qt QMessageBox, X11 DIALOG), 20 filler (bare QWidget), 39 panel (GTK4 shortcuts, MODAL), 43 push button (a Qt QPushButton shown as a window). A top-level carries the role of its widget CONTRADICTS Window membership is a root child with Component; the role is never a gate. A role list cannot be complete: roles 19, 2 and 43 were dropped by the old list
L41-2 Popups against root children, same census with a menu bar menu (Mousepad Alt+F), a GTK3 tooltip (hover on Thunar Home), a GTK4 popover (Text Editor, Calculator, Files F10), a Qt QMenu.popup and a GTK3 context menu (Terminal Shift+F10) open dbus + tool api-contract none The menu bar menu, the GTK3 tooltip (X11 override-redirect 179x53), the GTK4 popovers and the Qt menu (override-redirect 146x44) add no root child. The GTK3 context menu adds a root child role 69 window, empty name, ACTIVE SHOWING VISIBLE, extents 171x233, one child role 33 menu with FOCUSED SHOWING and 11 items, and no X11 managed client (only override-redirect); Escape removes it. Chromium menus are blank frames holding a menu bar (L18-7) NEW-EDGE A blank, showing top-level whose children are only menus is a popup menu surface: it belongs to menu observation and never to the window list
L41-3 Closed surfaces: the same census after Escape closed each dialog dbus + tool app none GTK3 and GTK4 remove the root child (file chooser, Open File, New Folder, shortcuts). Qt keeps the closed QMessageBox (role 2) and QFileDialog (role 16) as root children with only ENABLED SENSITIVE (and RESIZABLE), extents [0,0,0,0], and no X11 client NEW-EDGE A closed husk is told from its states and the missing native window, not from its role; the existing husk filter applies to every role
L41-4 AT-SPI dialog role numbers read from libatspi Atspi.Role in the XFCE container gi-atspi api-contract none ALERT 2, COLOR_CHOOSER 9, DIALOG 16, FILE_CHOOSER 19, FONT_CHOOSER 22, FRAME 23, PANEL 39, TOOL_TIP 64, WINDOW 69, APPLICATION 75 CONFIRMS The dialog family is these five roles; the number list comes from the library, not from a toolkit
L41-5 Mousepad toolbar in the XFCE container: the ancestor chain of the Save As... push button, raw states and extents in screen and window coordinates, against the release CLI find and click on the same node dbus + tool app §3.4 snapshot states carry the same visibility truth as the action gate The tool bar (63) has neither VISIBLE nor SHOWING, extents [-2147483648,-2147483648,1,1]; its panel and the button are VISIBLE without SHOWING at the same sentinel. find returned the button with a ref and "states": []; headless click answered ACTION_FAILED "Target is not actionable: visible (live offscreen state is true)". The snapshot projection emits neither hidden nor offscreen; the live projection derives both CONTRADICTS The snapshot must publish hidden and offscreen from the same rule the action gate uses, without extra reads
L41-6 launch thunar --activate in the XFCE container with the session's Thunar daemon running tool app §3.9 launch attaches to an already-running application The daemon is pid 72, /proc/72/exe canonicalises to /usr/bin/thunar, its command line is Thunar --daemon. The launched thunar forwards the request and exits 0; a new Thunar window appears in pid 72; the launch answered ACTION_FAILED "'thunar' exited with status 0 without a verified application owner", because the executable identity also compares the argument list NEW-EDGE A clean launcher exit with no matching owner is proved by its effect: the one running process of the same executable that shows a new top-level window owns the launch
L41-7 Raw Gio Properties.GetAll(Accessible) versus individual Properties.Get calls on a disposable Qt widget zoo; repeat a full walk reading optional interfaces only after GetInterfaces dbus api-contract §3.4 safe property reads Ubuntu 24.04.5, PyQt6 6.6.1 binding, QT_VERSION_STR and qVersion() 6.4.2: qt_pipeline_probe.py <pid> "Zoo Qt" seq A:Accessible kills the app with SIGSEGV (139); P:Accessible.Name leaves it alive. A guarded single-property walk visits 56 nodes and leaves the app alive; the four identity Gets sent concurrently also leave it alive. Three release CLI snapshots are complete with 38 refs each and raw GetRole still answers afterward. Binding and runtime versions differ; the earlier handoff called this Qt 6.6.1. CONTRADICTS Never issue AT-SPI GetAll: send Name, Description, ChildCount and AccessibleId as concurrent Get calls. Read optional interfaces only when the node advertises them. The transport regression snapshot_reads_only_named_properties_without_bulk_or_unadvertised_reads passes with the fix and fails with the original reader (one forbidden bulk read).
L41-8 Raw GTK3 zoo geometry on a private Xvfb 1000x600 display with Openbox versus snapshot state; matched with the VM ref-contract preflight errors dbus + tool api-contract §3.4 snapshot/live visibility parity Raw expander extents are [1,602,600,17], list [1,664,600,63], and rows start at y=664/685/706. All report ENABLED, SHOWING, VISIBLE, despite lying below the display. Snapshot omitted offscreen; the live placement checks display bounds and refused such targets before dispatch. Moving the fixture workflow openers onto the display makes their clicks open raw windows. CONTRADICTS Snapshot projection must apply the same display-intersection predicate to its proven screen geometry, with monitor bounds read once per observation. Retained window geometry still governs frame and scroll-container overlap; missing screen/display evidence must not invent offscreen state.
L41-9 Raw semantic routes on private GTK 4.14.5 checkbox/radio, tab-list and list fixtures, with reversible Selection writes dbus api-contract §3.4 headless ref/action parity Check and both radio widgets are role 7, advertise Accessible/Component/Action, and have empty Action.GetActions. They report CHECKABLE (one radio CHECKED), no Value, and their role-39 parent lacks Selection. TabList and List advertise Selection: SelectChild(1) returns true and independently changes the selected child; SelectChild(0) restores the tabs, ClearSelection restores the list. List index 3 errors for three children; the tab list returns false for out-of-range IsChildSelected instead of an error. NEW-EDGE The checkbox/radio bridge exposes no semantic mutation route: do not fabricate disabled state or synthesize input in headless mode. This blocks an unconditional every-ref headless guarantee and needs an owner/toolkit decision. Tabs/lists have a measured route; blanket GTK4 index refusal is too broad, but the list boundary proof does not establish tab index safety.
L41-10 Private Thunar 4.18.8 directory with exactly two known files; raw AT-SPI enumeration across icon/list/icon/list views dbus + tool app §3.4 file-item discoverability The known filename count is 0 → 2 → 0 → 2. Detailed list view exposes both names as table cells; icon view exposes neither. The probe uses a fresh HOME, Xvfb, D-Bus and owned Thunar process. NEW-EDGE Document switching to View as Detailed List (Ctrl+2) and taking a fresh snapshot; an empty icon-view accessibility tree does not prove an empty directory.
L41-11 Raw GTK3 message dialog on a private Xvfb display and session bus dbus api-contract §3.4 alert observation The visible message dialog exposes role 2 (ALERT), name Information, and ACTIVE/ENABLED/SENSITIVE/SHOWING/VISIBLE, without MODAL. The release alert snapshot completes; clicking its button ref closes the dialog, confirmed through independent raw AT-SPI. NEW-EDGE Alert snapshots select SHOWING ALERT nodes, at the window root or nested below it, and resolve their refs with the same predicate. No application identity or version is needed.
L41-12 Private raw GTK4 ListBox with five native rows, one hidden row and a custom header; boundary, index, identity and metadata probes, each repeated twice dbus api-contract §3.4 headless selection safety Five accessible children can equal five native rows while SelectChild(1) selects hidden row Hidden instead of accessible child Gamma at index 1. IsChildSelected(4) succeeds and (5) errors. A GtkListBoxRow header makes every exposed child role 32 and SELECTABLE, preserving the failure. All rows and header share Parent, interfaces and toolkit-only attributes; no native index or position attribute is exposed. CONTRADICTS Do not extend the popup counted-index proof to arbitrary selection containers, even with a selectable-child filter. Accessible identity revalidation does not prove native Selection identity.
L41-13 Repeated private raw Qt list and combo popup option Action calls in two environments, with independent fixture selection and committed-value logs dbus api-contract §3.7 semantic option actions A selectable, non-checkable LIST_ITEM exposes Toggle. The first call selects it and the second leaves it selected. Popup option calls select rows in both directions but do not change the combo currentText or emit its commit event; the parent's Press and ShowMenu do not commit the highlighted choice either. CONTRADICTS Classify this action shape as Select and verify selected state, never checked state. Avoid invoking a selection toggle on an already selected row, refuse unknown state, and do not treat popup highlighting as a committed combo value.
L41-14 Repeated private nested-loop GTK3 dialog.run and Qt exec openers, in container and VM, with independent OPEN/CLOSED fixture events dbus api-contract §3.7 modal delivery DoAction returns true in under 2 ms in every measured run. Qt exposes the new role-16 dialog after its OPEN event, roughly 110 ms after dispatch. GTK3 blocks application-root GetChildren beyond the 700 ms read timeout while OPEN, and resumes after the scheduled close. NEW-EDGE A DoAction reply timeout is not reproduced by these fixtures. Do not add speculative timeout recovery that assumes the application-root observation channel remains readable during a nested dialog.
L41-15 Private GTK3 offscreen horizontal scrollbar with sentinel extents; raw values and fixture events before and after set-value 7 dbus api-contract §3.7 scroll recovery Before the fix, reveal changes the sibling vertical bar 0→100→200→100 and then refuses. After the fix, two live runs preserve both bar values at 0 and emit no scrollbar change event. Three regression tests fail without the fix and pass with it. CONTRADICTS Exclude the target scrollbar's immediate parent from reveal candidates; retain outer scroll ancestors.
L41-16 Preserved Mousepad instance blocked inside an AT-SPI-triggered nested dialog; scoped list-surfaces before and after the shared discovery repair dbus + tool api-contract §3.4 surface uncertainty Raw application-root reads time out. The earlier scoped surface query returned an empty list; the repaired release returns TIMEOUT with kind frames_unanswered in under one second. A real p2p D-Bus regression distinguishes an unanswered child list from a successfully observed empty list. CONTRADICTS Preserve failed frame-read outcomes through scoped discovery; unread surfaces are not absent surfaces.
L41-17 Private GTK3 exported GMenu/GAction Save dialog, raw AT-SPI control, unrelated-focus sentinel, and two complete release CLI Save/Cancel cycles dbus + tool api-contract §3.7 nested modal actions AT-SPI menu activation enters gtk_dialog_run inside the accessibility dispatch source and subsequent reads stall. The process-bound GTK action export opens the same readable dialog when sent without waiting for the modal-lifetime reply. Two independent sentinel runs preserve foreground focus and pointer position. The release CLI resolves the owning X11 window and process, full menu path and exact enabled action signature; Save returns its sheet in surfaces, sheet snapshots complete, and Cancel restores the editor twice. GTK accessible labels include accelerator-padding spaces absent from the exported labels. NEW-EDGE Use the existing native semantic export when proven by window metadata and bus-owner PID; normalize mnemonic markers and outer label spacing, reject ambiguity, and never retry an uncertain dispatch. This measured route requires exported GTK metadata on X11.
L41-18 Release menu snapshot and action preflight of the same visible GTK3 Save row, plus inverse projection regression dbus + tool api-contract §3.4 snapshot visibility A popup row lies outside its small File menu anchor, so clipping to that rectangle falsely reports offscreen while live popup placement accepts it. The regression fails before the repair; two release CLI cycles then report the visible row without offscreen and activate it successfully. CONTRADICTS A menu anchor is not a clipping frame for its popup descendants. Retain scroll-container, sentinel and display checks without adding node reads.
L41-19 Private GTK3 application with exported menubar and unnamed context menu; release CLI before/after, followed by two Mousepad Save/Cancel cycles dbus + tool api-contract §3.7 menu fallback Before repair, the complete context snapshot exposes Context Action but clicking refuses because its menu ancestor has no name. After repair, the same ref route reaches Action.DoAction and an independent fixture event file proves activation. Two exported Save/Cancel cycles still open readable sheets and restore the editor; Save takes 534–558 ms. CONTRADICTS An available native export does not represent every menu. Unsupported export shapes must fall through before dispatch; unread exports, disabled actions, PID mismatches and uncertain delivery remain fail-closed.
L41-20 Private GTK3 snapshot with a TCP X11 relay forwarding ordinary requests while withholding only RandR replies; release CLI before/after dbus + tool api-contract §3.4 optional observation A completed root snapshot with a 2 s deadline took 2.025 s before repair while RandR GetMonitors never answered. The same snapshot completes in 95 ms after repair, and the relay confirms the stalled RandR request. A healthy full snapshot takes 52 ms. CONTRADICTS Monitor decoration is optional: consume its result only if ready after the accessibility walk, otherwise cancel the bounded read without spending the remaining command budget.
L41-21 Private Qt combo and ordinary list, independent application-state file, release CLI reproduction and inverse native action regression dbus + tool api-contract Semantic selection without a false commit or side effect Selecting the visible Bravo popup option originally returned delivered_verified while QComboBox.currentText remained Alpha. Reading the walked combo owner first exposed the false verification. The final headless route refuses with POLICY_DENIED, pointer_required, before both the committed value and highlighted index change. The native regression independently verifies explicit headed commitment and ordinary list selection Row two then Row one; all 38 local Qt ref-contract rows pass. CONTRADICTS A popup highlight does not prove a committed combo value. Refuse the Qt combo semantic selection before writing; an explicit headed request uses the existing pointer route. Carry the nearest combo owner through walked ancestry for committed-value read-back and never substitute the popup SELECTED bit for an unread owner value.
L41-22 GTK 4.14.5 entry and password activation, raw toolkit calls and release CLI in a private X11 session dbus + tool api-contract Headless and headed separation Gtk.Entry.activate and its Gtk.Text child's activate return false while explicitly emitting the activate signal runs the fixture callback. AT-SPI Activate returns success without that callback. The repaired headless click refuses with POLICY_DENIED and unchanged raw state and event log on both fields; explicit headed clicks deliver XTEST input and independently produce FOCUSED plus the fixture focus event. CONTRADICTS Use the toolkit already read for live preflight to reject the ineffective entry-only Activate route; retain the ref, geometry, editing actions and genuine click verbs. The direct adapter path applies the same rule. No node reads are added to snapshots.
L41-23 GTK3 unnamed viewport ref beside named peers, inverse resolver regression and complete private release ref-contract run dbus + tool api-contract Strict retained-object resolution The snapshot retained the viewport's unique bus object, but the search only attached live object identities for menu refs. A named peer without retained identity made the whole search unread and the viewport click timed out. The regression fails before the one-condition replacement and passes afterward, including the removed-target case; the live GTK3 gate passes all 37 rows. CONTRADICTS When the stored ref carries a retained object, attach the observed candidate object during search regardless of surface. Preserve all role, geometry and ambiguity checks.
L41-24 GTK3 offscreen button in a viewport extending below a private 1280x800 display, two release CLI clicks with complete raw before/after state and application events dbus + tool api-contract Refusal without mutation The viewport occupies y=767..867 while the display ends at 800. Previously reveal wrote the scrollbar before failing to expose the target. Both repaired clicks refuse before reveal, retain both scrollbar values and every recorded raw field, and emit no application events. A GTK4 offscreen button still reveals and activates on the private 1280x1200 display. CONTRADICTS Refuse reveal before writes when known viewport geometry is not wholly contained on one display. Unknown geometry keeps the existing path. A viewport spanning display boundaries is conservatively refused even when the display union covers it.
L41-25 Qt 6.4.2 popup and main-window coordinates, raw point queries, and private native headed-selection regression dbus + tool api-contract Physical popup ownership and receiver proof Before the fixture window settles, a popup can remain at its initial origin; opening it through Expand after window discovery removes that fixture race. The popup row's screen height is 22 but its WINDOW-coordinate height is 310. A point query on the popup list reaches Bravo in SCREEN coordinates and returns null in WINDOW coordinates; the main frame reaches an underlying list row instead. The repaired native test passes: headless refusal changes neither highlight nor value, headed select commits Bravo, and plain rows select in both directions. CONTRADICTS Reuse PID-bound, viewable X11 popup discovery and require a unique window at the target centre. Calibrate against the owning managed window, descend from the combo's single observed popup child, and use screen reads translated into that calibrated coordinate frame for Qt. Keep sibling-separation, stacking, identity and receiver checks; add no snapshot reads.
L41-26 GTK3 toggle menus and context menus, GTK4 popup check items, raw AT-SPI and isolated native regressions dbus + tool api-contract Menu inventory and retained owner A GTK3 menu toggle contains showing menu items without a menu-role wrapper. GTK4 check-item activation closes its popup before state read-back. A raw GTK3 context popup exists as a blank showing WINDOW with Component and a MENU child, but the structural inventory omits interfaces and then rejects its own popup root. CONTRADICTS Recognize checked, showing toggle menus with only menu content; retain the owning window on menu snapshots. Preserve the already-read root interfaces in the structural popup walk, and reread blank cached roots whose interface evidence is missing. Do not add interface reads to every structural node.

| L41-27 | Native Wayland GTK4 menu contract and resolver regressions | dbus + tool | api-contract | Semantic menu delivery | A showing popup has no usable global screen position. The resolver rejected its item before semantic delivery, although AT-SPI can activate it without coordinates. The repaired GTK4 Wayland ref-contract run passes. | CONTRADICTS | Resolve placed and unplaceable showing menus; preserve closed-menu and unread-menu errors. Physical delivery still requires its own geometry proof. | | L41-28 | Native Wayland GTK3 chooser raw identity probe, resolver regressions and final release window contract | dbus + tool | api-contract | Duplicate-name geometry evidence | The chooser exposes two Name fields: a visible field with usable bounds and a hidden field with absent bounds. Compact snapshots retain the bounds hash rather than the full rectangle. Flattening absent and unread bounds, and ignoring that hash, prevents the existing geometry separator from identifying the visible field. The final native Wayland dialog and Save chooser workflows both pass after repair. | CONTRADICTS | Preserve absent versus unread geometry and use the stored rectangle or compact hash. Unread candidates, duplicate matches and differing coordinate frames remain unresolved. | | L41-29 | Native Wayland Qt combo contract, independent application events and backend classification regressions | dbus + tool | api-contract | Refusal before popup mutation | Qt reports opener events without a showing popup when no user input serial exists. The repaired native Wayland contract safely refuses before invocation and preserves raw state and application events. | NEW-EDGE | Refuse native Wayland Qt combo opening with native_popup_requires_input. Permit proven Xwayland windows; report failed backend discovery as popup_backend_unproven, not unsupported. | | L41-30 | GTK 3.24.41 direct Gtk/Atk focus probe, raw AT-SPI state and independent application events | dbus + toolkit | platform-limit | Strict fixture restoration | Combo, menu-button and tab actions produce the required application effects. After reset, GTK reports the anchor as its focus widget, but Atk retains FOCUSED on a hidden menu or inactive tab; extra idle turns do not repair it. Raw AT-SPI reports the same stale toolkit state. | NEW-EDGE | Keep the three strict restoration failures visible as a GTK accessibility-state limitation. Do not mask FOCUSED, manufacture raw evidence, or add ineffective reset delays. |

| L41-31 | Ref-contract preparation regression and response/oracle verdict table | harness | test-contract | Unexercised collapse coverage | Native Wayland Qt refuses setup Expand, leaving the combo closed. The harness previously counted Collapse as passed because an already-closed popup and no events satisfied its effect oracle. The regression fails on that behavior and passes after repair. | CONTRADICTS | Mark the action and row not-exercised when its opposite setup is unsupported, and return a blocked leg rather than a pass. A landed action also requires a successful response plus both independent oracles. Keep raw restoration checks. | | L41-32 | Ref-contract orchestration and fixture-close regressions | harness | test-contract | Snapshot promises and close responses | An advertised action returning a clean unsupported error was counted as a passing refusal after overwriting the snapshot-derived expectation. The special close path also passed when both effects appeared despite an unsuccessful command response. Both regressions fail before repair and pass afterward. | CONTRADICTS | Keep snapshot-derived expectations unchanged, so an advertised action that refuses fails the gate. Require a successful close response and both independent effects while still checking relaunch restoration. Earlier passing ref-table totals that included unsupported advertised actions are superseded by the stricter gate. |

Area L42 — ref re-identification and capture uniqueness

Measured on a second rig, not the machine in Environment: Docker on macOS, an ubuntu:24.04 session with Xvfb :99 (1400x900x24), a private AT-SPI bus, Openbox and GSETTINGS_BACKEND=keyfile with toolkit-accessibility on. Three fixture apps were written for the run, one per toolkit (GTK3 through python3-gi, GTK4, Qt6 through python3-pyqt6); package versions were not recorded this pass. Each app shows four rows, a label Alpha to Delta plus one identical Delete button per row, one unique Remove Beta, Rerender (destroys and recreates every row), and Trap, Drop Trap and Hide Trap. Every row and button carries a creation-time instance id and the app logs create and fire to a file outside the accessibility channel, so an effect is proved by which widget instance ran its handler, never by ok. Release CLI, headless semantic actions only; no --headed pass.

id probe stack scope phases.md expectation observed verdict action
L42-1 Unique ref Remove Beta clicked once per toolkit after snapshot --app idv-<toolkit> -i --compact dbus api-contract none: measures the shipped rule in crates/core/src/refs/resolve_saved_ref.rs GTK3 1/1 resolved and fired Beta#2; GTK4 1/1 Beta#2; Qt6 1/1 Beta#2. The effector is the captured row's own button instance CONFIRMS The single live full-predicate match resolves and lands on the element it was captured from, on all three toolkits
L42-2 Four identical Delete refs, one per row, each clicked once per toolkit dbus api-contract none: same shipped rule GTK3 4/4 refused AMBIGUOUS_TARGET, details.kind: identity_not_unique, 0 wrong rows, 0 effects; GTK4 4/4 refused, 0 wrong, 0 effects; Qt6 4/4 refused, 0 wrong, 0 effects. A refused ref costs 5.0-16.8 ms against 33.0-127.3 ms for a resolved one (L42-6), so no click reached the tree CONFIRMS Twins are refused at capture, before any live read. Report it as a capture verdict, not a failed search
L42-3 Unique ref clicked twice, with the element removed between the clicks; then refs captured before Rerender dbus api-contract none: same shipped rule First click ok and fired Beta#10; second click STALE_REF, details.kind: saved_ref_absent, no effect, identical on all three toolkits. After Rerender, the four Delete refs were refused 4/4 (identity_not_unique) and the unique ref 1/1 resolved onto the recreated widget (Beta#18) CONFIRMS Zero live matches is stale. A unique name re-resolves onto a replacement element, so the rule protects twins only; do not read resolution as "the same instance is still there"
L42-4 Ref captured, widget destroyed, click issued immediately, 12 samples per toolkit (GTK4 unparent, Qt6 hide() plus setParent(None) with the reference kept) dbus api-contract none: same shipped rule GTK3 destroy() drops the accessible at once: 7/7 STALE_REF, no effect, absent from the listing. GTK4 unparent() keeps it listed (3/3 immediately, gone after 0.5 s): 11/12 ok with delivered_unverified and no effect, 1/12 ACTION_FAILED, 0 STALE_REF. Qt6 keeps it listed and live: 6/6 ok and the dead widget's handler fired (Trap#1) NEW-EDGE A toolkit that keeps a detached accessible listed lets a ref resolve onto a control the user can no longer see. GTK4 reports success with no effect, Qt6 delivers to the zombie. Both are platform limits no identity rule reaches; stated in the Linux skill
L42-5 Same destruction with the widget only hidden instead of removed, 3 samples per toolkit dbus api-contract none: same shipped rule GTK3 3/3 ACTION_FAILED, no effect. GTK4 3/3 ok, handler fired on an invisible widget. Qt6 3/3 ok, handler fired, still listed NEW-EDGE Hidden is not proven invisible by the identity check. The action gate is what must refuse, and it does on GTK3 only
L42-6 get <ref> --property text, median of 30 runs, warm process dbus box none GTK3 33.0 ms (24.9-152.3), GTK4 127.3 ms (68.6-244.3), Qt6 43.7 ms (34.5-260.2); the same call on a refused twin ref took 5.0 / 5.7 / 16.8 ms NEW-EDGE A resolved ref costs one window observation plus a path landing; a refused ref costs neither. Budget the observation, not the search, when sizing a ref-action timeout

The rig could not read its own log label through get: statictext gets no ref, and a non-editable GTK3 entry came back as role document with value: null. Label text was read from a fresh snapshot through find --text 'deleted:' instead, and every effect was cross-checked against the application-side instance log. Not exercised: --headed physical clicks, Windows and macOS, and an app that crashes or hangs mid-run.

Contradictions index

row phases.md section contradicted phases.md correction
L1-5 §3.1 AT-SPI2 Bus Detection §3.1 Scope, Key APIs, Exit criteria, AT-SPI2 Bus Detection; Linux API Mapping Permissions row; Key Risks table
L2-6 §3.2 Scope, Batched-fetch strategy §3.2 Scope (Batched-fetch strategy) and Key APIs
L2-7 §3.2 Scope, Batched-fetch strategy §3.2 Scope (Batched-fetch strategy) and Key APIs
L2-16 P3-O8 row and §3.3 native_id bullet P3-O8; §3.3 Scope; Cross-platform capability map (native_id, dom_id / dom_classes); Platform API Quick Reference Stable ID; Testing
L3-8 P3-O8 row and §3.3 Scope, accessible-id bullet (GTK gtk-id / Qt objectName fallback) P3-O8; §3.3 Scope; Cross-platform capability map (native_id) and P2-O8; Platform API Quick Reference Stable ID; Testing
L3-19 §3.7 Scope and Linux API Mapping Expand/Collapse and Toggle rows; P3-O13 §3.7 Scope and exit criteria; Linux API Mapping Expand/Collapse, Toggle and Click rows; P3-O13; Cross-platform capability map ShowMenu and Cancel rows
L4-6 §3.7 Linux API Mapping Expand/Collapse row and §3.7 Scope §3.7 Scope (name-based dispatch) and Linux API Mapping Expand/Collapse row
L4-10 §3.7 Linux API Mapping Set text row §3.7 Key APIs; Linux API Mapping Set text row; Platform API Quick Reference Set text; P3-O10
L4-11 P3-O10 and capability map Text range read P3-O10; Cross-platform capability map (Text range read)
L4-12 P3-O10 (core's UTF-16 offsets on the Linux side) P3-O10; Cross-platform capability map (Text range read, Text range write)
L4-15 P3-O10 selection and caret primitives P3-O10; Cross-platform capability map (Text range write); Testing
L4-18 P3-O13 and capability map ShowMenu P3-O13; Cross-platform capability map (ShowMenu); §3.7 Scope
L4-19 P3-O13 and capability map Cancel P3-O13; Cross-platform capability map (Cancel)
L6-1 §3.6 Key APIs and Scope hit_test §3.6 Scope (hit_test) and Key APIs
L6-11 §3.6 Scope, scroll_into_view §3.6 Scope (scroll_into_view); Linux API Mapping Scroll row
L7-6 P3-O9 (Phase 3 objectives table) P3-O9
L8-2 §3.4 Scope, list_windows/list_apps/focused_window §3.4 Scope (list_windows/list_apps/focused_window) and Key APIs
L8-6 §3.4 Scope (fallback clause) and API Mapping Window ops §3.4 Scope and Key APIs; Linux API Mapping Window ops row; capability map WindowRaise; Minimum OS Requirements
L8-11 §3.4 Scope (fallback clause) and API Mapping Window ops §3.4 Scope (Wayland enumeration)
L9-10 §3.10 Scope bullet 1, P3-O4, API Mapping Screenshot row P3-O4; P3-O11; §3.10 Scope; Linux API Mapping Screenshot row; Platform API Quick Reference Screenshot; Skill Update
L10-2 §3.14 Notification Management list bullet and exit criteria §3.14 Notification Management list bullet and Exit criteria; Platform API Quick Reference Notifications
L10-10 §3.14 System Tray list bullet §3.14 System Tray list bullet
L10-11 §3.14 System Tray activate and context-menu bullets §3.14 System Tray activate / context-menu bullet
L10-13 §3.14 System Tray legacy bullet §3.14 System Tray legacy bullet; Platform API Quick Reference System tray
L11-8 §3.9 close_app and API Mapping App close §3.9 Scope (close_app) and Key APIs; Linux API Mapping App close row
L11-13 §3.9 ProcessState bullet §3.9 Scope (ProcessState)
L11-22 §3.9 window_op bullet and API Mapping Window ops §3.9 Scope (window_op); Linux API Mapping Window ops row
L12-2 P3-O15 and matching exit-criteria / skill bullet P3-O15; §3.1 AT-SPI2 Bus Detection; §3.14 Sandbox access; Testing (Flatpak/Snap); Skill Update
L13-5 §3.4 Scope, list_windows/list_apps/focused_window §3.4 Scope (list_windows/list_apps/focused_window, focus) and Key APIs; §3.3 Scope (role map)
L19-1 §3.4 exit criteria, list_apps name (the registry Name) §3.4 Exit criteria (list_apps name, scoped listing of a stopped app)
L19-4 §3.4 Scope, Electron population §3.4 Scope (Electron population)
L18-1 none: §3.11 says nothing about menu detection amends ledger rows L4-20, L14-14 and the L14-8 popover reading; no docs/phases.md text changes
L17-1 §3.5 Scope, resolve_locator_anchor bullet and Key APIs §3.5 Scope (resolve_locator_anchor bullet) and Key APIs
L17-2 §3.5 Scope, resolve_locator_anchor bullet and Key APIs §3.5 Scope (resolve_locator_anchor bullet) and Key APIs
L17-3 §3.2 Scope, Batched-fetch strategy (Qt GetAll) §3.2 Scope (Batched-fetch strategy)
L31-1 §3.9 Scope, focus_window (click fallback on activation_not_granted, L27-10) §3.9 Scope (focus_window): the fallback is one stamp-free resend of the same activation, never a click
L31-5 §3.9 Scope, window_op (un-minimize is ACTION_NOT_SUPPORTED, L11-22) §3.9 Scope (window_op, focus_window): a minimized window is restored by _NET_ACTIVE_WINDOW with source 2 and no timestamp and judged by the hidden flag
L31-16 §3.9 Scope, launch_app (how the new window is found) §3.9 Scope (launch_app): the owner is found from _NET_WM_PID and the registry; startup notification is not used
L31-39 §3.9 Scope, launch_app (environment of a spawned child) §3.9 Scope (launch_app) and the live tests: a child environment is read with a retry until non-empty
L31-40 §3.9 Scope, desktop_entry.rs Name alias §3.9 Scope (entry Name alias): the alias index also carries the launch key table, so Terminal reaches gnome-terminal-server
L31-41 §3.9 Scope, launch_app (what a handoff discarded is stated) OWNER-ITEMS.md: core drops the adapter suggestion of a launch
L17-6 §3.5 Scope, resolve_locator_anchor bullet and Key APIs §3.5 Scope (resolve_locator_anchor bullet) and Key APIs
L17-9 §3.5 Scope, resolve_locator_anchor bullet and Key APIs §3.5 Scope (resolve_locator_anchor bullet) and Key APIs
L20-3 §3.4 Scope, snapshot and find without a surface flag succeed §3.4 Scope (snapshot and find bullet) and Exit criteria; §3.5 Scope
L20-4 §3.4 Exit criteria, the VS Code 50-ref check re-assigned to the live-session run §3.4 Exit criteria (VS Code 50-ref check)
L26-1 §3.5 Scope, resolver bullet (a ref of an unchanged element resolves) §3.5 Scope (resolver bullet)
L26-2 §3.4 Scope, Chromium detection (neither the variable nor the flag is needed) §3.4 Scope (Chromium detection)
L26-3 §3.5 Scope, find returns matches on the sheet surface §3.5 Scope (find bullet)
L28-5 §3.8 Scope, Drag with delivery tracking and release guard (a guard that relies on the X connection) §3.8 Scope (held-input journal)
L32-9 §3.14 Scope, menu surfaces (a closed menu is told by SHOWING on its nodes) §3.14 Menu surfaces (a menu is open when it shows and one of its items shows)
L34-20 §3.4 Scope, Window mapping (a same-title tie stays ambiguous) §3.4 Scope (Window mapping)
L41-1 §3.4 Scope, window enumeration by frame/dialog/window role (L8-2) §3.4 Scope (window enumeration)
L41-5 §3.4 Scope, snapshot state projection §3.4 Scope (state projection)