Repository navigation
feat(desktop): add window inventory and focus tools - #172
Merged
Merged
Conversation
5 tasks done
Member
Author
|
The first Ubuntu CI run exposed the older xdotool window-class command mismatch. This candidate reads the standard WM_CLASS property through xprop and adds x11-utils to CI prerequisites. The required live test remains enabled. Current local full suite and coverage each pass 1,828 tests with four disclosed skips; parent focused tests and the saved extracted-Noble live test pass. Fresh Ubuntu CI and independent re-review of this bounded repair are still required before merge. The original failed CI run is retained. |
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #151. Part of #118.
Add desktop_windows / desktop windows for visible window id, name, class, geometry and X input focus. Add desktop_focus / desktop focus with id or exact-name selection, ambiguity rejection, bounded confirmation, existing agent-permit gating and window-target evidence. Existing lightweight window listings remain unchanged.
Focus works on managed bare Xvfb without a window manager. It sets input focus, not window raising or workspace switching. Successful focus is classified as an interaction without relaxing the inspected-screenshot outcome rule.
An independent non-author review accepted the exact submitted tree. Parent verification executed 75 focused tests, including two real zenity windows and 32 security cases. The unchanged-source author full suite and coverage each passed 1,822 tests with four explicit local skips: CI-only prerequisite assertion, two absent-xterm cases, and the missing-x11vnc case because x11vnc is installed. Typecheck, lint and managed complexity passed (66 checked). No local no-sandbox override was used.
CI installs zenity and requires the new live test while preserving existing gates and the Bun pin. Required PR CI must pass on this revision before merge. No device-pass, whole-home or release acceptance is claimed. Later #152-156 work and #170 cleanup are not included.