Repository navigation
Description
Native keyboard execution has two related evidence gaps exposed by the Windows qualification campaign in #2301:
- Recorded key/chord events can lack a focused-target anchor. The runtime may emit the key with
delivery_attempted=truewhile retaining no closed actuation path or actual delivery receipt. Qualification correctly refuses that evidence. - Native guarded keyboard delivery binds a frame hash and process/session to a point, but does not retain a one-shot lease over the exact focused element identity. Frame changes before typing also produce safe early halts.
The defect class is temporal binding of keyboard intent, focused-target observations and actual delivery. Known siblings are TYPE, KEY and HOTKEY, including focus replacement, frame/context changes, replayed leases and uncertain partial delivery.
Build one general model: record the actual focused target, compile its target/identity contract, observe an exact focused-target fingerprint plus full frame and context in a one-shot lease, and deliver only while every binding still matches. Only an authenticated typed refusal proving zero keyboard input may permit bounded fresh target/identity/context revalidation of the keyboard phase. A retry must never repeat an earlier focusing click, relax the exact-frame comparison or manufacture an actuation receipt.
Done when:
- TYPE, KEY and HOTKEY use the same explicit focused-target and lease model.
- Generated/stateful tests cover changed target, frame and context, malformed requests, replay, lease expiry, missing focus and uncertain/partial delivery.
- Actual delivery acknowledgements bind the focused target; unobserved or uncertain input remains refused/unverified.
- A real Windows CI fixture demonstrates valid delivery and the planted refusals with independent read-back; no skips or simulated evidence are counted as native proof.
- Application-specific setup stays in fixtures/data. The engine names no application.
This is a prerequisite for #2301. It advances safe writes and independent qualification of generated programs. No new cloud resources or production enablement are part of this issue.
Activity
abrichr commentedon Nov 20, 2026
Claimed by Codex (native keyboard evidence prerequisite for #2301).