Skip to content

[DRAFT R089] Refuse unresolved AHK keyboard targets; replay independent live bridge negatives - #261

Draft
mark-e-deyoung wants to merge 15 commits into
rdte/r066-installer-integrated-20261127from
fix/r089-ahk-target-admission-20261201
Draft

mark-e-deyoung wants to merge 15 commits into
rdte/r066-installer-integrated-20261127from
fix/r089-ahk-target-admission-20261201

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant