Skip to content

#162: record that the Chrome window closures were manual and keys go to the bound app's pid - #164

Merged
SSFSKIM merged 1 commit into
mainfrom
docs/162-closure-finding
Oct 18, 2026
Merged

SSFSKIM merged 1 commit into
mainfrom
docs/162-closure-finding

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 18, 2026

Copy link
Copy Markdown
Owner

Records #162's findings in #115's spec, its execution report and the M4 release notes. Docs only.

  • Key routing. The native helper posts pressKey and typeText to the bound app's pid (SynthesizedEvent.send(to:delay:) → CGEventAPI.postToPid), and it activates an app only on the click path. So no key guard is added to cua's API layer. The harness key guard stays as a test-side check.
  • The closures. Both closures of the owner's Chrome window on the mini (03:14:43Z and 15:31:52Z on 2026-10-18) were close-button clicks that came in over Screen Sharing. Nothing of cua's was acting at either second. The second closure was first recorded as happening between 15:43Z and 15:48Z, during group B. It came 11 minutes before that.
  • The spec's retrospective now draws the general lesson: before attributing a change on a shared desktop to automation, read the unified log for the input that caused it.

Closes #162.

…n Sharing; the helper posts keys to the bound app's pid
@SSFSKIM
SSFSKIM merged commit 3383f6d into main Oct 18, 2026
4 checks passed
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.

Native key events may reach the frontmost app instead of the bound app (Chrome window closed twice after helper typing runs)

1 participant