Disable Siri AI hijacking Mac OS UI

There are two issues with Golden Gate: Siri AI floating bubble, and context menu hijacking. I do use Siri AI on Mac, but I don’t want additional GUI clutter.

To fix the context menu, I ran this command.

codes=(soft apwn exit loca lock logo rlgo rcnt rrst rest rsdn shut slep spro syss)
args=(-int 0)

for code in $codes; do
  hex=$(printf %s "$code" | xxd -p -u)
  args+=(-int "$((16#$hex))")
done

defaults write -g NSAppleMenuAllowedItems -array "${args[@]}"

And to re-enable:

defaults delete -g NSAppleMenuAllowedItems

The floating button is even more annoying and doesn’t always align with text field entry in some apps, like, SourceTree.

Siri AI floating bubble

Get rid of this distraction:

sudo mkdir -p /Library/Preferences/FeatureFlags/Domain

Following this command:

sudo defaults write /Library/Preferences/FeatureFlags/Domain/WritingTools LightweightUI_macOS -dict Enabled -bool false

I didn’t need to enter the password again.

To restore:

sudo defaults delete /Library/Preferences/FeatureFlags/Domain/WritingTools LightweightUI_macOS

Both solutions require a restart. Tested on 27.0.1 (26A434), both worked for me.

Information taken from MacRumors forum, and @itspdfu (X).