Repository navigation
[DRAFT R089] Refuse unresolved AHK keyboard targets; replay independent live bridge negatives - #261
Draft
mark-e-deyoung wants to merge 15 commits into
Conversation
This was referenced Dec 1, 2026
This branch has not been deployed
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.
Bounded candidate correction for the confirmed wrong-window effect in #258 (actual both-mode run 46423854595). Owning #250 exact 70237f5 and bridge #258 exact 69a3771 remain unchanged. This branch inherits the latter's four independent verifier paths byte-for-byte; only api/routers/input.py and tests/test_input_keyboard_conformance.py differ from that head. Target title is literal case-sensitive prefix data, never an AHK selector expression; enumerate visible native HWNDs and require a unique match, verify activation wait, PID/title and actual active HWND immediately before Send, map explicit refusal to a bounded error. Reject empty/control/oversize titles and untyped ID-only AHK requests (use a native title instead; X11 IDs are not HWNDs). Deliberately untargeted input remains distinct; xdotool behavior unchanged. Mandatory unit tests cover source ordering, fixed refusal propagation, rejection without dispatch, and untargeted behavior. This narrows the proven missing-target error but does not establish atomic target binding, process incarnation, all focus races, full STOP cancellation or independent human authority. Run unchanged #258 real two-window/lease/missing-target/independent persisted-byte assertions plus exact mandatory CI and existing read-only image qualification on standard public runners. No bypass or weaker tests, no private source, publication, merge, or hardware. Adopt only after source-owner review and terminal evidence; no existing branch moved. All eight pre-hardware gates open.