I make a sandboxed Mac App Store text expander, used by many people as an assistive tool: people with motor and neurological conditions type a short abbreviation and get the full text.
On a fresh install under macOS 27.3 beta 2, turning on abbreviation expansion brings up the "System & App Protection Override" dialog. Before the user can allow anything, it lists Read, Change, Delete, and Export All Your Data; View Hidden and Recently Deleted Photos; View History and Browse As You; Control Your Mac, Apps, and Settings; and Read and Monitor Everything. My app uses none of that, and for users who rely on it as assistive technology, the dialog reads as a warning to avoid the app.
What I actually use:
An active CGEventTap at kCGSessionEventTap (keyDown/keyUp/mouse-up) that keeps a short in-memory buffer of the current word. It briefly holds back and replays keystrokes during an expansion, and consumes the trigger key.
A listen-only tap at kCGAnnotatedSessionEventTap, reading only kCGEventTargetUnixProcessID.
CGEventPost to send backspaces, ⌘V (for rich text and images) and Tab/Return, only to the frontmost app and only in response to the user's typing.
CGWindowListCopyWindowInfo, reading only PID, layer and bounds.
No AX reads or writes (I only call AXIsProcessTrusted), no Apple Events, no screen capture.
Questions:
Which of these puts an app under System & App Protection Override rather than the new Accessibility setting? Is it the active tap, CGEventPost, or both?
Will an app granted the upcoming assistive-technology entitlement still be able to post keyboard events to the frontmost app? I tried AXUIElementSetAttributeValue(kAXSelectedTextAttribute) instead, but it handles only plain text and fails in browsers, Electron apps and web editors.
Is there an entitlement identifier or request route yet?
Filed as FB25698042