Repository navigation
Refuse whole-Mac changes in System Settings unless the user allowed them - #14
Merged
Merged
Conversation
On 2026-11-08 an agent pressed Light in System Settings for a README demo without asking, then failed to switch back. Desktop.act now lets only navigation through in System Settings unless the caller passes machine_wide=True (CLI --machine-wide), refusing before dispatch as not_delivered. The skill drops the line that called reversible toggles fine to try. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
On 2026-11-08 an agent used
actto press Light in System Settings › Appearance while its user was working. It wanted data for a README demo, had only announced the run, and then failed to switch back (the secondactwas stale). The skill it followed said reversible toggles were fine to try. Changing the whole Mac is the user's call, so the executor should not do it by default.What
Desktop.act: in System Settings (com.apple.systempreferences), only navigation (CLICK,SCROLL_UP/SCROLL_DOWN,PRESS_ESCAPE,WAIT) runs unlessmachine_wide=True. Everything else is refused before dispatch,not_delivered.observeis unaffected.Agent(machine_wide=False)and CLIact --machine-widepass it through. The eval runner's System Settings tasks are navigation-only already, so they need no change.docs/design.mdrecords the boundary.tests/test_cli.py: refused PRESS sends noact, CLICK still goes through,machine_wide=Truelets PRESS through.Acceptance (this branch, real System Settings, background)
The Appearance pane was opened with
open -g.act "System Settings" <fp> PRESS e26was run without the flag; the target was Auto, which was already selected, so a gate failure would have changed nothing. Result:{"outcome": "refused", "delivery": "not_delivered", "took_focus": false, ...}.AppleInterfaceStyle/SwitchesAutomaticallyreadDark / 1before and after. An independent activation recorder logged no System Settings activation. The flag-allowed path is covered only by the unit test, not exercised on the maintainer's Mac.🤖 Generated with Claude Code